diff --git a/abstra_internals/controllers/sdk_ai.py b/abstra_internals/controllers/sdk_ai.py index e6aff431e3..17c4ab2dc9 100644 --- a/abstra_internals/controllers/sdk_ai.py +++ b/abstra_internals/controllers/sdk_ai.py @@ -4,12 +4,14 @@ from typing import Dict, List, Optional, Union import pypdfium2 as pdfium +from PIL.Image import Image +import abstra_internals.utils.b64 as b64 from abstra_internals.repositories.ai import AiApiHttpClient -from abstra_internals.utils.b64 import is_base_64, to_base64 from abstra_internals.utils.string import to_snake_case +from abstra_internals.widgets.response_types import FileResponse -Prompt = Union[str, io.IOBase, pathlib.Path] +Prompt = Union[str, io.IOBase, pathlib.Path, FileResponse] Format = Dict[str, object] @@ -43,14 +45,97 @@ def _extract_pdf_images(self, file: Prompt) -> List[io.BytesIO]: images.append(image_io) return images - def _prompt_is_valid_file(self, prompt: Prompt) -> bool: - if isinstance(prompt, (io.IOBase, pathlib.Path)) or is_base_64(prompt): - return True + def _make_image_url_message(self, url: str): + return { + "role": "user", + "content": [ + { + "type": "image_url", + "image_url": { + "url": url, + }, + }, + ], + } + + def _make_text_message(self, text: str): + return { + "role": "user", + "content": text, + } + def _try_extract_images(self, input: io.IOBase) -> Optional[List[io.BytesIO]]: try: - return pathlib.Path(prompt).exists() + images = self._extract_pdf_images(input) + return images except Exception: - return False + return None + + def _make_messages(self, prompt: Prompt) -> List: + if isinstance(prompt, pathlib.Path): + with prompt.open("rb") as f: + if images := self._try_extract_images(f): + return [ + self._make_image_url_message(b64.encode_base_64(image)) + for image in images + ] + + encoded_str = b64.encode_base_64(f) + return [self._make_image_url_message(encoded_str)] + + if isinstance(prompt, FileResponse): + file = prompt.file + if images := self._try_extract_images(file): + return [ + self._make_image_url_message(b64.encode_base_64(image)) + for image in images + ] + + encoded_str = b64.encode_base_64(file) + return [self._make_image_url_message(encoded_str)] + + if isinstance(prompt, io.IOBase): + prompt.seek(0) + if images := self._try_extract_images(prompt): + return [ + self._make_image_url_message(b64.encode_base_64(image)) + for image in images + ] + encoded_str = b64.encode_base_64(prompt) + return [self._make_image_url_message(encoded_str)] + + if isinstance(prompt, str) and ( + b64.is_base_64(prompt) or prompt.startswith("http") + ): + if prompt.endswith(".pdf"): + raise ValueError("PDF URLs are not supported") + + return [self._make_image_url_message(prompt)] + + try: + if isinstance(prompt, str) and pathlib.Path(prompt).exists(): + with open(prompt, "rb") as f: + if images := self._try_extract_images(f): + return [ + self._make_image_url_message(b64.encode_base_64(image)) + for image in images + ] + encoded_str = b64.encode_base_64(f) + return [self._make_image_url_message(encoded_str)] + except OSError: # Path contructor can raise OSError on long strings + pass + + if isinstance(prompt, Image): + image_io = io.BytesIO() + prompt.save(image_io, format="PNG") + image_io.seek(0) + encoded_str = b64.encode_base_64(image_io) + return [self._make_image_url_message(encoded_str)] + + if isinstance(prompt, str): + return [self._make_text_message(prompt)] + + raise ValueError(f"Invalid prompt: {prompt}") def prompt( self, @@ -70,53 +155,7 @@ def prompt( ) for prompt in prompts: - if self._prompt_is_valid_file(prompt): - try: - images = self._extract_pdf_images(prompt) - except pdfium.PdfiumError: - # If the file is not a PDF, read it as a single image - images = [prompt] - except FileNotFoundError: - raise FileNotFoundError(f"File not found: {prompt}") - except Exception as e: - raise Exception(f"Error reading file: {e}") - - for image in images: - base_64_image = to_base64(image) - messages.append( - { - "role": "user", - "content": [ - { - "type": "image_url", - "image_url": { - "url": base_64_image, - }, - }, - ], - } - ) - elif isinstance(prompt, str) and is_base_64(prompt): - messages.append( - { - "role": "user", - "content": [ - { - "type": "image_url", - "image_url": { - "url": prompt, - }, - }, - ], - } - ) - elif isinstance(prompt, str): - messages.append( - { - "role": "user", - "content": prompt, - } - ) + messages.extend(self._make_messages(prompt)) tools = [] if format: diff --git a/abstra_internals/controllers/sdk_ai_test.py b/abstra_internals/controllers/sdk_ai_test.py new file mode 100644 index 0000000000..f2112d9a5f --- /dev/null +++ b/abstra_internals/controllers/sdk_ai_test.py @@ -0,0 +1,146 @@ +import unittest +from io import BytesIO +from pathlib import Path +from unittest.mock import MagicMock, patch + +from PIL import Image + +from abstra_internals.controllers.sdk_ai import AiSDKController +from abstra_internals.widgets.response_types import FileResponse + + +class TestAiSDKController(unittest.TestCase): + def setUp(self): + # Mock the AiApiHttpClient to isolate tests from external API calls + self.mock_ai_client = MagicMock() + self.controller = AiSDKController(self.mock_ai_client) + + def test_extract_pdf_images(self): + # Mock pdfium.PdfDocument to return a mock page + mock_page = MagicMock() + mock_page.render.return_value.to_pil.return_value = Image.new("RGB", (100, 100)) + mock_pdf = MagicMock() + mock_pdf.__iter__.return_value = [mock_page] + + with patch("pypdfium2.PdfDocument", return_value=mock_pdf): + images = self.controller._extract_pdf_images(mock_pdf) + + self.assertEqual(len(images), 1) # One image is expected + self.assertTrue( + isinstance(images[0], BytesIO) + ) # Image should be in BytesIO format + + def test_make_image_url_message(self): + url = "http://example.com/image.png" + expected_message = { + "role": "user", + "content": [ + { + "type": "image_url", + "image_url": { + "url": url, + }, + }, + ], + } + + result = self.controller._make_image_url_message(url) + self.assertEqual(result, expected_message) + + def test_make_text_message(self): + text = "Some text" + expected_message = { + "role": "user", + "content": text, + } + + result = self.controller._make_text_message(text) + self.assertEqual(result, expected_message) + + def test_make_messages_from_str(self): + text = "This is a prompt" + result = self.controller._make_messages(text) + self.assertEqual(len(result), 1) + self.assertEqual(result[0]["role"], "user") + self.assertEqual(result[0]["content"], text) + + def test_make_messages_from_image(self): + # Create a dummy image to simulate the prompt + img = Image.new("RGB", (100, 100)) + image_io = BytesIO() + img.save(image_io, format="PNG") + image_io.seek(0) + + result = self.controller._make_messages(image_io) + self.assertEqual(len(result), 1) + self.assertIn("type", result[0]["content"][0]) + self.assertEqual(result[0]["content"][0]["type"], "image_url") + + def test_make_messages_from_path(self): + file_path = Path("test.pdf") + file_path.write_text("dummy content") # Creating a dummy file + + with patch("builtins.open", MagicMock(return_value=BytesIO(b"fake content"))): + result = self.controller._make_messages(file_path) + + self.assertEqual(len(result), 1) + self.assertIn("type", result[0]["content"][0]) + + def test_prompt_with_image_file(self): + # Mock AI client response + self.mock_ai_client.prompt.return_value = {"content": "Mocked AI response"} + + # Create a dummy image + img = Image.new("RGB", (100, 100)) + image_io = BytesIO() + img.save(image_io, format="PNG") + image_io.seek(0) + + result = self.controller.prompt( + prompts=[image_io], + instructions=["This is a test instruction."], + format=None, + temperature=0.7, + ) + + self.assertEqual(result, "Mocked AI response") + + def test_prompt_with_file_response(self): + # Mock AI client response + self.mock_ai_client.prompt.return_value = {"content": "Mocked AI response"} + + # save dummy file + file_path = Path("test.pdf") + file_path.write_text("dummy content") + + class MockFileResponse(FileResponse): + def __init__(self, url): + self._url = url + + @property + def name(self): + return self.path.name + + @property + def content(self): + return self.path.read_bytes() + + @property + def file(self): + return self.path.open("rb") + + @property + def path(self): + return file_path + + # Mock FileResponse + file_response = MockFileResponse(url=file_path.as_posix()) + + result = self.controller.prompt( + prompts=[file_response], + instructions=["Test instruction."], + format=None, + temperature=0.7, + ) + + self.assertEqual(result, "Mocked AI response") diff --git a/abstra_internals/interface/sdk/ai.py b/abstra_internals/interface/sdk/ai.py index 5d79387b02..a97d5403e8 100644 --- a/abstra_internals/interface/sdk/ai.py +++ b/abstra_internals/interface/sdk/ai.py @@ -1,13 +1,7 @@ -import io -import pathlib from typing import Dict, List, Optional, TypeVar, Union from abstra_internals.controllers.execution_store import ExecutionStore - -Prompt = Union[str, io.IOBase, pathlib.Path] -InputFile = Union[str, pathlib.Path, io.IOBase] -Format = Dict[str, object] - +from abstra_internals.controllers.sdk_ai import Format, Prompt T = TypeVar("T") diff --git a/abstra_internals/utils/b64.py b/abstra_internals/utils/b64.py index a8f5b7a4b0..1be73a701f 100644 --- a/abstra_internals/utils/b64.py +++ b/abstra_internals/utils/b64.py @@ -1,16 +1,10 @@ import base64 import binascii import io -import pathlib import re -from typing import TYPE_CHECKING, Union -if TYPE_CHECKING: - from PIL.Image import Image import puremagic -from abstra_internals.utils.file import get_random_filepath - BASE_64_PREFIX = "data:image/png;base64," PREFFIX_REGEX = re.compile(r"^data:image/(jpeg|png|gif|bmp|webp);base64,") @@ -29,52 +23,9 @@ def is_base_64(unknown_string: str) -> bool: return False -def to_base64(file: Union[str, io.IOBase, pathlib.Path, "Image"]) -> Union[str, None]: - if not file: - return "" - - if isinstance(file, pathlib.Path): - with file.open("rb") as f: - file_content = f.read() - base64_file = base64.b64encode(file_content).decode("utf-8") - return f"{BASE_64_PREFIX}{base64_file}" - - if isinstance(file, io.IOBase): - file.seek(0) - file_content = file.read() - base64_file = base64.b64encode(file_content).decode("utf-8") - return f"{BASE_64_PREFIX}{base64_file}" - - if isinstance(file, str): - if pathlib.Path(file).exists(): - with open(file, "rb") as f: - file_content = f.read() - base64_file = base64.b64encode(file_content).decode("utf-8") - return f"{BASE_64_PREFIX}{base64_file}" - - # URL or base64 encoded string - if file.startswith("http") or file.startswith("data:"): - return file - - # path to file - return f"{BASE_64_PREFIX}{file}" - - from PIL.Image import Image - - if isinstance(file, Image): - _, file_path = get_random_filepath() - file.save(str(file_path)) - with file_path.open("rb") as f: - file_content = f.read() - base64_file = base64.b64encode(file_content).decode("utf-8") - return f"{BASE_64_PREFIX}{base64_file}" - - # FileResponse. TODO: check with isinstance without circular import - if hasattr(file, "file"): - if isinstance(file.file, io.IOBase): - file.file.seek(0) - file_content = file.file.read() - base64_file = base64.b64encode(file_content).decode("utf-8") - return f"{BASE_64_PREFIX}{base64_file}" - - return None +def encode_base_64(input: io.IOBase): + BASE_64_PREFIX = "data:image/png;base64," + input.seek(0) + file_content = input.read() + base64_file = base64.b64encode(file_content).decode("utf-8") + return f"{BASE_64_PREFIX}{base64_file}" diff --git a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js deleted file mode 100644 index 8b6636df79..0000000000 --- a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as r,o,c as d,w as s,b as f,Z as c,u as n,dg as u,ey as i,eB as l,bS as b}from"./vue-router.7d22a765.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]="75b12c86-8064-4b9a-81b3-f40c12135b23",e._sentryDebugIdIdentifier="sentry-dbid-75b12c86-8064-4b9a-81b3-f40c12135b23")}catch{}})();const y=r({__name:"AbstraButton",setup(e){return(t,a)=>(o(),d(n(b),i(l(t.$attrs)),{default:s(()=>[f(n(u),{style:{display:"flex","align-items":"center","justify-content":"center",gap:"5px"}},{default:s(()=>[c(t.$slots,"default")]),_:3})]),_:3},16))}});export{y as _}; -//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js.map diff --git a/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js new file mode 100644 index 0000000000..0d67522b70 --- /dev/null +++ b/abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js @@ -0,0 +1,2 @@ +import{d as r,o,c as d,w as a,b as c,Z as u,u as s,dg as f,ey as i,eB as l,bS as p}from"./vue-router.d93c72db.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]="9cea5e64-e533-431e-9cbd-6012ce4a9709",e._sentryDebugIdIdentifier="sentry-dbid-9cea5e64-e533-431e-9cbd-6012ce4a9709")}catch{}})();const _=r({__name:"AbstraButton",setup(e){return(t,n)=>(o(),d(s(p),i(l(t.$attrs)),{default:a(()=>[c(s(f),{style:{display:"flex","align-items":"center","justify-content":"center",gap:"5px"}},{default:a(()=>[u(t.$slots,"default")]),_:3})]),_:3},16))}});export{_}; +//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js.map diff --git a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js deleted file mode 100644 index 406c6ef880..0000000000 --- a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js +++ /dev/null @@ -1,2 +0,0 @@ -import{L as t}from"./Logo.6d72a7bf.js";import{d as a,o as n,c as r,u as d}from"./vue-router.7d22a765.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]="754f338d-ebca-4490-b5a0-7f1fef042d36",e._sentryDebugIdIdentifier="sentry-dbid-754f338d-ebca-4490-b5a0-7f1fef042d36")}catch{}})();const f="/assets/logo.0faadfa2.svg",b=a({__name:"AbstraLogo",props:{hideText:{type:Boolean},size:{}},setup(e){return(o,s)=>(n(),r(t,{"image-url":d(f),"brand-name":"Abstra","hide-text":o.hideText,size:o.size},null,8,["image-url","hide-text","size"]))}});export{b as _}; -//# sourceMappingURL=AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js.map diff --git a/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js new file mode 100644 index 0000000000..055bf25772 --- /dev/null +++ b/abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js @@ -0,0 +1,2 @@ +import{L as s}from"./Logo.3e4c9003.js";import{d as t,o as n,c as r,u as d}from"./vue-router.d93c72db.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]="923a0013-ab32-48fd-90aa-a430131f367b",e._sentryDebugIdIdentifier="sentry-dbid-923a0013-ab32-48fd-90aa-a430131f367b")}catch{}})();const i="/assets/logo.0faadfa2.svg",b=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{b as _}; +//# sourceMappingURL=AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js.map diff --git a/abstra_statics/dist/assets/AccessControlEditor.46a1cc9e.js b/abstra_statics/dist/assets/AccessControlEditor.cd5af195.js similarity index 74% rename from abstra_statics/dist/assets/AccessControlEditor.46a1cc9e.js rename to abstra_statics/dist/assets/AccessControlEditor.cd5af195.js index 057cdb882b..9d32648c2f 100644 --- a/abstra_statics/dist/assets/AccessControlEditor.46a1cc9e.js +++ b/abstra_statics/dist/assets/AccessControlEditor.cd5af195.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.e4128d5d.js";import{l as I}from"./fetch.8d81adbd.js";import{E as N}from"./record.c63163fa.js";import{d as C,B as A,f as b,o as n,X as y,Z as $,R as k,e8 as O,a as _,c as v,eg as U,w as r,aF as g,b as a,u as t,bS as z,eb as S,cT as L,e9 as R,aR as H,cS as F,aA as G,ec as J,aV as Q,d8 as W,cR as X,cQ as Z,dg as w,db as Y,d4 as K,dc as ee,da as j,d9 as te,E as se}from"./vue-router.7d22a765.js";import{E as oe}from"./repository.c27893d1.js";import{a as q}from"./asyncComputed.62fe9f61.js";import{S as re}from"./SaveButton.91be38d7.js";import{I as ae}from"./PhGlobe.vue.672acb29.js";import{u as x}from"./editor.e28b46d6.js";import{F as le}from"./PhArrowSquareOut.vue.a1699b2d.js";import{A as ne}from"./index.89bac5b6.js";import{i as ie}from"./metadata.9b52bd89.js";import{A as B}from"./index.3db2f466.js";import"./gateway.6da513da.js";import"./popupNotifcation.f48fd864.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.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]="63cd8807-5905-47a7-b4bc-5d0075081563",i._sentryDebugIdIdentifier="sentry-dbid-63cd8807-5905-47a7-b4bc-5d0075081563")}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},Se=_("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),Re=[Se],Pe={name:"PhLockSimple"},Me=C({...Pe,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",O({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),[$(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,Re)):k("",!0)],16,ce))}});class P{constructor(e){M(this,"record");this.record=N.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 P(e)}}class Ze{constructor(e=I){this.fetch=e}async list(){return(await(await this.fetch("/_editor/api/access-control",{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(P.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,S(o.roleOptions,d=>(n(),v(t(L),{key:d,value:d},{default:r(()=>[g(R(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(R(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,S(e.danglingRoles,c=>(n(),v(t(K),{key:c,style:{margin:"2px"},color:"red"},{default:r(()=>[g(R(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,S(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.46a1cc9e.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.cc8de746.js";import{l as I}from"./fetch.a18f4d89.js";import{E as N}from"./record.a553a696.js";import{d as C,B as A,f as b,o as n,X as y,Z as $,R as k,e8 as O,a as _,c as v,eg as U,w as r,aF as g,b as a,u as t,bS as z,eb as S,cT as L,e9 as R,aR as H,cS as F,aA as G,ec as J,aV as Q,d8 as W,cR as X,cQ as Z,dg as w,db as Y,d4 as K,dc as ee,da as j,d9 as te,E as se}from"./vue-router.d93c72db.js";import{E as oe}from"./repository.a9bba470.js";import{a as q}from"./asyncComputed.d2f65d62.js";import{S as re}from"./SaveButton.3f760a03.js";import{I as ae}from"./PhGlobe.vue.7f5461d7.js";import{u as x}from"./editor.01ba249d.js";import{F as le}from"./PhArrowSquareOut.vue.ba2ca743.js";import{A as ne}from"./index.313ae0a2.js";import{i as ie}from"./metadata.7b1155be.js";import{A as B}from"./index.b7b1d42b.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.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]="4be41a41-dec1-42aa-98a1-dd586dfe2aca",i._sentryDebugIdIdentifier="sentry-dbid-4be41a41-dec1-42aa-98a1-dd586dfe2aca")}catch{}})();const ce=["width","height","fill","transform"],de={key:0},ue=_("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=[ue],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},Se=_("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),Re=[Se],Pe={name:"PhLockSimple"},Me=C({...Pe,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}),u=b(()=>{var l;return(l=e.color)!=null?l:m}),d=b(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"scale(-1, 1)":void 0);return(l,p)=>(n(),y("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:u.value,transform:d.value},l.$attrs),[$(l.$slots,"default"),o.value==="bold"?(n(),y("g",de,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,Re)):k("",!0)],16,ce))}});class P{constructor(e){M(this,"record");this.record=N.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 P(e)}}class Ze{constructor(e=I){this.fetch=e}async list(){return(await(await this.fetch("/_editor/api/access-control",{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(P.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:u})=>[a(t(f),{vnodes:u},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,S(o.roleOptions,u=>(n(),v(t(L),{key:u,value:u},{default:r(()=>[g(R(u),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(R(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]=u=>f(u))},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]=u=>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]=u=>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,S(e.danglingRoles,c=>(n(),v(t(K),{key:c,style:{margin:"2px"},color:"red"},{default:r(()=>[g(R(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=d=>{const l=s.accessControls.findIndex(p=>p.id===d.id);l!==-1&&(s.accessControls[l]=d,e("update:access-controls",[...s.accessControls]))},m=b(()=>{var d;return((d=s.accessControls)==null?void 0:d.filter(l=>l.hasChanges()))||[]}),f=b(()=>m.value.length>0),h={save:async()=>{e("save")},hasChanges:()=>f.value},u=b(()=>{const d=[...new Set(s.accessControls.flatMap(p=>p.requiredRoles)||[])],l=s.roles.map(p=>p.name)||[];return(d==null?void 0:d.filter(p=>!l.includes(p)))||[]});return(d,l)=>(n(),y(H,null,[!d.loading&&u.value.length>0?(n(),v(Be,{key:0,"dangling-roles":u.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,S(d.accessControls,p=>(n(),v(t(w),{key:p.id},{default:r(()=>[a(xe,{"access-control":p,roles:d.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:u,loading:d}=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(u)||[],loading:t(d),onSave:o},null,8,["access-controls","roles","loading"])):k("",!0)]),_:1}))}});export{it as default}; +//# sourceMappingURL=AccessControlEditor.cd5af195.js.map diff --git a/abstra_statics/dist/assets/ApiKeys.e39a3870.js b/abstra_statics/dist/assets/ApiKeys.545d60a6.js similarity index 53% rename from abstra_statics/dist/assets/ApiKeys.e39a3870.js rename to abstra_statics/dist/assets/ApiKeys.545d60a6.js index fedc9f7084..4edb0ec1af 100644 --- a/abstra_statics/dist/assets/ApiKeys.e39a3870.js +++ b/abstra_statics/dist/assets/ApiKeys.545d60a6.js @@ -1,2 +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,da as P,aF as y,db as h,e9 as D,cK as M,eI as j,ep as K}from"./vue-router.7d22a765.js";import{a as N}from"./asyncComputed.62fe9f61.js";import{A as p}from"./apiKey.31c161a3.js";import"./gateway.6da513da.js";import{M as T}from"./member.3cef82aa.js";import{P as V}from"./project.8378b21f.js";import"./tables.723282b3.js";import{C as B}from"./CrudView.cd385ca1.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.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]="627e766b-ac29-4852-946a-1f7ed2ae0594",n._sentryDebugIdIdentifier="sentry-dbid-627e766b-ac29-4852-946a-1f7ed2ae0594")}catch{}})();const te=w({__name:"ApiKeys",setup(n){const o=A(null),c=[{key:"name",label:"API key name"}],s=_().params.projectId,{loading:f,result:g,refetch:u}=N(async()=>Promise.all([p.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 p.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:K,dangerous:!0,onClick:async()=>{await p.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:c,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.e39a3870.js.map +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,da as P,aF as y,db as h,e9 as D,cK as M,eI as j,ep as K}from"./vue-router.d93c72db.js";import{a as N}from"./asyncComputed.d2f65d62.js";import{A as c}from"./apiKey.969edb77.js";import"./gateway.0306d327.js";import{M as T}from"./member.0180b3b8.js";import{P as V}from"./project.cdada735.js";import"./tables.fd84686b.js";import{C as B}from"./CrudView.574d257b.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.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]="518f9611-66dc-430b-9ccc-98a37940846c",n._sentryDebugIdIdentifier="sentry-dbid-518f9611-66dc-430b-9ccc-98a37940846c")}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}=N(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:K,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.545d60a6.js.map diff --git a/abstra_statics/dist/assets/App.5956ac3e.js b/abstra_statics/dist/assets/App.5956ac3e.js new file mode 100644 index 0000000000..79d4076aa4 --- /dev/null +++ b/abstra_statics/dist/assets/App.5956ac3e.js @@ -0,0 +1,2 @@ +import"./App.vue_vue_type_style_index_0_lang.e6e6760c.js";import{_ as u}from"./App.vue_vue_type_style_index_0_lang.e6e6760c.js";import"./workspaceStore.f24e9a7b.js";import"./vue-router.d93c72db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./PlayerConfigProvider.46a07e66.js";import"./index.77b08602.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]="56ac68a7-3437-4e6f-9351-c00369370273",e._sentryDebugIdIdentifier="sentry-dbid-56ac68a7-3437-4e6f-9351-c00369370273")}catch{}})();export{u as default}; +//# sourceMappingURL=App.5956ac3e.js.map diff --git a/abstra_statics/dist/assets/App.e8e1ce53.js b/abstra_statics/dist/assets/App.e8e1ce53.js deleted file mode 100644 index b0ee5e8414..0000000000 --- a/abstra_statics/dist/assets/App.e8e1ce53.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./App.vue_vue_type_style_index_0_lang.15150957.js";import{_ as b}from"./App.vue_vue_type_style_index_0_lang.15150957.js";import"./workspaceStore.1847e3fb.js";import"./vue-router.7d22a765.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./PlayerConfigProvider.b00461a5.js";import"./index.143dc5b1.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]="2a93b5a5-4dd1-4850-839c-d65e71cd05c2",e._sentryDebugIdIdentifier="sentry-dbid-2a93b5a5-4dd1-4850-839c-d65e71cd05c2")}catch{}})();export{b as default}; -//# sourceMappingURL=App.e8e1ce53.js.map diff --git a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.15150957.js b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.15150957.js deleted file mode 100644 index e650c8e4e3..0000000000 --- a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.15150957.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as r,u as n}from"./workspaceStore.1847e3fb.js";import{W as c}from"./PlayerConfigProvider.b00461a5.js";import{d as f,g as i,r as d,u as o,o as u,c as p,w as l,R as _,b as m}from"./vue-router.7d22a765.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]="3a4f386b-35de-45c2-a0be-b18fc5547fcf",t._sentryDebugIdIdentifier="sentry-dbid-3a4f386b-35de-45c2-a0be-b18fc5547fcf")}catch{}})();const h=f({__name:"App",setup(t){const a=r(),e=n();return e.actions.fetch(),i(()=>a.user,e.actions.fetch),(b,w)=>{const s=d("RouterView");return o(e).state.workspace?(u(),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.15150957.js.map diff --git a/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.e6e6760c.js b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.e6e6760c.js new file mode 100644 index 0000000000..233673b877 --- /dev/null +++ b/abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.e6e6760c.js @@ -0,0 +1,2 @@ +import{b as r,u as n}from"./workspaceStore.f24e9a7b.js";import{W as c}from"./PlayerConfigProvider.46a07e66.js";import{d as i,g as d,r as u,u as o,o as f,c as p,w as l,R as _,b as m}from"./vue-router.d93c72db.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]="6183014d-56ca-4364-9480-f6c6ba4bebbc",t._sentryDebugIdIdentifier="sentry-dbid-6183014d-56ca-4364-9480-f6c6ba4bebbc")}catch{}})();const h=i({__name:"App",setup(t){const a=r(),e=n();return e.actions.fetch(),d(()=>a.user,e.actions.fetch),(b,w)=>{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.e6e6760c.js.map diff --git a/abstra_statics/dist/assets/Avatar.34816737.js b/abstra_statics/dist/assets/Avatar.0cc5fd49.js similarity index 71% rename from abstra_statics/dist/assets/Avatar.34816737.js rename to abstra_statics/dist/assets/Avatar.0cc5fd49.js index da8a4e99e2..7bbbb576ad 100644 --- a/abstra_statics/dist/assets/Avatar.34816737.js +++ b/abstra_statics/dist/assets/Avatar.0cc5fd49.js @@ -1,2 +1,2 @@ -import{ac as X,ad as N,S as g,ao as J,B as K,V,d as q,Q as $,ah as Q,f as U,aO as Y,dJ as Z,g as F,W as ee,J as B,bT as te,b as z,al as re,ak as L,au as ae,dG as ne}from"./vue-router.7d22a765.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]="6ff30cdc-0380-44e8-9c21-57c6bcd0d4e2",e._sentryDebugIdIdentifier="sentry-dbid-6ff30cdc-0380-44e8-9c21-57c6bcd0d4e2")}catch{}})();const oe=e=>{const{antCls:r,componentCls:a,iconCls:n,avatarBg:i,avatarColor:S,containerSize:l,containerSizeLG:c,containerSizeSM:f,textFontSize:h,textFontSizeLG:m,textFontSizeSM:w,borderRadius:C,borderRadiusLG:s,borderRadiusSM:A,lineWidth:u,lineType:k}=e,v=(y,t,o)=>({width:y,height:y,lineHeight:`${y-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,m,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:m}=e;return{containerSize:r,containerSizeLG:a,containerSizeSM:n,textFontSize:Math.round((S+l)/2),textFontSizeLG:c,textFontSizeSM:i,groupSpace:h,groupOverlapping:-f,groupBorderColor:m}}),M=Symbol("AvatarContextKey"),le=()=>K(M,{}),ge=e=>V(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=q({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),[m,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:T,draggable:G,crossOrigin:H}=e,j=(t=C.shape)!==null&&t!==void 0?t:p,b=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`]:b,[w.value]:!0},W=typeof s.value=="number"?{width:`${s.value}px`,height:`${s.value}px`,lineHeight:`${s.value}px`,fontSize:b?`${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:G,src:I,srcset:T,onError:y,alt:O,crossorigin:H},null);else if(b)x=b;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 m(z("span",L(L({},n),{},{ref:f,class:E,style:[W,k(!!b),n.style]}),[x]))}}}),fe=ue;export{fe as A,ge as a,ie as u}; -//# sourceMappingURL=Avatar.34816737.js.map +import{ac as X,ad as N,S as g,ao as J,B as K,V,d as q,Q as $,ah as Q,f as U,aO as Y,dJ as Z,g as F,W as ee,J as B,bT as te,b as z,al as re,ak as L,au as ae,dG as ne}from"./vue-router.d93c72db.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]="f0429da9-ecf5-439e-b2df-6b56edb6f34b",e._sentryDebugIdIdentifier="sentry-dbid-f0429da9-ecf5-439e-b2df-6b56edb6f34b")}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=>V(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=q({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:T,draggable:G,crossOrigin:H}=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:G,src:I,srcset:T,onError:m,alt:O,crossorigin:H},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.0cc5fd49.js.map diff --git a/abstra_statics/dist/assets/Badge.c37c51db.js b/abstra_statics/dist/assets/Badge.819cb645.js similarity index 82% rename from abstra_statics/dist/assets/Badge.c37c51db.js rename to abstra_statics/dist/assets/Badge.819cb645.js index 3b60ecb2fd..89b998e41d 100644 --- a/abstra_statics/dist/assets/Badge.c37c51db.js +++ b/abstra_statics/dist/assets/Badge.819cb645.js @@ -1,2 +1,2 @@ -import{d as F,f,D as at,e as R,g as Q,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,bT as ut,aC as ct,aX as dt,aY as gt,aZ as bt,a_ as mt}from"./vue-router.7d22a765.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]="21ed3d60-e8a3-4faf-a023-bc58810d2a6d",t._sentryDebugIdIdentifier="sentry-dbid-21ed3d60-e8a3-4faf-a023-bc58810d2a6d")}catch{}})();function K(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 Q(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=[K(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 K(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((T,I)=>v(vt,{prefixCls:n.value,count:Number(s),value:T,key:m.length-I},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,T=o/2,I=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:T,badgeProcessingDuration:"1.2s",badgeRibbonOffset:c,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[Ot(I)]});var Tt=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:It(),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=Tt(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);Q([()=>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)),T=f(()=>({[`${n.value}-status-dot`]:l.value,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value})),I=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:T.value,style:I.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.c37c51db.js.map +import{d as F,f,D as at,e as R,g as Q,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,bT as ut,aC as ct,aX as dt,aY as bt,aZ as gt,a_ as mt}from"./vue-router.d93c72db.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]="7b1f6d33-3743-4c79-9edb-083a33588cf5",t._sentryDebugIdIdentifier="sentry-dbid-7b1f6d33-3743-4c79-9edb-083a33588cf5")}catch{}})();function K(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 Q(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=[K(i(i({},t),{current:!0}))],p={transition:"none"};else{d=[];const h=s+10,b=[];for(let r=s;r<=h;r+=1)b.push(r);const l=b.findIndex(r=>r%10===o.prevValue);d=b.map((r,S)=>{const $=r%10;return K(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:b,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 g=s;if(s&&Number(s)%1===0){const m=String(s).split("");g=m.map((T,I)=>v(vt,{prefixCls:n.value,count:Number(s),value:T,key:m.length-I},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:()=>[g]})}}}),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:b}=t,l=`${o}-scroll-number`,u=`${o}-ribbon`,r=`${o}-ribbon-wrapper`,S=U(t,(g,y)=>{let{darkColor:m}=y;return{[`&${e} ${e}-color-${g}`]:{background:m,[`&:not(${e}-count)`]:{color:m}}}}),$=U(t,(g,y)=>{let{darkColor:m}=y;return{[`&${u}-color-${g}`]:{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:b,height:b,color:"currentcolor",border:`${b/2}px solid`,transform:t.badgeRibbonCornerTransform,transformOrigin:"top",filter:t.badgeRibbonCornerFilter}}),$),{[`&${u}-placement-end`]:{insetInlineEnd:-b,borderEndEndRadius:0,[`${u}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${u}-placement-start`]:{insetInlineStart:-b,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",b=p-2*s,l=t.colorBgContainer,u="normal",r=o,S=t.colorError,$=t.colorErrorHover,g=e,y=o/2,m=o,T=o/2,I=st(t,{badgeFontHeight:p,badgeShadowSize:s,badgeZIndex:h,badgeHeight:b,badgeTextColor:l,badgeFontWeight:u,badgeFontSize:r,badgeColor:S,badgeColorHover:$,badgeShadowColor:d,badgeHeightSm:g,badgeDotSize:y,badgeFontSizeSm:m,badgeStatusSize:T,badgeProcessingDuration:"1.2s",badgeRibbonOffset:c,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[Ot(I)]});var Tt=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:It(),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 b,l;const{class:u,style:r}=a,S=Tt(a,["class","style"]),$={},g={};return t.color&&!s.value&&($.background=t.color,g.color=t.color),d(v("div",D({class:`${n.value}-wrapper ${p.value}`},S),[(b=o.default)===null||b===void 0?void 0:b.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:g},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),b=f(()=>t.count===null||h.value&&!t.showZero),l=f(()=>(t.status!==null&&t.status!==void 0||t.color!==null&&t.color!==void 0)&&b.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),g=R(r.value),y=R(u.value);Q([()=>t.count,r,u],()=>{S.value||($.value=t.count,g.value=r.value,y.value=u.value)},{immediate:!0});const m=f(()=>G(t.color,!1)),T=f(()=>({[`${n.value}-status-dot`]:l.value,[`${n.value}-status-${t.status}`]:!!t.status,[`${n.value}-color-${t.color}`]:m.value})),I=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&&g.value&&g.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:T.value,style:I.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(bt,nt,{default:()=>[gt(v($t,{prefixCls:t.scrollNumberPrefixCls,show:A,class:k.value,count:g.value,title:tt,style:H,key:"scrollNumber"},{default:()=>[ot]}),[[mt,A]])]}),et]))}}});export{Ht as B,Pt as R,Bt as i}; +//# sourceMappingURL=Badge.819cb645.js.map diff --git a/abstra_statics/dist/assets/BaseLayout.0d928ff1.js b/abstra_statics/dist/assets/BaseLayout.0d928ff1.js deleted file mode 100644 index a1516c82d2..0000000000 --- a/abstra_statics/dist/assets/BaseLayout.0d928ff1.js +++ /dev/null @@ -1,2 +0,0 @@ -import{$ as d,o,X as n,Z as s,a,R as r}from"./vue-router.7d22a765.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]="33fe164f-32e5-4526-8c87-13875b6ddb39",e._sentryDebugIdIdentifier="sentry-dbid-33fe164f-32e5-4526-8c87-13875b6ddb39")}catch{}})();const c={},f={class:"base-layout"},i={class:"base-middle"},u={key:0,class:"base-footer"};function _(e,t){return o(),n("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(),n("section",u,[s(e.$slots,"footer",{},void 0,!0)])):r("",!0)])])}const y=d(c,[["render",_],["__scopeId","data-v-9ad5be20"]]);export{y as B}; -//# sourceMappingURL=BaseLayout.0d928ff1.js.map diff --git a/abstra_statics/dist/assets/BaseLayout.53dfe4a0.js b/abstra_statics/dist/assets/BaseLayout.53dfe4a0.js new file mode 100644 index 0000000000..213d70d704 --- /dev/null +++ b/abstra_statics/dist/assets/BaseLayout.53dfe4a0.js @@ -0,0 +1,2 @@ +import{$ as a,o,X as n,Z as s,a as d,R as r}from"./vue-router.d93c72db.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]="fa20a46a-4d33-42a9-91d6-89b9be29922b",e._sentryDebugIdIdentifier="sentry-dbid-fa20a46a-4d33-42a9-91d6-89b9be29922b")}catch{}})();const c={},i={class:"base-layout"},f={class:"base-middle"},u={key:0,class:"base-footer"};function _(e,t){return o(),n("div",i,[s(e.$slots,"sidebar",{},void 0,!0),d("section",f,[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(c,[["render",_],["__scopeId","data-v-9ad5be20"]]);export{y as B}; +//# sourceMappingURL=BaseLayout.53dfe4a0.js.map diff --git a/abstra_statics/dist/assets/Billing.c951389d.js b/abstra_statics/dist/assets/Billing.c951389d.js new file mode 100644 index 0000000000..42c156c22a --- /dev/null +++ b/abstra_statics/dist/assets/Billing.c951389d.js @@ -0,0 +1,2 @@ +import{a as g}from"./asyncComputed.d2f65d62.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,dc as C,aF as p,dg as h,bS as I,a as k,e9 as v}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{O as B}from"./organization.f08e73b1.js";import"./tables.fd84686b.js";import{C as f}from"./router.10d9d8b6.js";import{L as D}from"./LoadingContainer.075249df.js";import{A as N}from"./index.313ae0a2.js";import{C as z}from"./Card.6f8ccb1f.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./TabPane.820835b5.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]="65fc71f9-7326-46ac-9044-1089f2a629af",t._sentryDebugIdIdentifier="sentry-dbid-65fc71f9-7326-46ac-9044-1089f2a629af")}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:c,result:u}=g(()=>B.get(s));w(()=>{location.search.includes("upgrade")&&f.showNewMessage("I want to upgrade my plan")});const m=()=>f.showNewMessage("I want to upgrade my plan");return(V,j)=>e(c)?(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.c951389d.js.map diff --git a/abstra_statics/dist/assets/Billing.e59eb873.js b/abstra_statics/dist/assets/Billing.e59eb873.js deleted file mode 100644 index 208c0522f7..0000000000 --- a/abstra_statics/dist/assets/Billing.e59eb873.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as g}from"./asyncComputed.62fe9f61.js";import{d as y,ea as _,W as b,u as e,o as l,c as w,X as x,b as a,w as o,dc as C,aF as p,dg as h,bS as I,a as k,e9 as v}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{O as B}from"./organization.6c6a96b2.js";import"./tables.723282b3.js";import{C as c}from"./router.efcfb7fa.js";import{L as D}from"./LoadingContainer.9f69b37b.js";import{A as N}from"./index.89bac5b6.js";import{C as z}from"./Card.ea12dbe7.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./TabPane.4206d5f7.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]="e79b1ab9-439a-4a77-9381-1620f6360e0a",t._sentryDebugIdIdentifier="sentry-dbid-e79b1ab9-439a-4a77-9381-1620f6360e0a")}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));b(()=>{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(),w(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.e59eb873.js.map diff --git a/abstra_statics/dist/assets/BookOutlined.238b8620.js b/abstra_statics/dist/assets/BookOutlined.1dc76168.js similarity index 65% rename from abstra_statics/dist/assets/BookOutlined.238b8620.js rename to abstra_statics/dist/assets/BookOutlined.1dc76168.js index 4b9479229c..3d5d61b9e2 100644 --- a/abstra_statics/dist/assets/BookOutlined.238b8620.js +++ b/abstra_statics/dist/assets/BookOutlined.1dc76168.js @@ -1,2 +1,2 @@ -import{b as u,ee as c}from"./vue-router.7d22a765.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]="aef13309-2853-42ba-b0fe-2ab8b68b4d26",e._sentryDebugIdIdentifier="sentry-dbid-aef13309-2853-42ba-b0fe-2ab8b68b4d26")}catch{}})();var f={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 d=f;function i(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",Qe,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(Y),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.411590ce.js.map +import{C as U}from"./CrudView.574d257b.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,f3 as W,eo as Q,c as g,w as c,u as a,bQ as Y,by as X,bw as J,db as O,aF as b,e9 as A,cw as K,ea as ee,W as te,ag as ae,e as le,aR as re,aV as ne,cN as oe,da as ie,Y as se,d4 as ue,bx as ce,cK as de,eI as pe,$ as me}from"./vue-router.d93c72db.js";import{a as L}from"./asyncComputed.d2f65d62.js";import{B as ge,a as fe,g as ve}from"./datetime.bb5ad11f.js";import{u as ye}from"./polling.be8756ca.js";import{G as he}from"./PhArrowCounterClockwise.vue.b00021df.js";import{H as be}from"./PhCube.vue.ef7f4c31.js";import{G as Ae}from"./PhDownloadSimple.vue.798ada40.js";import"./gateway.0306d327.js";import{P as Ce}from"./project.cdada735.js";import"./tables.fd84686b.js";import{F as ke,a as _e,G as we,I as Oe}from"./PhWebhooksLogo.vue.ea2526db.js";import{A as M}from"./index.090b2bf1.js";import{a as xe,A as $e}from"./index.ce793f1f.js";import{r as Ze}from"./router.10d9d8b6.js";import{E as Se}from"./ExclamationCircleOutlined.b91f0cc2.js";import{C as Me}from"./CloseCircleOutlined.f1ce344f.js";import{L as j}from"./LoadingOutlined.e222117b.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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]="b489afa6-0c26-478e-9baf-c144e0f54d35",r._sentryDebugIdIdentifier="sentry-dbid-b489afa6-0c26-478e-9baf-c144e0f54d35")}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],Qe={key:4},Ye=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=[Ye],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",Qe,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(Y),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.bd6d5efb.js.map diff --git a/abstra_statics/dist/assets/Card.ea12dbe7.js b/abstra_statics/dist/assets/Card.6f8ccb1f.js similarity index 89% rename from abstra_statics/dist/assets/Card.ea12dbe7.js rename to abstra_statics/dist/assets/Card.6f8ccb1f.js index 6405828fa0..c9cbc3d7ca 100644 --- a/abstra_statics/dist/assets/Card.ea12dbe7.js +++ b/abstra_statics/dist/assets/Card.6f8ccb1f.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,c7 as Re,Z as Me,au as D,dM as ce,dI as Ee,dN as Le}from"./vue-router.7d22a765.js";import{T as H,A as Y}from"./TabPane.4206d5f7.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]="ff0933e4-91fd-4b04-a6a3-b14d9d787aee",e._sentryDebugIdIdentifier="sentry-dbid-ff0933e4-91fd-4b04-a6a3-b14d9d787aee")}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,c7 as Re,Z as Me,au as D,dM as ce,dI as Ee,dN as Le}from"./vue-router.d93c72db.js";import{T as H,A as Y}from"./TabPane.820835b5.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]="0dbb725a-3915-4c77-a833-93a8ae5b9f0a",e._sentryDebugIdIdentifier="sentry-dbid-0dbb725a-3915-4c77-a833-93a8ae5b9f0a")}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.ea12dbe7.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.6f8ccb1f.js.map diff --git a/abstra_statics/dist/assets/CircularLoading.313ca01b.js b/abstra_statics/dist/assets/CircularLoading.8a9b1f0b.js similarity index 99% rename from abstra_statics/dist/assets/CircularLoading.313ca01b.js rename to abstra_statics/dist/assets/CircularLoading.8a9b1f0b.js index f0806088b1..95fa7983ce 100644 --- a/abstra_statics/dist/assets/CircularLoading.313ca01b.js +++ b/abstra_statics/dist/assets/CircularLoading.8a9b1f0b.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.7d22a765.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]="b3059918-0d80-439a-8252-73cca6050a14",t._sentryDebugIdIdentifier="sentry-dbid-b3059918-0d80-439a-8252-73cca6050a14")}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.313ca01b.js.map +//# sourceMappingURL=CircularLoading.8a9b1f0b.js.map diff --git a/abstra_statics/dist/assets/CloseCircleOutlined.8dad9616.js b/abstra_statics/dist/assets/CloseCircleOutlined.8dad9616.js deleted file mode 100644 index 6a4485d5e4..0000000000 --- a/abstra_statics/dist/assets/CloseCircleOutlined.8dad9616.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as c,ee as d,ei as f}from"./vue-router.7d22a765.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]="9d3f9793-fd11-4c12-b66b-36d5e46973c1",e._sentryDebugIdIdentifier="sentry-dbid-9d3f9793-fd11-4c12-b66b-36d5e46973c1")}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,c7 as be,aZ as ve,aY as ge,a_ as $e}from"./vue-router.d93c72db.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]="22cbde8c-7d45-4d6b-a042-13b6fae4e4e3",n._sentryDebugIdIdentifier="sentry-dbid-22cbde8c-7d45-4d6b-a042-13b6fae4e4e3")}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.e3bd0766.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.79713856.js.map diff --git a/abstra_statics/dist/assets/ConnectorsView.70871717.js b/abstra_statics/dist/assets/ConnectorsView.698bca9e.js similarity index 91% rename from abstra_statics/dist/assets/ConnectorsView.70871717.js rename to abstra_statics/dist/assets/ConnectorsView.698bca9e.js index d8cd4cf7d9..df3fd03864 100644 --- a/abstra_statics/dist/assets/ConnectorsView.70871717.js +++ b/abstra_statics/dist/assets/ConnectorsView.698bca9e.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.f4235e74.js";import{_ as q}from"./AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js";import{e as z,f as x,cK as I,d as D,o as r,c as C,w as a,b as i,u as t,dg as d,d4 as O,aF as c,R as w,db as m,e9 as b,ed as P,$ as U,ea as F,X as v,aR as _,dc as $,da as N,eb as j,bQ as G,by as K,bw as S,a as V,bK as Q,cW as W,eV as X,em as Y,en as H}from"./vue-router.7d22a765.js";import{G as J}from"./PhDotsThreeVertical.vue.b0c5edcd.js";import{C as y}from"./gateway.6da513da.js";import{C as Z}from"./router.efcfb7fa.js";import{A as E}from"./Avatar.34816737.js";import{C as L}from"./Card.ea12dbe7.js";import{A as ee}from"./index.28152a0c.js";import"./BookOutlined.238b8620.js";import"./popupNotifcation.f48fd864.js";import"./TabPane.4206d5f7.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]="2c08b7f9-9cfd-4ac1-a0d0-9ebf191ce953",l._sentryDebugIdIdentifier="sentry-dbid-2c08b7f9-9cfd-4ac1-a0d0-9ebf191ce953")}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=>(Y("data-v-40b20da6"),l=l(),H(),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(X.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(K),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(J))]),_: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(Q),{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(W),{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.70871717.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.f4fbca1c.js";import{_ as q}from"./AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js";import{e as z,f as x,cK as I,d as D,o as r,c as C,w as a,b as i,u as t,dg as d,d4 as O,aF as c,R as w,db as m,e9 as b,ed as P,$ as U,ea as F,X as v,aR as _,dc as $,da as N,eb as j,bQ as G,by as K,bw as S,a as V,bK as Q,cW as W,eV as X,em as Y,en as H}from"./vue-router.d93c72db.js";import{G as J}from"./PhDotsThreeVertical.vue.1a5d5231.js";import{C as y}from"./gateway.0306d327.js";import{C as Z}from"./router.10d9d8b6.js";import{A as E}from"./Avatar.0cc5fd49.js";import{C as L}from"./Card.6f8ccb1f.js";import{A as ee}from"./index.090b2bf1.js";import"./BookOutlined.1dc76168.js";import"./popupNotifcation.fcd4681e.js";import"./TabPane.820835b5.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]="b0278d35-3893-45c4-a8c8-1724c16fd90b",l._sentryDebugIdIdentifier="sentry-dbid-b0278d35-3893-45c4-a8c8-1724c16fd90b")}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=>(Y("data-v-40b20da6"),l=l(),H(),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(X.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(K),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(J))]),_: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(Q),{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(W),{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.698bca9e.js.map diff --git a/abstra_statics/dist/assets/ContentLayout.cc8de746.js b/abstra_statics/dist/assets/ContentLayout.cc8de746.js new file mode 100644 index 0000000000..62fb2d5a35 --- /dev/null +++ b/abstra_statics/dist/assets/ContentLayout.cc8de746.js @@ -0,0 +1,2 @@ +import{d as n,o as s,X as d,a,Z as f,ed as r,$ as l}from"./vue-router.d93c72db.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]="b1f076b5-0af3-4fb5-a5d0-ff4c8e531ecd",e._sentryDebugIdIdentifier="sentry-dbid-b1f076b5-0af3-4fb5-a5d0-ff4c8e531ecd")}catch{}})();const c={class:"content-layout"},_=n({__name:"ContentLayout",props:{fullWidth:{type:Boolean}},setup(e){return(t,o)=>(s(),d("div",c,[a("div",{class:r(["centered-layout",{"full-width":t.fullWidth}])},[f(t.$slots,"default",{},void 0,!0)],2)]))}});const i=l(_,[["__scopeId","data-v-6397d501"]]);export{i as C}; +//# sourceMappingURL=ContentLayout.cc8de746.js.map diff --git a/abstra_statics/dist/assets/ContentLayout.e4128d5d.js b/abstra_statics/dist/assets/ContentLayout.e4128d5d.js deleted file mode 100644 index 9b1fe6898a..0000000000 --- a/abstra_statics/dist/assets/ContentLayout.e4128d5d.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as n,o as s,X as a,a as d,Z as r,ed as l,$ as c}from"./vue-router.7d22a765.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]="44b0c684-da09-45a3-9c5e-d973883f1a17",e._sentryDebugIdIdentifier="sentry-dbid-44b0c684-da09-45a3-9c5e-d973883f1a17")}catch{}})();const _={class:"content-layout"},u=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 f=c(u,[["__scopeId","data-v-6397d501"]]);export{f as C}; -//# sourceMappingURL=ContentLayout.e4128d5d.js.map diff --git a/abstra_statics/dist/assets/CrudView.cd385ca1.js b/abstra_statics/dist/assets/CrudView.574d257b.js similarity index 91% rename from abstra_statics/dist/assets/CrudView.cd385ca1.js rename to abstra_statics/dist/assets/CrudView.574d257b.js index 9f579f39dc..ad5e994196 100644 --- a/abstra_statics/dist/assets/CrudView.cd385ca1.js +++ b/abstra_statics/dist/assets/CrudView.574d257b.js @@ -1,2 +1,2 @@ -import{A as R,a as P,r as z}from"./router.efcfb7fa.js";import{_ as L}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import{i as O}from"./url.396c837f.js";import{G as x}from"./PhDotsThreeVertical.vue.b0c5edcd.js";import{d as M,D as E,e as $,o,c as r,w as n,u as s,cL as j,b as c,aF as d,e9 as y,da as N,X as V,eb as S,cy as X,bK as Y,cD as G,aA as Q,aR as B,cT as Z,R as m,cx as q,cK as H,f as J,r as W,dg as U,dc as K,Z as w,bS as ee,cX as te,Y as ae,db as A,d4 as le,bQ as ne,by as se,bw as oe,a as ue,ec as re,cN as ie,bx as pe,$ as ce}from"./vue-router.7d22a765.js";import{B as de}from"./Badge.c37c51db.js";import{A as ye}from"./index.28152a0c.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]="dd81ffcf-64d6-446a-86a1-7a7daf27a825",v._sentryDebugIdIdentifier="sentry-dbid-dd81ffcf-64d6-446a-86a1-7a7daf27a825")}catch{}})();const fe=M({__name:"CreationModal",props:{entityName:{},fields:{},create:{type:Function}},setup(v,{expose:f}){const b=v,T=`Create a new ${b.entityName}`,i=E({inputValue:{}}),g=$(!1),I=()=>g.value=!0,e=()=>{g.value=!1,i.inputValue={}},C=async()=>{try{await b.create(i.inputValue),e()}catch(a){a instanceof Error&&j.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:I,close:e}),(a,l)=>(o(),r(s(H),{open:g.value,title:T,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(q),{layout:"vertical"},{default:n(()=>[(o(!0),V(B,null,S(a.fields,t=>{var p;return o(),r(s(X),{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(Z),{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=M({__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),T=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"&&O(e.link)?open(e.link,"_blank"):z.push(e.link))}finally{i.value=!1}}}const I=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(U),{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(L,{key:0,path:e.docsPath},null,8,["path"])):m("",!0)]),_:3})):m("",!0),c(s(U),{gap:"middle"},{default:n(()=>[e.createButtonText?(o(),r(s(ee),{key:0,type:"primary",onClick:T},{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(I.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(x),{style:{cursor:"pointer"},size:"25px"})]),_:2},1024)):m("",!0)]),_:2},1032,["open"]))]),footer:n(()=>[e.live?(o(),r(s(P),{key:0,justify:"end",gutter:10},{default:n(()=>[c(s(R),null,{default:n(()=>[c(s(pe),{size:"small"})]),_:1}),c(s(R),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.cd385ca1.js.map +import{A as R,a as P,r as z}from"./router.10d9d8b6.js";import{_ as L}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import{i as O}from"./url.8e8c3899.js";import{G as x}from"./PhDotsThreeVertical.vue.1a5d5231.js";import{d as M,D as E,e as $,o,c as r,w as n,u as s,cL as j,b as c,aF as d,e9 as y,da as N,X as V,eb as S,cy as X,bK as Y,cD as G,aA as Q,aR as B,cT as Z,R as m,cx as q,cK as H,f as J,r as W,dg as U,dc as K,Z as w,bS as ee,cX as te,Y as ae,db as A,d4 as le,bQ as ne,by as se,bw as oe,a as ue,ec as re,cN as ie,bx as pe,$ as ce}from"./vue-router.d93c72db.js";import{B as de}from"./Badge.819cb645.js";import{A as ye}from"./index.090b2bf1.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]="3c4720ff-bf99-4c98-93b2-2004df389324",v._sentryDebugIdIdentifier="sentry-dbid-3c4720ff-bf99-4c98-93b2-2004df389324")}catch{}})();const fe=M({__name:"CreationModal",props:{entityName:{},fields:{},create:{type:Function}},setup(v,{expose:f}){const b=v,T=`Create a new ${b.entityName}`,i=E({inputValue:{}}),g=$(!1),I=()=>g.value=!0,e=()=>{g.value=!1,i.inputValue={}},C=async()=>{try{await b.create(i.inputValue),e()}catch(a){a instanceof Error&&j.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:I,close:e}),(a,l)=>(o(),r(s(H),{open:g.value,title:T,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(q),{layout:"vertical"},{default:n(()=>[(o(!0),V(B,null,S(a.fields,t=>{var p;return o(),r(s(X),{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(Z),{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=M({__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),T=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"&&O(e.link)?open(e.link,"_blank"):z.push(e.link))}finally{i.value=!1}}}const I=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(U),{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(L,{key:0,path:e.docsPath},null,8,["path"])):m("",!0)]),_:3})):m("",!0),c(s(U),{gap:"middle"},{default:n(()=>[e.createButtonText?(o(),r(s(ee),{key:0,type:"primary",onClick:T},{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(I.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(x),{style:{cursor:"pointer"},size:"25px"})]),_:2},1024)):m("",!0)]),_:2},1032,["open"]))]),footer:n(()=>[e.live?(o(),r(s(P),{key:0,justify:"end",gutter:10},{default:n(()=>[c(s(R),null,{default:n(()=>[c(s(pe),{size:"small"})]),_:1}),c(s(R),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.574d257b.js.map diff --git a/abstra_statics/dist/assets/DeleteOutlined.5491ff33.js b/abstra_statics/dist/assets/DeleteOutlined.5491ff33.js deleted file mode 100644 index 6d8249bcac..0000000000 --- a/abstra_statics/dist/assets/DeleteOutlined.5491ff33.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as l,ee as u,eO as d}from"./vue-router.7d22a765.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]="b187ce0a-bf0f-477e-a59b-3fb53df664e8",e._sentryDebugIdIdentifier="sentry-dbid-b187ce0a-bf0f-477e-a59b-3fb53df664e8")}catch{}})();function i(e){for(var t=1;t{var s;return a(),l(d(y),{class:"docs-button",href:`https://docs.abstra.io/${(s=e.path)!=null?s:""}`,target:"_blank",type:"text",size:"small"},{icon:o(()=>[c(d(r))]),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.f4235e74.js.map diff --git a/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js b/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js new file mode 100644 index 0000000000..36428e3d51 --- /dev/null +++ b/abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js @@ -0,0 +1,2 @@ +import{B as d}from"./BookOutlined.1dc76168.js";import{d as c,o as s,c as f,w as o,b as l,u as n,Z as u,X as i,aF as p,aR as b,bS as y}from"./vue-router.d93c72db.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]="7a4cd91a-b7df-4d8e-9462-ffac360c0854",t._sentryDebugIdIdentifier="sentry-dbid-7a4cd91a-b7df-4d8e-9462-ffac360c0854")}catch{}})();const g=c({__name:"DocsButton",props:{path:{}},setup(t){return(e,r)=>{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(d))]),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.f4fbca1c.js.map diff --git a/abstra_statics/dist/assets/EditorLogin.ab039a43.js b/abstra_statics/dist/assets/EditorLogin.e7aa887a.js similarity index 80% rename from abstra_statics/dist/assets/EditorLogin.ab039a43.js rename to abstra_statics/dist/assets/EditorLogin.e7aa887a.js index a2769434ec..470f625194 100644 --- a/abstra_statics/dist/assets/EditorLogin.ab039a43.js +++ b/abstra_statics/dist/assets/EditorLogin.e7aa887a.js @@ -1,2 +1,2 @@ -import{N as Q}from"./Navbar.2cc2e0ee.js";import{a as A}from"./asyncComputed.62fe9f61.js";import{m as X}from"./url.396c837f.js";import{d as $,f as y,e as k,ea as H,o as r,X as h,b as c,a as ee,u as a,c as s,w as i,bx as K,aF as u,e9 as p,eV as l,dc as ae,aA as C,cS as f,cT as m,aR as R,eb as T,R as z,cy as g,bK as V,eg as te,bS as ne,cx as oe,$ as ie}from"./vue-router.7d22a765.js";import{A as re}from"./apiKey.31c161a3.js";import"./gateway.6da513da.js";import{O as D}from"./organization.6c6a96b2.js";import{P as B}from"./project.8378b21f.js";import"./tables.723282b3.js";import"./PhChats.vue.afcd5876.js";import"./PhSignOut.vue.618d1f5c.js";import"./router.efcfb7fa.js";import"./index.28152a0c.js";import"./Avatar.34816737.js";import"./index.21dc8b6c.js";import"./index.4c73e857.js";import"./BookOutlined.238b8620.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.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[_]="759d6be6-fcdb-4484-98b0-3a6a119b8399",d._sentryDebugIdIdentifier="sentry-dbid-759d6be6-fcdb-4484-98b0-3a6a119b8399")}catch{}})();const le={class:"container"},se={class:"content"},N="NEW_ORGANIZATION_KEY",I="NEW_PROJECT_KEY",ce=$({__name:"EditorLogin",setup(d){const{result:_,loading:x}=A(()=>D.list()),{result:F,loading:j,refetch:L}=A(async()=>{const t=e.value;return t.type!=="selected-organization"?[]:B.list(t.organizationId)}),E=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 D.create(t.name),S=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 S({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 S({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 P=H(),Z=k(null);async function w(t){if(P.query.redirect){const n=P.query.redirect;if(!n.match(/http:\/\/localhost:\d+/))throw new Error("Invalid redirect");const o=decodeURIComponent(n);location.href=X(o,{"api-key":t})}else Z.value=t}return(t,n)=>(r(),h("div",le,[c(Q),ee("div",se,[a(x)||!a(_)?(r(),s(a(K),{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(C),{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"]),E.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,T(E.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(V),{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(C),{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,T(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(K),{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(V),{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 Se=ie(ce,[["__scopeId","data-v-11f078da"]]);export{Se as default}; -//# sourceMappingURL=EditorLogin.ab039a43.js.map +import{N as Q}from"./Navbar.b657ea73.js";import{a as A}from"./asyncComputed.d2f65d62.js";import{m as X}from"./url.8e8c3899.js";import{d as $,f as y,e as k,ea as H,o as r,X as h,b as c,a as ee,u as a,c as s,w as i,bx as K,aF as u,e9 as p,eV as l,dc as ae,aA as C,cS as f,cT as m,aR as R,eb as T,R as z,cy as g,bK as V,eg as te,bS as ne,cx as oe,$ as ie}from"./vue-router.d93c72db.js";import{A as re}from"./apiKey.969edb77.js";import"./gateway.0306d327.js";import{O as D}from"./organization.f08e73b1.js";import{P as B}from"./project.cdada735.js";import"./tables.fd84686b.js";import"./PhChats.vue.860dd615.js";import"./PhSignOut.vue.33fd1944.js";import"./router.10d9d8b6.js";import"./index.090b2bf1.js";import"./Avatar.0cc5fd49.js";import"./index.70aedabb.js";import"./index.5dabdfbc.js";import"./BookOutlined.1dc76168.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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[_]="828b23e2-9dcd-4075-9e69-41dd3d98249f",d._sentryDebugIdIdentifier="sentry-dbid-828b23e2-9dcd-4075-9e69-41dd3d98249f")}catch{}})();const le={class:"container"},se={class:"content"},N="NEW_ORGANIZATION_KEY",I="NEW_PROJECT_KEY",ce=$({__name:"EditorLogin",setup(d){const{result:_,loading:x}=A(()=>D.list()),{result:F,loading:j,refetch:L}=A(async()=>{const t=e.value;return t.type!=="selected-organization"?[]:B.list(t.organizationId)}),E=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 D.create(t.name),S=async(t,n)=>await B.create({organizationId:n,name:t.name}),w=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 S({name:e.value.project.projectName},t.id),o=await w(n.id);o.value&&b(o.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="new"){const t=await S({name:e.value.project.projectName},e.value.organizationId),n=await w(t.id);n.value&&b(n.value)}if(e.value.type==="selected-organization"&&e.value.project.type==="selected"){const t=await w(e.value.project.projectId);t.value&&b(t.value)}}finally{v.value=!1}}}const P=H(),Z=k(null);async function b(t){if(P.query.redirect){const n=P.query.redirect;if(!n.match(/http:\/\/localhost:\d+/))throw new Error("Invalid redirect");const o=decodeURIComponent(n);location.href=X(o,{"api-key":t})}else Z.value=t}return(t,n)=>(r(),h("div",le,[c(Q),ee("div",se,[a(x)||!a(_)?(r(),s(a(K),{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(C),{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"]),E.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,T(E.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(V),{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(C),{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,T(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(K),{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(V),{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 Se=ie(ce,[["__scopeId","data-v-11f078da"]]);export{Se as default}; +//# sourceMappingURL=EditorLogin.e7aa887a.js.map diff --git a/abstra_statics/dist/assets/Editors.18dacbdd.js b/abstra_statics/dist/assets/Editors.18dacbdd.js new file mode 100644 index 0000000000..3bce7fae89 --- /dev/null +++ b/abstra_statics/dist/assets/Editors.18dacbdd.js @@ -0,0 +1,2 @@ +import{C as b}from"./CrudView.574d257b.js";import{a as d}from"./ant-design.2a356765.js";import{a as g}from"./asyncComputed.d2f65d62.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.d93c72db.js";import{a as C}from"./gateway.0306d327.js";import{M as n}from"./member.0180b3b8.js";import"./tables.fd84686b.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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]="7e7b3b25-8aea-48d8-97f4-4b259dbf58f0",o._sentryDebugIdIdentifier="sentry-dbid-7e7b3b25-8aea-48d8-97f4-4b259dbf58f0")}catch{}})();const P=w({__name:"Editors",setup(o){const a=_(),s=h(),r=a.params.organizationId,l=[{key:"email",label:"Email"}],c=async e=>{await n.create(r,e.email),m()};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),m())}const{loading:f,result:p,refetch:m}=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:l,create:c},null,8,["loading","table"]))}});export{P as default}; +//# sourceMappingURL=Editors.18dacbdd.js.map diff --git a/abstra_statics/dist/assets/Editors.54785a2d.js b/abstra_statics/dist/assets/Editors.54785a2d.js deleted file mode 100644 index a9126eb6e9..0000000000 --- a/abstra_statics/dist/assets/Editors.54785a2d.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as b}from"./CrudView.cd385ca1.js";import{a as m}from"./ant-design.c6784518.js";import{a as g}from"./asyncComputed.62fe9f61.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.7d22a765.js";import{a as C}from"./gateway.6da513da.js";import{M as n}from"./member.3cef82aa.js";import"./tables.723282b3.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.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]="ff222a1b-2bac-4e61-9066-0f2899b1ec8d",o._sentryDebugIdIdentifier="sentry-dbid-ff222a1b-2bac-4e61-9066-0f2899b1ec8d")}catch{}})();const P=w({__name:"Editors",setup(o){const a=_(),s=h(),r=a.params.organizationId,l=[{key:"email",label:"Email"}],d=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 m("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 m("Are you sure you want to remove this member's access?")&&(await n.delete(r,e.authorId),c())}const{loading:f,result:p,refetch:c}=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:l,create:d},null,8,["loading","table"]))}});export{P as default}; -//# sourceMappingURL=Editors.54785a2d.js.map diff --git a/abstra_statics/dist/assets/EnvVars.b9b5ad98.js b/abstra_statics/dist/assets/EnvVars.b9b5ad98.js deleted file mode 100644 index 1b0653285c..0000000000 --- a/abstra_statics/dist/assets/EnvVars.b9b5ad98.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as n,C as p}from"./View.vue_vue_type_script_setup_true_lang.e3f55a53.js";import{d as i,ea as s,o as a,c as m,u as d}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import"./popupNotifcation.f48fd864.js";import"./fetch.8d81adbd.js";import"./record.c63163fa.js";import"./SaveButton.91be38d7.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./CrudView.cd385ca1.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./asyncComputed.62fe9f61.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./index.3db2f466.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]="a4e6f2a9-1c11-448e-9e56-d2f3a5f9a576",o._sentryDebugIdIdentifier="sentry-dbid-a4e6f2a9-1c11-448e-9e56-d2f3a5f9a576")}catch{}})();const z=i({__name:"EnvVars",setup(o){const r=s().params.projectId,t=new p(r);return(f,c)=>(a(),m(n,{"env-var-repository":d(t),mode:"console"},null,8,["env-var-repository"]))}});export{z as default}; -//# sourceMappingURL=EnvVars.b9b5ad98.js.map diff --git a/abstra_statics/dist/assets/EnvVars.c90017c4.js b/abstra_statics/dist/assets/EnvVars.c90017c4.js new file mode 100644 index 0000000000..3434ef0def --- /dev/null +++ b/abstra_statics/dist/assets/EnvVars.c90017c4.js @@ -0,0 +1,2 @@ +import{_ as n,C as p}from"./View.vue_vue_type_script_setup_true_lang.732befe4.js";import{d as i,ea as s,o as a,c as m,u as d}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.js";import"./fetch.a18f4d89.js";import"./record.a553a696.js";import"./SaveButton.3f760a03.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./CrudView.574d257b.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./asyncComputed.d2f65d62.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./index.b7b1d42b.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]="ea1fd387-2c4f-4a79-ae82-1e9d2109900d",o._sentryDebugIdIdentifier="sentry-dbid-ea1fd387-2c4f-4a79-ae82-1e9d2109900d")}catch{}})();const z=i({__name:"EnvVars",setup(o){const r=s().params.projectId,t=new p(r);return(c,f)=>(a(),m(n,{"env-var-repository":d(t),mode:"console"},null,8,["env-var-repository"]))}});export{z as default}; +//# sourceMappingURL=EnvVars.c90017c4.js.map diff --git a/abstra_statics/dist/assets/EnvVarsEditor.5ced7b87.js b/abstra_statics/dist/assets/EnvVarsEditor.5ced7b87.js new file mode 100644 index 0000000000..d8d352d2ed --- /dev/null +++ b/abstra_statics/dist/assets/EnvVarsEditor.5ced7b87.js @@ -0,0 +1,2 @@ +import{d as i,o as p,c as n,w as m,b as s,u as e}from"./vue-router.d93c72db.js";import"./editor.01ba249d.js";import{W as a}from"./workspaces.054b755b.js";import{C as d}from"./ContentLayout.cc8de746.js";import{_ as f,E as c}from"./View.vue_vue_type_script_setup_true_lang.732befe4.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./asyncComputed.d2f65d62.js";import"./record.a553a696.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.js";import"./fetch.a18f4d89.js";import"./SaveButton.3f760a03.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./CrudView.574d257b.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./index.b7b1d42b.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]="78d5d04f-9811-4b0c-9e18-a81ee4cd7c58",o._sentryDebugIdIdentifier="sentry-dbid-78d5d04f-9811-4b0c-9e18-a81ee4cd7c58")}catch{}})();const F=i({__name:"EnvVarsEditor",setup(o){const r=new c;return(t,u)=>(p(),n(d,null,{default:m(()=>[s(f,{"env-var-repository":e(r),mode:"editor","file-opener":e(a)},null,8,["env-var-repository","file-opener"])]),_:1}))}});export{F as default}; +//# sourceMappingURL=EnvVarsEditor.5ced7b87.js.map diff --git a/abstra_statics/dist/assets/EnvVarsEditor.c16d4e87.js b/abstra_statics/dist/assets/EnvVarsEditor.c16d4e87.js deleted file mode 100644 index b12880d98d..0000000000 --- a/abstra_statics/dist/assets/EnvVarsEditor.c16d4e87.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as i,o as p,c as a,w as n,b as m,u as t}from"./vue-router.7d22a765.js";import"./editor.e28b46d6.js";import{W as s}from"./workspaces.7db2ec4c.js";import{C as d}from"./ContentLayout.e4128d5d.js";import{_ as f,E as c}from"./View.vue_vue_type_script_setup_true_lang.e3f55a53.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./asyncComputed.62fe9f61.js";import"./record.c63163fa.js";import"./gateway.6da513da.js";import"./popupNotifcation.f48fd864.js";import"./fetch.8d81adbd.js";import"./SaveButton.91be38d7.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./CrudView.cd385ca1.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./index.3db2f466.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]="8ca0835f-a4da-40b0-917f-5c23a94a4076",o._sentryDebugIdIdentifier="sentry-dbid-8ca0835f-a4da-40b0-917f-5c23a94a4076")}catch{}})();const F=i({__name:"EnvVarsEditor",setup(o){const r=new c;return(e,u)=>(p(),a(d,null,{default:n(()=>[m(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.c16d4e87.js.map diff --git a/abstra_statics/dist/assets/Error.3d6ff36d.js b/abstra_statics/dist/assets/Error.efb53375.js similarity index 60% rename from abstra_statics/dist/assets/Error.3d6ff36d.js rename to abstra_statics/dist/assets/Error.efb53375.js index b4863260f4..1391d26f81 100644 --- a/abstra_statics/dist/assets/Error.3d6ff36d.js +++ b/abstra_statics/dist/assets/Error.efb53375.js @@ -1,2 +1,2 @@ -import{_ as k}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{d as v,ea as A,eo as x,f as w,o as i,X as I,b as d,w as a,u as e,c as f,R as p,aF as s,e9 as l,dc as C,d8 as m,bS as N,a as B,d9 as D,eV as o,$ as T}from"./vue-router.7d22a765.js";import{u as V}from"./workspaceStore.1847e3fb.js";import{C as E}from"./Card.ea12dbe7.js";import"./Logo.6d72a7bf.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./TabPane.4206d5f7.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new H().stack;c&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[c]="cfd471dd-d958-416f-b074-d36bbf00de18",r._sentryDebugIdIdentifier="sentry-dbid-cfd471dd-d958-416f-b074-d36bbf00de18")}catch{}})();const S={class:"inner-content"},R={class:"card-content"},$=v({__name:"Error",setup(r){const c=A(),b=x(),u=V(),g=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}=c.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=()=>{b.push({name:"playerHome"})};return(t,_)=>(i(),I("div",S,[d(e(C),null,{default:a(()=>[s(l(n.value.title),1)]),_:1}),d(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",R,[d(k,{style:{"margin-bottom":"10px"}}),d(e(m),null,{default:a(()=>[s("This page is part of "+l(g.value?`the ${g.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 "),d(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.3d6ff36d.js.map +import{_ as k}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{d as v,ea as A,eo as x,f as w,o as i,X as I,b as d,w as a,u as e,c as f,R as p,aF as s,e9 as l,dc as C,d8 as m,bS as N,a as B,d9 as D,eV as o,$ as T}from"./vue-router.d93c72db.js";import{u as V}from"./workspaceStore.f24e9a7b.js";import{C as E}from"./Card.6f8ccb1f.js";import"./Logo.3e4c9003.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./TabPane.820835b5.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new H().stack;c&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[c]="c34735d8-b39d-4f17-af5d-d7241d7d8409",r._sentryDebugIdIdentifier="sentry-dbid-c34735d8-b39d-4f17-af5d-d7241d7d8409")}catch{}})();const S={class:"inner-content"},R={class:"card-content"},$=v({__name:"Error",setup(r){const c=A(),g=x(),u=V(),y=w(()=>{var t,_,b;return(b=(t=u.state.workspace)==null?void 0:t.name)!=null?b:(_=u.state.workspace)==null?void 0:_.brandName}),n=w(()=>{const{status:t}=c.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",S,[d(e(C),null,{default:a(()=>[s(l(n.value.title),1)]),_:1}),d(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",R,[d(k,{style:{"margin-bottom":"10px"}}),d(e(m),null,{default:a(()=>[s("This page is part of "+l(y.value?`the ${y.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 "),d(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.efb53375.js.map diff --git a/abstra_statics/dist/assets/ExclamationCircleOutlined.b91f0cc2.js b/abstra_statics/dist/assets/ExclamationCircleOutlined.b91f0cc2.js new file mode 100644 index 0000000000..c4087785b9 --- /dev/null +++ b/abstra_statics/dist/assets/ExclamationCircleOutlined.b91f0cc2.js @@ -0,0 +1,2 @@ +import{b as c,ee as o,eD as d}from"./vue-router.d93c72db.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]="088ab56d-fbae-4343-8d13-22c6a58d4901",e._sentryDebugIdIdentifier="sentry-dbid-088ab56d-fbae-4343-8d13-22c6a58d4901")}catch{}})();function l(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.a8ba2f05.js.map +import{C as l}from"./gateway.0306d327.js";import{b as u,ee as d,f1 as w,f2 as I,d as j,o,c as a,u as c,R as S}from"./vue-router.d93c72db.js";import{L as P}from"./LoadingOutlined.e222117b.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]="d4a93d7d-23b6-48bd-990c-2581b58ff52a",r._sentryDebugIdIdentifier="sentry-dbid-d4a93d7d-23b6-48bd-990c-2581b58ff52a")}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=>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.0af37bda.js.map diff --git a/abstra_statics/dist/assets/Files.a56de8af.js b/abstra_statics/dist/assets/Files.ac1281a4.js similarity index 90% rename from abstra_statics/dist/assets/Files.a56de8af.js rename to abstra_statics/dist/assets/Files.ac1281a4.js index 252c660db8..a491601907 100644 --- a/abstra_statics/dist/assets/Files.a56de8af.js +++ b/abstra_statics/dist/assets/Files.ac1281a4.js @@ -1,2 +1,2 @@ -import{_ as q}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import{C as Q}from"./ContentLayout.e4128d5d.js";import{p as W}from"./popupNotifcation.f48fd864.js";import{a as X}from"./ant-design.c6784518.js";import{a as J}from"./asyncComputed.62fe9f61.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,f5 as K,ea as ee,e as te,c as b,w as s,aF as _,u as o,dc as ae,da as x,bS as $,e9 as M,d3 as ne,bQ as oe,by as re,bw as z,db as B,cw as le,em as ie,en as se,$ as de}from"./vue-router.7d22a765.js";import{C as k}from"./gateway.6da513da.js";import"./tables.723282b3.js";import{D as N}from"./DeleteOutlined.5491ff33.js";import{C as ue}from"./Card.ea12dbe7.js";import"./BookOutlined.238b8620.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./TabPane.4206d5f7.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]="1650fa49-fe0d-48b8-a09b-9f6836972469",a._sentryDebugIdIdentifier="sentry-dbid-1650fa49-fe0d-48b8-a09b-9f6836972469")}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),Se=[De],Pe={name:"PhDotsThree"},Ue=R({...Pe,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,Se)):w("",!0)],16,fe))}});function V(a){for(var e=1;e(ie("data-v-048030b3"),a=a(),se(),a),Ne=Be(()=>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=P.fromProjectId(n),{loading:p,result:Z,refetch:m}=J(()=>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{W("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 X(l)&&(await r.delete(t.path),await m())}return(t,l)=>(d(),b(Q,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."),Ne,_(" 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(N))]),_: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(z),{danger:!1,onClick:()=>U(v)},{default:s(()=>[f("div",He,[i(o(H)),i(o(B),null,{default:s(()=>[_(" Upload ")]),_:1})])]),_:2},1032,["onClick"]),i(o(z),{danger:!1,onClick:()=>F(v)},{default:s(()=>[f("div",Re,[i(o(N)),i(o(B),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.a56de8af.js.map +import{_ as q}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import{C as Q}from"./ContentLayout.cc8de746.js";import{p as W}from"./popupNotifcation.fcd4681e.js";import{a as X}from"./ant-design.2a356765.js";import{a as J}from"./asyncComputed.d2f65d62.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,f5 as K,ea as ee,e as te,c as b,w as s,aF as _,u as o,dc as ae,da as x,bS as $,e9 as M,d3 as ne,bQ as oe,by as re,bw as z,db as B,cw as le,em as ie,en as se,$ as de}from"./vue-router.d93c72db.js";import{C as k}from"./gateway.0306d327.js";import"./tables.fd84686b.js";import{D as N}from"./DeleteOutlined.992cbf70.js";import{C as ue}from"./Card.6f8ccb1f.js";import"./BookOutlined.1dc76168.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./TabPane.820835b5.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]="5eeaff73-7835-42b0-9536-609dd4d03de0",a._sentryDebugIdIdentifier="sentry-dbid-5eeaff73-7835-42b0-9536-609dd4d03de0")}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),Se=[De],Pe={name:"PhDotsThree"},Ue=R({...Pe,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,Se)):w("",!0)],16,fe))}});function V(a){for(var e=1;e(ie("data-v-048030b3"),a=a(),se(),a),Ne=Be(()=>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=P.fromProjectId(n),{loading:p,result:Z,refetch:m}=J(()=>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{W("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 X(l)&&(await r.delete(t.path),await m())}return(t,l)=>(d(),b(Q,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."),Ne,_(" 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(N))]),_: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(z),{danger:!1,onClick:()=>U(v)},{default:s(()=>[f("div",He,[i(o(H)),i(o(B),null,{default:s(()=>[_(" Upload ")]),_:1})])]),_:2},1032,["onClick"]),i(o(z),{danger:!1,onClick:()=>F(v)},{default:s(()=>[f("div",Re,[i(o(N)),i(o(B),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.ac1281a4.js.map diff --git a/abstra_statics/dist/assets/Form.5d2758ac.js b/abstra_statics/dist/assets/Form.68490694.js similarity index 53% rename from abstra_statics/dist/assets/Form.5d2758ac.js rename to abstra_statics/dist/assets/Form.68490694.js index 73ec6ac851..75bfe818e7 100644 --- a/abstra_statics/dist/assets/Form.5d2758ac.js +++ b/abstra_statics/dist/assets/Form.68490694.js @@ -1,2 +1,2 @@ -import{A as S}from"./api.2772643e.js";import{b as I,j as U}from"./workspaceStore.1847e3fb.js";import{b as A,r as T,c as x,d as W}from"./FormRunner.68123581.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 f,X as P,b as y,c as D,w as _,R as X,aF as R,dc as $,d8 as z,dg as H,$ as J}from"./vue-router.7d22a765.js";import{a as O}from"./asyncComputed.62fe9f61.js";import{u as k}from"./uuid.65957d70.js";import{L as Q}from"./CircularLoading.313ca01b.js";import"./fetch.8d81adbd.js";import"./metadata.9b52bd89.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./Login.vue_vue_type_script_setup_true_lang.30e3968d.js";import"./Logo.6d72a7bf.js";import"./string.042fe6bc.js";import"./index.143dc5b1.js";import"./index.3db2f466.js";import"./Steps.db3ca432.js";import"./index.d9edc3f8.js";import"./Watermark.a189bb8e.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]="a117172d-6a75-4896-a136-2de51ea75d40",l._sentryDebugIdIdentifier="sentry-dbid-a117172d-6a75-4896-a136-2de51ea75d40")}catch{}})();const Y={key:0,class:"loading"},Z=L({__name:"Form",setup(l){const o=V(),d=K(),h=N({playerKey:k()}),E=I(),u=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){d.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=>u.value=c}),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&&d.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",p),T("player",d,a,e)}j(async()=>{window.addEventListener("beforeunload",p)}),G(()=>{window.removeEventListener("beforeunload",p)});const p=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)?(f(),P("div",Y,[y(Q)])):v.value?(f(),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)?(f(),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: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.5d2758ac.js.map +import{A as S}from"./api.bff7d58f.js";import{b as I,j as U}from"./workspaceStore.f24e9a7b.js";import{b as A,r as T,c as x,d as W}from"./FormRunner.0cb92719.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 f,X as P,b as y,c as D,w as _,R as X,aF as R,dc as $,d8 as z,dg as H,$ as J}from"./vue-router.d93c72db.js";import{a as O}from"./asyncComputed.d2f65d62.js";import{u as k}from"./uuid.848d284c.js";import{L as Q}from"./CircularLoading.8a9b1f0b.js";import"./fetch.a18f4d89.js";import"./metadata.7b1155be.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./Login.vue_vue_type_script_setup_true_lang.9267acc2.js";import"./Logo.3e4c9003.js";import"./string.d10c3089.js";import"./index.77b08602.js";import"./index.b7b1d42b.js";import"./Steps.5f0ada68.js";import"./index.03f6e8fc.js";import"./Watermark.1fc122c8.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]="5ad52136-5add-482d-87de-80a2922471f8",l._sentryDebugIdIdentifier="sentry-dbid-5ad52136-5add-482d-87de-80a2922471f8")}catch{}})();const Y={key:0,class:"loading"},Z=L({__name:"Form",setup(l){const o=V(),u=K(),h=N({playerKey:k()}),E=I(),d=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=>d.value=c}),i=s.getState();return d.value=i.formState,{runnerData:e,controller:s}}),F=M(()=>{const a=!m,e=!!g,n=!r||d.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",p),T("player",u,a,e)}j(async()=>{window.addEventListener("beforeunload",p)}),G(()=>{window.removeEventListener("beforeunload",p)});const p=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)?(f(),P("div",Y,[y(Q)])):v.value?(f(),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&&d.value&&!t(g)&&!t(m)?(f(),D(A,{key:h.playerKey,"form-runner-data":t(r).runnerData,"form-state":d.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.68490694.js.map diff --git a/abstra_statics/dist/assets/FormEditor.84399bcb.js b/abstra_statics/dist/assets/FormEditor.f31c4561.js similarity index 87% rename from abstra_statics/dist/assets/FormEditor.84399bcb.js rename to abstra_statics/dist/assets/FormEditor.f31c4561.js index ede0eb9035..62351f4327 100644 --- a/abstra_statics/dist/assets/FormEditor.84399bcb.js +++ b/abstra_statics/dist/assets/FormEditor.f31c4561.js @@ -1,2 +1,2 @@ -import{A as K}from"./api.2772643e.js";import{P as Te}from"./PlayerNavbar.641ba123.js";import{b as Fe,u as Me}from"./workspaceStore.1847e3fb.js";import{B as Ie}from"./BaseLayout.0d928ff1.js";import{R as Re,S as Ue,E as Ee,a as Ve,I as Le,L as Be}from"./SourceCode.355e8a29.js";import{S as Ne}from"./SaveButton.91be38d7.js";import{F as $,a as $e,b as De,c as He,d as We,r as Pe}from"./FormRunner.68123581.js";import{d as B,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,cK as ne,$ as P,e as S,dc as N,aF as f,cW as se,d8 as L,cy as C,bK as T,cx as ue,aR as ie,em as de,en as pe,bN as oe,bS as I,eb as Qe,dg as W,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,cN as ta,d9 as la,aV as H,eS as oa}from"./vue-router.7d22a765.js";import{a as ra}from"./asyncComputed.62fe9f61.js";import{W as na}from"./PlayerConfigProvider.b00461a5.js";import{F as sa}from"./PhArrowSquareOut.vue.a1699b2d.js";import{G as ua}from"./PhFlowArrow.vue.67873dec.js";import{F as ia}from"./metadata.9b52bd89.js";import{F as da}from"./forms.93cff9fd.js";import"./editor.e28b46d6.js";import{W as G}from"./workspaces.7db2ec4c.js";import{T as pa}from"./ThreadSelector.e5f2e543.js";import{A as ca}from"./index.3db2f466.js";import{A as ma}from"./index.28152a0c.js";import{N as va}from"./NavbarControls.dc4d4339.js";import{b as fa}from"./index.21dc8b6c.js";import{A as q,T as ga}from"./TabPane.4206d5f7.js";import{B as ha}from"./Badge.c37c51db.js";import{A as ya}from"./index.89bac5b6.js";import{C as ba}from"./Card.ea12dbe7.js";import"./fetch.8d81adbd.js";import"./LoadingOutlined.0a0dc718.js";import"./PhSignOut.vue.618d1f5c.js";import"./index.4c73e857.js";import"./Avatar.34816737.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./uuid.65957d70.js";import"./scripts.b9182f88.js";import"./record.c63163fa.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./PhCopy.vue.834d7537.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhCopySimple.vue.b36c12a9.js";import"./PhCaretRight.vue.053320ac.js";import"./PhBug.vue.fd83bab4.js";import"./PhQuestion.vue.52f4cce8.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./toggleHighContrast.5f5c4f15.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./Login.vue_vue_type_script_setup_true_lang.30e3968d.js";import"./Logo.6d72a7bf.js";import"./CircularLoading.313ca01b.js";import"./index.143dc5b1.js";import"./Steps.db3ca432.js";import"./index.d9edc3f8.js";import"./Watermark.a189bb8e.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./index.185e14fb.js";import"./CloseCircleOutlined.8dad9616.js";import"./popupNotifcation.f48fd864.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhChats.vue.afcd5876.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]="21daa670-6fa3-488d-9e3a-fa89772177d9",g._sentryDebugIdIdentifier="sentry-dbid-21daa670-6fa3-488d-9e3a-fa89772177d9")}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),Ba=[La],Na={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],Ha={name:"PhArrowsClockwise"},Wa=B({...Ha,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,Ba)):v.value==="thin"?(i(),A("g",Na,Da)):w("",!0)],16,_a))}}),Pa=B({__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=P(Pa,[["__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=B({__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(N),{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=P(ja,[["__scopeId","data-v-b2ed6a6d"]]),qa=B({__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(N),{level:3},{default:t(()=>[f(" Texts ")]),_:1}),a(e(N),{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(N),{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(N),{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=P(qa,[["__scopeId","data-v-aff64cb2"]]),Ga=B({__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(W),{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=B({__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 He({formRunnerData:d.value,logService:Y,connectionManager:new We(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=Be.create();function Se(n,l){Pe("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(Ne,{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(W),{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(W),{key:1,vertical:"",gap:"10",style:{height:"100%",overflow:"hidden"}},{default:t(()=>[a(e(W),{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(Wa),{size:"20"})]),_:1},8,["disabled"])]),_:1},8,["open"])):w("",!0),e($).includes(b.value.type)?(i(),_(e(H),{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(H),{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(H),{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(H),{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=P(tt,[["__scopeId","data-v-7bfe9254"]]);export{cl as default}; -//# sourceMappingURL=FormEditor.84399bcb.js.map +import{A as K}from"./api.bff7d58f.js";import{P as Te}from"./PlayerNavbar.f1d9205e.js";import{b as Fe,u as Me}from"./workspaceStore.f24e9a7b.js";import{B as Ie}from"./BaseLayout.53dfe4a0.js";import{R as Re,S as Ue,E as Ee,a as Ve,I as Le,L as Be}from"./SourceCode.1d8a49cc.js";import{S as Ne}from"./SaveButton.3f760a03.js";import{F as $,a as $e,b as De,c as He,d as We,r as Pe}from"./FormRunner.0cb92719.js";import{d as B,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,cK as ne,$ as P,e as S,dc as N,aF as f,cW as se,d8 as L,cy as C,bK as T,cx as ue,aR as ie,em as de,en as pe,bN as oe,bS as I,eb as Qe,dg as W,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,cN as ta,d9 as la,aV as H,eS as oa}from"./vue-router.d93c72db.js";import{a as ra}from"./asyncComputed.d2f65d62.js";import{W as na}from"./PlayerConfigProvider.46a07e66.js";import{F as sa}from"./PhArrowSquareOut.vue.ba2ca743.js";import{G as ua}from"./PhFlowArrow.vue.54661f9c.js";import{F as ia}from"./metadata.7b1155be.js";import{F as da}from"./forms.f96e1282.js";import"./editor.01ba249d.js";import{W as G}from"./workspaces.054b755b.js";import{T as pa}from"./ThreadSelector.8f315e17.js";import{A as ca}from"./index.b7b1d42b.js";import{A as ma}from"./index.090b2bf1.js";import{N as va}from"./NavbarControls.9c6236d6.js";import{b as fa}from"./index.70aedabb.js";import{A as q,T as ga}from"./TabPane.820835b5.js";import{B as ha}from"./Badge.819cb645.js";import{A as ya}from"./index.313ae0a2.js";import{C as ba}from"./Card.6f8ccb1f.js";import"./fetch.a18f4d89.js";import"./LoadingOutlined.e222117b.js";import"./PhSignOut.vue.33fd1944.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./uuid.848d284c.js";import"./scripts.1b2e66c0.js";import"./record.a553a696.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./PhCopy.vue.1dad710f.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhCopySimple.vue.393b6f24.js";import"./PhCaretRight.vue.246b48ee.js";import"./PhBug.vue.2cdd0af8.js";import"./PhQuestion.vue.1e79437f.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./toggleHighContrast.6c3d17d3.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./Login.vue_vue_type_script_setup_true_lang.9267acc2.js";import"./Logo.3e4c9003.js";import"./CircularLoading.8a9b1f0b.js";import"./index.77b08602.js";import"./Steps.5f0ada68.js";import"./index.03f6e8fc.js";import"./Watermark.1fc122c8.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./index.1b012bfe.js";import"./CloseCircleOutlined.f1ce344f.js";import"./popupNotifcation.fcd4681e.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhChats.vue.860dd615.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]="f0f79dd4-f788-4660-a39f-5775858ab3b6",g._sentryDebugIdIdentifier="sentry-dbid-f0f79dd4-f788-4660-a39f-5775858ab3b6")}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),Ba=[La],Na={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],Ha={name:"PhArrowsClockwise"},Wa=B({...Ha,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,Ba)):v.value==="thin"?(i(),A("g",Na,Da)):w("",!0)],16,_a))}}),Pa=B({__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=P(Pa,[["__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=B({__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(N),{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=P(ja,[["__scopeId","data-v-b2ed6a6d"]]),qa=B({__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(N),{level:3},{default:t(()=>[f(" Texts ")]),_:1}),a(e(N),{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(N),{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(N),{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=P(qa,[["__scopeId","data-v-aff64cb2"]]),Ga=B({__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(W),{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=B({__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 He({formRunnerData:d.value,logService:Y,connectionManager:new We(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=Be.create();function Se(n,l){Pe("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(Ne,{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(W),{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(W),{key:1,vertical:"",gap:"10",style:{height:"100%",overflow:"hidden"}},{default:t(()=>[a(e(W),{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(Wa),{size:"20"})]),_:1},8,["disabled"])]),_:1},8,["open"])):w("",!0),e($).includes(b.value.type)?(i(),_(e(H),{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(H),{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(H),{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(H),{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=P(tt,[["__scopeId","data-v-7bfe9254"]]);export{cl as default}; +//# sourceMappingURL=FormEditor.f31c4561.js.map diff --git a/abstra_statics/dist/assets/FormRunner.68123581.js b/abstra_statics/dist/assets/FormRunner.0cb92719.js similarity index 91% rename from abstra_statics/dist/assets/FormRunner.68123581.js rename to abstra_statics/dist/assets/FormRunner.0cb92719.js index e681e9c7c3..09647c61e7 100644 --- a/abstra_statics/dist/assets/FormRunner.68123581.js +++ b/abstra_statics/dist/assets/FormRunner.0cb92719.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.396c837f.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,bS as Button}from"./vue-router.7d22a765.js";import{b as useUserStore}from"./workspaceStore.1847e3fb.js";import{_ as _sfc_main$4}from"./Login.vue_vue_type_script_setup_true_lang.30e3968d.js";import{L as LoadingIndicator}from"./CircularLoading.313ca01b.js";import{S as Steps}from"./Steps.db3ca432.js";import{W as Watermark}from"./Watermark.a189bb8e.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]="9a51b216-4677-4afc-a5dd-118fdd44d2c3",o._sentryDebugIdIdentifier="sentry-dbid-9a51b216-4677-4afc-a5dd-118fdd44d2c3")}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.68123581.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.8e8c3899.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,bS as Button}from"./vue-router.d93c72db.js";import{b as useUserStore}from"./workspaceStore.f24e9a7b.js";import{_ as _sfc_main$4}from"./Login.vue_vue_type_script_setup_true_lang.9267acc2.js";import{L as LoadingIndicator}from"./CircularLoading.8a9b1f0b.js";import{S as Steps}from"./Steps.5f0ada68.js";import{W as Watermark}from"./Watermark.1fc122c8.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]="904c895e-a06b-418f-9caf-6f326718c76c",o._sentryDebugIdIdentifier="sentry-dbid-904c895e-a06b-418f-9caf-6f326718c76c")}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),c=computed(()=>{var u;return(u=e.weight)!=null?u:t}),n=computed(()=>{var u;return(u=e.size)!=null?u:a}),d=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:d.value,transform:h.value},u.$attrs),[renderSlot(u.$slots,"default"),c.value==="bold"?(openBlock(),createElementBlock("g",g,y)):c.value==="duotone"?(openBlock(),createElementBlock("g",f,x)):c.value==="fill"?(openBlock(),createElementBlock("g",S,C)):c.value==="light"?(openBlock(),createElementBlock("g",B,N)):c.value==="regular"?(openBlock(),createElementBlock("g",E,W)):c.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:c,onStateUpdate:n,onStackTraceUpdate:d}){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(c=>i18nProvider.translateIfFound(c,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=c,this.onStateUpdate=n,this.onStackTraceUpdate=d,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(c=>c.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,d)=>{n.type==="page"&&(d==null?void 0:d.type)==="page"&&n.refreshKey!==d.refreshKey&&i()});const c=()=>{var n,d;return((n=t.formState)==null?void 0:n.type)==="page"?t.formState.fullWidth:((d=t.formState)==null?void 0:d.type)==="page-end"?t.formState.fullWidth&&t.formState.widgets.length>0:!1};return(n,d)=>{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:d[0]||(d[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":c()}])},[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.0cb92719.js.map diff --git a/abstra_statics/dist/assets/Home.15f00d74.js b/abstra_statics/dist/assets/Home.15f00d74.js new file mode 100644 index 0000000000..602b5d32b4 --- /dev/null +++ b/abstra_statics/dist/assets/Home.15f00d74.js @@ -0,0 +1,2 @@ +import{i as k}from"./metadata.7b1155be.js";import{W as h}from"./Watermark.1fc122c8.js";import{F as w}from"./PhArrowSquareOut.vue.ba2ca743.js";import{d as b,eo as v,f as x,e as C,u as e,o as a,X as f,b as p,w as r,R as D,c as n,aF as m,d8 as y,aR as I,eb as z,dg as _,ec as F,e9 as T,ed as B,$ as H}from"./vue-router.d93c72db.js";import{u as L}from"./workspaceStore.f24e9a7b.js";import"./index.40daa792.js";import{L as N}from"./LoadingOutlined.e222117b.js";import{C as R}from"./Card.6f8ccb1f.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./TabPane.820835b5.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]="16a5b4a3-d5e6-44ff-8a2c-a8876095dcf6",o._sentryDebugIdIdentifier="sentry-dbid-16a5b4a3-d5e6-44ff-8a2c-a8876095dcf6")}catch{}})();const S={key:0,class:"home-container"},V=b({__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(),f("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(()=>[m(" There are no forms available for you. ")]),_:1})):(a(!0),f(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(()=>[m(T(t.name),1)]),_:2},1024),c.value!==t.id?(a(),n(e(w),{key:0,size:"20"})):(a(),n(e(N),{key:1,style:{"font-size":"20px"}}))]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),p(h,{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.15f00d74.js.map diff --git a/abstra_statics/dist/assets/Home.32ecd5a1.js b/abstra_statics/dist/assets/Home.32ecd5a1.js deleted file mode 100644 index 8fd89fe025..0000000000 --- a/abstra_statics/dist/assets/Home.32ecd5a1.js +++ /dev/null @@ -1,2 +0,0 @@ -import{$ as t,r as s,o as r,c}from"./vue-router.7d22a765.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]="2162fed1-334b-4208-a60c-3a84bb47bd62",e._sentryDebugIdIdentifier="sentry-dbid-2162fed1-334b-4208-a60c-3a84bb47bd62")}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.32ecd5a1.js.map diff --git a/abstra_statics/dist/assets/Home.7b492324.js b/abstra_statics/dist/assets/Home.7b492324.js deleted file mode 100644 index 670aaefd15..0000000000 --- a/abstra_statics/dist/assets/Home.7b492324.js +++ /dev/null @@ -1,2 +0,0 @@ -import{i as k}from"./metadata.9b52bd89.js";import{W as b}from"./Watermark.a189bb8e.js";import{F as h}from"./PhArrowSquareOut.vue.a1699b2d.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 d,w as r,R as D,c as n,aF as f,d8 as y,aR as I,eb as z,dg as _,ec as F,e9 as T,ed as B,$ as H}from"./vue-router.7d22a765.js";import{u as L}from"./workspaceStore.1847e3fb.js";import"./index.bf08eae9.js";import{L as N}from"./LoadingOutlined.0a0dc718.js";import{C as R}from"./Card.ea12dbe7.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./TabPane.4206d5f7.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]="f25b8990-48ee-43b4-9921-8c68b1e1756f",o._sentryDebugIdIdentifier="sentry-dbid-f25b8990-48ee-43b4-9921-8c68b1e1756f")}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(p=>p.id!=="home"))||[]}),c=C(null),g=async(s,p)=>{c.value=p,await i.push({path:`/${s}`}),c.value=null};return(s,p)=>e(l).state.workspace?(a(),m("div",S,[d(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(()=>[d(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"}})),d(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}),d(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.7b492324.js.map diff --git a/abstra_statics/dist/assets/Home.97dc46ff.js b/abstra_statics/dist/assets/Home.97dc46ff.js new file mode 100644 index 0000000000..e6c010f9b4 --- /dev/null +++ b/abstra_statics/dist/assets/Home.97dc46ff.js @@ -0,0 +1,2 @@ +import{$ as t,r as s,o as r,c as d}from"./vue-router.d93c72db.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]="a1b6dafe-8286-4632-9e6a-3b77d584f3e4",e._sentryDebugIdIdentifier="sentry-dbid-a1b6dafe-8286-4632-9e6a-3b77d584f3e4")}catch{}})();const c={};function _(e,o){const n=s("RouterView");return r(),d(n,{class:"router"})}const f=t(c,[["render",_],["__scopeId","data-v-3c2b9654"]]);export{f as default}; +//# sourceMappingURL=Home.97dc46ff.js.map diff --git a/abstra_statics/dist/assets/HookEditor.1d481504.js b/abstra_statics/dist/assets/HookEditor.23043f87.js similarity index 77% rename from abstra_statics/dist/assets/HookEditor.1d481504.js rename to abstra_statics/dist/assets/HookEditor.23043f87.js index f2ab9adf0c..6b9855addd 100644 --- a/abstra_statics/dist/assets/HookEditor.1d481504.js +++ b/abstra_statics/dist/assets/HookEditor.23043f87.js @@ -1,2 +1,2 @@ -import{B as V}from"./BaseLayout.0d928ff1.js";import{R as G,S as K,E as j,a as J,L as X}from"./SourceCode.355e8a29.js";import{S as z}from"./SaveButton.91be38d7.js";import{a as Y}from"./asyncComputed.62fe9f61.js";import{d as N,o as d,c as m,w as o,b as a,u as e,bK as w,cy as v,cx as O,f as M,D as Z,e as b,g as ee,aA as te,X as S,eb as H,bS as A,aF as g,aR as B,cD as W,R as _,db as Q,a as ae,e9 as E,d4 as oe,eo as le,ea as re,eg as ne,y as se,dg as $,cW as ue}from"./vue-router.7d22a765.js";import{H as ie}from"./scripts.b9182f88.js";import"./editor.e28b46d6.js";import{W as de}from"./workspaces.7db2ec4c.js";import{_ as pe}from"./RunButton.vue_vue_type_script_setup_true_lang.427787ea.js";import{A as C}from"./api.2772643e.js";import{T as ce}from"./ThreadSelector.e5f2e543.js";import{D as me,A as fe}from"./index.2d2a728f.js";import{C as ve,A as P}from"./CollapsePanel.e3bd0766.js";import{A as F}from"./index.28152a0c.js";import{B as ge}from"./Badge.c37c51db.js";import{A as he}from"./index.89bac5b6.js";import{N as ke}from"./NavbarControls.dc4d4339.js";import{b as ye}from"./index.21dc8b6c.js";import{A as D,T as L}from"./TabPane.4206d5f7.js";import"./uuid.65957d70.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./PhCopy.vue.834d7537.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhCopySimple.vue.b36c12a9.js";import"./PhCaretRight.vue.053320ac.js";import"./PhBug.vue.fd83bab4.js";import"./PhQuestion.vue.52f4cce8.js";import"./LoadingOutlined.0a0dc718.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./toggleHighContrast.5f5c4f15.js";import"./index.3db2f466.js";import"./Card.ea12dbe7.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./record.c63163fa.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./fetch.8d81adbd.js";import"./metadata.9b52bd89.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./index.185e14fb.js";import"./CloseCircleOutlined.8dad9616.js";import"./popupNotifcation.f48fd864.js";import"./PhArrowSquareOut.vue.a1699b2d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhChats.vue.afcd5876.js";import"./index.4c73e857.js";import"./Avatar.34816737.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]="9c0a8c1c-3f4f-4ad7-bbf6-5eb0a0bf6ee9",h._sentryDebugIdIdentifier="sentry-dbid-9c0a8c1c-3f4f-4ad7-bbf6-5eb0a0bf6ee9")}catch{}})();const be=N({__name:"HookSettings",props:{hook:{}},setup(h){return(f,k)=>(d(),m(e(O),{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)},q=()=>{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(O),{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),S(B,null,H(l.queryParams,(t,r)=>(d(),m(e(v),{key:r},{default:o(()=>[a(e(F),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(A),{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(A),{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),S(B,null,H(l.headers,(t,r)=>(d(),m(e(v),{key:r,label:r===0?"Headers":void 0},{default:o(()=>[a(e(F),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(A),{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(A),{type:"dashed",style:{width:"100%"},onClick:q},{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(W),{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(),S("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),S(B,null,H(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(W),{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 q=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(L),{"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(J,{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(L),{"active-key":l.value,"onUpdate:activeKey":r[1]||(r[1]=s=>l.value=s)},{rightExtra:o(()=>[a(e($),{align:"center",gap:"middle"},{default:o(()=>[a(e($),{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(K,{ref_key:"smartConsole",ref:q,"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.1d481504.js.map +import{B as V}from"./BaseLayout.53dfe4a0.js";import{R as G,S as K,E as j,a as J,L as X}from"./SourceCode.1d8a49cc.js";import{S as z}from"./SaveButton.3f760a03.js";import{a as Y}from"./asyncComputed.d2f65d62.js";import{d as N,o as d,c as m,w as o,b as a,u as e,bK as w,cy as v,cx as O,f as M,D as Z,e as b,g as ee,aA as te,X as S,eb as H,bS as A,aF as g,aR as B,cD as W,R as _,db as Q,a as ae,e9 as E,d4 as oe,eo as le,ea as re,eg as ne,y as se,dg as $,cW as ue}from"./vue-router.d93c72db.js";import{H as ie}from"./scripts.1b2e66c0.js";import"./editor.01ba249d.js";import{W as de}from"./workspaces.054b755b.js";import{_ as pe}from"./RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js";import{A as C}from"./api.bff7d58f.js";import{T as ce}from"./ThreadSelector.8f315e17.js";import{D as me,A as fe}from"./index.7534be11.js";import{C as ve,A as P}from"./CollapsePanel.79713856.js";import{A as F}from"./index.090b2bf1.js";import{B as ge}from"./Badge.819cb645.js";import{A as he}from"./index.313ae0a2.js";import{N as ke}from"./NavbarControls.9c6236d6.js";import{b as ye}from"./index.70aedabb.js";import{A as D,T as L}from"./TabPane.820835b5.js";import"./uuid.848d284c.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./PhCopy.vue.1dad710f.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhCopySimple.vue.393b6f24.js";import"./PhCaretRight.vue.246b48ee.js";import"./PhBug.vue.2cdd0af8.js";import"./PhQuestion.vue.1e79437f.js";import"./LoadingOutlined.e222117b.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./toggleHighContrast.6c3d17d3.js";import"./index.b7b1d42b.js";import"./Card.6f8ccb1f.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./record.a553a696.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./fetch.a18f4d89.js";import"./metadata.7b1155be.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./index.1b012bfe.js";import"./CloseCircleOutlined.f1ce344f.js";import"./popupNotifcation.fcd4681e.js";import"./PhArrowSquareOut.vue.ba2ca743.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhChats.vue.860dd615.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.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]="b279a162-f122-4902-ac07-71b2f715fb5d",h._sentryDebugIdIdentifier="sentry-dbid-b279a162-f122-4902-ac07-71b2f715fb5d")}catch{}})();const be=N({__name:"HookSettings",props:{hook:{}},setup(h){return(f,k)=>(d(),m(e(O),{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)},q=()=>{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(O),{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),S(B,null,H(l.queryParams,(t,r)=>(d(),m(e(v),{key:r},{default:o(()=>[a(e(F),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(A),{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(A),{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),S(B,null,H(l.headers,(t,r)=>(d(),m(e(v),{key:r,label:r===0?"Headers":void 0},{default:o(()=>[a(e(F),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(A),{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(A),{type:"dashed",style:{width:"100%"},onClick:q},{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(W),{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(),S("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),S(B,null,H(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(W),{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 q=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(L),{"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(J,{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(L),{"active-key":l.value,"onUpdate:activeKey":r[1]||(r[1]=s=>l.value=s)},{rightExtra:o(()=>[a(e($),{align:"center",gap:"middle"},{default:o(()=>[a(e($),{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(K,{ref_key:"smartConsole",ref:q,"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.23043f87.js.map diff --git a/abstra_statics/dist/assets/JobEditor.d636eb00.js b/abstra_statics/dist/assets/JobEditor.d636eb00.js deleted file mode 100644 index 707473520f..0000000000 --- a/abstra_statics/dist/assets/JobEditor.d636eb00.js +++ /dev/null @@ -1,3 +0,0 @@ -import{B as _n}from"./BaseLayout.0d928ff1.js";import{R as bn,S as Mn,E as In,a as xn,L as Cn}from"./SourceCode.355e8a29.js";import{S as Fn}from"./SaveButton.91be38d7.js";import{a as Vn}from"./asyncComputed.62fe9f61.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,cT as ot,cy as St,bK as Tt,d6 as ut,cA as lt,R as oe,e$ as $t,dc as wr,D as $n,cx as An,eo as Un,ea as Zn,eg as zn,y as Rn,dg as At,db as Hn,cW as qn}from"./vue-router.7d22a765.js";import{J as Yn}from"./scripts.b9182f88.js";import"./editor.e28b46d6.js";import{W as Pn}from"./workspaces.7db2ec4c.js";import{A as jn,a as Jn}from"./index.151277c7.js";import{A as Gn}from"./index.28152a0c.js";import{_ as Bn}from"./RunButton.vue_vue_type_script_setup_true_lang.427787ea.js";import{N as Qn}from"./NavbarControls.dc4d4339.js";import{b as Kn}from"./index.21dc8b6c.js";import{A as ct,T as Ut}from"./TabPane.4206d5f7.js";import"./uuid.65957d70.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./PhCopy.vue.834d7537.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhCopySimple.vue.b36c12a9.js";import"./PhCaretRight.vue.053320ac.js";import"./Badge.c37c51db.js";import"./PhBug.vue.fd83bab4.js";import"./PhQuestion.vue.52f4cce8.js";import"./LoadingOutlined.0a0dc718.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./toggleHighContrast.5f5c4f15.js";import"./index.3db2f466.js";import"./Card.ea12dbe7.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./record.c63163fa.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./CloseCircleOutlined.8dad9616.js";import"./popupNotifcation.f48fd864.js";import"./PhArrowSquareOut.vue.a1699b2d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhChats.vue.afcd5876.js";import"./index.4c73e857.js";import"./Avatar.34816737.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]="629fb18e-8338-4d6f-a29a-a31b3c17a01f",t._sentryDebugIdIdentifier="sentry-dbid-629fb18e-8338-4d6f-a29a-a31b3c17a01f")}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.d636eb00.js.map diff --git a/abstra_statics/dist/assets/JobEditor.fa477eba.js b/abstra_statics/dist/assets/JobEditor.fa477eba.js new file mode 100644 index 0000000000..82e709f1ff --- /dev/null +++ b/abstra_statics/dist/assets/JobEditor.fa477eba.js @@ -0,0 +1,3 @@ +import{B as bn}from"./BaseLayout.53dfe4a0.js";import{R as _n,S as Mn,E as In,a as xn,L as Cn}from"./SourceCode.1d8a49cc.js";import{S as Fn}from"./SaveButton.3f760a03.js";import{a as Vn}from"./asyncComputed.d2f65d62.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 _,w as E,u as v,aA as at,aF as W,aR as Me,eb as Pe,c as L,e9 as Ce,cT as ot,cy as St,bK as Tt,d6 as ut,cA as lt,R as oe,e$ as $t,dc as wr,D as $n,cx as An,eo as Un,ea as Zn,eg as zn,y as Rn,dg as At,db as Hn,cW as qn}from"./vue-router.d93c72db.js";import{J as Yn}from"./scripts.1b2e66c0.js";import"./editor.01ba249d.js";import{W as Pn}from"./workspaces.054b755b.js";import{A as jn,a as Jn}from"./index.ce793f1f.js";import{A as Gn}from"./index.090b2bf1.js";import{_ as Bn}from"./RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js";import{N as Qn}from"./NavbarControls.9c6236d6.js";import{b as Kn}from"./index.70aedabb.js";import{A as ct,T as Ut}from"./TabPane.820835b5.js";import"./uuid.848d284c.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./PhCopy.vue.1dad710f.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhCopySimple.vue.393b6f24.js";import"./PhCaretRight.vue.246b48ee.js";import"./Badge.819cb645.js";import"./PhBug.vue.2cdd0af8.js";import"./PhQuestion.vue.1e79437f.js";import"./LoadingOutlined.e222117b.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./toggleHighContrast.6c3d17d3.js";import"./index.b7b1d42b.js";import"./Card.6f8ccb1f.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./record.a553a696.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./CloseCircleOutlined.f1ce344f.js";import"./popupNotifcation.fcd4681e.js";import"./PhArrowSquareOut.vue.ba2ca743.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhChats.vue.860dd615.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.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]="b61d6c50-049a-4f4a-b8ac-a9b20698b7ca",t._sentryDebugIdIdentifier="sentry-dbid-b61d6c50-049a-4f4a-b8ac-a9b20698b7ca")}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},br={hour:h,minute:h,hourCycle:"h23"},_r={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=bt(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,bt(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=bt(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 bs(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 _s(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 bt(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 _t(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:br,TT:_r,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?_t(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,bi={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"],_i=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 _i.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?bi: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(_e).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 b(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 b(l);case"yy":return b(p,_t);case"yyyy":return b(a);case"yyyyy":return b(m);case"yyyyyy":return b(i);case"M":return b(u);case"MM":return b(n);case"MMM":return j(e.months("short",!0),1);case"MMMM":return j(e.months("long",!0),1);case"L":return b(u);case"LL":return b(n);case"LLL":return j(e.months("short",!1),1);case"LLLL":return j(e.months("long",!1),1);case"d":return b(u);case"dd":return b(n);case"o":return b(o);case"ooo":return b(s);case"HH":return b(n);case"H":return b(u);case"hh":return b(n);case"h":return b(u);case"mm":return b(n);case"m":return b(u);case"q":return b(u);case"qq":return b(n);case"s":return b(u);case"ss":return b(n);case"S":return b(o);case"SSS":return b(s);case"u":return Re(c);case"uu":return Re(u);case"uuu":return b(r);case"a":return j(e.meridiems(),0);case"kkkk":return b(a);case"kk":return b(p,_t);case"W":return b(u);case"WW":return b(n);case"E":case"c":return b(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 be(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=bs(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 be(n,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[n,s]=gi(e);return be(n,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[n,s]=wi(e);return be(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):be(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 be(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 br}static get TIME_24_WITH_SECONDS(){return _r}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 _e(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,[_(v(St),{title:"Recurrence"},{default:E(()=>[_(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}),_(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 "),_(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 "),_(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 "),_(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 "),_(v(at),{style:{width:"60px"},value:o.value.day,"onUpdate:value":g},{default:E(()=>[(x(),ye(Me,null,Pe(31,w=>_(v(ot),{key:w,value:w},{default:E(()=>[W(Ce(w),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"]),W(" at "),_(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(()=>[_(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(()=>[_(v(St),{label:"Name",required:""},{default:E(()=>[_(v(Tt),{value:r.value.title,"onUpdate:value":i[0]||(i[0]=u=>r.value.title=u)},null,8,["value"])]),_:1}),_(_n,{runtime:r.value},null,8,["runtime"]),_(v(wr),{level:3},{default:E(()=>[W("Schedule")]),_:1}),_(ma,{value:n,"onUpdate:value":s},null,8,["value"]),_(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,[_(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(bn,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(()=>[_(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(()=>[_(v(Ut),{"active-key":i.value,"onUpdate:activeKey":k[0]||(k[0]=w=>i.value=w)},{rightExtra:E(()=>[_(Fn,{model:v(m).job,onSave:o},null,8,["model"])]),default:E(()=>[_(v(ct),{key:"source-code",tab:"Source code",disabled:g("source-code")},null,8,["disabled"]),_(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(()=>[_(v(Ut),{"active-key":u.value,"onUpdate:activeKey":k[1]||(k[1]=w=>u.value=w)},{rightExtra:E(()=>[_(v(At),{align:"center",gap:"middle"},{default:E(()=>[_(v(At),{gap:"small"},{default:E(()=>[_(v(Hn),null,{default:E(()=>[W(Ce(l.value.attached?"Workflow ON":"Workflow OFF"),1)]),_:1}),_(v(qn),{checked:l.value.attached,"onUpdate:checked":c},null,8,["checked"])]),_:1})]),_:1})]),default:E(()=>[_(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(()=>[_(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.fa477eba.js.map diff --git a/abstra_statics/dist/assets/Live.256b83d8.js b/abstra_statics/dist/assets/Live.2e2d1bca.js similarity index 91% rename from abstra_statics/dist/assets/Live.256b83d8.js rename to abstra_statics/dist/assets/Live.2e2d1bca.js index cec4d66629..c644bc0a2e 100644 --- a/abstra_statics/dist/assets/Live.256b83d8.js +++ b/abstra_statics/dist/assets/Live.2e2d1bca.js @@ -1,2 +1,2 @@ -import{C as q}from"./CrudView.cd385ca1.js";import{a as U}from"./asyncComputed.62fe9f61.js";import{d as P,B as z,f as M,o as n,X as g,Z as O,R as V,e8 as X,a as v,W as Y,aq as J,u as e,aR as K,eb as Q,c as x,w as t,b as a,aF as o,e9 as S,da as _,cN as e1,bx as t1,$ as W,ea as a1,bS as I,dg as j,db as N,d9 as T,d4 as l1,dc as B,em as o1,en as s1,cG as r1}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{g as i1,B as n1,a as d1}from"./datetime.2c7b273f.js";import{O as c1}from"./organization.6c6a96b2.js";import{P as u1}from"./project.8378b21f.js";import"./tables.723282b3.js";import{C as F,r as R}from"./router.efcfb7fa.js";import{u as p1}from"./polling.f65e8dae.js";import{_ as m1,E as h1}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a8ba2f05.js";import{G as f1}from"./PhArrowCounterClockwise.vue.7aa73d25.js";import{F as E}from"./PhArrowSquareOut.vue.a1699b2d.js";import{G as H}from"./PhChats.vue.afcd5876.js";import{I as g1}from"./PhCopySimple.vue.b36c12a9.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./LoadingOutlined.0a0dc718.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[s]="68da576e-401e-4118-9625-ae64c5dc4250",m._sentryDebugIdIdentifier="sentry-dbid-68da576e-401e-4118-9625-ae64c5dc4250")}catch{}})();const y1=["width","height","fill","transform"],_1={key:0},v1=v("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),w1=[v1],b1={key:1},k1=v("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),L1=v("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),C1=[k1,L1],A1={key:2},Z1=v("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),j1=[Z1],x1={key:3},I1=v("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),M1=[I1],S1={key:4},$1=v("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),N1=[$1],z1={key:5},B1=v("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),E1=[B1],T1={name:"PhRocketLaunch"},R1=P({...T1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(m){const s=m,c=z("weight","regular"),y=z("size","1em"),w=z("color","currentColor"),b=z("mirrored",!1),h=M(()=>{var u;return(u=s.weight)!=null?u:c}),k=M(()=>{var u;return(u=s.size)!=null?u:y}),L=M(()=>{var u;return(u=s.color)!=null?u:w}),d=M(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:b?"scale(-1, 1)":void 0);return(u,C)=>(n(),g("svg",X({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:k.value,height:k.value,fill:L.value,transform:d.value},u.$attrs),[O(u.$slots,"default"),h.value==="bold"?(n(),g("g",_1,w1)):h.value==="duotone"?(n(),g("g",b1,C1)):h.value==="fill"?(n(),g("g",A1,j1)):h.value==="light"?(n(),g("g",x1,M1)):h.value==="regular"?(n(),g("g",S1,N1)):h.value==="thin"?(n(),g("g",z1,E1)):V("",!0)],16,y1))}});class A{constructor(s,c,y,w){this.major=s,this.minor=c,this.patch=y,this.dev=w}static from(s){if(s===null)return new A(0,0,0);const c=/^(\d+\.\d+\.\d+)(.dev(\d+))?$/,y=s.match(c);if(!y)return new A(0,0,0);const[,w,,b]=y,[h,k,L]=w.split(".").map(Number),d=b?Number(b):void 0;return isNaN(h)||isNaN(k)||isNaN(L)?new A(0,0,0):d&&isNaN(d)?new A(0,0,0):new A(h,k,L,d)}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 V1=A.from("2.16.10"),P1={key:0,class:"flex-row"},D1={key:1,class:"flex-row"},F1={key:2,class:"flex-row"},H1=P({__name:"ExecutionsShort",props:{stageId:{},projectId:{}},emits:["select"],setup(m,{emit:s}){const c=m,y=new h1,{result:w,refetch:b,loading:h}=U(async()=>{const{executions:C}=await y.list({projectId:c.projectId,stageId:c.stageId,limit:6});return C}),k=C=>{s("select",C)},L=C=>i1(C,{weekday:void 0}),{startPolling:d,endPolling:u}=p1({task:b,interval:15e3});return Y(()=>d()),J(()=>u()),(C,D)=>e(w)?(n(),g("div",P1,[(n(!0),g(K,null,Q(e(w),l=>(n(),x(e(e1),{key:l.id,title:L(l.createdAt),onClick:r=>k(l)},{content:t(()=>[a(e(_),null,{default:t(()=>[o("Status: "+S(l.status),1)]),_:2},1024),a(e(_),null,{default:t(()=>[o("Duration: "+S(l.duration_seconds),1)]),_:2},1024),a(e(_),null,{default:t(()=>[o("Build: "+S(l.buildId.slice(0,6)),1)]),_:2},1024)]),default:t(()=>[a(m1,{status:l.status},null,8,["status"])]),_:2},1032,["title","onClick"]))),128))])):e(h)?(n(),g("div",D1,[a(e(t1))])):(n(),g("div",F1,"None"))}});const U1=W(H1,[["__scopeId","data-v-9d19fd00"]]),G=m=>(o1("data-v-95c83e66"),m=m(),s1(),m),W1={style:{"max-width":"250px",overflow:"hidden","text-overflow":"ellipsis ellipsis","white-space":"nowrap"}},G1={key:1},q1=G(()=>v("div",{class:"flex-container",style:{width:"10%"}},[v("p",null,"OR")],-1)),O1=G(()=>v("br",null,null,-1)),X1=P({__name:"Live",setup(m){const c=a1().params.projectId,y=()=>{R.push({name:"web-editor",params:{projectId:c}})},w=()=>{var r;const l=(r=d.value)==null?void 0:r.project.getUrl();l&&window.open(l,"_blank")},b=M(()=>{var l;return(l=d==null?void 0:d.value)==null?void 0:l.organization.featureFlags.WEB_EDITOR}),h=()=>{var Z,p,$;const l=(p=(Z=d.value)==null?void 0:Z.buildSpec)==null?void 0:p.abstraVersion;if(!l)return;let r="threads";A.from(l).gte(V1)||(r="_player/"+r);const i=(($=d.value)==null?void 0:$.project.getUrl())+r;window.open(i,"_blank")},k=l=>{R.push({name:"logs",params:{projectId:c},query:{stageId:l.stageId,executionId:l.id}})},{loading:L,result:d}=U(async()=>{const[l,r]=await Promise.all([u1.get(c),n1.list(c)]),f=r.find(p=>p.latest),[i,Z]=await Promise.all([f&&d1.get(f.id),c1.get(l.organizationId)]);return{buildSpec:i,project:l,organization:Z}}),u=l=>{var i;if(!("path"in l)||!l.path)return;const r=l.type==="form"?`/${l.path}`:`/_hooks/${l.path}`,f=(i=d.value)==null?void 0:i.project.getUrl(r);!f||(navigator.clipboard.writeText(f),r1.success("Copied URL to clipboard"))},C=l=>l.type=="form"?`/${l.path}`:l.type=="hook"?`/_hooks/${l.path}`:l.type=="job"?`${l.schedule}`:"",D=M(()=>{var f;const l=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"Trigger",align:"left"},{name:"Last Runs"},{name:"",align:"right"}],r=(f=d.value)==null?void 0:f.buildSpec;return r?{columns:l,rows:r.runtimes.map(i=>({key:i.id,cells:[{type:"tag",text:i.type.charAt(0).toUpperCase()+i.type.slice(1),tagColor:"default"},{type:"slot",key:"title",payload:{runtime:i}},{type:"slot",key:"trigger",payload:{runtime:i}},{type:"slot",key:"last-runs",payload:{runtime:i}},{type:"actions",actions:[{icon:f1,label:"View script logs",onClick:()=>R.push({name:"logs",params:{projectId:c},query:{stageId:i.id}})},{icon:g1,label:"Copy URL",onClick:()=>u(i),hide:!["form","hook"].includes(i.type)}]}]}))}:{columns:l,rows:[]}});return(l,r)=>{var f,i,Z;return e(L)||((Z=(i=(f=e(d))==null?void 0:f.buildSpec)==null?void 0:i.runtimes.length)!=null?Z:0)>0?(n(),x(q,{key:0,"empty-title":"","entity-name":"build",description:"Access and monitor your project's current scripts here.",table:D.value,loading:e(L),title:"Live View"},{description:t(()=>[a(e(j),{gap:"middle",style:{"margin-top":"12px"}},{default:t(()=>[a(e(I),{onClick:w},{default:t(()=>[o(" Home"),a(e(E),{class:"icon",size:16})]),_:1}),a(e(I),{onClick:h},{default:t(()=>[o(" Threads"),a(e(E),{class:"icon",size:16})]),_:1}),b.value?(n(),x(e(I),{key:0,type:"primary",onClick:y},{default:t(()=>[o(" Web Editor"),a(e(E),{class:"icon",size:16})]),_:1})):V("",!0)]),_:1})]),title:t(({payload:p})=>{var $;return[v("div",W1,[p.runtime.type!="form"?(n(),x(e(N),{key:0},{default:t(()=>[o(S(p.runtime.title),1)]),_:2},1024)):p.runtime.type=="form"?(n(),x(e(T),{key:1,href:($=e(d))==null?void 0:$.project.getUrl(p.runtime.path),target:"_blank"},{default:t(()=>[o(S(p.runtime.title),1)]),_:2},1032,["href"])):V("",!0)])]}),"last-runs":t(({payload:p})=>[a(U1,{"stage-id":p.runtime.id,"project-id":e(c),onSelect:k},null,8,["stage-id","project-id"])]),trigger:t(({payload:p})=>[a(e(l1),{color:"default",class:"ellipsis"},{default:t(()=>[o(S(C(p.runtime)),1)]),_:2},1024)]),_:1},8,["table","loading"])):(n(),g("section",G1,[a(e(j),{gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(B),{style:{display:"flex","align-items":"center",gap:"5px"},level:2},{default:t(()=>[a(e(R1),{size:"42",color:"#d14056"}),o(" Waiting for your first deploy! ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Your live stages will appear here once you make your first deploy ")]),_:1})]),_:1}),b.value?(n(),x(e(j),{key:0,gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(j),{gap:"small",style:{width:"80%"}},{default:t(()=>[a(e(j),{vertical:"",align:"end",style:{width:"45%"}},{default:t(()=>[a(e(B),{level:5},{default:t(()=>[o(" Start with our cloud environment ")]),_:1}),a(e(I),{type:"primary",onClick:y},{default:t(()=>[o(" Go to Web Editor"),a(e(E),{class:"icon",size:16})]),_:1})]),_:1}),q1,a(e(j),{vertical:"",align:"start",style:{width:"45%"}},{default:t(()=>[a(e(B),{level:5},{default:t(()=>[o(" Set up your local one ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Install the editor using pip: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("pip install abstra")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Run the editor: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("abstra editor my-new-project")]),_:1})]),_:1})]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Check out the documentation: "),a(e(T),{href:"https://docs.abstra.io",target:"_blank"},{default:t(()=>[o("Abstra Docs")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Feeling lost? "),a(e(I),{target:"_blank",type:"default",size:"small",onClick:r[0]||(r[0]=()=>e(F).showNewMessage("I need help getting started with Abstra"))},{default:t(()=>[a(e(H))]),_:1})]),_:1})]),_:1})):(n(),x(e(j),{key:1,gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(B),{style:{display:"flex","align-items":"center",gap:"5px"},level:4},{default:t(()=>[o(" Set up your local environment ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Install the editor using pip: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("pip install abstra")]),_:1}),O1,o(" Run the editor: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("abstra editor my-new-project")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Check out the documentation: "),a(e(T),{href:"https://docs.abstra.io",target:"_blank"},{default:t(()=>[o("Abstra Docs")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Feeling lost? "),a(e(I),{target:"_blank",type:"default",size:"small",onClick:r[1]||(r[1]=()=>e(F).showNewMessage("I need help getting started with Abstra"))},{default:t(()=>[a(e(H))]),_:1})]),_:1})]),_:1}))]))}}});const be=W(X1,[["__scopeId","data-v-95c83e66"]]);export{be as default}; -//# sourceMappingURL=Live.256b83d8.js.map +import{C as q}from"./CrudView.574d257b.js";import{a as U}from"./asyncComputed.d2f65d62.js";import{d as P,B as z,f as M,o as n,X as g,Z as O,R as V,e8 as X,a as v,W as Y,aq as J,u as e,aR as K,eb as Q,c as x,w as t,b as a,aF as o,e9 as S,da as _,cN as e1,bx as t1,$ as W,ea as a1,bS as I,dg as j,db as N,d9 as T,d4 as l1,dc as B,em as o1,en as s1,cG as r1}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{g as i1,B as n1,a as d1}from"./datetime.bb5ad11f.js";import{O as c1}from"./organization.f08e73b1.js";import{P as u1}from"./project.cdada735.js";import"./tables.fd84686b.js";import{C as F,r as R}from"./router.10d9d8b6.js";import{u as p1}from"./polling.be8756ca.js";import{_ as m1,E as h1}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.0af37bda.js";import{G as f1}from"./PhArrowCounterClockwise.vue.b00021df.js";import{F as E}from"./PhArrowSquareOut.vue.ba2ca743.js";import{G as H}from"./PhChats.vue.860dd615.js";import{I as g1}from"./PhCopySimple.vue.393b6f24.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./LoadingOutlined.e222117b.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[s]="110a5396-88ea-4a14-b8d8-67a35c61df9a",m._sentryDebugIdIdentifier="sentry-dbid-110a5396-88ea-4a14-b8d8-67a35c61df9a")}catch{}})();const y1=["width","height","fill","transform"],_1={key:0},v1=v("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),w1=[v1],b1={key:1},k1=v("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),L1=v("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),C1=[k1,L1],A1={key:2},Z1=v("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),j1=[Z1],x1={key:3},I1=v("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),M1=[I1],S1={key:4},$1=v("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),N1=[$1],z1={key:5},B1=v("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),E1=[B1],T1={name:"PhRocketLaunch"},R1=P({...T1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(m){const s=m,c=z("weight","regular"),y=z("size","1em"),w=z("color","currentColor"),b=z("mirrored",!1),h=M(()=>{var u;return(u=s.weight)!=null?u:c}),k=M(()=>{var u;return(u=s.size)!=null?u:y}),L=M(()=>{var u;return(u=s.color)!=null?u:w}),d=M(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:b?"scale(-1, 1)":void 0);return(u,C)=>(n(),g("svg",X({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:k.value,height:k.value,fill:L.value,transform:d.value},u.$attrs),[O(u.$slots,"default"),h.value==="bold"?(n(),g("g",_1,w1)):h.value==="duotone"?(n(),g("g",b1,C1)):h.value==="fill"?(n(),g("g",A1,j1)):h.value==="light"?(n(),g("g",x1,M1)):h.value==="regular"?(n(),g("g",S1,N1)):h.value==="thin"?(n(),g("g",z1,E1)):V("",!0)],16,y1))}});class A{constructor(s,c,y,w){this.major=s,this.minor=c,this.patch=y,this.dev=w}static from(s){if(s===null)return new A(0,0,0);const c=/^(\d+\.\d+\.\d+)(.dev(\d+))?$/,y=s.match(c);if(!y)return new A(0,0,0);const[,w,,b]=y,[h,k,L]=w.split(".").map(Number),d=b?Number(b):void 0;return isNaN(h)||isNaN(k)||isNaN(L)?new A(0,0,0):d&&isNaN(d)?new A(0,0,0):new A(h,k,L,d)}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 V1=A.from("2.16.10"),P1={key:0,class:"flex-row"},D1={key:1,class:"flex-row"},F1={key:2,class:"flex-row"},H1=P({__name:"ExecutionsShort",props:{stageId:{},projectId:{}},emits:["select"],setup(m,{emit:s}){const c=m,y=new h1,{result:w,refetch:b,loading:h}=U(async()=>{const{executions:C}=await y.list({projectId:c.projectId,stageId:c.stageId,limit:6});return C}),k=C=>{s("select",C)},L=C=>i1(C,{weekday:void 0}),{startPolling:d,endPolling:u}=p1({task:b,interval:15e3});return Y(()=>d()),J(()=>u()),(C,D)=>e(w)?(n(),g("div",P1,[(n(!0),g(K,null,Q(e(w),l=>(n(),x(e(e1),{key:l.id,title:L(l.createdAt),onClick:r=>k(l)},{content:t(()=>[a(e(_),null,{default:t(()=>[o("Status: "+S(l.status),1)]),_:2},1024),a(e(_),null,{default:t(()=>[o("Duration: "+S(l.duration_seconds),1)]),_:2},1024),a(e(_),null,{default:t(()=>[o("Build: "+S(l.buildId.slice(0,6)),1)]),_:2},1024)]),default:t(()=>[a(m1,{status:l.status},null,8,["status"])]),_:2},1032,["title","onClick"]))),128))])):e(h)?(n(),g("div",D1,[a(e(t1))])):(n(),g("div",F1,"None"))}});const U1=W(H1,[["__scopeId","data-v-9d19fd00"]]),G=m=>(o1("data-v-95c83e66"),m=m(),s1(),m),W1={style:{"max-width":"250px",overflow:"hidden","text-overflow":"ellipsis ellipsis","white-space":"nowrap"}},G1={key:1},q1=G(()=>v("div",{class:"flex-container",style:{width:"10%"}},[v("p",null,"OR")],-1)),O1=G(()=>v("br",null,null,-1)),X1=P({__name:"Live",setup(m){const c=a1().params.projectId,y=()=>{R.push({name:"web-editor",params:{projectId:c}})},w=()=>{var r;const l=(r=d.value)==null?void 0:r.project.getUrl();l&&window.open(l,"_blank")},b=M(()=>{var l;return(l=d==null?void 0:d.value)==null?void 0:l.organization.featureFlags.WEB_EDITOR}),h=()=>{var Z,p,$;const l=(p=(Z=d.value)==null?void 0:Z.buildSpec)==null?void 0:p.abstraVersion;if(!l)return;let r="threads";A.from(l).gte(V1)||(r="_player/"+r);const i=(($=d.value)==null?void 0:$.project.getUrl())+r;window.open(i,"_blank")},k=l=>{R.push({name:"logs",params:{projectId:c},query:{stageId:l.stageId,executionId:l.id}})},{loading:L,result:d}=U(async()=>{const[l,r]=await Promise.all([u1.get(c),n1.list(c)]),f=r.find(p=>p.latest),[i,Z]=await Promise.all([f&&d1.get(f.id),c1.get(l.organizationId)]);return{buildSpec:i,project:l,organization:Z}}),u=l=>{var i;if(!("path"in l)||!l.path)return;const r=l.type==="form"?`/${l.path}`:`/_hooks/${l.path}`,f=(i=d.value)==null?void 0:i.project.getUrl(r);!f||(navigator.clipboard.writeText(f),r1.success("Copied URL to clipboard"))},C=l=>l.type=="form"?`/${l.path}`:l.type=="hook"?`/_hooks/${l.path}`:l.type=="job"?`${l.schedule}`:"",D=M(()=>{var f;const l=[{name:"Type",align:"left"},{name:"Title",align:"left"},{name:"Trigger",align:"left"},{name:"Last Runs"},{name:"",align:"right"}],r=(f=d.value)==null?void 0:f.buildSpec;return r?{columns:l,rows:r.runtimes.map(i=>({key:i.id,cells:[{type:"tag",text:i.type.charAt(0).toUpperCase()+i.type.slice(1),tagColor:"default"},{type:"slot",key:"title",payload:{runtime:i}},{type:"slot",key:"trigger",payload:{runtime:i}},{type:"slot",key:"last-runs",payload:{runtime:i}},{type:"actions",actions:[{icon:f1,label:"View script logs",onClick:()=>R.push({name:"logs",params:{projectId:c},query:{stageId:i.id}})},{icon:g1,label:"Copy URL",onClick:()=>u(i),hide:!["form","hook"].includes(i.type)}]}]}))}:{columns:l,rows:[]}});return(l,r)=>{var f,i,Z;return e(L)||((Z=(i=(f=e(d))==null?void 0:f.buildSpec)==null?void 0:i.runtimes.length)!=null?Z:0)>0?(n(),x(q,{key:0,"empty-title":"","entity-name":"build",description:"Access and monitor your project's current scripts here.",table:D.value,loading:e(L),title:"Live View"},{description:t(()=>[a(e(j),{gap:"middle",style:{"margin-top":"12px"}},{default:t(()=>[a(e(I),{onClick:w},{default:t(()=>[o(" Home"),a(e(E),{class:"icon",size:16})]),_:1}),a(e(I),{onClick:h},{default:t(()=>[o(" Threads"),a(e(E),{class:"icon",size:16})]),_:1}),b.value?(n(),x(e(I),{key:0,type:"primary",onClick:y},{default:t(()=>[o(" Web Editor"),a(e(E),{class:"icon",size:16})]),_:1})):V("",!0)]),_:1})]),title:t(({payload:p})=>{var $;return[v("div",W1,[p.runtime.type!="form"?(n(),x(e(N),{key:0},{default:t(()=>[o(S(p.runtime.title),1)]),_:2},1024)):p.runtime.type=="form"?(n(),x(e(T),{key:1,href:($=e(d))==null?void 0:$.project.getUrl(p.runtime.path),target:"_blank"},{default:t(()=>[o(S(p.runtime.title),1)]),_:2},1032,["href"])):V("",!0)])]}),"last-runs":t(({payload:p})=>[a(U1,{"stage-id":p.runtime.id,"project-id":e(c),onSelect:k},null,8,["stage-id","project-id"])]),trigger:t(({payload:p})=>[a(e(l1),{color:"default",class:"ellipsis"},{default:t(()=>[o(S(C(p.runtime)),1)]),_:2},1024)]),_:1},8,["table","loading"])):(n(),g("section",G1,[a(e(j),{gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(B),{style:{display:"flex","align-items":"center",gap:"5px"},level:2},{default:t(()=>[a(e(R1),{size:"42",color:"#d14056"}),o(" Waiting for your first deploy! ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Your live stages will appear here once you make your first deploy ")]),_:1})]),_:1}),b.value?(n(),x(e(j),{key:0,gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(j),{gap:"small",style:{width:"80%"}},{default:t(()=>[a(e(j),{vertical:"",align:"end",style:{width:"45%"}},{default:t(()=>[a(e(B),{level:5},{default:t(()=>[o(" Start with our cloud environment ")]),_:1}),a(e(I),{type:"primary",onClick:y},{default:t(()=>[o(" Go to Web Editor"),a(e(E),{class:"icon",size:16})]),_:1})]),_:1}),q1,a(e(j),{vertical:"",align:"start",style:{width:"45%"}},{default:t(()=>[a(e(B),{level:5},{default:t(()=>[o(" Set up your local one ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Install the editor using pip: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("pip install abstra")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Run the editor: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("abstra editor my-new-project")]),_:1})]),_:1})]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Check out the documentation: "),a(e(T),{href:"https://docs.abstra.io",target:"_blank"},{default:t(()=>[o("Abstra Docs")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Feeling lost? "),a(e(I),{target:"_blank",type:"default",size:"small",onClick:r[0]||(r[0]=()=>e(F).showNewMessage("I need help getting started with Abstra"))},{default:t(()=>[a(e(H))]),_:1})]),_:1})]),_:1})):(n(),x(e(j),{key:1,gap:"middle",align:"center",justify:"center",vertical:!0,style:{height:"100%"}},{default:t(()=>[a(e(B),{style:{display:"flex","align-items":"center",gap:"5px"},level:4},{default:t(()=>[o(" Set up your local environment ")]),_:1}),a(e(_),null,{default:t(()=>[o(" Install the editor using pip: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("pip install abstra")]),_:1}),O1,o(" Run the editor: "),a(e(N),{code:"",copyable:""},{default:t(()=>[o("abstra editor my-new-project")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Check out the documentation: "),a(e(T),{href:"https://docs.abstra.io",target:"_blank"},{default:t(()=>[o("Abstra Docs")]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(" Feeling lost? "),a(e(I),{target:"_blank",type:"default",size:"small",onClick:r[1]||(r[1]=()=>e(F).showNewMessage("I need help getting started with Abstra"))},{default:t(()=>[a(e(H))]),_:1})]),_:1})]),_:1}))]))}}});const be=W(X1,[["__scopeId","data-v-95c83e66"]]);export{be as default}; +//# sourceMappingURL=Live.2e2d1bca.js.map diff --git a/abstra_statics/dist/assets/LoadingContainer.075249df.js b/abstra_statics/dist/assets/LoadingContainer.075249df.js new file mode 100644 index 0000000000..47cda05f71 --- /dev/null +++ b/abstra_statics/dist/assets/LoadingContainer.075249df.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.d93c72db.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]="76c46036-b56a-4309-b7f1-34d67d742ffb",e._sentryDebugIdIdentifier="sentry-dbid-76c46036-b56a-4309-b7f1-34d67d742ffb")}catch{}})();const i={class:"centered"},f=o({__name:"LoadingContainer",setup(e){return(n,t)=>(s(),a("div",i,[d(r(_))]))}});const p=c(f,[["__scopeId","data-v-52e6209a"]]);export{p as L}; +//# sourceMappingURL=LoadingContainer.075249df.js.map diff --git a/abstra_statics/dist/assets/LoadingContainer.9f69b37b.js b/abstra_statics/dist/assets/LoadingContainer.9f69b37b.js deleted file mode 100644 index f911089d37..0000000000 --- a/abstra_statics/dist/assets/LoadingContainer.9f69b37b.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as o,o as s,X as d,b as a,u as r,bx as _,$ as c}from"./vue-router.7d22a765.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]="f56e6bc8-ff9d-4333-b9b0-d47515386421",e._sentryDebugIdIdentifier="sentry-dbid-f56e6bc8-ff9d-4333-b9b0-d47515386421")}catch{}})();const i={class:"centered"},f=o({__name:"LoadingContainer",setup(e){return(n,t)=>(s(),d("div",i,[a(r(_))]))}});const p=c(f,[["__scopeId","data-v-52e6209a"]]);export{p as L}; -//# sourceMappingURL=LoadingContainer.9f69b37b.js.map diff --git a/abstra_statics/dist/assets/LoadingOutlined.0a0dc718.js b/abstra_statics/dist/assets/LoadingOutlined.0a0dc718.js deleted file mode 100644 index 970207db24..0000000000 --- a/abstra_statics/dist/assets/LoadingOutlined.0a0dc718.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b as o,ee as u,eL as f}from"./vue-router.7d22a765.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]="d6ba854a-6208-480d-af8e-e271132dc5ae",e._sentryDebugIdIdentifier="sentry-dbid-d6ba854a-6208-480d-af8e-e271132dc5ae")}catch{}})();function i(e){for(var t=1;t{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");S.trackSession(),s("done",o),e.value.stage="done"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},E=()=>{e.value.info&&f()},P=()=>{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",O,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",X,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:P},{default:u(()=>[m(r(a(t).translate("i18n_auth_edit_email")),1)]),_:1}),n(a(p),{disabled:!!e.value.secsToAllowResend,onClick:E},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_resend_email"))+" ("+r(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),v("div",G,r(a(t).translate("i18n_auth_token_footer_alternative_email")),1)]),_:1})):e.value.stage==="loading"?(c(),h("div",H,[n(R)])):$("",!0)]))}});const Q=C(J,[["__scopeId","data-v-b9707eaf"]]),W=async()=>{const l=y.getAuthor();if(!l)return;const{status:s}=await F.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=x({__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=K(()=>!y.getAuthor());return V(()=>{d.value||_()}),(f,k)=>d.value?(c(),h("div",Y,[n(Q,{onDone:_})])):(c(),h("div",Z,[n(R)]))}});const ue=C(ee,[["__scopeId","data-v-e4e9b925"]]);export{ue as default}; -//# sourceMappingURL=Login.258aa872.js.map +import{L as R}from"./CircularLoading.8a9b1f0b.js";import{d as x,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,bK as I,eU as A,cy as T,aF as m,bS as p,cx as L,$ as C,eo as q,ea as D,f as K,dF as V}from"./vue-router.d93c72db.js";import{_ as N}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{T as S,b as F}from"./router.10d9d8b6.js";import{i as U}from"./string.d10c3089.js";import{a as y,E as M}from"./gateway.0306d327.js";import"./Logo.3e4c9003.js";import"./popupNotifcation.fcd4681e.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]="cc027cb1-48ad-41f7-96f2-d2088c03660d",l._sentryDebugIdIdentifier="sentry-dbid-cc027cb1-48ad-41f7-96f2-d2088c03660d")}catch{}})();const j={class:"form"},z={class:"header"},O={class:"description"},X={class:"description"},G={class:"footer"},H={key:2,class:"loading"},J=x({__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");S.trackSession(),s("done",o),e.value.stage="done"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},E=()=>{e.value.info&&f()},P=()=>{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",O,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",X,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:P},{default:u(()=>[m(r(a(t).translate("i18n_auth_edit_email")),1)]),_:1}),n(a(p),{disabled:!!e.value.secsToAllowResend,onClick:E},{default:u(()=>[m(r(a(t).translate("i18n_auth_token_resend_email"))+" ("+r(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),v("div",G,r(a(t).translate("i18n_auth_token_footer_alternative_email")),1)]),_:1})):e.value.stage==="loading"?(c(),h("div",H,[n(R)])):$("",!0)]))}});const Q=C(J,[["__scopeId","data-v-b9707eaf"]]),W=async()=>{const l=y.getAuthor();if(!l)return;const{status:s}=await F.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=x({__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=K(()=>!y.getAuthor());return V(()=>{d.value||_()}),(f,k)=>d.value?(c(),h("div",Y,[n(Q,{onDone:_})])):(c(),h("div",Z,[n(R)]))}});const ue=C(ee,[["__scopeId","data-v-e4e9b925"]]);export{ue as default}; +//# sourceMappingURL=Login.297935f9.js.map diff --git a/abstra_statics/dist/assets/Login.ae4e2148.js b/abstra_statics/dist/assets/Login.ae4e2148.js new file mode 100644 index 0000000000..c83a87fdec --- /dev/null +++ b/abstra_statics/dist/assets/Login.ae4e2148.js @@ -0,0 +1,2 @@ +import{_}from"./Login.vue_vue_type_script_setup_true_lang.9267acc2.js";import{b as m,u as f}from"./workspaceStore.f24e9a7b.js";import{d as l,eo as y,ea as b,o as g,X as w,b as k,u,$ as h}from"./vue-router.d93c72db.js";import"./Logo.3e4c9003.js";import"./string.d10c3089.js";import"./CircularLoading.8a9b1f0b.js";import"./index.77b08602.js";import"./index.b7b1d42b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.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]="a67ce287-2f62-49e2-90bd-e3c980e786a8",e._sentryDebugIdIdentifier="sentry-dbid-a67ce287-2f62-49e2-90bd-e3c980e786a8")}catch{}})();const v={class:"runner"},I=l({__name:"Login",setup(e){const o=y(),r=b(),i=m(),a=f(),p=async()=>{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.ae4e2148.js.map diff --git a/abstra_statics/dist/assets/Login.ef8de6bd.js b/abstra_statics/dist/assets/Login.ef8de6bd.js deleted file mode 100644 index f7b7060612..0000000000 --- a/abstra_statics/dist/assets/Login.ef8de6bd.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_}from"./Login.vue_vue_type_script_setup_true_lang.30e3968d.js";import{b as f,u as m}from"./workspaceStore.1847e3fb.js";import{d as l,eo as b,ea as y,o as g,X as w,b as k,u,$ as h}from"./vue-router.7d22a765.js";import"./Logo.6d72a7bf.js";import"./string.042fe6bc.js";import"./CircularLoading.313ca01b.js";import"./index.143dc5b1.js";import"./index.3db2f466.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.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]="b198b3eb-c9e5-45a2-bd74-fe15e1ef87fd",e._sentryDebugIdIdentifier="sentry-dbid-b198b3eb-c9e5-45a2-bd74-fe15e1ef87fd")}catch{}})();const v={class:"runner"},I=l({__name:"Login",setup(e){const o=b(),r=y(),i=f(),a=m(),p=async()=>{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.ef8de6bd.js.map diff --git a/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js b/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js similarity index 94% rename from abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js rename to abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js index 7ee95e103b..89906e2301 100644 --- a/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js +++ b/abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js @@ -1,2 +1,2 @@ -import{d as M,B as k,f as y,o,X as m,Z as K,R as H,e8 as O,a as n,W as F,b as d,w as c,u as l,aF as g,em as j,en as W,d9 as X,$ as B,e as q,eV as r,e9 as v,c as Z,Y as G,bK as T,eU as S,cy as N,bS as A,cx as $}from"./vue-router.7d22a765.js";import{O as D,S as Y,A as J}from"./workspaceStore.1847e3fb.js";import{L as Q}from"./Logo.6d72a7bf.js";import{i as x}from"./string.042fe6bc.js";import{L as ee}from"./CircularLoading.313ca01b.js";import{t as ae}from"./index.143dc5b1.js";import{A as le}from"./index.3db2f466.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]="466914f2-69ca-4f18-98c6-d42512fc9e48",s._sentryDebugIdIdentifier="sentry-dbid-466914f2-69ca-4f18-98c6-d42512fc9e48")}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"},Me=M({...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"),b=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:b?"scale(-1, 1)":void 0);return(i,w)=>(o(),m("svg",O({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),[K(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),be={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=M({__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",be,[d(l(Me),{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"},Se={class:"description"},Ne={class:"footer"},$e={key:3,class:"loading"},Be=M({__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:b}=p(),_=b.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(N),{"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:S(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",Se,v(l(r).translate("i18n_auth_token_label",a.locale,e.value.info)),1),d(l(N),{"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:S(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",Ne,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=M({__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.30e3968d.js.map +import{d as M,B as k,f as y,o,X as m,Z as K,R as H,e8 as O,a as n,W as F,b as d,w as c,u as l,aF as g,em as j,en as W,d9 as X,$ as B,e as q,eV as r,e9 as v,c as Z,Y as G,bK as T,eU as S,cy as N,bS as A,cx as $}from"./vue-router.d93c72db.js";import{O as D,S as Y,A as J}from"./workspaceStore.f24e9a7b.js";import{L as Q}from"./Logo.3e4c9003.js";import{i as x}from"./string.d10c3089.js";import{L as ee}from"./CircularLoading.8a9b1f0b.js";import{t as ae}from"./index.77b08602.js";import{A as le}from"./index.b7b1d42b.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]="5c55ce3b-2cec-480b-9522-e3a080ca98a6",s._sentryDebugIdIdentifier="sentry-dbid-5c55ce3b-2cec-480b-9522-e3a080ca98a6")}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"},Me=M({...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"),b=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:b?"scale(-1, 1)":void 0);return(i,w)=>(o(),m("svg",O({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),[K(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),be={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=M({__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",be,[d(l(Me),{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"},Se={class:"description"},Ne={class:"footer"},$e={key:3,class:"loading"},Be=M({__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:b}=p(),_=b.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(N),{"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:S(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",Se,v(l(r).translate("i18n_auth_token_label",a.locale,e.value.info)),1),d(l(N),{"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:S(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",Ne,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=M({__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.9267acc2.js.map diff --git a/abstra_statics/dist/assets/Logo.3e4c9003.js b/abstra_statics/dist/assets/Logo.3e4c9003.js new file mode 100644 index 0000000000..e4e36de1e8 --- /dev/null +++ b/abstra_statics/dist/assets/Logo.3e4c9003.js @@ -0,0 +1,2 @@ +import{d as i,eh as l,f as d,o as t,X as n,R as r,e9 as _,$ as g}from"./vue-router.d93c72db.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]="73d7f1d6-8e9d-4d09-8444-c6132bf60bbc",e._sentryDebugIdIdentifier="sentry-dbid-73d7f1d6-8e9d-4d09-8444-c6132bf60bbc")}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":a.value}));const a=d(()=>o.size==="large"?"80px":"50px"),c=d(()=>`${o.brandName} Logo`);return(s,b)=>(t(),n("div",p,[s.imageUrl?(t(),n("img",{key:0,class:"logo-img",src:s.imageUrl,alt:c.value},null,8,u)):r("",!0),s.hideText?r("",!0):(t(),n("span",f,_(s.brandName),1))]))}});const h=g(m,[["__scopeId","data-v-16688d14"]]);export{h as L}; +//# sourceMappingURL=Logo.3e4c9003.js.map diff --git a/abstra_statics/dist/assets/Logo.6d72a7bf.js b/abstra_statics/dist/assets/Logo.6d72a7bf.js deleted file mode 100644 index 428935f092..0000000000 --- a/abstra_statics/dist/assets/Logo.6d72a7bf.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 f}from"./vue-router.7d22a765.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]="f6c51280-6afe-47f5-9d74-d5c8b3e1306f",e._sentryDebugIdIdentifier="sentry-dbid-f6c51280-6afe-47f5-9d74-d5c8b3e1306f")}catch{}})();const g={class:"logo"},p=["src","alt"],u={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",g,[s.imageUrl?(t(),a("img",{key:0,class:"logo-img",src:s.imageUrl,alt:c.value},null,8,p)):r("",!0),s.hideText?r("",!0):(t(),a("span",u,_(s.brandName),1))]))}});const h=f(m,[["__scopeId","data-v-16688d14"]]);export{h as L}; -//# sourceMappingURL=Logo.6d72a7bf.js.map diff --git a/abstra_statics/dist/assets/Logs.23e8cfb7.js b/abstra_statics/dist/assets/Logs.4c1923f2.js similarity index 91% rename from abstra_statics/dist/assets/Logs.23e8cfb7.js rename to abstra_statics/dist/assets/Logs.4c1923f2.js index 719d1d62ab..d39990d762 100644 --- a/abstra_statics/dist/assets/Logs.23e8cfb7.js +++ b/abstra_statics/dist/assets/Logs.4c1923f2.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,db as S,a as B,aR as P,eb as j,Y as Q,e9 as g,c as m,d1 as K,$ as X,ea as Y,e$ as z,dc as G,cy as I,bK as H,aA as k,cx as J,bx as L,d4 as w,bP as M,cw as W}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{a as Z,b as tt,g as et}from"./datetime.2c7b273f.js";import{e as at,E as st,_ as it}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a8ba2f05.js";import{c as $}from"./string.042fe6bc.js";import"./tables.723282b3.js";import{t as nt}from"./ant-design.c6784518.js";import{A as O}from"./index.28152a0c.js";import{R as ot}from"./dayjs.5ca46bfa.js";import{a as T,A as D}from"./router.efcfb7fa.js";import{A as rt,C as lt}from"./CollapsePanel.e3bd0766.js";import"./popupNotifcation.f48fd864.js";import"./LoadingOutlined.0a0dc718.js";import"./record.c63163fa.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]="d74dfade-ed6d-418c-a2ba-ae8d27b92466",u._sentryDebugIdIdentifier="sentry-dbid-d74dfade-ed6d-418c-a2ba-ae8d27b92466")}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(K),{"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=X(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=Y(),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(G),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(H),{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(M),{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.23e8cfb7.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,db as S,a as B,aR as P,eb as j,Y as Q,e9 as g,c as m,d1 as K,$ as X,ea as Y,e$ as z,dc as G,cy as I,bK as H,aA as k,cx as J,bx as L,d4 as w,bP as M,cw as W}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{a as Z,b as tt,g as et}from"./datetime.bb5ad11f.js";import{e as at,E as st,_ as it}from"./ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.0af37bda.js";import{c as $}from"./string.d10c3089.js";import"./tables.fd84686b.js";import{t as nt}from"./ant-design.2a356765.js";import{A as O}from"./index.090b2bf1.js";import{R as ot}from"./dayjs.5902ed44.js";import{a as T,A as D}from"./router.10d9d8b6.js";import{A as rt,C as lt}from"./CollapsePanel.79713856.js";import"./popupNotifcation.fcd4681e.js";import"./LoadingOutlined.e222117b.js";import"./record.a553a696.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]="15cd9e77-2ff5-4667-aaf3-1ec1fc21cf21",u._sentryDebugIdIdentifier="sentry-dbid-15cd9e77-2ff5-4667-aaf3-1ec1fc21cf21")}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(K),{"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=X(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=Y(),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(G),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(H),{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(M),{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.4c1923f2.js.map diff --git a/abstra_statics/dist/assets/Main.304bbf97.js b/abstra_statics/dist/assets/Main.304bbf97.js deleted file mode 100644 index 1173987ff4..0000000000 --- a/abstra_statics/dist/assets/Main.304bbf97.js +++ /dev/null @@ -1,2 +0,0 @@ -import{P as m}from"./PlayerNavbar.641ba123.js";import{u as f,i as g}from"./workspaceStore.1847e3fb.js";import{d as h,eo as y,ea as c,e as v,f as k,r as w,o as i,X as b,u as n,c as L,R as I,a as N,b as C,$ as R}from"./vue-router.7d22a765.js";import"./metadata.9b52bd89.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./LoadingOutlined.0a0dc718.js";import"./PhSignOut.vue.618d1f5c.js";import"./index.4c73e857.js";import"./Avatar.34816737.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.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]="7d77841e-3a9c-474d-a496-56a59f707ed6",t._sentryDebugIdIdentifier="sentry-dbid-7d77841e-3a9c-474d-a496-56a59f707ed6")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),d=c().path,a=v(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=k(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=w("RouterView");return i(),b("div",V,[n(o).state.workspace?(i(),L(m,{key:0,"current-path":n(d),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:u,onLoginClick:p},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.304bbf97.js.map diff --git a/abstra_statics/dist/assets/Main.ef4e6aa4.js b/abstra_statics/dist/assets/Main.ef4e6aa4.js new file mode 100644 index 0000000000..68a2ac22bf --- /dev/null +++ b/abstra_statics/dist/assets/Main.ef4e6aa4.js @@ -0,0 +1,2 @@ +import{P as m}from"./PlayerNavbar.f1d9205e.js";import{u as f,i as g}from"./workspaceStore.f24e9a7b.js";import{d as h,eo as y,ea as c,e as v,f as k,r as w,o as i,X as b,u as n,c as L,R as I,a as N,b as C,$ as R}from"./vue-router.d93c72db.js";import"./metadata.7b1155be.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./LoadingOutlined.e222117b.js";import"./PhSignOut.vue.33fd1944.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.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]="80af54c1-114e-4967-9ea1-00d6203c8c8f",t._sentryDebugIdIdentifier="sentry-dbid-80af54c1-114e-4967-9ea1-00d6203c8c8f")}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=k(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=w("RouterView");return i(),b("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.ef4e6aa4.js.map diff --git a/abstra_statics/dist/assets/Navbar.2cc2e0ee.js b/abstra_statics/dist/assets/Navbar.b657ea73.js similarity index 60% rename from abstra_statics/dist/assets/Navbar.2cc2e0ee.js rename to abstra_statics/dist/assets/Navbar.b657ea73.js index a400c433c8..912575bf74 100644 --- a/abstra_statics/dist/assets/Navbar.2cc2e0ee.js +++ b/abstra_statics/dist/assets/Navbar.b657ea73.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 f,b as a,w as t,aF as r,bS as c,a as m,db as N,e9 as _,cN as w,ej as I,eb as L,f0 as R,aR as g,R as D,Z as S,$ as z}from"./vue-router.7d22a765.js";import{a as $}from"./asyncComputed.62fe9f61.js";import{G as V}from"./PhChats.vue.afcd5876.js";import{F}from"./PhSignOut.vue.618d1f5c.js";import{C as T}from"./router.efcfb7fa.js";import{a as k}from"./gateway.6da513da.js";import{A as j}from"./index.28152a0c.js";import{A as E}from"./Avatar.34816737.js";import{B as P,A as q,b as G}from"./index.21dc8b6c.js";import{B as H}from"./BookOutlined.238b8620.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]="9c724105-c599-4058-a747-3f2bebb2389c",n._sentryDebugIdIdentifier="sentry-dbid-9c724105-c599-4058-a747-3f2bebb2389c")}catch{}})();const M={key:1,style:{display:"flex","align-items":"center",gap:"16px"}},O={style:{display:"flex","flex-direction":"column",gap:"10px"}},U={style:{display:"flex",gap:"5px"}},X=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 d=A(),{result:l,loading:u,refetch:x}=$(async()=>k.getAuthor());function v(){k.removeAuthor(),T.shutdown(),x(),d.push({name:"login"})}return(b,y)=>{const p=B("RouterLink");return e(u)?(s(),i(e(C),{key:0})):e(l)?(s(),f("div",M,[a(e(c),{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(w),{placement:"bottomRight"},{content:t(()=>[m("div",O,[a(e(N),{size:"small",type:"secondary"},{default:t(()=>[r(_(e(l).claims.email),1)]),_:1}),a(e(c),{type:"text",onClick:v},{default:t(()=>[m("div",U,[a(e(F),{size:"20"}),r(" Logout ")])]),_:1})])]),default:t(()=>[a(e(j),{align:"center",style:{cursor:"pointer"}},{default:t(()=>[a(e(E),{shape:"square"},{default:t(()=>[r(_(o(e(l).claims.email)),1)]),_:1})]),_:1})]),_:1})])):(s(),i(e(c),{key:2},{default:t(()=>[a(p,{to:"/login"},{default:t(()=>[r("Login")]),_:1})]),_:1}))}}}),Z={class:"extra"},J=h({__name:"Navbar",props:{breadcrumb:{}},setup(n){return(o,d)=>(s(),i(e(G),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{subTitle:t(()=>[o.breadcrumb?(s(),i(e(P),{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",Z,[a(e(c),{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?S(o.$slots,"default",{key:0},void 0,!0):(s(),f(g,{key:1},[r("Docs")],64))]),_:3}),a(X)])]),_:3}))}});const ne=z(J,[["__scopeId","data-v-5ef7b378"]]);export{ne as N}; -//# sourceMappingURL=Navbar.2cc2e0ee.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,bS as d,a as m,db as N,e9 as _,cN as w,ej as I,eb as L,f0 as R,aR as g,R as D,Z as S,$ as z}from"./vue-router.d93c72db.js";import{a as $}from"./asyncComputed.d2f65d62.js";import{G as V}from"./PhChats.vue.860dd615.js";import{F}from"./PhSignOut.vue.33fd1944.js";import{C as T}from"./router.10d9d8b6.js";import{a as k}from"./gateway.0306d327.js";import{A as j}from"./index.090b2bf1.js";import{A as E}from"./Avatar.0cc5fd49.js";import{B as P,A as q,b as G}from"./index.70aedabb.js";import{B as H}from"./BookOutlined.1dc76168.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]="0ef4f35b-e7b2-4784-91b8-28d0582ceb42",n._sentryDebugIdIdentifier="sentry-dbid-0ef4f35b-e7b2-4784-91b8-28d0582ceb42")}catch{}})();const M={key:1,style:{display:"flex","align-items":"center",gap:"16px"}},O={style:{display:"flex","flex-direction":"column",gap:"10px"}},U={style:{display:"flex",gap:"5px"}},X=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(),T.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",M,[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(w),{placement:"bottomRight"},{content:t(()=>[m("div",O,[a(e(N),{size:"small",type:"secondary"},{default:t(()=>[r(_(e(l).claims.email),1)]),_:1}),a(e(d),{type:"text",onClick:v},{default:t(()=>[m("div",U,[a(e(F),{size:"20"}),r(" Logout ")])]),_:1})])]),default:t(()=>[a(e(j),{align:"center",style:{cursor:"pointer"}},{default:t(()=>[a(e(E),{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}))}}}),Z={class:"extra"},J=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(P),{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",Z,[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?S(o.$slots,"default",{key:0},void 0,!0):(s(),f(g,{key:1},[r("Docs")],64))]),_:3}),a(X)])]),_:3}))}});const ne=z(J,[["__scopeId","data-v-5ef7b378"]]);export{ne as N}; +//# sourceMappingURL=Navbar.b657ea73.js.map diff --git a/abstra_statics/dist/assets/NavbarControls.dc4d4339.js b/abstra_statics/dist/assets/NavbarControls.9c6236d6.js similarity index 92% rename from abstra_statics/dist/assets/NavbarControls.dc4d4339.js rename to abstra_statics/dist/assets/NavbarControls.9c6236d6.js index a269658a65..c08d2aaa70 100644 --- a/abstra_statics/dist/assets/NavbarControls.dc4d4339.js +++ b/abstra_statics/dist/assets/NavbarControls.9c6236d6.js @@ -1,2 +1,2 @@ -import{b as i,ee as S,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,bS as g,aF as f,ed as Y,cN as H,R as x,$,dg as L,d9 as J,db as Q,W as Z,ag as K,aV as ee,eg as te,cs as ne}from"./vue-router.7d22a765.js";import{L as O,E as re,u as ae}from"./editor.e28b46d6.js";import{S as le}from"./workspaceStore.1847e3fb.js";import{C as oe}from"./CloseCircleOutlined.8dad9616.js";import{A as ie}from"./index.3db2f466.js";import{A as D}from"./index.28152a0c.js";import{W as se}from"./workspaces.7db2ec4c.js";import{p as ue}from"./popupNotifcation.f48fd864.js";import{F as ce}from"./PhArrowSquareOut.vue.a1699b2d.js";import{_ as de}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import{G as fe}from"./PhChats.vue.afcd5876.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]="1de3a702-8498-4694-897d-9dd44eb61b24",n._sentryDebugIdIdentifier="sentry-dbid-1de3a702-8498-4694-897d-9dd44eb61b24")}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 ge=pe;var me={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=me;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,m=>(s(),c(l(g),{key:m.name,loading:a.value,disabled:a.value,onClick:P=>_(m)},{icon:o(()=>[i(l(xe))]),default:o(()=>[f(" "+G(m.label),1)]),_:2},1032,["loading","disabled","onClick"]))),128))]),_:2},1024)]),_:2},1032,["type","message"]))),128))]),_:1})]),default:o(()=>[i(l(g),{class:Y(["linter-btn",r.value])},{default:o(()=>[r.value==="info"?(s(),c(l(Pe),{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(g),{onClick:_},{default:o(()=>[f("Close")]),_:1}),a.value?(s(),c(l(g),{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(g),{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(g),{key:0,disabled:""},{default:o(()=>[f("Deploying")]),_:1})):(s(),c(l(g),{key:1},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))]),_:1},8,["open"])):(s(),c(l(g),{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(g),{href:"https://github.com/abstra-app/abstra-lib",target:"_blank",type:"text",size:"small"},{default:o(()=>[i(l(Se)),f(" GitHub ")]),_:1}))}}),Be=w({__name:"IntercomButton",setup(n){return(e,t)=>(s(),c(l(g),{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 P,v;return((v=(P=a.value)==null?void 0:P.flatMap(h=>["error","security","bug"].includes(h.type)?h.issues:[]))!=null?v:[]).length>0}),d=j(()=>{var m;return p.value?"issues-found":(m=e.editingModel)!=null&&m.hasChanges()?"unsaved":r?"is-staging":"ready"});return(m,P)=>(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=m.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.dc4d4339.js.map +import{b as i,ee as S,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,bS as g,aF as f,ed as Y,cN as H,R as x,$,dg as L,d9 as J,db as Q,W as Z,ag as K,aV as ee,eg as te,cs as ne}from"./vue-router.d93c72db.js";import{L as O,E as re,u as ae}from"./editor.01ba249d.js";import{S as le}from"./workspaceStore.f24e9a7b.js";import{C as oe}from"./CloseCircleOutlined.f1ce344f.js";import{A as ie}from"./index.b7b1d42b.js";import{A as D}from"./index.090b2bf1.js";import{W as se}from"./workspaces.054b755b.js";import{p as ue}from"./popupNotifcation.fcd4681e.js";import{F as ce}from"./PhArrowSquareOut.vue.ba2ca743.js";import{_ as de}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import{G as fe}from"./PhChats.vue.860dd615.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]="17805e55-e9cb-4b8b-939f-aeb03bff722f",n._sentryDebugIdIdentifier="sentry-dbid-17805e55-e9cb-4b8b-939f-aeb03bff722f")}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 ge=pe;var me={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=me;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,m=>(s(),c(l(g),{key:m.name,loading:a.value,disabled:a.value,onClick:P=>_(m)},{icon:o(()=>[i(l(xe))]),default:o(()=>[f(" "+G(m.label),1)]),_:2},1032,["loading","disabled","onClick"]))),128))]),_:2},1024)]),_:2},1032,["type","message"]))),128))]),_:1})]),default:o(()=>[i(l(g),{class:Y(["linter-btn",r.value])},{default:o(()=>[r.value==="info"?(s(),c(l(Pe),{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(g),{onClick:_},{default:o(()=>[f("Close")]),_:1}),a.value?(s(),c(l(g),{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(g),{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(g),{key:0,disabled:""},{default:o(()=>[f("Deploying")]),_:1})):(s(),c(l(g),{key:1},{icon:o(()=>[i(l(k))]),default:o(()=>[f(" Deploy ")]),_:1}))]),_:1},8,["open"])):(s(),c(l(g),{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(g),{href:"https://github.com/abstra-app/abstra-lib",target:"_blank",type:"text",size:"small"},{default:o(()=>[i(l(Se)),f(" GitHub ")]),_:1}))}}),Be=w({__name:"IntercomButton",setup(n){return(e,t)=>(s(),c(l(g),{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 P,v;return((v=(P=a.value)==null?void 0:P.flatMap(h=>["error","security","bug"].includes(h.type)?h.issues:[]))!=null?v:[]).length>0}),d=j(()=>{var m;return p.value?"issues-found":(m=e.editingModel)!=null&&m.hasChanges()?"unsaved":r?"is-staging":"ready"});return(m,P)=>(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=m.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.9c6236d6.js.map diff --git a/abstra_statics/dist/assets/OidcLoginCallback.01d7d103.js b/abstra_statics/dist/assets/OidcLoginCallback.01d7d103.js deleted file mode 100644 index ec3ba58334..0000000000 --- a/abstra_statics/dist/assets/OidcLoginCallback.01d7d103.js +++ /dev/null @@ -1,2 +0,0 @@ -import{O as d}from"./workspaceStore.1847e3fb.js";import{d as c,W as i,o as l,X as u,b as a,w as n,u as o,aF as s,dc as f,db as b}from"./vue-router.7d22a765.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.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]="27316624-c814-4c9e-bc0e-b3ce2b70343a",e._sentryDebugIdIdentifier="sentry-dbid-27316624-c814-4c9e-bc0e-b3ce2b70343a")}catch{}})();const w=c({__name:"OidcLoginCallback",setup(e){return i(async()=>{await new d().loginCallback()}),(t,r)=>(l(),u("div",null,[a(o(f),null,{default:n(()=>[s("You're authenticated")]),_:1}),a(o(b),null,{default:n(()=>[s(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; -//# sourceMappingURL=OidcLoginCallback.01d7d103.js.map diff --git a/abstra_statics/dist/assets/OidcLoginCallback.a8872c03.js b/abstra_statics/dist/assets/OidcLoginCallback.a8872c03.js new file mode 100644 index 0000000000..196c9e16b0 --- /dev/null +++ b/abstra_statics/dist/assets/OidcLoginCallback.a8872c03.js @@ -0,0 +1,2 @@ +import{O as r}from"./workspaceStore.f24e9a7b.js";import{d as i,W as l,o as f,X as u,b as n,w as a,u as o,aF as d,dc as c,db as _}from"./vue-router.d93c72db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.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]="92df2561-d12f-46e1-8396-024f6d56f686",e._sentryDebugIdIdentifier="sentry-dbid-92df2561-d12f-46e1-8396-024f6d56f686")}catch{}})();const w=i({__name:"OidcLoginCallback",setup(e){return l(async()=>{await new r().loginCallback()}),(t,s)=>(f(),u("div",null,[n(o(c),null,{default:a(()=>[d("You're authenticated")]),_:1}),n(o(_),null,{default:a(()=>[d(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; +//# sourceMappingURL=OidcLoginCallback.a8872c03.js.map diff --git a/abstra_statics/dist/assets/OidcLogoutCallback.531f4ca8.js b/abstra_statics/dist/assets/OidcLogoutCallback.531f4ca8.js deleted file mode 100644 index cd4f1dcd31..0000000000 --- a/abstra_statics/dist/assets/OidcLogoutCallback.531f4ca8.js +++ /dev/null @@ -1,2 +0,0 @@ -import{O as d}from"./workspaceStore.1847e3fb.js";import{d as l,W as c,o as i,X as u,b as a,w as o,u as n,aF as s,dc as f,db as b}from"./vue-router.7d22a765.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.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]="cc3a4444-6211-47b2-9172-c792b445a1aa",e._sentryDebugIdIdentifier="sentry-dbid-cc3a4444-6211-47b2-9172-c792b445a1aa")}catch{}})();const w=l({__name:"OidcLogoutCallback",setup(e){return c(async()=>{await new d().logoutCallback()}),(t,r)=>(i(),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.531f4ca8.js.map diff --git a/abstra_statics/dist/assets/OidcLogoutCallback.f208f2ee.js b/abstra_statics/dist/assets/OidcLogoutCallback.f208f2ee.js new file mode 100644 index 0000000000..4540c9213b --- /dev/null +++ b/abstra_statics/dist/assets/OidcLogoutCallback.f208f2ee.js @@ -0,0 +1,2 @@ +import{O as r}from"./workspaceStore.f24e9a7b.js";import{d as l,W as i,o as f,X as u,b as a,w as o,u as d,aF as n,dc as c,db as _}from"./vue-router.d93c72db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.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]="fffdf24d-a39d-44dc-9b9c-a063e30a390f",e._sentryDebugIdIdentifier="sentry-dbid-fffdf24d-a39d-44dc-9b9c-a063e30a390f")}catch{}})();const w=l({__name:"OidcLogoutCallback",setup(e){return i(async()=>{await new r().logoutCallback()}),(t,s)=>(f(),u("div",null,[a(d(c),null,{default:o(()=>[n("You're authenticated")]),_:1}),a(d(_),null,{default:o(()=>[n(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{w as default}; +//# sourceMappingURL=OidcLogoutCallback.f208f2ee.js.map diff --git a/abstra_statics/dist/assets/Organization.3d9fd91b.js b/abstra_statics/dist/assets/Organization.073c4713.js similarity index 88% rename from abstra_statics/dist/assets/Organization.3d9fd91b.js rename to abstra_statics/dist/assets/Organization.073c4713.js index 3c46040259..c475af1d81 100644 --- a/abstra_statics/dist/assets/Organization.3d9fd91b.js +++ b/abstra_statics/dist/assets/Organization.073c4713.js @@ -1,2 +1,2 @@ -import{N as $}from"./Navbar.2cc2e0ee.js";import{B as w}from"./BaseLayout.0d928ff1.js";import{C as b}from"./ContentLayout.e4128d5d.js";import{a as k}from"./asyncComputed.62fe9f61.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.7d22a765.js";import"./gateway.6da513da.js";import{O as C}from"./organization.6c6a96b2.js";import"./tables.723282b3.js";import{S,_ as x}from"./Sidebar.1d1ece90.js";import"./PhChats.vue.afcd5876.js";import"./PhSignOut.vue.618d1f5c.js";import"./router.efcfb7fa.js";import"./index.28152a0c.js";import"./Avatar.34816737.js";import"./index.21dc8b6c.js";import"./index.4c73e857.js";import"./BookOutlined.238b8620.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./index.3db2f466.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import"./Logo.6d72a7bf.js";import"./index.89bac5b6.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]="dcd61282-b5f8-4df3-9cad-4b37f70d94ac",h._sentryDebugIdIdentifier="sentry-dbid-dcd61282-b5f8-4df3-9cad-4b37f70d94ac")}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,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},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],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,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,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,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))}}),$0=["width","height","fill","transform"],w0={key:0},b0=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=[b0],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,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",w0,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))}}),H1=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:y0,path:"projects"},{name:"Editors",icon:L0,path:"editors"},{name:"Billing",icon:e0,path:"billing"}]}];return(n,Z)=>{const v=_("RouterView");return e(),y(w,null,{navbar:H(()=>[p($,{breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:H(()=>[p(S,{class:"sidebar",sections:t})]),content:H(()=>[p(b,null,{default:H(()=>[d.value?(e(),y(x,{key:0,"billing-metadata":d.value,"organization-id":B(u)},null,8,["billing-metadata","organization-id"])):V("",!0),p(v)]),_:1})]),_:1})}}});export{H1 as default}; -//# sourceMappingURL=Organization.3d9fd91b.js.map +import{N as $}from"./Navbar.b657ea73.js";import{B as w}from"./BaseLayout.53dfe4a0.js";import{C as b}from"./ContentLayout.cc8de746.js";import{a as k}from"./asyncComputed.d2f65d62.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 f,w as H,b as p,u as B}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{O as C}from"./organization.f08e73b1.js";import"./tables.fd84686b.js";import{S,_ as x}from"./Sidebar.3850812b.js";import"./PhChats.vue.860dd615.js";import"./PhSignOut.vue.33fd1944.js";import"./router.10d9d8b6.js";import"./index.090b2bf1.js";import"./Avatar.0cc5fd49.js";import"./index.70aedabb.js";import"./index.5dabdfbc.js";import"./BookOutlined.1dc76168.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./index.b7b1d42b.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import"./Logo.3e4c9003.js";import"./index.313ae0a2.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]="6076a906-809d-402d-b0f3-a757c745f4ae",h._sentryDebugIdIdentifier="sentry-dbid-6076a906-809d-402d-b0f3-a757c745f4ae")}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"},f0=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))}}),$0=["width","height","fill","transform"],w0={key:0},b0=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=[b0],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",w0,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))}}),H1=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:f0,path:"projects"},{name:"Editors",icon:L0,path:"editors"},{name:"Billing",icon:e0,path:"billing"}]}];return(n,Z)=>{const v=_("RouterView");return e(),f(w,null,{navbar:H(()=>[p($,{breadcrumb:A.value},null,8,["breadcrumb"])]),sidebar:H(()=>[p(S,{class:"sidebar",sections:t})]),content:H(()=>[p(b,null,{default:H(()=>[d.value?(e(),f(x,{key:0,"billing-metadata":d.value,"organization-id":B(u)},null,8,["billing-metadata","organization-id"])):V("",!0),p(v)]),_:1})]),_:1})}}});export{H1 as default}; +//# sourceMappingURL=Organization.073c4713.js.map diff --git a/abstra_statics/dist/assets/Organizations.faef9609.js b/abstra_statics/dist/assets/Organizations.0243c23f.js similarity index 56% rename from abstra_statics/dist/assets/Organizations.faef9609.js rename to abstra_statics/dist/assets/Organizations.0243c23f.js index 1f7ea23256..e486223b8d 100644 --- a/abstra_statics/dist/assets/Organizations.faef9609.js +++ b/abstra_statics/dist/assets/Organizations.0243c23f.js @@ -1,2 +1,2 @@ -import{N as O}from"./Navbar.2cc2e0ee.js";import{B as I}from"./BaseLayout.0d928ff1.js";import{C as _}from"./ContentLayout.e4128d5d.js";import{C as x}from"./CrudView.cd385ca1.js";import{a as R}from"./ant-design.c6784518.js";import{a as h}from"./asyncComputed.62fe9f61.js";import{F as B}from"./PhArrowSquareOut.vue.a1699b2d.js";import{G as D}from"./PhPencil.vue.6a1ca884.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,cy as E,bK as K,cx as L,R as U,cK as P,ep as S}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{O as d}from"./organization.6c6a96b2.js";import"./tables.723282b3.js";import"./PhChats.vue.afcd5876.js";import"./PhSignOut.vue.618d1f5c.js";import"./router.efcfb7fa.js";import"./index.28152a0c.js";import"./Avatar.34816737.js";import"./index.21dc8b6c.js";import"./index.4c73e857.js";import"./BookOutlined.238b8620.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.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]="88389963-a9f9-4f3a-b54c-f335ed3a58f3",r._sentryDebugIdIdentifier="sentry-dbid-88389963-a9f9-4f3a-b54c-f335ed3a58f3")}catch{}})();const ve=F({__name:"Organizations",setup(r){const m=[{label:"My organizations",path:"/organizations"}],c=[{key:"name",label:"Organization Name"}],v=M(),{loading:z,result:p,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 y(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 R("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(x,{"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:c,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(K),{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.faef9609.js.map +import{N as O}from"./Navbar.b657ea73.js";import{B as I}from"./BaseLayout.53dfe4a0.js";import{C as _}from"./ContentLayout.cc8de746.js";import{C as x}from"./CrudView.574d257b.js";import{a as R}from"./ant-design.2a356765.js";import{a as h}from"./asyncComputed.d2f65d62.js";import{F as B}from"./PhArrowSquareOut.vue.ba2ca743.js";import{G as D}from"./PhPencil.vue.c378280c.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,cy as E,bK as K,cx as L,R as U,cK as P,ep as S}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{O as c}from"./organization.f08e73b1.js";import"./tables.fd84686b.js";import"./PhChats.vue.860dd615.js";import"./PhSignOut.vue.33fd1944.js";import"./router.10d9d8b6.js";import"./index.090b2bf1.js";import"./Avatar.0cc5fd49.js";import"./index.70aedabb.js";import"./index.5dabdfbc.js";import"./BookOutlined.1dc76168.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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]="69a16e72-7bee-45df-9377-8a8299acce04",r._sentryDebugIdIdentifier="sentry-dbid-69a16e72-7bee-45df-9377-8a8299acce04")}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 R("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(x,{"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(K),{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.0243c23f.js.map diff --git a/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.7aa73d25.js b/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.b00021df.js similarity index 71% rename from abstra_statics/dist/assets/PhArrowCounterClockwise.vue.7aa73d25.js rename to abstra_statics/dist/assets/PhArrowCounterClockwise.vue.b00021df.js index 4c5c25aed2..83b6503c29 100644 --- a/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.7aa73d25.js +++ b/abstra_statics/dist/assets/PhArrowCounterClockwise.vue.b00021df.js @@ -1,2 +1,2 @@ -import{d as y,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.7d22a765.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]="a39c9914-8eda-4d7d-9027-c81284f36f25",o._sentryDebugIdIdentifier="sentry-dbid-a39c9914-8eda-4d7d-9027-c81284f36f25")}catch{}})();const v=["width","height","fill","transform"],H={key:0},V=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),L=[V],k={key:1},b=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=[b,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=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}),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"),d.value==="bold"?(t(),l("g",H,L)):d.value==="duotone"?(t(),l("g",k,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.7aa73d25.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.d93c72db.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]="fc3800e6-5385-4491-83e7-41a407336dee",o._sentryDebugIdIdentifier="sentry-dbid-fc3800e6-5385-4491-83e7-41a407336dee")}catch{}})();const v=["width","height","fill","transform"],H={key:0},V=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),L=[V],k={key:1},b=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=[b,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"),p=d("color","currentColor"),c=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:p}),h=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:c?"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,L)):n.value==="duotone"?(t(),l("g",k,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.b00021df.js.map diff --git a/abstra_statics/dist/assets/PhArrowDown.vue.647cad46.js b/abstra_statics/dist/assets/PhArrowDown.vue.4dd765b6.js similarity index 53% rename from abstra_statics/dist/assets/PhArrowDown.vue.647cad46.js rename to abstra_statics/dist/assets/PhArrowDown.vue.4dd765b6.js index 83dd57b2f2..511d872f54 100644 --- a/abstra_statics/dist/assets/PhArrowDown.vue.647cad46.js +++ b/abstra_statics/dist/assets/PhArrowDown.vue.4dd765b6.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.7d22a765.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]="04ccddcc-0a10-4441-a744-212f6afa81ec",o._sentryDebugIdIdentifier="sentry-dbid-04ccddcc-0a10-4441-a744-212f6afa81ec")}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"),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}),h=i(()=>{var e;return(e=a.color)!=null?e:g}),f=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"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:h.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.647cad46.js.map +import{d as y,B as d,f as i,o as a,X as t,Z as v,R as m,e8 as w,a as r}from"./vue-router.d93c72db.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]="95347505-5101-4f9d-97f3-67b2f4cec5fb",o._sentryDebugIdIdentifier="sentry-dbid-95347505-5101-4f9d-97f3-67b2f4cec5fb")}catch{}})();const b=["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"),f=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:g}),c=i(()=>{var e;return(e=l.color)!=null?e:f}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(a(),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: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,$)):m("",!0)],16,b))}});export{R as G}; +//# sourceMappingURL=PhArrowDown.vue.4dd765b6.js.map diff --git a/abstra_statics/dist/assets/PhArrowSquareOut.vue.a1699b2d.js b/abstra_statics/dist/assets/PhArrowSquareOut.vue.ba2ca743.js similarity index 74% rename from abstra_statics/dist/assets/PhArrowSquareOut.vue.a1699b2d.js rename to abstra_statics/dist/assets/PhArrowSquareOut.vue.ba2ca743.js index a5b523d5b6..b30dee0a6a 100644 --- a/abstra_statics/dist/assets/PhArrowSquareOut.vue.a1699b2d.js +++ b/abstra_statics/dist/assets/PhArrowSquareOut.vue.ba2ca743.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.7d22a765.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]="2e47b734-af27-430a-a8a9-7d9c93733304",o._sentryDebugIdIdentifier="sentry-dbid-2e47b734-af27-430a-a8a9-7d9c93733304")}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.a1699b2d.js.map +import{d as m,B as n,f as i,o as t,X as l,Z as v,R as c,e8 as y,a as r}from"./vue-router.d93c72db.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]="4d851034-8005-4590-be65-56d9be179769",o._sentryDebugIdIdentifier="sentry-dbid-4d851034-8005-4590-be65-56d9be179769")}catch{}})();const f=["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=n("weight","regular"),h=n("size","1em"),V=n("color","currentColor"),g=n("mirrored",!1),d=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",y({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),[v(a.$slots,"default"),d.value==="bold"?(t(),l("g",w,Z)):d.value==="duotone"?(t(),l("g",b,M)):d.value==="fill"?(t(),l("g",B,I)):d.value==="light"?(t(),l("g",_,z)):d.value==="regular"?(t(),l("g",C,N)):d.value==="thin"?(t(),l("g",E,$)):c("",!0)],16,f))}});export{F}; +//# sourceMappingURL=PhArrowSquareOut.vue.ba2ca743.js.map diff --git a/abstra_statics/dist/assets/PhBug.vue.fd83bab4.js b/abstra_statics/dist/assets/PhBug.vue.2cdd0af8.js similarity index 87% rename from abstra_statics/dist/assets/PhBug.vue.fd83bab4.js rename to abstra_statics/dist/assets/PhBug.vue.2cdd0af8.js index d1ad83a085..2eb0586cf6 100644 --- a/abstra_statics/dist/assets/PhBug.vue.fd83bab4.js +++ b/abstra_statics/dist/assets/PhBug.vue.2cdd0af8.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 f,a as r}from"./vue-router.7d22a765.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]="d4f5284a-70be-4f26-93f2-794748608a5a",o._sentryDebugIdIdentifier="sentry-dbid-d4f5284a-70be-4f26-93f2-794748608a5a")}catch{}})();const p=["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",f({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.fd83bab4.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.d93c72db.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]="79756e26-37e8-48cb-9a7f-85f29bcc64f3",o._sentryDebugIdIdentifier="sentry-dbid-79756e26-37e8-48cb-9a7f-85f29bcc64f3")}catch{}})();const f=["width","height","fill","transform"],p={key:0},M=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=[M],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",p,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.2cdd0af8.js.map diff --git a/abstra_statics/dist/assets/PhCaretRight.vue.053320ac.js b/abstra_statics/dist/assets/PhCaretRight.vue.053320ac.js deleted file mode 100644 index 209c72aa87..0000000000 --- a/abstra_statics/dist/assets/PhCaretRight.vue.053320ac.js +++ /dev/null @@ -1,2 +0,0 @@ -import{d as y,B as d,f as i,o as t,X as r,Z as b,R as m,e8 as v,a}from"./vue-router.7d22a765.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]="3bb9ce7f-65f7-4976-9166-959be5bc6e57",o._sentryDebugIdIdentifier="sentry-dbid-3bb9ce7f-65f7-4976-9166-959be5bc6e57")}catch{}})();const w=["width","height","fill","transform"],k={key:0},Z=a("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=a("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),V=a("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=a("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},_=a("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=a("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=a("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(),r("svg",v({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),[b(e.$slots,"default"),n.value==="bold"?(t(),r("g",k,A)):n.value==="duotone"?(t(),r("g",M,L)):n.value==="fill"?(t(),r("g",C,I)):n.value==="light"?(t(),r("g",S,x)):n.value==="regular"?(t(),r("g",z,E)):n.value==="thin"?(t(),r("g",P,$)):m("",!0)],16,w))}});export{W as G}; -//# sourceMappingURL=PhCaretRight.vue.053320ac.js.map diff --git a/abstra_statics/dist/assets/PhCaretRight.vue.246b48ee.js b/abstra_statics/dist/assets/PhCaretRight.vue.246b48ee.js new file mode 100644 index 0000000000..3b66dace90 --- /dev/null +++ b/abstra_statics/dist/assets/PhCaretRight.vue.246b48ee.js @@ -0,0 +1,2 @@ +import{d as f,B as n,f as i,o as t,X as a,Z as b,R as m,e8 as v,a as r}from"./vue-router.d93c72db.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]="8750841a-d527-48b5-b61d-96ebbc12d74e",o._sentryDebugIdIdentifier="sentry-dbid-8750841a-d527-48b5-b61d-96ebbc12d74e")}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=f({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const l=o,s=n("weight","regular"),g=n("size","1em"),p=n("color","currentColor"),c=n("mirrored",!1),d=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:g}),h=i(()=>{var e;return(e=l.color)!=null?e:p}),y=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(e,q)=>(t(),a("svg",v({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),[b(e.$slots,"default"),d.value==="bold"?(t(),a("g",k,A)):d.value==="duotone"?(t(),a("g",M,L)):d.value==="fill"?(t(),a("g",C,I)):d.value==="light"?(t(),a("g",S,x)):d.value==="regular"?(t(),a("g",z,E)):d.value==="thin"?(t(),a("g",P,$)):m("",!0)],16,w))}});export{W as G}; +//# sourceMappingURL=PhCaretRight.vue.246b48ee.js.map diff --git a/abstra_statics/dist/assets/PhChats.vue.afcd5876.js b/abstra_statics/dist/assets/PhChats.vue.860dd615.js similarity index 64% rename from abstra_statics/dist/assets/PhChats.vue.afcd5876.js rename to abstra_statics/dist/assets/PhChats.vue.860dd615.js index e40eb832ff..30edf772fc 100644 --- a/abstra_statics/dist/assets/PhChats.vue.afcd5876.js +++ b/abstra_statics/dist/assets/PhChats.vue.860dd615.js @@ -1,2 +1,2 @@ -import{d as v,B as n,f as V,o as l,X as t,Z as f,R as c,e8 as y,a as r}from"./vue-router.7d22a765.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]="47577507-de6e-45d0-a93d-644e6159f3a8",o._sentryDebugIdIdentifier="sentry-dbid-47577507-de6e-45d0-a93d-644e6159f3a8")}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},L=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),b=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=[L,b],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,h=n("weight","regular"),i=n("size","1em"),u=n("color","currentColor"),H=n("mirrored",!1),d=V(()=>{var a;return(a=e.weight)!=null?a:h}),s=V(()=>{var a;return(a=e.size)!=null?a:i}),g=V(()=>{var a;return(a=e.color)!=null?a:u}),p=V(()=>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"),d.value==="bold"?(l(),t("g",m,M)):d.value==="duotone"?(l(),t("g",w,k)):d.value==="fill"?(l(),t("g",B,D)):d.value==="light"?(l(),t("g",I,_)):d.value==="regular"?(l(),t("g",x,N)):d.value==="thin"?(l(),t("g",E,$)):c("",!0)],16,A))}});export{R as G}; -//# sourceMappingURL=PhChats.vue.afcd5876.js.map +import{d as p,B as V,f as d,o as l,X as t,Z as c,R as v,e8 as y,a as r}from"./vue-router.d93c72db.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]="f03c6200-705d-498b-bf16-c3b1b1fa0a0f",o._sentryDebugIdIdentifier="sentry-dbid-f03c6200-705d-498b-bf16-c3b1b1fa0a0f")}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=p({...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"),f=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}),H=d(()=>{var a;return(a=e.color)!=null?a:u}),g=d(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"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:H.value,transform:g.value},a.$attrs),[c(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.860dd615.js.map diff --git a/abstra_statics/dist/assets/PhCheckCircle.vue.912aee3f.js b/abstra_statics/dist/assets/PhCheckCircle.vue.68babecd.js similarity index 57% rename from abstra_statics/dist/assets/PhCheckCircle.vue.912aee3f.js rename to abstra_statics/dist/assets/PhCheckCircle.vue.68babecd.js index 52cf38bb0d..832e44176b 100644 --- a/abstra_statics/dist/assets/PhCheckCircle.vue.912aee3f.js +++ b/abstra_statics/dist/assets/PhCheckCircle.vue.68babecd.js @@ -1,2 +1,2 @@ -import{d as h,B as n,f as i,o as l,X as t,Z as y,R as Z,e8 as v,a as r}from"./vue-router.7d22a765.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]="8ecc2d5c-211d-48f6-97bf-a1ba4aab0a06",o._sentryDebugIdIdentifier="sentry-dbid-8ecc2d5c-211d-48f6-97bf-a1ba4aab0a06")}catch{}})();const A=["width","height","fill","transform"],b={key:0},w=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),M=[w],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=h({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),c=n("size","1em"),g=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:c}),m=i(()=>{var e;return(e=a.color)!=null?e:g}),f=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:f.value},e.$attrs),[y(e.$slots,"default"),d.value==="bold"?(l(),t("g",b,M)):d.value==="duotone"?(l(),t("g",k,C)):d.value==="fill"?(l(),t("g",D,S)):d.value==="light"?(l(),t("g",_,z)):d.value==="regular"?(l(),t("g",N,P)):d.value==="thin"?(l(),t("g",V,j)):Z("",!0)],16,A))}});export{R as H}; -//# sourceMappingURL=PhCheckCircle.vue.912aee3f.js.map +import{d as f,B as n,f as i,o as a,X as t,Z as y,R as Z,e8 as v,a as r}from"./vue-router.d93c72db.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]="27d6e34e-7632-4fbe-893e-71e3dc090715",o._sentryDebugIdIdentifier="sentry-dbid-27d6e34e-7632-4fbe-893e-71e3dc090715")}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 l=o,s=n("weight","regular"),g=n("size","1em"),p=n("color","currentColor"),m=n("mirrored",!1),d=i(()=>{var e;return(e=l.weight)!=null?e:s}),u=i(()=>{var e;return(e=l.size)!=null?e:g}),c=i(()=>{var e;return(e=l.color)!=null?e:p}),h=i(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,F)=>(a(),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"),d.value==="bold"?(a(),t("g",w,b)):d.value==="duotone"?(a(),t("g",k,C)):d.value==="fill"?(a(),t("g",D,S)):d.value==="light"?(a(),t("g",_,z)):d.value==="regular"?(a(),t("g",N,P)):d.value==="thin"?(a(),t("g",V,j)):Z("",!0)],16,A))}});export{R as H}; +//# sourceMappingURL=PhCheckCircle.vue.68babecd.js.map diff --git a/abstra_statics/dist/assets/PhCopy.vue.834d7537.js b/abstra_statics/dist/assets/PhCopy.vue.1dad710f.js similarity index 61% rename from abstra_statics/dist/assets/PhCopy.vue.834d7537.js rename to abstra_statics/dist/assets/PhCopy.vue.1dad710f.js index b71497d664..4bc8ad9984 100644 --- a/abstra_statics/dist/assets/PhCopy.vue.834d7537.js +++ b/abstra_statics/dist/assets/PhCopy.vue.1dad710f.js @@ -1,2 +1,2 @@ -import{d as c,B as d,f as V,o as t,X as l,Z as f,R as m,e8 as y,a as r}from"./vue-router.7d22a765.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]="3e4efb1c-3db2-4da3-8abf-816834e0dd8c",o._sentryDebugIdIdentifier="sentry-dbid-3e4efb1c-3db2-4da3-8abf-816834e0dd8c")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},b=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=[b],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=c({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,n=d("weight","regular"),i=d("size","1em"),u=d("color","currentColor"),h=d("mirrored",!1),H=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}),p=V(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:h?"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:s.value,height:s.value,fill:g.value,transform:p.value},e.$attrs),[f(e.$slots,"default"),H.value==="bold"?(t(),l("g",v,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,Z))}});export{W as I}; -//# sourceMappingURL=PhCopy.vue.834d7537.js.map +import{d as p,B as V,f as d,o as t,X as l,Z as m,R as f,e8 as y,a as r}from"./vue-router.d93c72db.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]="496b61ae-dd20-46bc-abdf-7cc38ae14b1c",o._sentryDebugIdIdentifier="sentry-dbid-496b61ae-dd20-46bc-abdf-7cc38ae14b1c")}catch{}})();const Z=["width","height","fill","transform"],b={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"),c=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}),h=d(()=>{var e;return(e=a.color)!=null?e:u}),g=d(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:c?"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:s.value,height:s.value,fill:h.value,transform:g.value},e.$attrs),[m(e.$slots,"default"),H.value==="bold"?(t(),l("g",b,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)):f("",!0)],16,Z))}});export{W as I}; +//# sourceMappingURL=PhCopy.vue.1dad710f.js.map diff --git a/abstra_statics/dist/assets/PhCopySimple.vue.b36c12a9.js b/abstra_statics/dist/assets/PhCopySimple.vue.393b6f24.js similarity index 65% rename from abstra_statics/dist/assets/PhCopySimple.vue.b36c12a9.js rename to abstra_statics/dist/assets/PhCopySimple.vue.393b6f24.js index d7ed9a02ee..38b1fc8440 100644 --- a/abstra_statics/dist/assets/PhCopySimple.vue.b36c12a9.js +++ b/abstra_statics/dist/assets/PhCopySimple.vue.393b6f24.js @@ -1,2 +1,2 @@ -import{d as f,B as d,f as i,o as t,X as l,Z as h,R as y,e8 as c,a as r}from"./vue-router.7d22a765.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]="b00a5273-6e3b-4a3b-98d6-0aa4afa77a87",o._sentryDebugIdIdentifier="sentry-dbid-b00a5273-6e3b-4a3b-98d6-0aa4afa77a87")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},b=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),w=[b],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}),m=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"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:H.value,height:H.value,fill:g.value,transform:m.value},e.$attrs),[h(e.$slots,"default"),n.value==="bold"?(t(),l("g",v,w)):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)):y("",!0)],16,Z))}});export{W as I}; -//# sourceMappingURL=PhCopySimple.vue.b36c12a9.js.map +import{d as f,B as n,f as i,o as t,X as l,Z as m,R as h,e8 as y,a as r}from"./vue-router.d93c72db.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]="ce1652c9-00d4-490b-b07f-305fad2b432d",o._sentryDebugIdIdentifier="sentry-dbid-ce1652c9-00d4-490b-b07f-305fad2b432d")}catch{}})();const Z=["width","height","fill","transform"],v={key:0},b=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),w=[b],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=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}),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"),d.value==="bold"?(t(),l("g",v,w)):d.value==="duotone"?(t(),l("g",A,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.393b6f24.js.map diff --git a/abstra_statics/dist/assets/PhCube.vue.7761ebad.js b/abstra_statics/dist/assets/PhCube.vue.7761ebad.js deleted file mode 100644 index 0a2f0907f9..0000000000 --- a/abstra_statics/dist/assets/PhCube.vue.7761ebad.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.7d22a765.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]="591d31c5-29cd-4897-8daf-d3aebca73939",o._sentryDebugIdIdentifier="sentry-dbid-591d31c5-29cd-4897-8daf-d3aebca73939")}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"),c=n("color","currentColor"),g=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}),h=i(()=>{var e;return(e=l.color)!=null?e:c}),p=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:h.value,transform:p.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.7761ebad.js.map diff --git a/abstra_statics/dist/assets/PhCube.vue.ef7f4c31.js b/abstra_statics/dist/assets/PhCube.vue.ef7f4c31.js new file mode 100644 index 0000000000..8b480bcdd0 --- /dev/null +++ b/abstra_statics/dist/assets/PhCube.vue.ef7f4c31.js @@ -0,0 +1,2 @@ +import{d as Z,B as d,f as i,o as a,X as t,Z as f,R as c,e8 as y,a as r}from"./vue-router.d93c72db.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]="665690a3-4ae8-448d-a387-58fba0b0e80d",o._sentryDebugIdIdentifier="sentry-dbid-665690a3-4ae8-448d-a387-58fba0b0e80d")}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=Z({...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"),g=d("color","currentColor"),h=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}),p=i(()=>{var e;return(e=l.color)!=null?e:g}),m=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:m.value},e.$attrs),[f(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)):c("",!0)],16,V))}});export{R as H}; +//# sourceMappingURL=PhCube.vue.ef7f4c31.js.map diff --git a/abstra_statics/dist/assets/PhDotsThreeVertical.vue.b0c5edcd.js b/abstra_statics/dist/assets/PhDotsThreeVertical.vue.1a5d5231.js similarity index 69% rename from abstra_statics/dist/assets/PhDotsThreeVertical.vue.b0c5edcd.js rename to abstra_statics/dist/assets/PhDotsThreeVertical.vue.1a5d5231.js index de67bcd4e1..e55156d03f 100644 --- a/abstra_statics/dist/assets/PhDotsThreeVertical.vue.b0c5edcd.js +++ b/abstra_statics/dist/assets/PhDotsThreeVertical.vue.1a5d5231.js @@ -1,2 +1,2 @@ -import{d as f,B as d,f as s,o as t,X as r,Z as A,R as y,e8 as Z,a as l}from"./vue-router.7d22a765.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]="3eda3a23-1608-401f-8152-77cfc99084d7",o._sentryDebugIdIdentifier="sentry-dbid-3eda3a23-1608-401f-8152-77cfc99084d7")}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=f({...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",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"),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)):y("",!0)],16,v))}});export{R as G}; -//# sourceMappingURL=PhDotsThreeVertical.vue.b0c5edcd.js.map +import{d as A,B as d,f as s,o as t,X as r,Z as c,R as y,e8 as Z,a as l}from"./vue-router.d93c72db.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]="8758240a-e5a4-48b9-be75-a44f9b0a1007",o._sentryDebugIdIdentifier="sentry-dbid-8758240a-e5a4-48b9-be75-a44f9b0a1007")}catch{}})();const v=["width","height","fill","transform"],b={key:0},w=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=[w],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}),h=s(()=>{var e;return(e=a.color)!=null?e:g}),f=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:h.value,transform:f.value},e.$attrs),[c(e.$slots,"default"),n.value==="bold"?(t(),r("g",b,M)):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)):y("",!0)],16,v))}});export{R as G}; +//# sourceMappingURL=PhDotsThreeVertical.vue.1a5d5231.js.map diff --git a/abstra_statics/dist/assets/PhDownloadSimple.vue.c2d6c2cb.js b/abstra_statics/dist/assets/PhDownloadSimple.vue.798ada40.js similarity index 81% rename from abstra_statics/dist/assets/PhDownloadSimple.vue.c2d6c2cb.js rename to abstra_statics/dist/assets/PhDownloadSimple.vue.798ada40.js index 4c13244571..af4fa549a3 100644 --- a/abstra_statics/dist/assets/PhDownloadSimple.vue.c2d6c2cb.js +++ b/abstra_statics/dist/assets/PhDownloadSimple.vue.798ada40.js @@ -1,2 +1,2 @@ -import{d as c,B as d,f as i,o as l,X as t,Z as f,R as h,e8 as y,a as o}from"./vue-router.7d22a765.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]="57707cbd-9bf0-4162-9844-960ea8a1a370",r._sentryDebugIdIdentifier="sentry-dbid-57707cbd-9bf0-4162-9844-960ea8a1a370")}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=c({...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"),g=d("color","currentColor"),p=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}),m=i(()=>{var a;return(a=e.color)!=null?a:g}),V=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:m.value,transform:V.value},a.$attrs),[f(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,$)):h("",!0)],16,w))}});export{R as G}; -//# sourceMappingURL=PhDownloadSimple.vue.c2d6c2cb.js.map +import{d as f,B as d,f as i,o as l,X as t,Z as h,R as c,e8 as y,a as o}from"./vue-router.d93c72db.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]="b3a9a5b8-a2e1-4484-a298-0a0f2a3d1858",r._sentryDebugIdIdentifier="sentry-dbid-b3a9a5b8-a2e1-4484-a298-0a0f2a3d1858")}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=f({...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"),g=d("color","currentColor"),p=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}),m=i(()=>{var a;return(a=e.color)!=null?a:g}),V=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:m.value,transform:V.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,$)):c("",!0)],16,w))}});export{R as G}; +//# sourceMappingURL=PhDownloadSimple.vue.798ada40.js.map diff --git a/abstra_statics/dist/assets/PhFlowArrow.vue.67873dec.js b/abstra_statics/dist/assets/PhFlowArrow.vue.54661f9c.js similarity index 66% rename from abstra_statics/dist/assets/PhFlowArrow.vue.67873dec.js rename to abstra_statics/dist/assets/PhFlowArrow.vue.54661f9c.js index 0e1a842501..2af0c3d206 100644 --- a/abstra_statics/dist/assets/PhFlowArrow.vue.67873dec.js +++ b/abstra_statics/dist/assets/PhFlowArrow.vue.54661f9c.js @@ -1,2 +1,2 @@ -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.7d22a765.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]="609e6f3b-57bd-4eae-9468-e99a407db3fd",o._sentryDebugIdIdentifier="sentry-dbid-609e6f3b-57bd-4eae-9468-e99a407db3fd")}catch{}})();const b=["width","height","fill","transform"],A={key:0},Z=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=[Z],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,i=n("weight","regular"),c=n("size","1em"),h=n("color","currentColor"),g=n("mirrored",!1),d=s(()=>{var e;return(e=a.weight)!=null?e:i}),u=s(()=>{var e;return(e=a.size)!=null?e:c}),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:u.value,height:u.value,fill:p.value,transform:f.value},e.$attrs),[m(e.$slots,"default"),d.value==="bold"?(l(),t("g",A,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,b))}});export{G}; -//# sourceMappingURL=PhFlowArrow.vue.67873dec.js.map +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.d93c72db.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]="cc68a634-fb82-4f96-a987-fc866235378d",o._sentryDebugIdIdentifier="sentry-dbid-cc68a634-fb82-4f96-a987-fc866235378d")}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=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:c}),i=s(()=>{var e;return(e=a.size)!=null?e:u}),f=s(()=>{var e;return(e=a.color)!=null?e:h}),p=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:f.value,transform:p.value},e.$attrs),[m(e.$slots,"default"),n.value==="bold"?(l(),t("g",Z,M)):n.value==="duotone"?(l(),t("g",C,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.54661f9c.js.map diff --git a/abstra_statics/dist/assets/PhGlobe.vue.672acb29.js b/abstra_statics/dist/assets/PhGlobe.vue.7f5461d7.js similarity index 92% rename from abstra_statics/dist/assets/PhGlobe.vue.672acb29.js rename to abstra_statics/dist/assets/PhGlobe.vue.7f5461d7.js index 29b3dcd8d9..02d214f57b 100644 --- a/abstra_statics/dist/assets/PhGlobe.vue.672acb29.js +++ b/abstra_statics/dist/assets/PhGlobe.vue.7f5461d7.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.7d22a765.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]="dc9ba126-8ad3-481e-b0cb-609d6613071f",r._sentryDebugIdIdentifier="sentry-dbid-dc9ba126-8ad3-481e-b0cb-609d6613071f")}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),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",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,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)):c("",!0)],16,f))}});export{W as I}; -//# sourceMappingURL=PhGlobe.vue.672acb29.js.map +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.d93c72db.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]="8390d8bc-d32f-4680-9521-44499ba0f93a",r._sentryDebugIdIdentifier="sentry-dbid-8390d8bc-d32f-4680-9521-44499ba0f93a")}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.7f5461d7.js.map diff --git a/abstra_statics/dist/assets/PhIdentificationBadge.vue.f2200d74.js b/abstra_statics/dist/assets/PhIdentificationBadge.vue.3ad9df43.js similarity index 84% rename from abstra_statics/dist/assets/PhIdentificationBadge.vue.f2200d74.js rename to abstra_statics/dist/assets/PhIdentificationBadge.vue.3ad9df43.js index 5061e5943a..17d85f8641 100644 --- a/abstra_statics/dist/assets/PhIdentificationBadge.vue.f2200d74.js +++ b/abstra_statics/dist/assets/PhIdentificationBadge.vue.3ad9df43.js @@ -1,2 +1,2 @@ -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.7d22a765.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]="475290c7-6332-4106-9701-e060e759a770",i._sentryDebugIdIdentifier="sentry-dbid-475290c7-6332-4106-9701-e060e759a770")}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.f2200d74.js.map +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.d93c72db.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]="534c53b1-e020-4916-b458-a8f3dc2d190c",i._sentryDebugIdIdentifier="sentry-dbid-534c53b1-e020-4916-b458-a8f3dc2d190c")}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=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.3ad9df43.js.map diff --git a/abstra_statics/dist/assets/PhKanban.vue.76078103.js b/abstra_statics/dist/assets/PhKanban.vue.04c2aadb.js similarity index 68% rename from abstra_statics/dist/assets/PhKanban.vue.76078103.js rename to abstra_statics/dist/assets/PhKanban.vue.04c2aadb.js index e578d7d0f7..4223e8026f 100644 --- a/abstra_statics/dist/assets/PhKanban.vue.76078103.js +++ b/abstra_statics/dist/assets/PhKanban.vue.04c2aadb.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 p,e8 as c,a as l}from"./vue-router.7d22a765.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]="37845405-0a50-4649-9219-4de332f2266c",o._sentryDebugIdIdentifier="sentry-dbid-37845405-0a50-4649-9219-4de332f2266c")}catch{}})();const f=["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",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,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)):p("",!0)],16,f))}});export{R as G}; -//# sourceMappingURL=PhKanban.vue.76078103.js.map +import{d as u,B as d,f as h,o as t,X as r,Z as g,R as c,e8 as p,a as l}from"./vue-router.d93c72db.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]="66cfce4e-7522-4d7d-9a2a-02dba08a1d6c",o._sentryDebugIdIdentifier="sentry-dbid-66cfce4e-7522-4d7d-9a2a-02dba08a1d6c")}catch{}})();const f=["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],b={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,H=d("weight","regular"),m=d("size","1em"),i=d("color","currentColor"),s=d("mirrored",!1),V=h(()=>{var a;return(a=e.weight)!=null?a:H}),n=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:n.value,height:n.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",b,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)):c("",!0)],16,f))}});export{R as G}; +//# sourceMappingURL=PhKanban.vue.04c2aadb.js.map diff --git a/abstra_statics/dist/assets/PhPencil.vue.6a1ca884.js b/abstra_statics/dist/assets/PhPencil.vue.c378280c.js similarity index 76% rename from abstra_statics/dist/assets/PhPencil.vue.6a1ca884.js rename to abstra_statics/dist/assets/PhPencil.vue.c378280c.js index cbd70b2c27..e29eab4313 100644 --- a/abstra_statics/dist/assets/PhPencil.vue.6a1ca884.js +++ b/abstra_statics/dist/assets/PhPencil.vue.c378280c.js @@ -1,2 +1,2 @@ -import{d as m,B as d,f as i,o as l,X as t,Z as c,R as M,e8 as f,a as r}from"./vue-router.7d22a765.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]="c6a026d2-b098-4343-b936-a4ae0280fa73",o._sentryDebugIdIdentifier="sentry-dbid-c6a026d2-b098-4343-b936-a4ae0280fa73")}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),b=[w],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=m({...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}),h=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,q)=>(l(),t("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:L.value,transform:h.value},e.$attrs),[c(e.$slots,"default"),n.value==="bold"?(l(),t("g",v,b)):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,$)):M("",!0)],16,y))}});export{R as G}; -//# sourceMappingURL=PhPencil.vue.6a1ca884.js.map +import{d as m,B as n,f as i,o as l,X as t,Z as c,R as M,e8 as y,a as r}from"./vue-router.d93c72db.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]="614744e0-5071-4dd4-bc15-6bd6640732e5",o._sentryDebugIdIdentifier="sentry-dbid-614744e0-5071-4dd4-bc15-6bd6640732e5")}catch{}})();const f=["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),b=[w],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=m({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),Z=n("size","1em"),g=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:Z}),L=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,q)=>(l(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:L.value,transform:h.value},e.$attrs),[c(e.$slots,"default"),d.value==="bold"?(l(),t("g",v,b)):d.value==="duotone"?(l(),t("g",H,k)):d.value==="fill"?(l(),t("g",B,I)):d.value==="light"?(l(),t("g",S,x)):d.value==="regular"?(l(),t("g",z,N)):d.value==="thin"?(l(),t("g",P,$)):M("",!0)],16,f))}});export{R as G}; +//# sourceMappingURL=PhPencil.vue.c378280c.js.map diff --git a/abstra_statics/dist/assets/PhQuestion.vue.52f4cce8.js b/abstra_statics/dist/assets/PhQuestion.vue.1e79437f.js similarity index 85% rename from abstra_statics/dist/assets/PhQuestion.vue.52f4cce8.js rename to abstra_statics/dist/assets/PhQuestion.vue.1e79437f.js index 8499c0450a..29adb8a95d 100644 --- a/abstra_statics/dist/assets/PhQuestion.vue.52f4cce8.js +++ b/abstra_statics/dist/assets/PhQuestion.vue.1e79437f.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.7d22a765.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]="73382572-15d0-46fd-bc5a-3930234fb51a",l._sentryDebugIdIdentifier="sentry-dbid-73382572-15d0-46fd-bc5a-3930234fb51a")}catch{}})();const A=["width","height","fill","transform"],w={key:0},b=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=[b],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",w,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.52f4cce8.js.map +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.d93c72db.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]="bf735735-bea7-4bab-b839-701085e23633",l._sentryDebugIdIdentifier="sentry-dbid-bf735735-bea7-4bab-b839-701085e23633")}catch{}})();const b=["width","height","fill","transform"],A={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",A,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,b))}});export{R as H}; +//# sourceMappingURL=PhQuestion.vue.1e79437f.js.map diff --git a/abstra_statics/dist/assets/PhSignOut.vue.618d1f5c.js b/abstra_statics/dist/assets/PhSignOut.vue.33fd1944.js similarity index 72% rename from abstra_statics/dist/assets/PhSignOut.vue.618d1f5c.js rename to abstra_statics/dist/assets/PhSignOut.vue.33fd1944.js index b5566388c5..f9743098e4 100644 --- a/abstra_statics/dist/assets/PhSignOut.vue.618d1f5c.js +++ b/abstra_statics/dist/assets/PhSignOut.vue.33fd1944.js @@ -1,2 +1,2 @@ -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.7d22a765.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]="e15c3c0c-99ca-4eff-9a2f-3b0f98a266dc",o._sentryDebugIdIdentifier="sentry-dbid-e15c3c0c-99ca-4eff-9a2f-3b0f98a266dc")}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"),c=d("color","currentColor"),f=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}),g=i(()=>{var a;return(a=e.color)!=null?a:c}),p=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"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:g.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.618d1f5c.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.d93c72db.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]="9a64880e-d246-4ffd-beb8-c9a81fa0bc19",o._sentryDebugIdIdentifier="sentry-dbid-9a64880e-d246-4ffd-beb8-c9a81fa0bc19")}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=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"),g=d("color","currentColor"),f=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}),p=i(()=>{var a;return(a=e.color)!=null?a:g}),c=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:f?"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:p.value,transform:c.value},a.$attrs),[y(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,$)):H("",!0)],16,b))}});export{F}; +//# sourceMappingURL=PhSignOut.vue.33fd1944.js.map diff --git a/abstra_statics/dist/assets/PhWebhooksLogo.vue.4693bfce.js b/abstra_statics/dist/assets/PhWebhooksLogo.vue.ea2526db.js similarity index 92% rename from abstra_statics/dist/assets/PhWebhooksLogo.vue.4693bfce.js rename to abstra_statics/dist/assets/PhWebhooksLogo.vue.ea2526db.js index 2bb063151f..002dda8545 100644 --- a/abstra_statics/dist/assets/PhWebhooksLogo.vue.4693bfce.js +++ b/abstra_statics/dist/assets/PhWebhooksLogo.vue.ea2526db.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.7d22a765.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]="c901148e-17f6-443c-844b-a1f060fce53a",u._sentryDebugIdIdentifier="sentry-dbid-c901148e-17f6-443c-844b-a1f060fce53a")}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.4693bfce.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.d93c72db.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]="a29cd733-4b46-4283-aaf1-2f86322c2d0e",u._sentryDebugIdIdentifier="sentry-dbid-a29cd733-4b46-4283-aaf1-2f86322c2d0e")}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"),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,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"),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],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"),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",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"),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.ea2526db.js.map diff --git a/abstra_statics/dist/assets/PlayerConfigProvider.b00461a5.js b/abstra_statics/dist/assets/PlayerConfigProvider.46a07e66.js similarity index 96% rename from abstra_statics/dist/assets/PlayerConfigProvider.b00461a5.js rename to abstra_statics/dist/assets/PlayerConfigProvider.46a07e66.js index 7040412d58..eaf9acb03b 100644 --- a/abstra_statics/dist/assets/PlayerConfigProvider.b00461a5.js +++ b/abstra_statics/dist/assets/PlayerConfigProvider.46a07e66.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.7d22a765.js";import{i as x,a as y,b as Z,l as W,c as k}from"./colorHelpers.e5ec8c13.js";import{t as G}from"./index.143dc5b1.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]="300fc112-0ce8-4127-a879-b2b629b8308d",t._sentryDebugIdIdentifier="sentry-dbid-300fc112-0ce8-4127-a879-b2b629b8308d")}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",me={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"}},de=me,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:de,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=d=>y(d)?_:Y,m=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":m?_:Y,...this.getBackgroundStyle(e.background)}});c(this,"getAntTheme",async e=>{const a=await this.isBackgroundDark(e.background),m={fontFamily:e.fontFamily,colorPrimary:e.mainColor},d=[];if(a){const{darkAlgorithm:u}=G;d.push(u)}return{token:m,algorithm:d}});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],([m,d,u,g])=>{a.update({background:m,fontFamily:d,locale:u,mainColor:g})}),R(()=>{a.update({background:e.background,fontFamily:e.fontFamily,locale:e.locale,mainColor:e.mainColor})}),(m,d)=>{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(m.$slots,"default",{},void 0,!0)]),_:3},8,["theme","locale"])],4)}}});const Ve=J(Ie,[["__scopeId","data-v-2c16e2a4"]]);export{Ve as W}; -//# sourceMappingURL=PlayerConfigProvider.b00461a5.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.d93c72db.js";import{i as x,a as y,b as Z,l as W,c as k}from"./colorHelpers.24f5763b.js";import{t as G}from"./index.77b08602.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]="b9aa8c68-7cbe-493a-9c64-c0a9dfd0be43",t._sentryDebugIdIdentifier="sentry-dbid-b9aa8c68-7cbe-493a-9c64-c0a9dfd0be43")}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.46a07e66.js.map diff --git a/abstra_statics/dist/assets/PlayerNavbar.641ba123.js b/abstra_statics/dist/assets/PlayerNavbar.f1d9205e.js similarity index 93% rename from abstra_statics/dist/assets/PlayerNavbar.641ba123.js rename to abstra_statics/dist/assets/PlayerNavbar.f1d9205e.js index e08e75f74b..43d9d16dc5 100644 --- a/abstra_statics/dist/assets/PlayerNavbar.641ba123.js +++ b/abstra_statics/dist/assets/PlayerNavbar.f1d9205e.js @@ -1,2 +1,2 @@ -import{b as L}from"./workspaceStore.1847e3fb.js";import{i as D}from"./metadata.9b52bd89.js";import{L as P}from"./LoadingOutlined.0a0dc718.js";import{d as Z,B as y,f as h,o as a,X as o,Z as S,R as v,e8 as A,a as l,aR as N,eb as x,ed as $,c as f,ec as z,u,e9 as k,$ as V,D as B,w as H,aF as b,db as M,b as _,bS as w,Y as I,cN as R}from"./vue-router.7d22a765.js";import{F}from"./PhSignOut.vue.618d1f5c.js";import"./index.4c73e857.js";import{A as U}from"./Avatar.34816737.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]="8c027298-d4bf-479f-9219-c1f1c5d80719",d._sentryDebugIdIdentifier="sentry-dbid-8c027298-d4bf-479f-9219-c1f1c5d80719")}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),O=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),X=[G,O],Y={key:2},J=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),K=[J],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",A({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),[S(t.$slots,"default"),e.value==="bold"?(a(),o("g",j,W)):e.value==="duotone"?(a(),o("g",T,X)):e.value==="fill"?(a(),o("g",Y,K)):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],S0={key:5},A0=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=[A0],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",A({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),[S(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",S0,V0)):v("",!0)],16,u0))}}),D0={class:"sidebar-content"},P0={class:"section"},N0=["onClick"],x0={class:"item-title"},z0=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(N,null,x(((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(z(u(D)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l("div",x0,k(i.name),1),e.loading===i.id?(a(),f(u(P),{key:0})):v("",!0)],10,N0))),128))])])],2)}}});const B0=V(z0,[["__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=B({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(B0,{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.641ba123.js.map +import{b as L}from"./workspaceStore.f24e9a7b.js";import{i as D}from"./metadata.7b1155be.js";import{L as P}from"./LoadingOutlined.e222117b.js";import{d as Z,B as y,f as h,o as a,X as o,Z as S,R as v,e8 as A,a as l,aR as N,eb as x,ed as $,c as f,ec as z,u,e9 as k,$ as V,D as B,w as H,aF as b,db as M,b as _,bS as w,Y as I,cN as R}from"./vue-router.d93c72db.js";import{F}from"./PhSignOut.vue.33fd1944.js";import"./index.5dabdfbc.js";import{A as U}from"./Avatar.0cc5fd49.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]="e700784d-6df5-4995-9bf0-42f01c7e9ea7",d._sentryDebugIdIdentifier="sentry-dbid-e700784d-6df5-4995-9bf0-42f01c7e9ea7")}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),O=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),X=[G,O],Y={key:2},J=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),K=[J],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",A({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),[S(t.$slots,"default"),e.value==="bold"?(a(),o("g",j,W)):e.value==="duotone"?(a(),o("g",T,X)):e.value==="fill"?(a(),o("g",Y,K)):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],S0={key:5},A0=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=[A0],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",A({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),[S(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",S0,V0)):v("",!0)],16,u0))}}),D0={class:"sidebar-content"},P0={class:"section"},N0=["onClick"],x0={class:"item-title"},z0=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(N,null,x(((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(z(u(D)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l("div",x0,k(i.name),1),e.loading===i.id?(a(),f(u(P),{key:0})):v("",!0)],10,N0))),128))])])],2)}}});const B0=V(z0,[["__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=B({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(B0,{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.f1d9205e.js.map diff --git a/abstra_statics/dist/assets/PreferencesEditor.7ac1ea80.js b/abstra_statics/dist/assets/PreferencesEditor.4ade6645.js similarity index 97% rename from abstra_statics/dist/assets/PreferencesEditor.7ac1ea80.js rename to abstra_statics/dist/assets/PreferencesEditor.4ade6645.js index 784e62d873..e307f6a8af 100644 --- a/abstra_statics/dist/assets/PreferencesEditor.7ac1ea80.js +++ b/abstra_statics/dist/assets/PreferencesEditor.4ade6645.js @@ -1,6 +1,6 @@ -import{d as v,B as x,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 B,u,dc 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,cT as D,aA as Z,eQ as Se,cy as M,bK as E,cx as fe,dg as _,cE as ee}from"./vue-router.7d22a765.js";import"./editor.e28b46d6.js";import{W as ye}from"./workspaces.7db2ec4c.js";import{P as ve}from"./PlayerNavbar.641ba123.js";import{W as be}from"./PlayerConfigProvider.b00461a5.js";import{_ as ae}from"./AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js";import{C as ke}from"./ContentLayout.e4128d5d.js";import{L as Ce}from"./LoadingContainer.9f69b37b.js";import{S as we}from"./SaveButton.91be38d7.js";import{m as te}from"./workspaceStore.1847e3fb.js";import{a as Ae}from"./asyncComputed.62fe9f61.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./record.c63163fa.js";import"./metadata.9b52bd89.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./LoadingOutlined.0a0dc718.js";import"./PhSignOut.vue.618d1f5c.js";import"./index.4c73e857.js";import"./Avatar.34816737.js";import"./index.143dc5b1.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.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]="15ebfe04-4970-482b-ab9a-5beb281d2d3c",e._sentryDebugIdIdentifier="sentry-dbid-15ebfe04-4970-482b-ab9a-5beb281d2d3c")}catch{}})();const Ne=["width","height","fill","transform"],Me={key:0},xe=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),Be=[xe],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=x("weight","regular"),r=x("size","1em"),o=x("color","currentColor"),i=x("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,Be)):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=x("weight","regular"),r=x("size","1em"),o=x("color","currentColor"),i=x("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(()=>[B("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 as x,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 B,u,dc 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,cT as D,aA as Z,eQ as Se,cy as M,bK as E,cx as fe,dg as _,cE as ee}from"./vue-router.d93c72db.js";import"./editor.01ba249d.js";import{W as ye}from"./workspaces.054b755b.js";import{P as ve}from"./PlayerNavbar.f1d9205e.js";import{W as be}from"./PlayerConfigProvider.46a07e66.js";import{_ as ae}from"./AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js";import{C as ke}from"./ContentLayout.cc8de746.js";import{L as Ce}from"./LoadingContainer.075249df.js";import{S as we}from"./SaveButton.3f760a03.js";import{m as te}from"./workspaceStore.f24e9a7b.js";import{a as Ae}from"./asyncComputed.d2f65d62.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./record.a553a696.js";import"./metadata.7b1155be.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./LoadingOutlined.e222117b.js";import"./PhSignOut.vue.33fd1944.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.js";import"./index.77b08602.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.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]="01868f2a-c094-41bd-bb3d-67116a81518e",e._sentryDebugIdIdentifier="sentry-dbid-01868f2a-c094-41bd-bb3d-67116a81518e")}catch{}})();const Ne=["width","height","fill","transform"],Me={key:0},xe=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),Be=[xe],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=x("weight","regular"),r=x("size","1em"),o=x("color","currentColor"),i=x("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,Be)):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=x("weight","regular"),r=x("size","1em"),o=x("color","currentColor"),i=x("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(()=>[B("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}=xa(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 xa({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 Ba={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",Ba,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(()=>[B(" 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(()=>[B(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(()=>[B(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(()=>[B(" Color ")]),_:1},8,["selected"]),d(u(D),{value:"image",selected:u(L)(s.modelValue)==="hosted-image"||u(L)(s.modelValue)==="external-image"},{default:g(()=>[B(" 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(()=>[B("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(()=>[B("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.7ac1ea80.js.map +//# sourceMappingURL=PreferencesEditor.4ade6645.js.map diff --git a/abstra_statics/dist/assets/Project.673be945.js b/abstra_statics/dist/assets/Project.08cbf5d1.js similarity index 84% rename from abstra_statics/dist/assets/Project.673be945.js rename to abstra_statics/dist/assets/Project.08cbf5d1.js index 5bead25eb6..f314fc802a 100644 --- a/abstra_statics/dist/assets/Project.673be945.js +++ b/abstra_statics/dist/assets/Project.08cbf5d1.js @@ -1,2 +1,2 @@ -import{N as w}from"./Navbar.2cc2e0ee.js";import{B as b}from"./BaseLayout.0d928ff1.js";import{a as k}from"./asyncComputed.62fe9f61.js";import{d as L,B as n,f as i,o as l,X as o,Z as H,R as $,e8 as y,a as t,ea as _,eo as S,r as z,c as M,w as v,b as V,eg as B,u as f,bS as x,aF as N,$ as P}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{O as j}from"./organization.6c6a96b2.js";import{P as I}from"./project.8378b21f.js";import"./tables.723282b3.js";import{_ as E,S as F}from"./Sidebar.1d1ece90.js";import{C as G}from"./ContentLayout.e4128d5d.js";import{G as D}from"./PhArrowCounterClockwise.vue.7aa73d25.js";import{I as W,G as q}from"./PhIdentificationBadge.vue.f2200d74.js";import{H as O}from"./PhCube.vue.7761ebad.js";import{I as R}from"./PhGlobe.vue.672acb29.js";import"./PhChats.vue.afcd5876.js";import"./PhSignOut.vue.618d1f5c.js";import"./router.efcfb7fa.js";import"./index.28152a0c.js";import"./Avatar.34816737.js";import"./index.21dc8b6c.js";import"./index.4c73e857.js";import"./BookOutlined.238b8620.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./index.3db2f466.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import"./Logo.6d72a7bf.js";import"./index.89bac5b6.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[r]="9e682ee3-6981-439c-9807-ab9ac4b9a8ad",u._sentryDebugIdIdentifier="sentry-dbid-9e682ee3-6981-439c-9807-ab9ac4b9a8ad")}catch{}})();const T=["width","height","fill","transform"],K={key:0},X=t("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),J=[X],Q={key:1},U=t("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),Y=t("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),a1=[U,Y],l1={key:2},e1=t("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),t1=[e1],o1={key:3},r1=t("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),i1=[r1],s1={key:4},n1=t("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),c1=[n1],u1={key:5},h1=t("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),d1=[h1],m1={name:"PhDatabase"},p1=L({...m1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,h=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:h}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),d=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",K,J)):e.value==="duotone"?(l(),o("g",Q,a1)):e.value==="fill"?(l(),o("g",l1,t1)):e.value==="light"?(l(),o("g",o1,i1)):e.value==="regular"?(l(),o("g",s1,c1)):e.value==="thin"?(l(),o("g",u1,d1)):$("",!0)],16,T))}}),A1=["width","height","fill","transform"],g1={key:0},v1=t("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),L1=[v1],$1={key:1},Z1=t("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),V1=t("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),H1=[Z1,V1],y1={key:2},C1=t("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),M1=[C1],f1={key:3},w1=t("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),b1=[w1],k1={key:4},_1=t("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),S1=[_1],z1={key:5},B1=t("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),x1=[B1],N1={name:"PhFolders"},P1=L({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,h=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:h}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),d=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",g1,L1)):e.value==="duotone"?(l(),o("g",$1,H1)):e.value==="fill"?(l(),o("g",y1,M1)):e.value==="light"?(l(),o("g",f1,b1)):e.value==="regular"?(l(),o("g",k1,S1)):e.value==="thin"?(l(),o("g",z1,x1)):$("",!0)],16,A1))}}),j1=["width","height","fill","transform"],I1={key:0},E1=t("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),F1=[E1],G1={key:1},D1=t("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),W1=t("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),q1=[D1,W1],O1={key:2},R1=t("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),T1=[R1],K1={key:3},X1=t("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),J1=[X1],Q1={key:4},U1=t("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),Y1=[U1],a0={key:5},l0=t("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),e0=[l0],t0={name:"PhGearSix"},o0=L({...t0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,h=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:h}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),d=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",I1,F1)):e.value==="duotone"?(l(),o("g",G1,q1)):e.value==="fill"?(l(),o("g",O1,T1)):e.value==="light"?(l(),o("g",K1,J1)):e.value==="regular"?(l(),o("g",Q1,Y1)):e.value==="thin"?(l(),o("g",a0,e0)):$("",!0)],16,j1))}}),r0=["width","height","fill","transform"],i0={key:0},s0=t("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),n0=[s0],c0={key:1},u0=t("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),h0=t("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),d0=[u0,h0],m0={key:2},p0=t("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),A0=[p0],g0={key:3},v0=t("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),L0=[v0],$0={key:4},Z0=t("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),V0=[Z0],H0={key:5},y0=t("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),C0=[y0],M0={name:"PhKey"},f0=L({...M0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,h=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:h}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),d=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",i0,n0)):e.value==="duotone"?(l(),o("g",c0,d0)):e.value==="fill"?(l(),o("g",m0,A0)):e.value==="light"?(l(),o("g",g0,L0)):e.value==="regular"?(l(),o("g",$0,V0)):e.value==="thin"?(l(),o("g",H0,C0)):$("",!0)],16,r0))}}),w0=["width","height","fill","transform"],b0={key:0},k0=t("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),_0=[k0],S0={key:1},z0=t("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),B0=t("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),x0=[z0,B0],N0={key:2},P0=t("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),j0=[P0],I0={key:3},E0=t("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),F0=[E0],G0={key:4},D0=t("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),W0=[D0],q0={key:5},O0=t("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),R0=[O0],T0={name:"PhPlug"},K0=L({...T0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,h=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:h}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),d=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:d.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",b0,_0)):e.value==="duotone"?(l(),o("g",S0,x0)):e.value==="fill"?(l(),o("g",N0,j0)):e.value==="light"?(l(),o("g",I0,F0)):e.value==="regular"?(l(),o("g",G0,W0)):e.value==="thin"?(l(),o("g",q0,R0)):$("",!0)],16,w0))}}),X0={class:"button"},J0=L({__name:"Project",setup(u){const h=_().params.projectId,{result:s}=k(()=>I.get(h).then(async a=>{const g=await j.get(a.organizationId);return{project:a,organization:g}})),m=S(),p=()=>{m.push({name:"web-editor",params:{projectId:h}})},e=i(()=>{var a,g,C,Z;return((a=s.value)==null?void 0:a.organization)&&s.value.project?[{label:"My organizations",path:"/organizations"},{label:(C=(g=s.value)==null?void 0:g.organization)==null?void 0:C.name,path:`/organizations/${(Z=s.value)==null?void 0:Z.organization.id}`},{label:s.value.project.name,path:`/projects/${s.value.project.id}`}]:void 0}),c=i(()=>{var a;return(a=s.value)==null?void 0:a.organization.billingMetadata}),d=i(()=>{var a;return(a=s.value)==null?void 0:a.organization.id}),A=i(()=>{var a;return(a=s.value)!=null&&a.project?[{name:"Project",items:[{name:"Live",path:"live",icon:R},{name:"Builds",path:"builds",icon:O},{name:"Connectors",path:"connectors",icon:K0,unavailable:!s.value.organization.featureFlags.CONNECTORS_CONSOLE},{name:"Tables",path:"tables",icon:p1},{name:"API Keys",path:"api-keys",icon:f0},{name:"Env Vars",path:"env-vars",icon:W},{name:"Files",path:"files",icon:P1},{name:"Logs",icon:D,path:"logs"},{name:"Settings",icon:o0,path:"settings"},{name:"Access Control",icon:q,path:"access-control"}]}]:[]});return(a,g)=>{const C=z("RouterView");return l(),M(b,null,{content:v(()=>[V(G,null,{default:v(()=>[c.value&&d.value?(l(),M(E,{key:0,"billing-metadata":c.value,"organization-id":d.value},null,8,["billing-metadata","organization-id"])):$("",!0),V(C)]),_:1})]),navbar:v(()=>[V(w,{class:"nav",breadcrumb:e.value},null,8,["breadcrumb"])]),sidebar:v(()=>{var Z;return[V(F,{class:"sidebar",sections:A.value},B({_:2},[(Z=f(s))!=null&&Z.organization.featureFlags.WEB_EDITOR?{name:"bottom",fn:v(()=>[t("div",X0,[V(f(x),{type:"primary",onClick:p},{default:v(()=>[N("Go to Web Editor")]),_:1})])]),key:"0"}:void 0]),1032,["sections"])]}),_:1})}}});const f2=P(J0,[["__scopeId","data-v-630a89db"]]);export{f2 as default}; -//# sourceMappingURL=Project.673be945.js.map +import{N as w}from"./Navbar.b657ea73.js";import{B as b}from"./BaseLayout.53dfe4a0.js";import{a as k}from"./asyncComputed.d2f65d62.js";import{d as L,B as n,f as i,o as l,X as o,Z as H,R as $,e8 as y,a as t,ea as _,eo as S,r as z,c as C,w as v,b as V,eg as B,u as M,bS as x,aF as N,$ as P}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{O as j}from"./organization.f08e73b1.js";import{P as I}from"./project.cdada735.js";import"./tables.fd84686b.js";import{_ as E,S as F}from"./Sidebar.3850812b.js";import{C as G}from"./ContentLayout.cc8de746.js";import{G as D}from"./PhArrowCounterClockwise.vue.b00021df.js";import{I as W,G as q}from"./PhIdentificationBadge.vue.3ad9df43.js";import{H as O}from"./PhCube.vue.ef7f4c31.js";import{I as R}from"./PhGlobe.vue.7f5461d7.js";import"./PhChats.vue.860dd615.js";import"./PhSignOut.vue.33fd1944.js";import"./router.10d9d8b6.js";import"./index.090b2bf1.js";import"./Avatar.0cc5fd49.js";import"./index.70aedabb.js";import"./index.5dabdfbc.js";import"./BookOutlined.1dc76168.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./index.b7b1d42b.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import"./Logo.3e4c9003.js";import"./index.313ae0a2.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[r]="d766d88d-5f76-4c54-97c8-4c49fb1184aa",u._sentryDebugIdIdentifier="sentry-dbid-d766d88d-5f76-4c54-97c8-4c49fb1184aa")}catch{}})();const T=["width","height","fill","transform"],K={key:0},X=t("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),J=[X],Q={key:1},U=t("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),Y=t("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),a1=[U,Y],l1={key:2},e1=t("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),t1=[e1],o1={key:3},r1=t("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),i1=[r1],s1={key:4},n1=t("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),c1=[n1],u1={key:5},d1=t("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),h1=[d1],m1={name:"PhDatabase"},p1=L({...m1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,d=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:d}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),h=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:h.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",K,J)):e.value==="duotone"?(l(),o("g",Q,a1)):e.value==="fill"?(l(),o("g",l1,t1)):e.value==="light"?(l(),o("g",o1,i1)):e.value==="regular"?(l(),o("g",s1,c1)):e.value==="thin"?(l(),o("g",u1,h1)):$("",!0)],16,T))}}),A1=["width","height","fill","transform"],g1={key:0},v1=t("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),L1=[v1],$1={key:1},Z1=t("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),V1=t("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),H1=[Z1,V1],y1={key:2},f1=t("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),C1=[f1],M1={key:3},w1=t("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),b1=[w1],k1={key:4},_1=t("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),S1=[_1],z1={key:5},B1=t("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),x1=[B1],N1={name:"PhFolders"},P1=L({...N1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,d=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:d}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),h=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:h.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",g1,L1)):e.value==="duotone"?(l(),o("g",$1,H1)):e.value==="fill"?(l(),o("g",y1,C1)):e.value==="light"?(l(),o("g",M1,b1)):e.value==="regular"?(l(),o("g",k1,S1)):e.value==="thin"?(l(),o("g",z1,x1)):$("",!0)],16,A1))}}),j1=["width","height","fill","transform"],I1={key:0},E1=t("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),F1=[E1],G1={key:1},D1=t("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),W1=t("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),q1=[D1,W1],O1={key:2},R1=t("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),T1=[R1],K1={key:3},X1=t("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),J1=[X1],Q1={key:4},U1=t("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),Y1=[U1],a0={key:5},l0=t("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),e0=[l0],t0={name:"PhGearSix"},o0=L({...t0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,d=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:d}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),h=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:h.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",I1,F1)):e.value==="duotone"?(l(),o("g",G1,q1)):e.value==="fill"?(l(),o("g",O1,T1)):e.value==="light"?(l(),o("g",K1,J1)):e.value==="regular"?(l(),o("g",Q1,Y1)):e.value==="thin"?(l(),o("g",a0,e0)):$("",!0)],16,j1))}}),r0=["width","height","fill","transform"],i0={key:0},s0=t("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),n0=[s0],c0={key:1},u0=t("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),d0=t("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),h0=[u0,d0],m0={key:2},p0=t("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),A0=[p0],g0={key:3},v0=t("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),L0=[v0],$0={key:4},Z0=t("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),V0=[Z0],H0={key:5},y0=t("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),f0=[y0],C0={name:"PhKey"},M0=L({...C0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,d=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:d}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),h=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:h.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",i0,n0)):e.value==="duotone"?(l(),o("g",c0,h0)):e.value==="fill"?(l(),o("g",m0,A0)):e.value==="light"?(l(),o("g",g0,L0)):e.value==="regular"?(l(),o("g",$0,V0)):e.value==="thin"?(l(),o("g",H0,f0)):$("",!0)],16,r0))}}),w0=["width","height","fill","transform"],b0={key:0},k0=t("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),_0=[k0],S0={key:1},z0=t("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),B0=t("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),x0=[z0,B0],N0={key:2},P0=t("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),j0=[P0],I0={key:3},E0=t("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),F0=[E0],G0={key:4},D0=t("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),W0=[D0],q0={key:5},O0=t("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),R0=[O0],T0={name:"PhPlug"},K0=L({...T0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const r=u,d=n("weight","regular"),s=n("size","1em"),m=n("color","currentColor"),p=n("mirrored",!1),e=i(()=>{var a;return(a=r.weight)!=null?a:d}),c=i(()=>{var a;return(a=r.size)!=null?a:s}),h=i(()=>{var a;return(a=r.color)!=null?a:m}),A=i(()=>r.mirrored!==void 0?r.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,g)=>(l(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:c.value,height:c.value,fill:h.value,transform:A.value},a.$attrs),[H(a.$slots,"default"),e.value==="bold"?(l(),o("g",b0,_0)):e.value==="duotone"?(l(),o("g",S0,x0)):e.value==="fill"?(l(),o("g",N0,j0)):e.value==="light"?(l(),o("g",I0,F0)):e.value==="regular"?(l(),o("g",G0,W0)):e.value==="thin"?(l(),o("g",q0,R0)):$("",!0)],16,w0))}}),X0={class:"button"},J0=L({__name:"Project",setup(u){const d=_().params.projectId,{result:s}=k(()=>I.get(d).then(async a=>{const g=await j.get(a.organizationId);return{project:a,organization:g}})),m=S(),p=()=>{m.push({name:"web-editor",params:{projectId:d}})},e=i(()=>{var a,g,f,Z;return((a=s.value)==null?void 0:a.organization)&&s.value.project?[{label:"My organizations",path:"/organizations"},{label:(f=(g=s.value)==null?void 0:g.organization)==null?void 0:f.name,path:`/organizations/${(Z=s.value)==null?void 0:Z.organization.id}`},{label:s.value.project.name,path:`/projects/${s.value.project.id}`}]:void 0}),c=i(()=>{var a;return(a=s.value)==null?void 0:a.organization.billingMetadata}),h=i(()=>{var a;return(a=s.value)==null?void 0:a.organization.id}),A=i(()=>{var a;return(a=s.value)!=null&&a.project?[{name:"Project",items:[{name:"Live",path:"live",icon:R},{name:"Builds",path:"builds",icon:O},{name:"Connectors",path:"connectors",icon:K0,unavailable:!s.value.organization.featureFlags.CONNECTORS_CONSOLE},{name:"Tables",path:"tables",icon:p1},{name:"API Keys",path:"api-keys",icon:M0},{name:"Env Vars",path:"env-vars",icon:W},{name:"Files",path:"files",icon:P1},{name:"Logs",icon:D,path:"logs"},{name:"Settings",icon:o0,path:"settings"},{name:"Access Control",icon:q,path:"access-control"}]}]:[]});return(a,g)=>{const f=z("RouterView");return l(),C(b,null,{content:v(()=>[V(G,null,{default:v(()=>[c.value&&h.value?(l(),C(E,{key:0,"billing-metadata":c.value,"organization-id":h.value},null,8,["billing-metadata","organization-id"])):$("",!0),V(f)]),_:1})]),navbar:v(()=>[V(w,{class:"nav",breadcrumb:e.value},null,8,["breadcrumb"])]),sidebar:v(()=>{var Z;return[V(F,{class:"sidebar",sections:A.value},B({_:2},[(Z=M(s))!=null&&Z.organization.featureFlags.WEB_EDITOR?{name:"bottom",fn:v(()=>[t("div",X0,[V(M(x),{type:"primary",onClick:p},{default:v(()=>[N("Go to Web Editor")]),_:1})])]),key:"0"}:void 0]),1032,["sections"])]}),_:1})}}});const M2=P(J0,[["__scopeId","data-v-630a89db"]]);export{M2 as default}; +//# sourceMappingURL=Project.08cbf5d1.js.map diff --git a/abstra_statics/dist/assets/ProjectLogin.7eb010bf.js b/abstra_statics/dist/assets/ProjectLogin.7eb010bf.js deleted file mode 100644 index c9e2e4e693..0000000000 --- a/abstra_statics/dist/assets/ProjectLogin.7eb010bf.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as f}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{B as y}from"./BaseLayout.0d928ff1.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.7d22a765.js";import{u as x}from"./editor.e28b46d6.js";import{b as B}from"./index.21dc8b6c.js";import"./Logo.6d72a7bf.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./asyncComputed.62fe9f61.js";import"./index.4c73e857.js";import"./Avatar.34816737.js";import"./index.28152a0c.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]="b3a08749-034e-4669-935b-e808b158f633",e._sentryDebugIdIdentifier="sentry-dbid-b3a08749-034e-4669-935b-e808b158f633")}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.7eb010bf.js.map diff --git a/abstra_statics/dist/assets/ProjectLogin.849328a6.js b/abstra_statics/dist/assets/ProjectLogin.849328a6.js new file mode 100644 index 0000000000..843a585d07 --- /dev/null +++ b/abstra_statics/dist/assets/ProjectLogin.849328a6.js @@ -0,0 +1,2 @@ +import{_}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{B as y}from"./BaseLayout.53dfe4a0.js";import{d as p,D as m,K as b,$ as u,aZ as v,a_ as g,o as f,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.d93c72db.js";import{u as x}from"./editor.01ba249d.js";import{b as B}from"./index.70aedabb.js";import"./Logo.3e4c9003.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./asyncComputed.d2f65d62.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.js";import"./index.090b2bf1.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]="fa5f6f64-5261-4512-a263-7fd05fb02de5",e._sentryDebugIdIdentifier="sentry-dbid-fa5f6f64-5261-4512-a263-7fd05fb02de5")}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((f(),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)=>(f(),L(y,null,{navbar:n(()=>[i($(B),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{title:n(()=>[i(_)]),_:1})]),content:n(()=>[r("div",R,[i(K)])]),_:1}))}});const Z=u(j,[["__scopeId","data-v-944edebb"]]);export{Z as default}; +//# sourceMappingURL=ProjectLogin.849328a6.js.map diff --git a/abstra_statics/dist/assets/ProjectSettings.f3191c2a.js b/abstra_statics/dist/assets/ProjectSettings.39a2d12d.js similarity index 82% rename from abstra_statics/dist/assets/ProjectSettings.f3191c2a.js rename to abstra_statics/dist/assets/ProjectSettings.39a2d12d.js index b63481fb54..87b3c6ad53 100644 --- a/abstra_statics/dist/assets/ProjectSettings.f3191c2a.js +++ b/abstra_statics/dist/assets/ProjectSettings.39a2d12d.js @@ -1,2 +1,2 @@ -import{a as D}from"./asyncComputed.62fe9f61.js";import{b as t,ee as T,f4 as x,d as y,e as B,ej as E,f as p,o as j,c as F,w as l,u as n,aF as u,dc as S,da as N,db as c,a as v,e9 as g,cy as V,dg as R,bK as U,aV as H,cx as $,ea as q,X as M,R as X}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{P as C}from"./project.8378b21f.js";import"./tables.723282b3.js";import{S as z}from"./SaveButton.91be38d7.js";import{a as h}from"./router.efcfb7fa.js";import{A as G}from"./index.28152a0c.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.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]="bc74929a-f59c-4579-b55f-08b0064021eb",r._sentryDebugIdIdentifier="sentry-dbid-bc74929a-f59c-4579-b55f-08b0064021eb")}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 m=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)=>(j(),F(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(R),{gap:"middle"},{default:l(()=>[t(n(U),{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(H),{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:m.value,onError:P},null,8,["model","disabled"])]),_:1})]),_:1}))}}),W={key:0,class:"project-settings"},de=y({__name:"ProjectSettings",setup(r){const e=q().params.projectId,{result:a}=D(()=>C.get(e)),i=d=>{a.value.subdomain=d};return(d,m)=>n(a)?(j(),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.f3191c2a.js.map +import{a as D}from"./asyncComputed.d2f65d62.js";import{b as t,ee as T,f4 as x,d as y,e as B,ej as E,f as p,o as j,c as F,w as l,u as n,aF as u,dc as S,da as N,db as c,a as v,e9 as g,cy as V,dg as R,bK as U,aV as H,cx as $,ea as q,X as M,R as X}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{P as C}from"./project.cdada735.js";import"./tables.fd84686b.js";import{S as z}from"./SaveButton.3f760a03.js";import{a as h}from"./router.10d9d8b6.js";import{A as G}from"./index.090b2bf1.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.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]="89a61913-ab5b-4692-b4ef-d0c72e1def9e",r._sentryDebugIdIdentifier="sentry-dbid-89a61913-ab5b-4692-b4ef-d0c72e1def9e")}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 m=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)=>(j(),F(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(R),{gap:"middle"},{default:l(()=>[t(n(U),{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(H),{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:m.value,onError:P},null,8,["model","disabled"])]),_:1})]),_:1}))}}),W={key:0,class:"project-settings"},de=y({__name:"ProjectSettings",setup(r){const e=q().params.projectId,{result:a}=D(()=>C.get(e)),i=d=>{a.value.subdomain=d};return(d,m)=>n(a)?(j(),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.39a2d12d.js.map diff --git a/abstra_statics/dist/assets/Projects.793fce4e.js b/abstra_statics/dist/assets/Projects.bff9e15c.js similarity index 69% rename from abstra_statics/dist/assets/Projects.793fce4e.js rename to abstra_statics/dist/assets/Projects.bff9e15c.js index d262dbea6c..f0f9cff3bd 100644 --- a/abstra_statics/dist/assets/Projects.793fce4e.js +++ b/abstra_statics/dist/assets/Projects.bff9e15c.js @@ -1,2 +1,2 @@ -import{d as h,ea as z,eo as D,e as x,f as F,o as d,X as E,u as r,c as w,R as b,b as p,w as f,aR as O,cy as $,bK as A,cx as B,cK as G,ep as M,cL as S}from"./vue-router.7d22a765.js";import{a as T}from"./asyncComputed.62fe9f61.js";import{a as U}from"./ant-design.c6784518.js";import"./gateway.6da513da.js";import{O as V}from"./organization.6c6a96b2.js";import{P as g}from"./project.8378b21f.js";import"./tables.723282b3.js";import{C as K}from"./CrudView.cd385ca1.js";import{F as L}from"./PhArrowSquareOut.vue.a1699b2d.js";import{I as J}from"./PhCopy.vue.834d7537.js";import{G as X}from"./PhPencil.vue.6a1ca884.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.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]="796ef9a6-20db-43ec-a248-def5371f3f9f",l._sentryDebugIdIdentifier="sentry-dbid-796ef9a6-20db-43ec-a248-def5371f3f9f")}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=x({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 _=F(()=>{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:L,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:J,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(K,{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.793fce4e.js.map +import{d as h,ea as z,eo as D,e as x,f as F,o as d,X as E,u as r,c as w,R as b,b as p,w as f,aR as O,cy as $,bK as A,cx as B,cK as G,ep as M,cL as S}from"./vue-router.d93c72db.js";import{a as T}from"./asyncComputed.d2f65d62.js";import{a as U}from"./ant-design.2a356765.js";import"./gateway.0306d327.js";import{O as V}from"./organization.f08e73b1.js";import{P as g}from"./project.cdada735.js";import"./tables.fd84686b.js";import{C as K}from"./CrudView.574d257b.js";import{F as L}from"./PhArrowSquareOut.vue.ba2ca743.js";import{I as J}from"./PhCopy.vue.1dad710f.js";import{G as X}from"./PhPencil.vue.c378280c.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.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]="30d43556-0741-4082-84f7-2fd3a042b712",l._sentryDebugIdIdentifier="sentry-dbid-30d43556-0741-4082-84f7-2fd3a042b712")}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=x({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 _=F(()=>{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:L,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:J,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(K,{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.bff9e15c.js.map diff --git a/abstra_statics/dist/assets/RequirementsEditor.df60443f.js b/abstra_statics/dist/assets/RequirementsEditor.615b0ca0.js similarity index 94% rename from abstra_statics/dist/assets/RequirementsEditor.df60443f.js rename to abstra_statics/dist/assets/RequirementsEditor.615b0ca0.js index b8aa0c7575..9854f278b7 100644 --- a/abstra_statics/dist/assets/RequirementsEditor.df60443f.js +++ b/abstra_statics/dist/assets/RequirementsEditor.615b0ca0.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.e4128d5d.js";import{C as re}from"./CrudView.cd385ca1.js";import{a as oe}from"./asyncComputed.62fe9f61.js";import{d as X,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,dg as k,eR as H,db as x,aF as m,e9 as z,bS as I,dc as pe,da as ge,aR as O,eb as D,bx as U,ez as W,eA as G,cK as ye,ep as J}from"./vue-router.7d22a765.js";import{u as fe}from"./polling.f65e8dae.js";import"./editor.e28b46d6.js";import{E as he}from"./record.c63163fa.js";import{W as be}from"./workspaces.7db2ec4c.js";import"./router.efcfb7fa.js";import"./gateway.6da513da.js";import"./popupNotifcation.f48fd864.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./workspaceStore.1847e3fb.js";import"./colorHelpers.e5ec8c13.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]="2a3cefd0-49e6-4801-90e3-bd16ff39ac36",n._sentryDebugIdIdentifier="sentry-dbid-2a3cefd0-49e6-4801-90e3-bd16ff39ac36")}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},je=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),Pe=[je],Fe={name:"PhTerminal"},$e=X({...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,Pe)):R("",!0)],16,_e))}}),K="__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===K)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===K)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=X({__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:j=>{var P;return ee(y.name,(P=y.version)!=null?P: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,j)=>(l(),f("pre",{key:j,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.df60443f.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.cc8de746.js";import{C as re}from"./CrudView.574d257b.js";import{a as oe}from"./asyncComputed.d2f65d62.js";import{d as X,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,dg as k,eR as H,db as x,aF as m,e9 as z,bS as I,dc as pe,da as ge,aR as O,eb as D,bx as U,ez as W,eA as G,cK as ye,ep as J}from"./vue-router.d93c72db.js";import{u as fe}from"./polling.be8756ca.js";import"./editor.01ba249d.js";import{E as he}from"./record.a553a696.js";import{W as be}from"./workspaces.054b755b.js";import"./router.10d9d8b6.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./workspaceStore.f24e9a7b.js";import"./colorHelpers.24f5763b.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]="cce6996a-b621-4930-ae23-1cfa188b14c1",n._sentryDebugIdIdentifier="sentry-dbid-cce6996a-b621-4930-ae23-1cfa188b14c1")}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},je=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),Pe=[je],Fe={name:"PhTerminal"},$e=X({...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,Pe)):R("",!0)],16,_e))}}),K="__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===K)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===K)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=X({__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:j=>{var P;return ee(y.name,(P=y.version)!=null?P: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,j)=>(l(),f("pre",{key:j,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.615b0ca0.js.map diff --git a/abstra_statics/dist/assets/ResourcesTracker.524e4a41.js b/abstra_statics/dist/assets/ResourcesTracker.806adb25.js similarity index 79% rename from abstra_statics/dist/assets/ResourcesTracker.524e4a41.js rename to abstra_statics/dist/assets/ResourcesTracker.806adb25.js index 446400c4a8..4a5d9a6fbc 100644 --- a/abstra_statics/dist/assets/ResourcesTracker.524e4a41.js +++ b/abstra_statics/dist/assets/ResourcesTracker.806adb25.js @@ -1,6 +1,6 @@ -import{B as u}from"./BaseLayout.0d928ff1.js";import{a as f}from"./asyncComputed.62fe9f61.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.7d22a765.js";import{u as E}from"./polling.f65e8dae.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]="d6e1028f-19b9-47f5-b388-0c5279f6909e",t._sentryDebugIdIdentifier="sentry-dbid-d6e1028f-19b9-47f5-b388-0c5279f6909e")}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.53dfe4a0.js";import{a as f}from"./asyncComputed.d2f65d62.js";import{_ as p,o as d,X as m,a as g,e8 as y,d as _,W as v,ag as C,c as l,w as b,u as i,R as w}from"./vue-router.d93c72db.js";import{u as E}from"./polling.be8756ca.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]="f684d2db-648e-48b1-a333-ff50a6471b5c",t._sentryDebugIdIdentifier="sentry-dbid-f684d2db-648e-48b1-a333-ff50a6471b5c")}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 d(),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.524e4a41.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 v(()=>n()),C(()=>s()),(r,o)=>(d(),l(u,null,{content:b(()=>[i(e)?(d(),l(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.806adb25.js.map diff --git a/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js b/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js similarity index 58% rename from abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js rename to abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js index 07bdd4274e..111e7cbb51 100644 --- a/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js +++ b/abstra_statics/dist/assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js @@ -1,2 +1,2 @@ -import{b as d,ee as b,d as p,o as y,c as g,w as r,u as i,d8 as c,aF as o,e9 as f,dg as m,p as v,bS as _,cN as P}from"./vue-router.7d22a765.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]="3b2f16ad-2bde-4eeb-8ab2-1ab4f5a4986e",a._sentryDebugIdIdentifier="sentry-dbid-3b2f16ad-2bde-4eeb-8ab2-1ab4f5a4986e")}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(P),{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(_),{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{S as _}; -//# sourceMappingURL=RunButton.vue_vue_type_script_setup_true_lang.427787ea.js.map +import{b as o,ee as b,d as p,o as y,c as g,w as r,u as i,d8 as c,aF as s,e9 as f,dg as m,p as v,bS as _,cN as P}from"./vue-router.d93c72db.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]="f2b40c53-b7b4-4b17-8b1e-020bc53d58aa",a._sentryDebugIdIdentifier="sentry-dbid-f2b40c53-b7b4-4b17-8b1e-020bc53d58aa")}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(P),{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(_),{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{S as _}; +//# sourceMappingURL=RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js.map diff --git a/abstra_statics/dist/assets/SaveButton.91be38d7.js b/abstra_statics/dist/assets/SaveButton.3f760a03.js similarity index 57% rename from abstra_statics/dist/assets/SaveButton.91be38d7.js rename to abstra_statics/dist/assets/SaveButton.3f760a03.js index ba5ad843b1..28a72f1ab8 100644 --- a/abstra_statics/dist/assets/SaveButton.91be38d7.js +++ b/abstra_statics/dist/assets/SaveButton.3f760a03.js @@ -1,2 +1,2 @@ -import{d as w,L as S,N as C,e as b,o as k,X as B,b as n,w as s,a as D,u as o,d8 as E,aF as r,d9 as I,bS as L,Z as c,cN as N,cL as $,$ as A}from"./vue-router.7d22a765.js";import{G as V,U as P}from"./UnsavedChangesHandler.76f4b4a0.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]="cb6f3460-1e35-43ef-a39d-394fee0766fd",a._sentryDebugIdIdentifier="sentry-dbid-cb6f3460-1e35-43ef-a39d-394fee0766fd")}catch{}})();const U={class:"popup-container"},z={style:{padding:"0px 4px"}},K=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 S(C.boolean(),"dontShowUnsavedChanges"),f=b((h=p.get())!=null?h:!1),_=()=>{p.set(!0),f.value=!0},i=b(!1);async function v(){i.value=!0;try{await l.model.save(),d("save")}catch{$.error({message:"Error saving"})}finally{i.value=!1}}return addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey)&&e.key==="s"&&(e.preventDefault(),v())}),addEventListener("beforeunload",e=>{l.model.hasChanges()&&(e.preventDefault(),e.returnValue="")}),(e,t)=>{var g;return k(),B("div",U,[n(o(N),{placement:"left",open:e.model.hasChanges()&&!f.value&&!e.neverShowPopover,"get-popup-container":m},{content:s(()=>[D("div",z,[n(o(E),null,{default:s(()=>[r("You have unsaved changes")]),_:1}),n(o(I),{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=>v())},{icon:s(()=>[c(e.$slots,"icon",{},()=>[n(o(V),{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(P,{"has-changes":(g=e.model)==null?void 0:g.hasChanges()},null,8,["has-changes"])])}}});const G=A(K,[["__scopeId","data-v-b886e845"]]);export{G as S}; -//# sourceMappingURL=SaveButton.91be38d7.js.map +import{d as w,L as S,N as C,e as y,o as k,X as B,b as n,w as s,a as D,u as o,d8 as E,aF as r,d9 as I,bS as L,Z as c,cN as N,cL as $,$ as A}from"./vue-router.d93c72db.js";import{G as V,U as P}from"./UnsavedChangesHandler.9048a281.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]="0533ab0c-da5d-4bca-9b16-74d88e223bea",a._sentryDebugIdIdentifier="sentry-dbid-0533ab0c-da5d-4bca-9b16-74d88e223bea")}catch{}})();const U={class:"popup-container"},z={style:{padding:"0px 4px"}},K=w({__name:"SaveButton",props:{model:{},neverShowPopover:{type:Boolean},disabled:{type:Boolean}},emits:["save"],setup(a,{emit:d}){var f;const l=a,m=e=>{var t;return(t=e.parentElement)!=null?t:document.body},p=new S(C.boolean(),"dontShowUnsavedChanges"),v=y((f=p.get())!=null?f:!1),_=()=>{p.set(!0),v.value=!0},i=y(!1);async function h(){i.value=!0;try{await l.model.save(),d("save")}catch{$.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",U,[n(o(N),{placement:"left",open:e.model.hasChanges()&&!v.value&&!e.neverShowPopover,"get-popup-container":m},{content:s(()=>[D("div",z,[n(o(E),null,{default:s(()=>[r("You have unsaved changes")]),_:1}),n(o(I),{onClick:_},{default:s(()=>[r("Don't show this again")]),_:1})])]),default:s(()=>{var b;return[n(o(L),{class:"save-button",loading:i.value,disabled:!((b=e.model)!=null&&b.hasChanges())||e.disabled,onClick:t[0]||(t[0]=u=>h())},{icon:s(()=>[c(e.$slots,"icon",{},()=>[n(o(V),{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(P,{"has-changes":(g=e.model)==null?void 0:g.hasChanges()},null,8,["has-changes"])])}}});const G=A(K,[["__scopeId","data-v-b886e845"]]);export{G as S}; +//# sourceMappingURL=SaveButton.3f760a03.js.map diff --git a/abstra_statics/dist/assets/ScriptEditor.4db74e70.js b/abstra_statics/dist/assets/ScriptEditor.c896a25f.js similarity index 55% rename from abstra_statics/dist/assets/ScriptEditor.4db74e70.js rename to abstra_statics/dist/assets/ScriptEditor.c896a25f.js index 59a62e4c0e..d77a527704 100644 --- a/abstra_statics/dist/assets/ScriptEditor.4db74e70.js +++ b/abstra_statics/dist/assets/ScriptEditor.c896a25f.js @@ -1,2 +1,2 @@ -import{B as W}from"./BaseLayout.0d928ff1.js";import{R as F,S as U,E as D,a as L,L as P}from"./SourceCode.355e8a29.js";import{S as $}from"./SaveButton.91be38d7.js";import{a as K}from"./asyncComputed.62fe9f61.js";import{d as w,e as f,o as c,c as m,w as a,b as t,u as e,bK as V,cy as J,cx as M,X as O,eo as q,ea as H,f as X,eg as j,y as z,R as y,dg as h,db as I,aF as R,e9 as G,cW as Q}from"./vue-router.7d22a765.js";import"./editor.e28b46d6.js";import{S as Y}from"./scripts.b9182f88.js";import{W as Z}from"./workspaces.7db2ec4c.js";import{_ as ee}from"./RunButton.vue_vue_type_script_setup_true_lang.427787ea.js";import{T as te}from"./ThreadSelector.e5f2e543.js";import{N as ae}from"./NavbarControls.dc4d4339.js";import{b as oe}from"./index.21dc8b6c.js";import{A as k,T}from"./TabPane.4206d5f7.js";import{A as re,C as se}from"./CollapsePanel.e3bd0766.js";import{B as ie}from"./Badge.c37c51db.js";import"./uuid.65957d70.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./PhCopy.vue.834d7537.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhCopySimple.vue.b36c12a9.js";import"./PhCaretRight.vue.053320ac.js";import"./PhBug.vue.fd83bab4.js";import"./PhQuestion.vue.52f4cce8.js";import"./LoadingOutlined.0a0dc718.js";import"./polling.f65e8dae.js";import"./PhPencil.vue.6a1ca884.js";import"./toggleHighContrast.5f5c4f15.js";import"./index.3db2f466.js";import"./Card.ea12dbe7.js";import"./UnsavedChangesHandler.76f4b4a0.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./record.c63163fa.js";import"./index.185e14fb.js";import"./index.89bac5b6.js";import"./CloseCircleOutlined.8dad9616.js";import"./index.28152a0c.js";import"./popupNotifcation.f48fd864.js";import"./PhArrowSquareOut.vue.a1699b2d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhChats.vue.afcd5876.js";import"./index.4c73e857.js";import"./Avatar.34816737.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]="3b4b1d30-cc9e-4f45-9f07-b11cd1fb445e",u._sentryDebugIdIdentifier="sentry-dbid-3b4b1d30-cc9e-4f45-9f07-b11cd1fb445e")}catch{}})();const ne=w({__name:"ScriptSettings",props:{script:{}},setup(u){const n=f(u.script);return(g,v)=>(c(),m(e(M),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:a(()=>[t(e(J),{label:"Name",required:""},{default:a(()=>[t(e(V),{value:n.value.title,"onUpdate:value":v[0]||(v[0]=i=>n.value.title=i)},null,8,["value"])]),_:1}),t(F,{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(),O("div",le,[t(ee,{loading:g.value,disabled:i.disabledWarning,onClick:v,onSave:b[0]||(b[0]=x=>i.script.save())},null,8,["loading","disabled"])]))}}),ot=w({__name:"ScriptEditor",setup(u){const p=q(),n=H();function g(){p.push({name:"stages"})}const v=f(null),i=f("source-code"),b=f("preview");function x(){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}=K(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(),_=f(null),S=l=>{var r;return l!==i.value&&((r=o.value)==null?void 0:r.script.hasChanges())};return(l,r)=>(c(),m(W,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:x},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=_.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(U,{ref_key:"smartConsole",ref:_,"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.4db74e70.js.map +import{B as W}from"./BaseLayout.53dfe4a0.js";import{R as F,S as U,E as D,a as L,L as P}from"./SourceCode.1d8a49cc.js";import{S as $}from"./SaveButton.3f760a03.js";import{a as K}from"./asyncComputed.d2f65d62.js";import{d as w,e as f,o as p,c as m,w as a,b as t,u as e,bK as V,cy as J,cx as M,X as O,eo as q,ea as H,f as X,eg as j,y as z,R as y,dg as h,db as I,aF as R,e9 as G,cW as Q}from"./vue-router.d93c72db.js";import"./editor.01ba249d.js";import{S as Y}from"./scripts.1b2e66c0.js";import{W as Z}from"./workspaces.054b755b.js";import{_ as ee}from"./RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js";import{T as te}from"./ThreadSelector.8f315e17.js";import{N as ae}from"./NavbarControls.9c6236d6.js";import{b as oe}from"./index.70aedabb.js";import{A as k,T}from"./TabPane.820835b5.js";import{A as re,C as se}from"./CollapsePanel.79713856.js";import{B as ie}from"./Badge.819cb645.js";import"./uuid.848d284c.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./PhCopy.vue.1dad710f.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhCopySimple.vue.393b6f24.js";import"./PhCaretRight.vue.246b48ee.js";import"./PhBug.vue.2cdd0af8.js";import"./PhQuestion.vue.1e79437f.js";import"./LoadingOutlined.e222117b.js";import"./polling.be8756ca.js";import"./PhPencil.vue.c378280c.js";import"./toggleHighContrast.6c3d17d3.js";import"./index.b7b1d42b.js";import"./Card.6f8ccb1f.js";import"./UnsavedChangesHandler.9048a281.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./record.a553a696.js";import"./index.1b012bfe.js";import"./index.313ae0a2.js";import"./CloseCircleOutlined.f1ce344f.js";import"./index.090b2bf1.js";import"./popupNotifcation.fcd4681e.js";import"./PhArrowSquareOut.vue.ba2ca743.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhChats.vue.860dd615.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[c]="11f7871f-b3f2-453e-8b0a-adbd7bb8abaf",u._sentryDebugIdIdentifier="sentry-dbid-11f7871f-b3f2-453e-8b0a-adbd7bb8abaf")}catch{}})();const ne=w({__name:"ScriptSettings",props:{script:{}},setup(u){const n=f(u.script);return(g,v)=>(p(),m(e(M),{layout:"vertical",style:{"padding-bottom":"50px"}},{default:a(()=>[t(e(J),{label:"Name",required:""},{default:a(()=>[t(e(V),{value:n.value.title,"onUpdate:value":v[0]||(v[0]=i=>n.value.title=i)},null,8,["value"])]),_:1}),t(F,{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:c}){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,c("update-stage-run-id",null)}};return(i,b)=>(p(),O("div",le,[t(ee,{loading:g.value,disabled:i.disabledWarning,onClick:v,onSave:b[0]||(b[0]=x=>i.script.save())},null,8,["loading","disabled"])]))}}),ot=w({__name:"ScriptEditor",setup(u){const c=q(),n=H();function g(){c.push({name:"stages"})}const v=f(null),i=f("source-code"),b=f("preview");function x(){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}=K(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(),_=f(null),S=l=>{var r;return l!==i.value&&((r=o.value)==null?void 0:r.script.hasChanges())};return(l,r)=>(p(),m(W,null,j({navbar:a(()=>[e(o)?(p(),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)?(p(),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:x},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"?(p(),m(L,{key:0,script:e(o).script,workspace:e(o).workspace},null,8,["script","workspace"])):y("",!0),e(o).script&&i.value==="settings"?(p(),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"?(p(),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=_.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(U,{ref_key:"smartConsole",ref:_,"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.c896a25f.js.map diff --git a/abstra_statics/dist/assets/Sidebar.1d1ece90.js b/abstra_statics/dist/assets/Sidebar.3850812b.js similarity index 81% rename from abstra_statics/dist/assets/Sidebar.1d1ece90.js rename to abstra_statics/dist/assets/Sidebar.3850812b.js index 51a28f514d..d691dc285f 100644 --- a/abstra_statics/dist/assets/Sidebar.1d1ece90.js +++ b/abstra_statics/dist/assets/Sidebar.3850812b.js @@ -1,2 +1,2 @@ -import{C as z,T as N}from"./router.efcfb7fa.js";import{d as x,B as k,f as _,o as a,X as d,Z as w,R as y,e8 as V,a as i,c as f,w as n,b as S,aF as C,e9 as b,u as p,db as P,bS as Z,e as A,Y as R,$ as D,ea as L,r as E,aR as B,eb as $,bw as F,ec as j,ed as I,d4 as T,cI as q,by as G}from"./vue-router.7d22a765.js";import{A as O}from"./index.3db2f466.js";import{_ as W}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{A as H}from"./index.89bac5b6.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]="9f10020e-fd44-4f85-bc9e-a8f2207f022b",l._sentryDebugIdIdentifier="sentry-dbid-9f10020e-fd44-4f85-bc9e-a8f2207f022b")}catch{}})();const U=["width","height","fill","transform"],X={key:0},Y=i("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),J=[Y],K={key:1},Q=i("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),e1=i("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),t1=[Q,e1],s1={key:2},a1=i("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),c1=[a1],o1={key:3},n1=i("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),l1=[n1],r1={key:4},i1=i("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),u1=[i1],d1={key:5},p1=i("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),f1=[p1],m1={name:"PhSealWarning"},g1=x({...m1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,u=k("weight","regular"),v=k("size","1em"),o=k("color","currentColor"),m=k("mirrored",!1),c=_(()=>{var e;return(e=s.weight)!=null?e:u}),t=_(()=>{var e;return(e=s.size)!=null?e:v}),g=_(()=>{var e;return(e=s.color)!=null?e:o}),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),[w(e.$slots,"default"),c.value==="bold"?(a(),d("g",X,J)):c.value==="duotone"?(a(),d("g",K,t1)):c.value==="fill"?(a(),d("g",s1,c1)):c.value==="light"?(a(),d("g",o1,l1)):c.value==="regular"?(a(),d("g",r1,u1)):c.value==="thin"?(a(),d("g",d1,f1)):y("",!0)],16,U))}}),B1=x({__name:"BillingAlert",props:{organizationId:{},billingMetadata:{}},setup(l){const s=l,u=_(()=>{var o,m;return(m=(o=s.billingMetadata)==null?void 0:o.messageCTA)!=null?m:"Contact Us"}),v=()=>{z.showNewMessage("Help me with my plan"),N.billingAlertCtaClicked(s.organizationId,u.value)};return(o,m)=>{var c;return(c=o.billingMetadata)!=null&&c.message?(a(),f(p(O),{key:0,type:"error"},{message:n(()=>[S(p(P),{type:"secondary"},{default:n(()=>{var t;return[C(b((t=o.billingMetadata)==null?void 0:t.message),1)]}),_:1})]),action:n(()=>{var t;return[(t=o.billingMetadata)!=null&&t.messageLink?(a(),f(p(Z),{key:0,type:"primary",target:"_blank",href:o.billingMetadata.messageLink},{default:n(()=>[C(b(u.value),1)]),_:1},8,["href"])):(a(),f(p(Z),{key:1,type:"primary",onClick:v},{default:n(()=>[C(b(u.value),1)]),_:1}))]}),_:1})):y("",!0)}}}),_1={class:"text"},v1=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,u=A(Date.now()),v=()=>{u.value=Date.now()},o=A(null),m=()=>{var e,h,M;const t=(e=o.value)==null?void 0:e.getBoundingClientRect();if(!t)return{};const{x:g,y:r}=t;return u.value,{position:"fixed",top:`${r+((h=s.top)!=null?h:0)}px`,left:`${g+((M=s.left)!=null?M:0)}px`}},c=_(()=>{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:o,class:"tooltip-box",onMouseenter:v},[w(t.$slots,"default",{},void 0,!0),i("div",{class:"tooltip",style:R(c.value)},[i("span",_1,b(l.text),1)],4)],544))}});const y1=D(v1,[["__scopeId","data-v-c3a6ca5e"]]),C1={class:"container"},b1={class:"upper"},h1={style:{"margin-right":"5px"}},S1={class:"lower"},k1=x({__name:"Sidebar",props:{sections:{}},setup(l){const s=l,u=L();function v(){var t,g;return[(g=(t=s.sections.map(r=>r.items).flat().find(r=>{const e=u.path.split("/"),h=e[e.length-1];return r.path===h}))==null?void 0:t.name)!=null?g:"forms"]}const o=_(v),m=_(()=>s.sections.map(c=>({...c,items:c.items.filter(t=>!t.unavailable)})));return(c,t)=>{const g=E("RouterLink");return a(),d("div",C1,[i("div",b1,[S(p(G),{style:{"border-right":"1px solid #f6f6f6",height:"100%"},"selected-keys":o.value},{default:n(()=>[S(W,{style:{width:"160px",padding:"5px 15px"}}),(a(!0),d(B,null,$(m.value,r=>(a(),f(p(q),{key:r.name},{title:n(()=>[C(b(r.name),1)]),default:n(()=>[(a(!0),d(B,null,$(r.items,e=>(a(),f(p(F),{key:e.name,role:"button",class:"menu-item",disabled:e.unavailable||r.cloud,tabindex:"0"},{icon:n(()=>[(a(),f(j(e.icon),{class:I({disabled:e.unavailable,active:o.value.includes(e.path)}),size:"20"},null,8,["class"]))]),default:n(()=>[S(g,{to:e.path,class:I({active:o.value.includes(e.path),disabled:e.unavailable})},{default:n(()=>[i("span",h1,b(e.name),1)]),_:2},1032,["to","class"]),e.unavailable?(a(),f(p(T),{key:0},{default:n(()=>[C("SOON")]),_:1})):y("",!0),e.beta?(a(),f(p(T),{key:1},{default:n(()=>[C("BETA")]),_:1})):y("",!0),e.warning?(a(),f(y1,{key:2,text:e.warning,fixed:!0,top:18,left:18},{default:n(()=>[S(p(g1),{color:"#D35249",size:"20"})]),_:2},1032,["text"])):y("",!0)]),_:2},1032,["disabled"]))),128))]),_:2},1024))),128))]),_:1},8,["selected-keys"])]),i("div",S1,[c.$slots.bottom?(a(),f(p(H),{key:0})):y("",!0),w(c.$slots,"bottom",{},void 0,!0)])])}}});const $1=D(k1,[["__scopeId","data-v-9c69b799"]]);export{$1 as S,B1 as _}; -//# sourceMappingURL=Sidebar.1d1ece90.js.map +import{C as z,T as N}from"./router.10d9d8b6.js";import{d as x,B as k,f as _,o as a,X as u,Z as w,R as y,e8 as V,a as i,c as m,w as n,b as S,aF as C,e9 as b,u as p,db as P,bS as Z,e as A,Y as R,$ as D,ea as L,r as E,aR as B,eb as $,bw as F,ec as j,ed as I,d4 as T,cI as q,by as G}from"./vue-router.d93c72db.js";import{A as O}from"./index.b7b1d42b.js";import{_ as W}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{A as H}from"./index.313ae0a2.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]="2cc850b4-a30a-44e2-8f94-a890ddc93223",l._sentryDebugIdIdentifier="sentry-dbid-2cc850b4-a30a-44e2-8f94-a890ddc93223")}catch{}})();const U=["width","height","fill","transform"],X={key:0},Y=i("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),J=[Y],K={key:1},Q=i("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),e1=i("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),t1=[Q,e1],s1={key:2},a1=i("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),c1=[a1],o1={key:3},n1=i("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),l1=[n1],r1={key:4},i1=i("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),d1=[i1],u1={key:5},p1=i("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),m1=[p1],f1={name:"PhSealWarning"},g1=x({...f1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,d=k("weight","regular"),v=k("size","1em"),o=k("color","currentColor"),f=k("mirrored",!1),c=_(()=>{var e;return(e=s.weight)!=null?e:d}),t=_(()=>{var e;return(e=s.size)!=null?e:v}),g=_(()=>{var e;return(e=s.color)!=null?e:o}),r=_(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:f?"scale(-1, 1)":void 0);return(e,h)=>(a(),u("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),[w(e.$slots,"default"),c.value==="bold"?(a(),u("g",X,J)):c.value==="duotone"?(a(),u("g",K,t1)):c.value==="fill"?(a(),u("g",s1,c1)):c.value==="light"?(a(),u("g",o1,l1)):c.value==="regular"?(a(),u("g",r1,d1)):c.value==="thin"?(a(),u("g",u1,m1)):y("",!0)],16,U))}}),B1=x({__name:"BillingAlert",props:{organizationId:{},billingMetadata:{}},setup(l){const s=l,d=_(()=>{var o,f;return(f=(o=s.billingMetadata)==null?void 0:o.messageCTA)!=null?f:"Contact Us"}),v=()=>{z.showNewMessage("Help me with my plan"),N.billingAlertCtaClicked(s.organizationId,d.value)};return(o,f)=>{var c;return(c=o.billingMetadata)!=null&&c.message?(a(),m(p(O),{key:0,type:"error"},{message:n(()=>[S(p(P),{type:"secondary"},{default:n(()=>{var t;return[C(b((t=o.billingMetadata)==null?void 0:t.message),1)]}),_:1})]),action:n(()=>{var t;return[(t=o.billingMetadata)!=null&&t.messageLink?(a(),m(p(Z),{key:0,type:"primary",target:"_blank",href:o.billingMetadata.messageLink},{default:n(()=>[C(b(d.value),1)]),_:1},8,["href"])):(a(),m(p(Z),{key:1,type:"primary",onClick:v},{default:n(()=>[C(b(d.value),1)]),_:1}))]}),_:1})):y("",!0)}}}),_1={class:"text"},v1=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,d=A(Date.now()),v=()=>{d.value=Date.now()},o=A(null),f=()=>{var e,h,M;const t=(e=o.value)==null?void 0:e.getBoundingClientRect();if(!t)return{};const{x:g,y:r}=t;return d.value,{position:"fixed",top:`${r+((h=s.top)!=null?h:0)}px`,left:`${g+((M=s.left)!=null?M:0)}px`}},c=_(()=>{var t;return s.fixed?f():{left:`${(t=s.left)!=null?t:-14}px`,...s.top?{top:`${s.top}px`}:{}}});return(t,g)=>(a(),u("div",{ref_key:"tooltipBox",ref:o,class:"tooltip-box",onMouseenter:v},[w(t.$slots,"default",{},void 0,!0),i("div",{class:"tooltip",style:R(c.value)},[i("span",_1,b(l.text),1)],4)],544))}});const y1=D(v1,[["__scopeId","data-v-c3a6ca5e"]]),C1={class:"container"},b1={class:"upper"},h1={style:{"margin-right":"5px"}},S1={class:"lower"},k1=x({__name:"Sidebar",props:{sections:{}},setup(l){const s=l,d=L();function v(){var t,g;return[(g=(t=s.sections.map(r=>r.items).flat().find(r=>{const e=d.path.split("/"),h=e[e.length-1];return r.path===h}))==null?void 0:t.name)!=null?g:"forms"]}const o=_(v),f=_(()=>s.sections.map(c=>({...c,items:c.items.filter(t=>!t.unavailable)})));return(c,t)=>{const g=E("RouterLink");return a(),u("div",C1,[i("div",b1,[S(p(G),{style:{"border-right":"1px solid #f6f6f6",height:"100%"},"selected-keys":o.value},{default:n(()=>[S(W,{style:{width:"160px",padding:"5px 15px"}}),(a(!0),u(B,null,$(f.value,r=>(a(),m(p(q),{key:r.name},{title:n(()=>[C(b(r.name),1)]),default:n(()=>[(a(!0),u(B,null,$(r.items,e=>(a(),m(p(F),{key:e.name,role:"button",class:"menu-item",disabled:e.unavailable||r.cloud,tabindex:"0"},{icon:n(()=>[(a(),m(j(e.icon),{class:I({disabled:e.unavailable,active:o.value.includes(e.path)}),size:"20"},null,8,["class"]))]),default:n(()=>[S(g,{to:e.path,class:I({active:o.value.includes(e.path),disabled:e.unavailable})},{default:n(()=>[i("span",h1,b(e.name),1)]),_:2},1032,["to","class"]),e.unavailable?(a(),m(p(T),{key:0},{default:n(()=>[C("SOON")]),_:1})):y("",!0),e.beta?(a(),m(p(T),{key:1},{default:n(()=>[C("BETA")]),_:1})):y("",!0),e.warning?(a(),m(y1,{key:2,text:e.warning,fixed:!0,top:18,left:18},{default:n(()=>[S(p(g1),{color:"#D35249",size:"20"})]),_:2},1032,["text"])):y("",!0)]),_:2},1032,["disabled"]))),128))]),_:2},1024))),128))]),_:1},8,["selected-keys"])]),i("div",S1,[c.$slots.bottom?(a(),m(p(H),{key:0})):y("",!0),w(c.$slots,"bottom",{},void 0,!0)])])}}});const $1=D(k1,[["__scopeId","data-v-9c69b799"]]);export{$1 as S,B1 as _}; +//# sourceMappingURL=Sidebar.3850812b.js.map diff --git a/abstra_statics/dist/assets/SourceCode.355e8a29.js b/abstra_statics/dist/assets/SourceCode.1d8a49cc.js similarity index 80% rename from abstra_statics/dist/assets/SourceCode.355e8a29.js rename to abstra_statics/dist/assets/SourceCode.1d8a49cc.js index 79d1167f7a..dcb1f17809 100644 --- a/abstra_statics/dist/assets/SourceCode.355e8a29.js +++ b/abstra_statics/dist/assets/SourceCode.1d8a49cc.js @@ -1,10 +1,10 @@ -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 P,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,bK as $e,b as m,cy as we,e9 as J,aR as ce,e as L,aV as z,eT as Le,dl as Ve,dg as T,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 Te,Y as Pe,da as Be,em as Ne,en as De,Q as ae,bS as ee}from"./vue-router.7d22a765.js";import{u as ue}from"./uuid.65957d70.js";import{H as Fe,J as Re,S as We,A as te}from"./scripts.b9182f88.js";import{u as Oe}from"./editor.e28b46d6.js";import{d as je,e as Ue,v as Ge}from"./validations.de16515c.js";import{I as Je}from"./PhCopy.vue.834d7537.js";import{H as qe}from"./PhCheckCircle.vue.912aee3f.js";import{I as Ke}from"./PhCopySimple.vue.b36c12a9.js";import{G as me}from"./PhCaretRight.vue.053320ac.js";import{B as Ye}from"./Badge.c37c51db.js";import{G as Qe}from"./PhBug.vue.fd83bab4.js";import{H as Xe}from"./PhQuestion.vue.52f4cce8.js";import{L as e0}from"./LoadingOutlined.0a0dc718.js";import{W as re}from"./workspaces.7db2ec4c.js";import{a as ye}from"./asyncComputed.62fe9f61.js";import{u as t0}from"./polling.f65e8dae.js";import{G as a0}from"./PhPencil.vue.6a1ca884.js";import{l as le,R as Ae,e as Q,M as K}from"./toggleHighContrast.5f5c4f15.js";import{A as l0}from"./index.3db2f466.js";import{C as o0}from"./Card.ea12dbe7.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]="1e2405e1-c7fe-4689-8881-b4c15c70e469",i._sentryDebugIdIdentifier="sentry-dbid-1e2405e1-c7fe-4689-8881-b4c15c70e469")}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),[P(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},T0=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),P0=[T0],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),[P(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,P0)):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),[P(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),Tt=[zt],Pt={name:"PhRepeat"},Bt=b({...Pt,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),[P(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,Tt)):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),[P(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),[P(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),T1=[x1,z1],P1={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),[P(a.$slots,"default"),s.value==="bold"?(o(),n("g",L1,E1)):s.value==="duotone"?(o(),n("g",I1,T1)):s.value==="fill"?(o(),n("g",P1,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),[P(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],Ta={key:5},Pa=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=[Pa],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),[P(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",Ta,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,[P(e.$slots,"left",{},void 0,!0)]),r("section",Wa,[P(e.$slots,"right",{},void 0,!0)])]))}});const Jl=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 ql=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: +var ke=Object.defineProperty;var be=(i,e,t)=>e in i?ke(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var m=(i,e,t)=>(be(i,typeof e!="symbol"?e+"":e,t),t);import{d as Z,B as y,f as v,o,X as n,Z as P,R as w,e8 as W,a as r,$ as j,D as He,c as S,eg as Ze,u as c,w as g,aF as V,bK as $e,b as f,cy as we,e9 as J,aR as ce,e as L,aV as z,eT as Le,dl as Ve,dg as T,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 Te,Y as Pe,da as Be,em as Ne,en as De,Q as ae,bS as ee}from"./vue-router.d93c72db.js";import{u as ue}from"./uuid.848d284c.js";import{H as Fe,J as Re,S as We,A as te}from"./scripts.1b2e66c0.js";import{u as Oe}from"./editor.01ba249d.js";import{d as je,e as Ue,v as Ge}from"./validations.6e89473f.js";import{I as Je}from"./PhCopy.vue.1dad710f.js";import{H as qe}from"./PhCheckCircle.vue.68babecd.js";import{I as Ke}from"./PhCopySimple.vue.393b6f24.js";import{G as fe}from"./PhCaretRight.vue.246b48ee.js";import{B as Ye}from"./Badge.819cb645.js";import{G as Qe}from"./PhBug.vue.2cdd0af8.js";import{H as Xe}from"./PhQuestion.vue.1e79437f.js";import{L as e0}from"./LoadingOutlined.e222117b.js";import{W as re}from"./workspaces.054b755b.js";import{a as ye}from"./asyncComputed.d2f65d62.js";import{u as t0}from"./polling.be8756ca.js";import{G as a0}from"./PhPencil.vue.c378280c.js";import{l as le,R as Ae,e as Q,M as K}from"./toggleHighContrast.6c3d17d3.js";import{A as l0}from"./index.b7b1d42b.js";import{C as o0}from"./Card.6f8ccb1f.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]="b81aeb59-e49b-4342-be9c-8258a8de79c1",i._sentryDebugIdIdentifier="sentry-dbid-b81aeb59-e49b-4342-be9c-8258a8de79c1")}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],m0={key:3},f0=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=[f0],_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=Z({...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),[P(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",m0,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"],b0={key:0},Z0=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=[Z0],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},T0=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),P0=[T0],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=Z({...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),[P(a.$slots,"default"),s.value==="bold"?(o(),n("g",b0,L0)):s.value==="duotone"?(o(),n("g",V0,x0)):s.value==="fill"?(o(),n("g",z0,P0)):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"},mt=Z({...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),[P(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))}}),ft=["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],bt={key:3},Zt=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=[Zt],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),Tt=[zt],Pt={name:"PhRepeat"},Bt=Z({...Pt,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),[P(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",bt,Lt)):s.value==="regular"?(o(),n("g",Vt,It)):s.value==="thin"?(o(),n("g",xt,Tt)):w("",!0)],16,ft))}}),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=Z({...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),[P(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},m1=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),f1=[m1],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"},b1=Z({...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),[P(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,f1)):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))}}),Z1=["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),T1=[x1,z1],P1={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=Z({...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),[P(a.$slots,"default"),s.value==="bold"?(o(),n("g",L1,E1)):s.value==="duotone"?(o(),n("g",I1,T1)):s.value==="fill"?(o(),n("g",P1,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,Z1))}}),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),ma=[va],fa={name:"PhThumbsUp"},ya=Z({...fa,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),[P(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,ma)):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},ba=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),Za=[ba],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],Ta={key:5},Pa=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=[Pa],Na={name:"PhTrendUp"},Da=Z({...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),[P(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,Za)):s.value==="light"?(o(),n("g",La,Ea)):s.value==="regular"?(o(),n("g",Ia,za)):s.value==="thin"?(o(),n("g",Ta,Ba)):w("",!0)],16,_a))}}),Fa={class:"editor-layout"},Ra={class:"layout-left"},Wa={class:"layout-right"},Oa=Z({__name:"EditorLayout",props:{fullWidth:{type:Boolean}},setup(i){return(e,t)=>(o(),n("div",Fa,[r("section",Ra,[P(e.$slots,"left",{},void 0,!0)]),r("section",Wa,[P(e.$slots,"right",{},void 0,!0)])]))}});const J2=j(Oa,[["__scopeId","data-v-74db9fe9"]]);class Me{constructor(){m(this,"logState",He({log:[]}));m(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=Z({__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},Ze({_: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=Z({__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(()=>[f(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){m(this,"ws",null);m(this,"selfClosed",!1);m(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=Z({__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){m(this,"_threadId");m(this,"_input");m(this,"_badgeState");m(this,"_smartConsoleState");m(this,"_logService");m(this,"_stageType");m(this,"_cachedFileContent",null);m(this,"setupThread",async()=>{this._smartConsoleState.value="creating-thread";const{thread:e}=await te.createThread();this._threadId.value=e,this._smartConsoleState.value="idle"});m(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const l=f(Ya,{textToCopy:t.textContent});Le(l,t)})});m(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});m(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. `}],l=this.getLastExecutionError();return l.length&&t.push({role:"user",content:`If necessary to check, I got this error during execution: -${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: +${l}. Otherwise, just IGNORE it.`}),t});m(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});m(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()}});m(this,"cancel",()=>{!this._threadId.value||(te.cancelAllRuns(this._threadId.value),this._smartConsoleState.value="idle")});m(this,"isProcessing",()=>this._smartConsoleState.value==="processing");m(this,"isAnswering",()=>this._smartConsoleState.value==="answering");m(this,"isIdle",()=>this._smartConsoleState.value==="idle");m(this,"isCreatingThread",()=>this._smartConsoleState.value==="creating-thread");m(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});m(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"}});m(this,"setInput",e=>{this._input.value=e||""});m(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)});m(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"},el=b({__name:"SmartConsoleHeader",props:{controller:{},open:{type:Boolean}},emits:["toggle-console"],setup(i,{emit:e}){return(t,l)=>(o(),S(c(T),{class:"header",justify:"space-between"},{default:g(()=>[m(c(T),{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 tl=j(el,[["__scopeId","data-v-63216dee"]]),al=["contenteditable","onKeydown"],ll=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,al),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 ol=j(ll,[["__scopeId","data-v-5a077124"]]),sl=["onClick"],nl={class:"icon"},rl={class:"title"},il=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(T),{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",nl,[(o(),S(Ie(p.icon),{size:24}))]),r("div",rl,J(p.title),1)],10,sl)),64))]),_:1}))}});const ul=j(il,[["__scopeId","data-v-2ca3db5f"]]),cl=i=>(Ne("data-v-6b2cf0ec"),i=i(),De(),i),dl=cl(()=>r("div",{class:"entry ai-output"}," Hello there! I'm both an output console and AI assistant. You can ask me anything. ",-1)),hl={key:0},pl={key:1,class:"local-entry"},gl={key:1,class:"typing-img",src:Ja},vl=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=Te("Markdown");return o(),S(c(T),{vertical:""},{default:g(()=>[m(tl,{controller:c(a),open:s.value,onToggleConsole:se},null,8,["controller","open"]),s.value?(o(),S(c(T),{key:0,class:"terminal",style:Pe(B.value),vertical:""},{default:g(()=>[r("div",{class:"resize-handler",onMousedown:E[0]||(E[0]=I=>H.value=!0)},null,32),m(c(T),{class:"cli"},{default:g(()=>[m(c(T),{class:"left",vertical:""},{default:g(()=>[r("div",{ref_key:"entriesContainer",ref:d,class:"entries"},[dl,(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",hl,[I.type==="ai-output"?(o(),S(q,{key:0,source:I.log},null,8,["source"])):w("",!0),m(c(T),{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",pl,J(I.type==="restart"?"-- restarted --":I.log),1))],2))),128))],512),_.logService.logs.length?w("",!0):(o(),S(ul,{key:0,controller:c(a),workspace:_.workspace,stage:_.stage},null,8,["controller","workspace","stage"])),m(ol,{controller:c(a),workspace:_.workspace,stage:_.stage,onSendMessage:ne},null,8,["controller","workspace","stage"])]),_:1}),m(c(T),{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",gl)):w("",!0)]}),_:1})]),_:1})]),_:1},8,["style"])):w("",!0)]),_:1})}}});const Kl=j(vl,[["__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 fl(i){return i in oe?"\n\n```python\n"+i+" = "+oe[i]+"\n```":""}function ml(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+fl(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:ml(t.severity)})))})},yl=(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:$}},_l=(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 Hl{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 $l={class:"source-code-container"},wl={class:"code-container"},Cl={key:0,class:"not-found-container"},Al=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 Hl(M,l.script);const R=yl(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=_l(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",$l,[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(T),{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(T),{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",wl,[U.value?(o(),n("div",Cl,[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 Yl=j(Al,[["__scopeId","data-v-97d48270"]]);export{Jl as E,n1 as I,Me as L,ql as R,Kl as S,Yl as a}; -//# sourceMappingURL=SourceCode.355e8a29.js.map + 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)});m(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=Z({__name:"SmartConsoleHeader",props:{controller:{},open:{type:Boolean}},emits:["toggle-console"],setup(i,{emit:e}){return(t,l)=>(o(),S(c(T),{class:"header",justify:"space-between"},{default:g(()=>[f(c(T),{align:"center",gap:"middle"},{default:g(()=>[f(c(b1),{size:"20"}),V(" Smart Console ")]),_:1}),f(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(()=>[f(c(fe),{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(fe),{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=Z({__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 b;if(e("sendMessage"),!t.controller)return;if(t.controller.isCreatingThread()){l.value=!0;return}t.controller.setInput((b=u.value)==null?void 0:b.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 b=(k=h.clipboardData)==null?void 0:k.getData("text/plain");document.execCommand("insertText",!1,b)};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,b)=>(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:b[0]||(b[0]=k=>{var B;return(B=h.controller)==null?void 0:B.cancel()})})):w("",!0),f(c(z),{title:"Just a second, we're setting up...",open:l.value,placement:"topRight"},{default:g(()=>[s.value?w("",!0):(o(),S(c(mt),{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=Z({__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(T),{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=Z({__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 b=(_,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=Te("Markdown");return o(),S(c(T),{vertical:""},{default:g(()=>[f(t2,{controller:c(a),open:s.value,onToggleConsole:se},null,8,["controller","open"]),s.value?(o(),S(c(T),{key:0,class:"terminal",style:Pe(B.value),vertical:""},{default:g(()=>[r("div",{class:"resize-handler",onMousedown:E[0]||(E[0]=I=>H.value=!0)},null,32),f(c(T),{class:"cli"},{default:g(()=>[f(c(T),{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),f(c(T),{gap:"6",class:"icons"},{default:g(()=>[f(c(z),{placement:"top",title:"Copy"},{default:g(()=>[f(c(Be),{copyable:{text:I.log}},{copyableIcon:g(()=>[f(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(()=>[f(c(Bt),{size:18,onClick:E[1]||(E[1]=X=>c(a).regenerateLast())})]),_:1})):w("",!0),f(c(z),{placement:"top",title:"Good response"},{default:g(()=>[f(c(ya),{size:18,class:N({filled:h.value[x]==="good",disabled:h.value[x]==="bad"}),onClick:X=>b(x,"good")},null,8,["class","onClick"])]),_:2},1024),f(c(z),{placement:"top",title:"Bad response"},{default:g(()=>[f(c(K1),{size:18,class:N({filled:h.value[x]==="bad",disabled:h.value[x]==="good"}),onClick:X=>b(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"])),f(o2,{controller:c(a),workspace:_.workspace,stage:_.stage,onSendMessage:ne},null,8,["controller","workspace","stage"])]),_:1}),f(c(T),{class:"right",vertical:"",justify:"space-between",align:"center"},{default:g(()=>{var I,x;return[f(c(z),{placement:"left",title:"Start new conversation"},{default:g(()=>[f(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 m2(i){return i in oe?"\n\n```python\n"+i+" = "+oe[i]+"\n```":""}function f2(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+m2(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:f2(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,b)=>{d.set(h.map(k=>({range:new Ae(k.lineno,1,k.lineno,1),options:{isWholeLine:!0,className:b}}))),oe=h.reduce((k,B)=>({...k,...B.locals}),{})},p=(h,b)=>k=>{const B=k.filter(D=>D.filename.endsWith(b));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){m(this,"_script");m(this,"_localEditorCode");m(this,"_monacoEditor");m(this,"_diffEditor");m(this,"_viewMode");m(this,"_alertMessage");m(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=Z({__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:b}=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||!b.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,me;return o(),n("div",$2,[f(c(we),{"validate-status":F.value.valid?"success":"error",help:F.value.valid?F.value.help:F.value.reason,class:"file-input"},{default:g(()=>[f(c($e),{value:k.value,"onUpdate:value":M[0]||(M[0]=G=>k.value=G),autocomplete:"off",onChange:se},{addonBefore:g(()=>[c(b)?(o(),n("span",{key:0,class:"clickable",onClick:ne},[f(c(z),{placement:"bottomLeft","overlay-style":{maxWidth:"none"}},{title:g(()=>[V(J(c(b)),1)]),default:g(()=>[f(c(J0),{size:"22"})]),_:1})])):w("",!0)]),addonAfter:g(()=>[r("span",{class:"clickable",onClick:u},[V(" Open in editor "),f(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(T),{key:0,gap:"small"},{default:g(()=>[f(c(ee),{type:"primary",onClick:d},{default:g(()=>[V("Compare")]),_:1}),f(c(z),null,{title:g(()=>[V("Keep the local editor version")]),default:g(()=>[f(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(T),{key:1,gap:"small"},{default:g(()=>[f(c(z),null,{title:g(()=>[V("Keep your current changes")]),default:g(()=>[f(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}),f(c(z),null,{title:g(()=>[V("Keep the local editor version")]),default:g(()=>[f(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,[f(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:((me=A.value)==null?void 0:me.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.1d8a49cc.js.map diff --git a/abstra_statics/dist/assets/Sql.1102098b.js b/abstra_statics/dist/assets/Sql.c9a3b1aa.js similarity index 58% rename from abstra_statics/dist/assets/Sql.1102098b.js rename to abstra_statics/dist/assets/Sql.c9a3b1aa.js index fbcb99d61b..b042adde5f 100644 --- a/abstra_statics/dist/assets/Sql.1102098b.js +++ b/abstra_statics/dist/assets/Sql.c9a3b1aa.js @@ -1,2 +1,2 @@ -import{b as c,ee as k,d as D,ea as E,L,N as b,e as m,W as N,o as P,X as R,w as g,u,a as B,bS as x,aF as S,dg as h,cX as V,cL as O,$}from"./vue-router.7d22a765.js";import{d as z}from"./utils.6e13a992.js";import{G as A}from"./PhDownloadSimple.vue.c2d6c2cb.js";import{e as F}from"./toggleHighContrast.5f5c4f15.js";import"./gateway.6da513da.js";import{P as M}from"./project.8378b21f.js";import"./tables.723282b3.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.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]="c4c527a7-c938-4b4f-b35b-9b0d601b9d34",t._sentryDebugIdIdentifier="sentry-dbid-c4c527a7-c938-4b4f-b35b-9b0d601b9d34")}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 X=T;function I(t){for(var a=1;a{_.value=!0;const o=await M.executeQuery(e,f.value,[]);_.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:i}=o;C.value=i;for(const n of i)O.error({message:"SQL Execution Failed",description:n});i.length||O.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)=>J({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 i=(p=r.find(n=>n.projectId===e))==null?void 0:p.lastQuery;i&&(f.value=i,o.setValue(i))}}),(o,r)=>(P(),R("div",W,[c(u(h),{gap:"large",class:"sql-container",align:"center"},{default:g(()=>[B("div",{ref_key:"sqlEditor",ref:d,class:"sql-editor"},null,512),c(u(x),{type:"primary",loading:_.value,onClick:Q},{icon:g(()=>[c(u(H))]),default:g(()=>[S(" Run ")]),_:1},8,["loading"])]),_:1}),c(u(h),{justify:"end",style:{margin:"30px 0 10px 0"}},{default:g(()=>[c(u(x),{disabled:!v.value.length,onClick:q},{default:g(()=>[c(u(h),{align:"center",gap:"small"},{default:g(()=>[S(" Export to CSV "),c(u(A))]),_:1})]),_:1},8,["disabled"])]),_:1}),c(u(V),{style:{width:"100%"},scroll:{x:100},"data-source":v.value,columns:y.value},null,8,["data-source","columns"])]))}});const le=$(U,[["__scopeId","data-v-a8dc12c0"]]);export{le as default}; -//# sourceMappingURL=Sql.1102098b.js.map +import{b as i,ee as k,d as D,ea as E,L,N as _,e as m,W as N,o as P,X as R,w as g,u,a as B,bS as x,aF as S,dg as h,cX as V,cL as O,$}from"./vue-router.d93c72db.js";import{d as z}from"./utils.83debec2.js";import{G as A}from"./PhDownloadSimple.vue.798ada40.js";import{e as F}from"./toggleHighContrast.6c3d17d3.js";import"./gateway.0306d327.js";import{P as M}from"./project.cdada735.js";import"./tables.fd84686b.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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]="4f866f70-7354-4dfe-99ba-e8e5ca1e1380",t._sentryDebugIdIdentifier="sentry-dbid-4f866f70-7354-4dfe-99ba-e8e5ca1e1380")}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 X=T;function I(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)O.error({message:"SQL Execution Failed",description:n});c.length||O.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)=>J({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)=>(P(),R("div",W,[i(u(h),{gap:"large",class:"sql-container",align:"center"},{default:g(()=>[B("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(H))]),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=$(U,[["__scopeId","data-v-a8dc12c0"]]);export{le as default}; +//# sourceMappingURL=Sql.c9a3b1aa.js.map diff --git a/abstra_statics/dist/assets/Stages.a4c27f2d.js b/abstra_statics/dist/assets/Stages.e68c7607.js similarity index 93% rename from abstra_statics/dist/assets/Stages.a4c27f2d.js rename to abstra_statics/dist/assets/Stages.e68c7607.js index bdd26bf7af..3a83ccfb67 100644 --- a/abstra_statics/dist/assets/Stages.a4c27f2d.js +++ b/abstra_statics/dist/assets/Stages.e68c7607.js @@ -1,2 +1,2 @@ -import{d as x,B as P,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,cy as M,dg as $,bQ as ke,by as Ae,eb as le,bw as Ce,aF as m,e9 as T,aR as J,el as Se,cD as Ve,cx as Y,db as Z,cK as ne,g as Le,d8 as Ie,cR as Fe,cN as O,da as D,cQ as N,em as Te,en as xe,$ as se,bK as K,aV as $e,bS as j,aA as Me,cT as Ze,eh as He,eo as Pe,dc as Oe,d9 as De,d4 as Ne,ep as je}from"./vue-router.7d22a765.js";import{C as Ue}from"./ContentLayout.e4128d5d.js";import{C as Ee}from"./CrudView.cd385ca1.js";import{a as ee}from"./ant-design.c6784518.js";import{a as q}from"./asyncComputed.62fe9f61.js";import{c as Be}from"./string.042fe6bc.js";import{F as Re}from"./PhArrowSquareOut.vue.a1699b2d.js";import{F as U}from"./forms.93cff9fd.js";import{A as ze,H as E,J as B,S as W}from"./scripts.b9182f88.js";import"./editor.e28b46d6.js";import{W as re}from"./workspaces.7db2ec4c.js";import{A as ie}from"./index.3db2f466.js";import{F as Ge,G as qe,I as We,a as Je}from"./PhWebhooksLogo.vue.4693bfce.js";import{_ as te}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import{b as Ye,v as ue}from"./validations.de16515c.js";import"./router.efcfb7fa.js";import"./gateway.6da513da.js";import"./popupNotifcation.f48fd864.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./record.c63163fa.js";import"./workspaceStore.1847e3fb.js";import"./colorHelpers.e5ec8c13.js";import"./BookOutlined.238b8620.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]="8418ced0-1704-41dd-a961-ae93b49969dd",n._sentryDebugIdIdentifier="sentry-dbid-8418ced0-1704-41dd-a961-ae93b49969dd")}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=P("weight","regular"),r=P("size","1em"),u=P("color","currentColor"),y=P("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(Z),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(D),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(N),{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(D),null,{default:a(()=>[m("Use to build endpoints triggered by HTTP requests")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(N),{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(D),null,{default:a(()=>[m(" Use to write plain Python scripts ")]),_:1})]),default:a(()=>[o(e(N),{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(D),null,{default:a(()=>[m(" Use to schedule your script execution periodically ")]),_:1})]),default:a(()=>[o(e(N),{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),Zt=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(Z),null,{default:a(()=>[m(" Your stage source code will be generated at: ")]),_:1}),Mt,o(e(Z),{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(Z),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}))}}),Ht=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(Zt,{key:1,state:t.state,onUpdateName:u,onUpdateFile:y},null,8,["state"])):L("",!0)]),_:1},8,["open"]))}}),Pt=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(Ze),{key:d.value,value:d.value},{default:a(()=>[m(T(d.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1})]),_:1}))}}),Ot=200,Dt=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")},Nt=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){He(i=>({dbfa5e58:ve()}));const l=Pe(),{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 H=Be(G(A));return{key:A.id,cells:[{type:"tag",text:H},{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(H=>H.id===i))==null?void 0:_.delete(A)),await u()}},ve=()=>(oe/1e3).toString()+"s",ge=async()=>{if(t.value.state!=="creating")return;const i=Dt(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(Pt,{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(De),{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(Z),null,{default:a(()=>[m(T(_.script.file),1)]),_:2},1024)])]),trigger:a(({payload:_})=>[o(e(Ne),{color:"default"},{default:a(()=>[v("div",Et,T(e(Nt)(_.script)),1)]),_:2},1024)]),_:1},8,["table","loading"])]),_:1}),o(Ht,{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.a4c27f2d.js.map +import{d as x,B as P,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,cy as M,dg as $,bQ as ke,by as Ae,eb as le,bw as Ce,aF as m,e9 as T,aR as J,el as Se,cD as Ve,cx as Y,db as Z,cK as ne,g as Le,d8 as Ie,cR as Fe,cN as O,da as D,cQ as N,em as Te,en as xe,$ as se,bK as K,aV as $e,bS as j,aA as Me,cT as Ze,eh as He,eo as Pe,dc as Oe,d9 as De,d4 as Ne,ep as je}from"./vue-router.d93c72db.js";import{C as Ue}from"./ContentLayout.cc8de746.js";import{C as Ee}from"./CrudView.574d257b.js";import{a as ee}from"./ant-design.2a356765.js";import{a as q}from"./asyncComputed.d2f65d62.js";import{c as Be}from"./string.d10c3089.js";import{F as Re}from"./PhArrowSquareOut.vue.ba2ca743.js";import{F as U}from"./forms.f96e1282.js";import{A as ze,H as E,J as B,S as W}from"./scripts.1b2e66c0.js";import"./editor.01ba249d.js";import{W as re}from"./workspaces.054b755b.js";import{A as ie}from"./index.b7b1d42b.js";import{F as Ge,G as qe,I as We,a as Je}from"./PhWebhooksLogo.vue.ea2526db.js";import{_ as te}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import{b as Ye,v as ue}from"./validations.6e89473f.js";import"./router.10d9d8b6.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./record.a553a696.js";import"./workspaceStore.f24e9a7b.js";import"./colorHelpers.24f5763b.js";import"./BookOutlined.1dc76168.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]="3421ec33-5445-446c-8c49-62aeb823628a",n._sentryDebugIdIdentifier="sentry-dbid-3421ec33-5445-446c-8c49-62aeb823628a")}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=P("weight","regular"),r=P("size","1em"),u=P("color","currentColor"),y=P("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(Z),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(D),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(N),{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(D),null,{default:a(()=>[m("Use to build endpoints triggered by HTTP requests")]),_:1}),o(te,{path:"concepts/forms"})]),default:a(()=>[o(e(N),{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(D),null,{default:a(()=>[m(" Use to write plain Python scripts ")]),_:1})]),default:a(()=>[o(e(N),{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(D),null,{default:a(()=>[m(" Use to schedule your script execution periodically ")]),_:1})]),default:a(()=>[o(e(N),{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),Zt=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(Z),null,{default:a(()=>[m(" Your stage source code will be generated at: ")]),_:1}),Mt,o(e(Z),{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(Z),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}))}}),Ht=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(Zt,{key:1,state:t.state,onUpdateName:u,onUpdateFile:y},null,8,["state"])):L("",!0)]),_:1},8,["open"]))}}),Pt=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(Ze),{key:d.value,value:d.value},{default:a(()=>[m(T(d.label),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1})]),_:1}))}}),Ot=200,Dt=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")},Nt=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){He(i=>({dbfa5e58:ve()}));const l=Pe(),{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 H=Be(G(A));return{key:A.id,cells:[{type:"tag",text:H},{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(H=>H.id===i))==null?void 0:_.delete(A)),await u()}},ve=()=>(oe/1e3).toString()+"s",ge=async()=>{if(t.value.state!=="creating")return;const i=Dt(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(Pt,{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(De),{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(Z),null,{default:a(()=>[m(T(_.script.file),1)]),_:2},1024)])]),trigger:a(({payload:_})=>[o(e(Ne),{color:"default"},{default:a(()=>[v("div",Et,T(e(Nt)(_.script)),1)]),_:2},1024)]),_:1},8,["table","loading"])]),_:1}),o(Ht,{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.e68c7607.js.map diff --git a/abstra_statics/dist/assets/Steps.5f0ada68.js b/abstra_statics/dist/assets/Steps.5f0ada68.js new file mode 100644 index 0000000000..32fce0a91d --- /dev/null +++ b/abstra_statics/dist/assets/Steps.5f0ada68.js @@ -0,0 +1,2 @@ +import{A as n}from"./index.03f6e8fc.js";import{d as a,f as o,o as r,X as c,b as d,u as l,Y as p,R as f,$ as u}from"./vue-router.d93c72db.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]="9744c5dc-b31c-4991-922e-d11b352375a2",e._sentryDebugIdIdentifier="sentry-dbid-9744c5dc-b31c-4991-922e-d11b352375a2")}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(m,_)=>e.stepsInfo?(r(),c("nav",{key:0,class:"p-steps",style:p({maxWidth:Math.min(e.stepsInfo.total*3.5,100)+"%"})},[d(l(n),{current:e.stepsInfo.current-1,items:s.value,responsive:!1},null,8,["current","items"])],4)):f("",!0)}});const I=u(i,[["__scopeId","data-v-1ef844ba"]]);export{I as S}; +//# sourceMappingURL=Steps.5f0ada68.js.map diff --git a/abstra_statics/dist/assets/Steps.db3ca432.js b/abstra_statics/dist/assets/Steps.db3ca432.js deleted file mode 100644 index a764ae6eb9..0000000000 --- a/abstra_statics/dist/assets/Steps.db3ca432.js +++ /dev/null @@ -1,2 +0,0 @@ -import{A as n}from"./index.d9edc3f8.js";import{d as a,f as o,o as f,X as r,b as c,u as l,Y as d,R as p,$ as u}from"./vue-router.7d22a765.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]="56efcf1e-1ac0-402e-9d19-6a07c7f35fe9",e._sentryDebugIdIdentifier="sentry-dbid-56efcf1e-1ac0-402e-9d19-6a07c7f35fe9")}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(m,_)=>e.stepsInfo?(f(),r("nav",{key:0,class:"p-steps",style:d({maxWidth:Math.min(e.stepsInfo.total*3.5,100)+"%"})},[c(l(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.db3ca432.js.map diff --git a/abstra_statics/dist/assets/TabPane.4206d5f7.js b/abstra_statics/dist/assets/TabPane.820835b5.js similarity index 99% rename from abstra_statics/dist/assets/TabPane.4206d5f7.js rename to abstra_statics/dist/assets/TabPane.820835b5.js index c7272dc687..c30df371f5 100644 --- a/abstra_statics/dist/assets/TabPane.4206d5f7.js +++ b/abstra_statics/dist/assets/TabPane.820835b5.js @@ -1,4 +1,4 @@ -import{dY as Ke,dZ as et,d_ as ft,d$ as pt,e0 as ht,e1 as gt,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,cj 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 F,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,bY as Wt,at as Ht,c7 as De,ah as zt,b4 as Kt,aW as je,a$ as Gt}from"./vue-router.7d22a765.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]="0c3efbd6-e200-4331-b56f-86f993d75e91",e._sentryDebugIdIdentifier="sentry-dbid-0c3efbd6-e200-4331-b56f-86f993d75e91")}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:h,tab:s,disabled:y,closeIcon:x},renderWrapper:w,removeAriaLabel:_,editable:D,onFocus:K}=e,O=`${v}-tab`,r=p("div",{key:h,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-${h}`,class:`${O}-btn`,"aria-controls":b&&`${b}-panel-${h}`,"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}}}),Fe={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)||Fe,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:F()},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),h=(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(),h(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 h(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:h,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:F(),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(),h=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[s,y]=qe(0,(g,f)=>{h.value&&e.onTabScroll&&e.onTabScroll({direction:g>f?"left":"right"})}),[x,w]=qe(0,(g,f)=>{!h.value&&e.onTabScroll&&e.onTabScroll({direction:g>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(()=>{h.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=g=>gV.value?V.value:g,fe=W(),[z,pe]=L(),he=()=>{pe(Date.now())},ge=()=>{clearTimeout(fe.value)},Se=(g,f)=>{g(C=>Y(C+f))};ta(n,(g,f)=>{if(h.value){if(r.value>=_.value)return!1;Se(y,g)}else{if(d.value>=K.value)return!1;Se(w,f)}return ge(),he(),!0}),se(z,()=>{ge(),z.value&&(fe.value=setTimeout(()=>{pe(0)},100))});const ce=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const f=I.value.get(g)||{width:0,height:0,left:0,right:0,top:0};if(h.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 g,f,C,R,k,N;const re=I.value;["top","bottom"].includes(e.tabPosition)?(g="width",R=r.value,k=_.value,N=E.value,f=e.rtl?"right":"left",C=Math.abs(s.value)):(g="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 g,f,C,R,k;const N=((g=n.value)===null||g===void 0?void 0:g.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(j=>{let{key:ve}=j;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,h,()=>e.rtl],()=>{const g={};te.value&&(h.value?(e.rtl?g.right=$e(te.value.right):g.left=$e(te.value.left),g.width=$e(te.value.width)):(g.top=$e(te.value.top),g.height=$e(te.value.height))),We(),Ne.value=ye(()=>{ut(g)})}),se([()=>e.activeKey,te,I,h],()=>{ce()},{flush:"post"}),se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{Be()},{flush:"post"});const Le=g=>{let{position:f,prefixCls:C,extra:R}=g;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(()=>{ge(),We()}),()=>{const{id:g,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,j=`${B}-nav-wrap`;let ve,ne,oe,He;h.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:g,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),he(),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:()=>{he()}},[p(Le,{position:"left",prefixCls:B,extra:o.leftExtra},null),p(Ge,{onResize:Be},{default:()=>[p("div",{class:ie(j,{[`${j}-ping-left`]:ve,[`${j}-ping-right`]:ne,[`${j}-ping-top`]:oe,[`${j}-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(h=>h.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(h=>Rt(h.node,{key:h.key,prefixCls:b,tabKey:h.key,id:o,animated:v,active:h.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 ht,e1 as gt,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,cj 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 F,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,bY as Wt,at as Ht,c7 as De,ah as zt,b4 as Kt,aW as je,a$ as Gt}from"./vue-router.d93c72db.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]="9960a3de-9100-46d5-95f4-5695ea4ad7cf",e._sentryDebugIdIdentifier="sentry-dbid-9960a3de-9100-46d5-95f4-5695ea4ad7cf")}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:h,tab:s,disabled:y,closeIcon:x},renderWrapper:w,removeAriaLabel:_,editable:D,onFocus:K}=e,O=`${v}-tab`,r=p("div",{key:h,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-${h}`,class:`${O}-btn`,"aria-controls":b&&`${b}-panel-${h}`,"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}}}),Fe={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)||Fe,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:F()},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),h=(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(),h(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 h(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:h,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:F(),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(),h=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[s,y]=qe(0,(g,f)=>{h.value&&e.onTabScroll&&e.onTabScroll({direction:g>f?"left":"right"})}),[x,w]=qe(0,(g,f)=>{!h.value&&e.onTabScroll&&e.onTabScroll({direction:g>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(()=>{h.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=g=>gV.value?V.value:g,fe=W(),[z,pe]=L(),he=()=>{pe(Date.now())},ge=()=>{clearTimeout(fe.value)},Se=(g,f)=>{g(C=>Y(C+f))};ta(n,(g,f)=>{if(h.value){if(r.value>=_.value)return!1;Se(y,g)}else{if(d.value>=K.value)return!1;Se(w,f)}return ge(),he(),!0}),se(z,()=>{ge(),z.value&&(fe.value=setTimeout(()=>{pe(0)},100))});const ce=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const f=I.value.get(g)||{width:0,height:0,left:0,right:0,top:0};if(h.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 g,f,C,R,k,N;const re=I.value;["top","bottom"].includes(e.tabPosition)?(g="width",R=r.value,k=_.value,N=E.value,f=e.rtl?"right":"left",C=Math.abs(s.value)):(g="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 g,f,C,R,k;const N=((g=n.value)===null||g===void 0?void 0:g.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(j=>{let{key:ve}=j;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,h,()=>e.rtl],()=>{const g={};te.value&&(h.value?(e.rtl?g.right=$e(te.value.right):g.left=$e(te.value.left),g.width=$e(te.value.width)):(g.top=$e(te.value.top),g.height=$e(te.value.height))),We(),Ne.value=ye(()=>{ut(g)})}),se([()=>e.activeKey,te,I,h],()=>{ce()},{flush:"post"}),se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{Be()},{flush:"post"});const Le=g=>{let{position:f,prefixCls:C,extra:R}=g;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(()=>{ge(),We()}),()=>{const{id:g,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,j=`${B}-nav-wrap`;let ve,ne,oe,He;h.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:g,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),he(),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:()=>{he()}},[p(Le,{position:"left",prefixCls:B,extra:o.leftExtra},null),p(Ge,{onResize:Be},{default:()=>[p("div",{class:ie(j,{[`${j}-ping-left`]:ve,[`${j}-ping-right`]:ne,[`${j}-ping-top`]:oe,[`${j}-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(h=>h.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(h=>Rt(h.node,{key:h.key,prefixCls:b,tabKey:h.key,id:o,animated:v,active:h.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"}}}}},ha=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"}}}}}},ga=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),ha(a),da(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let Je=0;const dt=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:F(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:Ce(),animated:Mt([Boolean,Object]),renderTabBar:F(),tabBarGutter:{type:Number},tabBarStyle:xe(),tabPosition:Ce(),destroyInactiveTabPane:kt(),hideAdd:Boolean,type:Ce(),size:Ce(),centered:Boolean,onEdit:F(),onChange:F(),onTabClick:F(),onTabScroll:F(),"onUpdate:activeKey":F(),locale:xe(),onPrevClick:F(),onNextClick:F(),tabBarExtraContent:Ie.any});function ma(e){return e.map(t=>{if(Nt(t)){const a=T({},t.props||{});for(const[h,s]of Object.entries(a))delete a[h],a[Wt(h)]=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]=ga(i),S=H(()=>l.value==="rtl"),h=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]=je(()=>{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]=je(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:h.value,tabPosition:r.value,rtl:S.value,mobile:s.value};let V;$==="editable-card"&&(V={onEdit:(pe,he)=>{let{key:ge,event:Se}=he;var ce;(ce=e.onEdit)===null||ce===void 0||ce.call(e,pe==="add"?Se:ge,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:h.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.4206d5f7.js.map +//# sourceMappingURL=TabPane.820835b5.js.map diff --git a/abstra_statics/dist/assets/TableEditor.24058985.js b/abstra_statics/dist/assets/TableEditor.d720f1fb.js similarity index 90% rename from abstra_statics/dist/assets/TableEditor.24058985.js rename to abstra_statics/dist/assets/TableEditor.d720f1fb.js index a2d459fe0e..999a4ba243 100644 --- a/abstra_statics/dist/assets/TableEditor.24058985.js +++ b/abstra_statics/dist/assets/TableEditor.d720f1fb.js @@ -1,2 +1,2 @@ -import{_ as t0}from"./AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js";import{B as j0}from"./BaseLayout.0d928ff1.js";import{a as $0}from"./asyncComputed.62fe9f61.js";import{d as U,B as A,f as g,o as a,X as u,Z as K,R as M,e8 as F,a as r,c as w,w as i,b as s,u as t,bS as O,aF as E,eb as C0,cy as j,bK as Y,eg as E0,bN as R0,aR as V0,cx as A0,ea as f0,e as q,g as m0,ej as u0,bx as _0,cW as i0,$ as S0,W as T0,aA as O0,dg as G,eo as z0,D as K0,r as B0,eK as F0,aV as r0,e9 as n0,ed as G0,cM as W0,ep as Q0,cX as J0,y as X0,cK as Y0}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{O as e1}from"./organization.6c6a96b2.js";import{P as H0}from"./project.8378b21f.js";import{p as I0,T as e0,d as a1}from"./tables.723282b3.js";import{C as l1}from"./ContentLayout.e4128d5d.js";import{p as g0}from"./popupNotifcation.f48fd864.js";import{A as Z0}from"./index.28152a0c.js";import{A as b0}from"./index.8fb2fffd.js";import{H as q0}from"./PhCheckCircle.vue.912aee3f.js";import{A as x0}from"./index.5c08441f.js";import{G as t1}from"./PhArrowDown.vue.647cad46.js";import{a as n1}from"./ant-design.c6784518.js";import{G as o1}from"./PhCaretRight.vue.053320ac.js";import{L as r1}from"./LoadingOutlined.0a0dc718.js";import{B as u1,A as i1,b as s1}from"./index.21dc8b6c.js";import"./record.c63163fa.js";import"./string.042fe6bc.js";import"./Badge.c37c51db.js";import"./index.4c73e857.js";import"./Avatar.34816737.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]="4fd379c4-7d6a-48e4-a065-5816c67f598e",Z._sentryDebugIdIdentifier="sentry-dbid-4fd379c4-7d6a-48e4-a065-5816c67f598e")}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",F({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),[K(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],K1={key:4},F1=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=[F1],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",F({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),[K(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",K1,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",F({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),[K(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",F({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),[K(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},Ke=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),Fe=[Ke],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",F({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),[K(e.$slots,"default"),o.value==="bold"?(a(),u("g",Oe,Fe)):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",F({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),[K(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},Ka=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),Fa=[Ka],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",F({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),[K(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,Fa)):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",F({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),[K(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",F({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),[K(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"],K2={key:0},F2=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=[F2],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",F({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),[K(e.$slots,"default"),o.value==="bold"?(a(),u("g",K2,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=K0((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(F0))]),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.24058985.js.map +import{_ as t0}from"./AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js";import{B as j0}from"./BaseLayout.53dfe4a0.js";import{a as $0}from"./asyncComputed.d2f65d62.js";import{d as U,B as A,f as g,o as a,X as u,Z as K,R as M,e8 as F,a as r,c as w,w as i,b as s,u as t,bS as O,aF as E,eb as C0,cy as j,bK as Y,eg as E0,bN as R0,aR as V0,cx as A0,ea as f0,e as q,g as m0,ej as u0,bx as _0,cW as i0,$ as S0,W as T0,aA as O0,dg as G,eo as z0,D as K0,r as B0,eK as F0,aV as r0,e9 as n0,ed as G0,cM as W0,ep as Q0,cX as J0,y as X0,cK as Y0}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{O as e1}from"./organization.f08e73b1.js";import{P as H0}from"./project.cdada735.js";import{p as I0,T as e0,d as a1}from"./tables.fd84686b.js";import{C as l1}from"./ContentLayout.cc8de746.js";import{p as g0}from"./popupNotifcation.fcd4681e.js";import{A as b0}from"./index.090b2bf1.js";import{A as Z0}from"./index.7c698315.js";import{H as q0}from"./PhCheckCircle.vue.68babecd.js";import{A as x0}from"./index.a5c009ed.js";import{G as t1}from"./PhArrowDown.vue.4dd765b6.js";import{a as n1}from"./ant-design.2a356765.js";import{G as o1}from"./PhCaretRight.vue.246b48ee.js";import{L as r1}from"./LoadingOutlined.e222117b.js";import{B as u1,A as i1,b as s1}from"./index.70aedabb.js";import"./record.a553a696.js";import"./string.d10c3089.js";import"./Badge.819cb645.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.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]="951a236c-aad3-446f-a7e8-59f92c72bf19",b._sentryDebugIdIdentifier="sentry-dbid-951a236c-aad3-446f-a7e8-59f92c72bf19")}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",F({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),[K(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],K1={key:4},F1=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=[F1],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",F({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),[K(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",K1,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",F({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),[K(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",F({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),[K(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},Ke=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),Fe=[Ke],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",F({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),[K(e.$slots,"default"),o.value==="bold"?(a(),u("g",Oe,Fe)):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",F({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),[K(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},Ka=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),Fa=[Ka],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",F({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),[K(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,Fa)):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",F({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),[K(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",F({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),[K(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"],K2={key:0},F2=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=[F2],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",F({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),[K(e.$slots,"default"),o.value==="bold"?(a(),u("g",K2,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=K0((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(F0))]),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.d720f1fb.js.map diff --git a/abstra_statics/dist/assets/Tables.0c2b3224.js b/abstra_statics/dist/assets/Tables.0c2b3224.js deleted file mode 100644 index a131993518..0000000000 --- a/abstra_statics/dist/assets/Tables.0c2b3224.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as T}from"./CrudView.cd385ca1.js";import{a as _}from"./asyncComputed.62fe9f61.js";import{n as i}from"./string.042fe6bc.js";import{G as k}from"./PhPencil.vue.6a1ca884.js";import{d as w,eo as h,ea as I,f as x,o as N,c as S,w as l,u as m,b as D,aF as E,bS as v,ep as A}from"./vue-router.7d22a765.js";import"./gateway.6da513da.js";import{T as c}from"./tables.723282b3.js";import{a as B}from"./ant-design.c6784518.js";import"./router.efcfb7fa.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./Badge.c37c51db.js";import"./index.28152a0c.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.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]="c584e4cb-0803-43c4-a64f-1d01593852b3",o._sentryDebugIdIdentifier="sentry-dbid-c584e4cb-0803-43c4-a64f-1d01593852b3")}catch{}})();const Y=w({__name:"Tables",setup(o){const a=h(),t=I().params.projectId,{loading:p,result:u,refetch:b}=_(()=>c.list(t)),f=async e=>{const r=await c.create(t,e.name);a.push({name:"tableEditor",params:{tableId:r.id,projectId:t}})},y=()=>{a.push({name:"sql",params:{projectId:t}})},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:t}}},{type:"actions",actions:[{icon:k,label:"Edit Table",onClick({key:s}){a.push({name:"tableEditor",params:{tableId:s,projectId:t}})}},{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(t,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(),S(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(()=>[D(m(v),{onClick:y},{default:l(()=>[E("Run SQL")]),_:1})]),_:1},8,["loading","table"]))}});export{Y as default}; -//# sourceMappingURL=Tables.0c2b3224.js.map diff --git a/abstra_statics/dist/assets/Tables.6a8325ce.js b/abstra_statics/dist/assets/Tables.6a8325ce.js new file mode 100644 index 0000000000..6cbfd29591 --- /dev/null +++ b/abstra_statics/dist/assets/Tables.6a8325ce.js @@ -0,0 +1,2 @@ +import{C as T}from"./CrudView.574d257b.js";import{a as _}from"./asyncComputed.d2f65d62.js";import{n as i}from"./string.d10c3089.js";import{G as k}from"./PhPencil.vue.c378280c.js";import{d as w,eo as h,ea as I,f as x,o as N,c as S,w as l,u as d,b as D,aF as E,bS as v,ep as A}from"./vue-router.d93c72db.js";import"./gateway.0306d327.js";import{T as m}from"./tables.fd84686b.js";import{a as B}from"./ant-design.2a356765.js";import"./router.10d9d8b6.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./Badge.819cb645.js";import"./index.090b2bf1.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.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]="59e319db-0b82-4dd8-b5bc-6c466e0972f8",o._sentryDebugIdIdentifier="sentry-dbid-59e319db-0b82-4dd8-b5bc-6c466e0972f8")}catch{}})();const Y=w({__name:"Tables",setup(o){const a=h(),t=I().params.projectId,{loading:p,result:u,refetch:b}=_(()=>m.list(t)),f=async e=>{const r=await m.create(t,e.name);a.push({name:"tableEditor",params:{tableId:r.id,projectId:t}})},y=()=>{a.push({name:"sql",params:{projectId:t}})},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:t}}},{type:"actions",actions:[{icon:k,label:"Edit Table",onClick({key:s}){a.push({name:"tableEditor",params:{tableId:s,projectId:t}})}},{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(t,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(),S(T,{"entity-name":"table",loading:d(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(()=>[D(d(v),{onClick:y},{default:l(()=>[E("Run SQL")]),_:1})]),_:1},8,["loading","table"]))}});export{Y as default}; +//# sourceMappingURL=Tables.6a8325ce.js.map diff --git a/abstra_statics/dist/assets/ThreadSelector.e5f2e543.js b/abstra_statics/dist/assets/ThreadSelector.8f315e17.js similarity index 87% rename from abstra_statics/dist/assets/ThreadSelector.e5f2e543.js rename to abstra_statics/dist/assets/ThreadSelector.8f315e17.js index 19522a2e32..613100009c 100644 --- a/abstra_statics/dist/assets/ThreadSelector.e5f2e543.js +++ b/abstra_statics/dist/assets/ThreadSelector.8f315e17.js @@ -1,2 +1,2 @@ -import{d as P,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,cy as W,aA as z,cx as U,aF as D,c as q,dg as I,bS as k,e9 as G,aR as X,em as K,en as Q,$ as Y}from"./vue-router.7d22a765.js";import"./editor.e28b46d6.js";import{W as j}from"./workspaces.7db2ec4c.js";import{v as aa}from"./string.042fe6bc.js";import{e as ea}from"./toggleHighContrast.5f5c4f15.js";import{f as T}from"./index.185e14fb.js";import{A as ta}from"./index.89bac5b6.js";import{A as na}from"./index.3db2f466.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]="8e90b72e-f323-4eca-b819-531675ac7431",s._sentryDebugIdIdentifier="sentry-dbid-8e90b72e-f323-4eca-b819-531675ac7431")}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=P({...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 N=new Ha;class x{constructor(e){this.dto=e}static async list(e){return(await N.list(e)).map(u=>new x(u))}static async listPast(e){return(await N.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=P({__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 ${T(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 ${T(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 Pa=Y(Aa,[["__scopeId","data-v-061ac7eb"]]);export{Pa as T}; -//# sourceMappingURL=ThreadSelector.e5f2e543.js.map +import{d as P,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,cy as W,aA as z,cx as U,aF as D,c as q,dg as I,bS as k,e9 as G,aR as X,em as K,en as Q,$ as Y}from"./vue-router.d93c72db.js";import"./editor.01ba249d.js";import{W as j}from"./workspaces.054b755b.js";import{v as aa}from"./string.d10c3089.js";import{e as ea}from"./toggleHighContrast.6c3d17d3.js";import{f as T}from"./index.1b012bfe.js";import{A as ta}from"./index.313ae0a2.js";import{A as na}from"./index.b7b1d42b.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]="c517c15b-f7e1-44ae-9e26-99f8b4b83c80",s._sentryDebugIdIdentifier="sentry-dbid-c517c15b-f7e1-44ae-9e26-99f8b4b83c80")}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=P({...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 N=new Ha;class b{constructor(e){this.dto=e}static async list(e){return(await N.list(e)).map(u=>new b(u))}static async listPast(e){return(await N.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=P({__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 ${T(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 ${T(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 Pa=Y(Aa,[["__scopeId","data-v-061ac7eb"]]);export{Pa as T}; +//# sourceMappingURL=ThreadSelector.8f315e17.js.map diff --git a/abstra_statics/dist/assets/Threads.78b4ca4c.js b/abstra_statics/dist/assets/Threads.78b4ca4c.js new file mode 100644 index 0000000000..1d202955d6 --- /dev/null +++ b/abstra_statics/dist/assets/Threads.78b4ca4c.js @@ -0,0 +1,2 @@ +import{P as k}from"./api.bff7d58f.js";import{b as _}from"./workspaceStore.f24e9a7b.js";import{d as w,L as g,N as d,e as v,o as a,X as h,b as s,w as T,u as e,c as p,R as m,$ as K}from"./vue-router.d93c72db.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.0a0b846e.js";import{A as l,T as x}from"./TabPane.820835b5.js";import"./Card.6f8ccb1f.js";import"./fetch.a18f4d89.js";import"./metadata.7b1155be.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./polling.be8756ca.js";import"./asyncComputed.d2f65d62.js";import"./PhQuestion.vue.1e79437f.js";import"./ant-design.2a356765.js";import"./index.090b2bf1.js";import"./index.1b012bfe.js";import"./index.37cd2d5b.js";import"./CollapsePanel.79713856.js";import"./index.313ae0a2.js";import"./index.7c698315.js";import"./Badge.819cb645.js";import"./PhArrowCounterClockwise.vue.b00021df.js";import"./Workflow.9788d429.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./uuid.848d284c.js";import"./index.77b08602.js";import"./workspaces.054b755b.js";import"./record.a553a696.js";import"./index.d05003c4.js";import"./PhArrowDown.vue.4dd765b6.js";import"./LoadingOutlined.e222117b.js";import"./DeleteOutlined.992cbf70.js";import"./PhDownloadSimple.vue.798ada40.js";import"./utils.83debec2.js";import"./LoadingContainer.075249df.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]="fdf9b312-cf78-4e4f-9e85-a406e6802867",t._sentryDebugIdIdentifier="sentry-dbid-fdf9b312-cf78-4e4f-9e85-a406e6802867")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const r=_().authHeaders,f=new k(r),i=new S(r),b=new V(r),u=new g(d.array(d.string()),"kanban-selected-stages"),o=v("kanban");return(B,c)=>(a(),h("div",W,[s(e(x),{activeKey:o.value,"onUpdate:activeKey":c[0]||(c[0]=y=>o.value=y)},{default:T(()=>[s(e(l),{key:"kanban",tab:"Kanban View"}),s(e(l),{key:"table",tab:"Table View"}),s(e(l),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(a(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(u),"stage-run-repository":e(b)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(a(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(a(),p(P,{key:2,"kanban-repository":e(i),"workflow-api":e(f)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default}; +//# sourceMappingURL=Threads.78b4ca4c.js.map diff --git a/abstra_statics/dist/assets/Threads.da6fa060.js b/abstra_statics/dist/assets/Threads.da6fa060.js deleted file mode 100644 index 0f16a280bd..0000000000 --- a/abstra_statics/dist/assets/Threads.da6fa060.js +++ /dev/null @@ -1,2 +0,0 @@ -import{P as k}from"./api.2772643e.js";import{b as _}from"./workspaceStore.1847e3fb.js";import{d as w,L as g,N as b,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.7d22a765.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.48ecfe92.js";import{A as c,T as x}from"./TabPane.4206d5f7.js";import"./Card.ea12dbe7.js";import"./fetch.8d81adbd.js";import"./metadata.9b52bd89.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./polling.f65e8dae.js";import"./asyncComputed.62fe9f61.js";import"./PhQuestion.vue.52f4cce8.js";import"./ant-design.c6784518.js";import"./index.28152a0c.js";import"./index.185e14fb.js";import"./index.eabeddc9.js";import"./CollapsePanel.e3bd0766.js";import"./index.89bac5b6.js";import"./index.8fb2fffd.js";import"./Badge.c37c51db.js";import"./PhArrowCounterClockwise.vue.7aa73d25.js";import"./Workflow.70137be1.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./uuid.65957d70.js";import"./index.143dc5b1.js";import"./workspaces.7db2ec4c.js";import"./record.c63163fa.js";import"./index.caeca3de.js";import"./PhArrowDown.vue.647cad46.js";import"./LoadingOutlined.0a0dc718.js";import"./DeleteOutlined.5491ff33.js";import"./PhDownloadSimple.vue.c2d6c2cb.js";import"./utils.6e13a992.js";import"./LoadingContainer.9f69b37b.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]="ef7a34ae-54cb-45d7-82c5-a615b0fe6fc4",t._sentryDebugIdIdentifier="sentry-dbid-ef7a34ae-54cb-45d7-82c5-a615b0fe6fc4")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,d=new k(a),i=new S(a),u=new V(a),f=new g(b.array(b.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(d)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default}; -//# sourceMappingURL=Threads.da6fa060.js.map diff --git a/abstra_statics/dist/assets/UnsavedChangesHandler.76f4b4a0.js b/abstra_statics/dist/assets/UnsavedChangesHandler.9048a281.js similarity index 81% rename from abstra_statics/dist/assets/UnsavedChangesHandler.76f4b4a0.js rename to abstra_statics/dist/assets/UnsavedChangesHandler.9048a281.js index 856b7128c1..f7b92e09e6 100644 --- a/abstra_statics/dist/assets/UnsavedChangesHandler.76f4b4a0.js +++ b/abstra_statics/dist/assets/UnsavedChangesHandler.9048a281.js @@ -1,2 +1,2 @@ -import{d as f,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 b,u as C,A as k,cK as B,b as L,$ as x}from"./vue-router.7d22a765.js";import{E}from"./ExclamationCircleOutlined.d11a1598.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]="12f82d2b-2257-4403-8177-55b202ad1289",t._sentryDebugIdIdentifier="sentry-dbid-12f82d2b-2257-4403-8177-55b202ad1289")}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),K=[G],X={key:5},q=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),J=[q],Q={name:"PhFloppyDisk"},o0=f({...Q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(t){const n=t,l=H("weight","regular"),g=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:g}),d=h(()=>{var a;return(a=n.color)!=null?a:i}),v=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:u?"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:c.value,height:c.value,fill:d.value,transform:v.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,K)):e.value==="thin"?(o(),s("g",X,J)):V("",!0)],16,D))}}),p="You have unsaved changes. Are you sure you want to leave?",e0=f({__name:"UnsavedChangesHandler",props:{hasChanges:{type:Boolean}},setup(t){const n=t,l=e=>(e=e||window.event,e&&(e.returnValue=p),p),g=()=>{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?g():i();return A(()=>n.hasChanges,u),Z(()=>u(n.hasChanges)),_(i),(e,c)=>(o(),M(C(k),{theme:{token:{colorPrimary:"#d14056"}}},{default:b(()=>[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.76f4b4a0.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,cK as B,b as L,$ as x}from"./vue-router.d93c72db.js";import{E}from"./ExclamationCircleOutlined.b91f0cc2.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]="3583c33f-8c96-4417-8b51-f68a7673e081",t._sentryDebugIdIdentifier="sentry-dbid-3583c33f-8c96-4417-8b51-f68a7673e081")}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),K=[G],X={key:5},q=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),J=[q],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"),g=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:g}),d=h(()=>{var a;return(a=n.color)!=null?a:i}),v=h(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:u?"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:c.value,height:c.value,fill:d.value,transform:v.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,K)):e.value==="thin"?(o(),s("g",X,J)):V("",!0)],16,D))}}),f="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=f),f),g=()=>{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?g():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 s0=x(e0,[["__scopeId","data-v-08510d52"]]);export{o0 as G,s0 as U}; +//# sourceMappingURL=UnsavedChangesHandler.9048a281.js.map diff --git a/abstra_statics/dist/assets/View.14d8cfe8.js b/abstra_statics/dist/assets/View.4ddc6e5b.js similarity index 84% rename from abstra_statics/dist/assets/View.14d8cfe8.js rename to abstra_statics/dist/assets/View.4ddc6e5b.js index d0524290bd..6aba3c267e 100644 --- a/abstra_statics/dist/assets/View.14d8cfe8.js +++ b/abstra_statics/dist/assets/View.4ddc6e5b.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.62fe9f61.js";import{d as w,e as E,o as m,c as g,w as l,u as t,b as r,cP as K,aF as h,aA as G,cR as ge,bS as _,dg as he,D as T,cy as b,bK as N,cx as F,f as X,X as H,eb as ve,d4 as _e,e9 as be,aR as J,ep as Q,cD as Y,ea as we,W as Ce,R as I,dc as ke,da as Pe}from"./vue-router.7d22a765.js";import{A}from"./index.28152a0c.js";import{_ as Ue}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import{A as B}from"./index.8fb2fffd.js";import{C as ee}from"./CrudView.cd385ca1.js";import{G as te}from"./PhPencil.vue.6a1ca884.js";import{C as Re}from"./repository.c27893d1.js";import{C as R}from"./gateway.6da513da.js";import{E as ae}from"./record.c63163fa.js";import{p as k}from"./popupNotifcation.f48fd864.js";import{a as M}from"./ant-design.c6784518.js";import{A as Z,T as Ae}from"./TabPane.4206d5f7.js";import"./BookOutlined.238b8620.js";import"./Badge.c37c51db.js";import"./router.efcfb7fa.js";import"./url.396c837f.js";import"./PhDotsThreeVertical.vue.b0c5edcd.js";import"./fetch.8d81adbd.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]="6f78aac5-40cb-4cb8-808d-3bfeeaa9ab35",s._sentryDebugIdIdentifier="sentry-dbid-6f78aac5-40cb-4cb8-808d-3bfeeaa9ab35")}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(K),{value:"inviteOnly"},{default:l(()=>[h("Allow listed users only")]),_:1}),r(t(A),null,{default:l(()=>[r(t(K),{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}))}}),De=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}))}}),Oe=w({__name:"View",props:{loading:{type:Boolean},users:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=X(()=>{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),H(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=X(()=>{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)}},D=new Fe(a),{loading:re,result:le,refetch:O}=q(()=>D.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 D.create(u),i(),O()}catch(d){d instanceof Error&&k("Create Error",d.message)}},ce=async u=>{try{if(o.value.type!=="editingUser")return;await D.update(o.value.payload.id,u),i(),O()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ue=async u=>{if(!!await M("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 D.delete(u.id),O()}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 M("Deleteing roles may revoke access to some features in your application. Are you sure you want to continue?"))try{await $.delete(u.id),L(),O()}catch(v){v instanceof Error&&k("Delete Error",v.message)}};return(u,d)=>(m(),H(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(Z),{key:"users",tab:"Users"}),r(t(Z),{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(Oe,{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(De,{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.14d8cfe8.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.d2f65d62.js";import{d as b,e as E,o as m,c as g,w as l,u as t,b as r,cP as K,aF as h,aA as G,cR as ge,bS as _,dg as he,D as T,cy as w,bK as N,cx as F,f as X,X as H,eb as ve,d4 as _e,e9 as we,aR as J,ep as Q,cD as Y,ea as be,W as Ce,R as I,dc as ke,da as Pe}from"./vue-router.d93c72db.js";import{A}from"./index.090b2bf1.js";import{_ as Ue}from"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import{A as B}from"./index.7c698315.js";import{C as ee}from"./CrudView.574d257b.js";import{G as te}from"./PhPencil.vue.c378280c.js";import{C as Re}from"./repository.a9bba470.js";import{C as R}from"./gateway.0306d327.js";import{E as ae}from"./record.a553a696.js";import{p as k}from"./popupNotifcation.fcd4681e.js";import{a as M}from"./ant-design.2a356765.js";import{A as Z,T as Ae}from"./TabPane.820835b5.js";import"./BookOutlined.1dc76168.js";import"./Badge.819cb645.js";import"./router.10d9d8b6.js";import"./url.8e8c3899.js";import"./PhDotsThreeVertical.vue.1a5d5231.js";import"./fetch.a18f4d89.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]="63dfe078-27b0-49fe-9c03-7ea4f7ccd67a",s._sentryDebugIdIdentifier="sentry-dbid-63dfe078-27b0-49fe-9c03-7ea4f7ccd67a")}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(K),{value:"inviteOnly"},{default:l(()=>[h("Allow listed users only")]),_:1}),r(t(A),null,{default:l(()=>[r(t(K),{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}))}}),De=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}))}}),Oe=b({__name:"View",props:{loading:{type:Boolean},users:{},onCreate:{type:Function},onEdit:{type:Function},onDelete:{type:Function}},setup(s){const e=s,a=X(()=>{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),H(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=X(()=>{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)}},D=new Fe(a),{loading:re,result:le,refetch:O}=q(()=>D.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 D.create(u),i(),O()}catch(d){d instanceof Error&&k("Create Error",d.message)}},ce=async u=>{try{if(o.value.type!=="editingUser")return;await D.update(o.value.payload.id,u),i(),O()}catch(d){d instanceof Error&&k("Update Error",d.message)}},ue=async u=>{if(!!await M("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 D.delete(u.id),O()}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 M("Deleteing roles may revoke access to some features in your application. Are you sure you want to continue?"))try{await $.delete(u.id),L(),O()}catch(v){v instanceof Error&&k("Delete Error",v.message)}};return(u,d)=>(m(),H(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(Z),{key:"users",tab:"Users"}),r(t(Z),{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(Oe,{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(De,{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.4ddc6e5b.js.map diff --git a/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e3f55a53.js b/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.732befe4.js similarity index 90% rename from abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e3f55a53.js rename to abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.732befe4.js index fe53e3c23f..bbc4e006fa 100644 --- a/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e3f55a53.js +++ b/abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.732befe4.js @@ -1,2 +1,2 @@ -var A=Object.defineProperty;var _=(i,e,t)=>e in i?A(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.6da513da.js";import{l as j}from"./fetch.8d81adbd.js";import{E}from"./record.c63163fa.js";import{Q as D,e as F,ep as O,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 c,aF as v,bS as $,e9 as C,cx as L,db as B,cD as N,cy as G,cK as M}from"./vue-router.7d22a765.js";import{S as z}from"./SaveButton.91be38d7.js";import{C as K}from"./CrudView.cd385ca1.js";import{a as W}from"./asyncComputed.62fe9f61.js";import{u as Z}from"./polling.f65e8dae.js";import{G as q}from"./PhPencil.vue.6a1ca884.js";import{A as H}from"./index.3db2f466.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]="6ab494a0-9a6b-4a3a-9222-e6f03774f5bc",i._sentryDebugIdIdentifier="sentry-dbid-6ab494a0-9a6b-4a3a-9222-e6f03774f5bc")}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=D([])}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 J{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 J;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",F({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:O,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 x={columns:[],rows:[]};return(u,d)=>{var w,b;return h(),S(P,null,[s(t)?(h(),m(K,{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()||x,"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(H),{"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"])):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(()=>[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})):f("",!0)]),_:1},8,["open"])):f("",!0)],64)}}});export{le as C,de as E,ce as _}; -//# sourceMappingURL=View.vue_vue_type_script_setup_true_lang.e3f55a53.js.map +var A=Object.defineProperty;var _=(i,e,t)=>e in i?A(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.0306d327.js";import{l as j}from"./fetch.a18f4d89.js";import{E}from"./record.a553a696.js";import{Q as D,e as F,ep as O,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 c,aF as v,bS as $,e9 as C,cx as L,db as B,cD as N,cy as G,cK as M}from"./vue-router.d93c72db.js";import{S as z}from"./SaveButton.3f760a03.js";import{C as K}from"./CrudView.574d257b.js";import{a as W}from"./asyncComputed.d2f65d62.js";import{u as Z}from"./polling.be8756ca.js";import{G as q}from"./PhPencil.vue.c378280c.js";import{A as H}from"./index.b7b1d42b.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]="0c90a5bc-3a5d-4748-a3a8-67acbff4c991",i._sentryDebugIdIdentifier="sentry-dbid-0c90a5bc-3a5d-4748-a3a8-67acbff4c991")}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=D([])}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 J{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 J;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",F({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:O,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 x={columns:[],rows:[]};return(u,d)=>{var w,b;return h(),S(P,null,[s(t)?(h(),m(K,{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()||x,"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(H),{"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"])):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(()=>[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})):f("",!0)]),_:1},8,["open"])):f("",!0)],64)}}});export{le as C,de as E,ce as _}; +//# sourceMappingURL=View.vue_vue_type_script_setup_true_lang.732befe4.js.map diff --git a/abstra_statics/dist/assets/Watermark.a189bb8e.js b/abstra_statics/dist/assets/Watermark.1fc122c8.js similarity index 86% rename from abstra_statics/dist/assets/Watermark.a189bb8e.js rename to abstra_statics/dist/assets/Watermark.1fc122c8.js index 9dac543bd5..b5b587d869 100644 --- a/abstra_statics/dist/assets/Watermark.a189bb8e.js +++ b/abstra_statics/dist/assets/Watermark.1fc122c8.js @@ -1,2 +1,2 @@ -import{S as i}from"./workspaceStore.1847e3fb.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.7d22a765.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]="25807d12-ed9e-4d54-b58e-018ff380d3de",e._sentryDebugIdIdentifier="sentry-dbid-25807d12-ed9e-4d54-b58e-018ff380d3de")}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.a189bb8e.js.map +import{S as i}from"./workspaceStore.f24e9a7b.js";import{d as c,u as a,o as p,X as b,aF as l,e9 as _,R as f,e_ as C,eV as u,$ as h}from"./vue-router.d93c72db.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]="dce4ce0c-3fe5-46be-b2ac-d06ef498d1fd",e._sentryDebugIdIdentifier="sentry-dbid-dce4ce0c-3fe5-46be-b2ac-d06ef498d1fd")}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(),b("a",{key:0,href:`https://www.abstra.io/forms?${a(o).toString()}`,target:"_blank",class:"watermark"},[l(_(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.1fc122c8.js.map diff --git a/abstra_statics/dist/assets/WebEditor.228adb1f.js b/abstra_statics/dist/assets/WebEditor.f217f590.js similarity index 72% rename from abstra_statics/dist/assets/WebEditor.228adb1f.js rename to abstra_statics/dist/assets/WebEditor.f217f590.js index b11e61b31d..1e73c692d2 100644 --- a/abstra_statics/dist/assets/WebEditor.228adb1f.js +++ b/abstra_statics/dist/assets/WebEditor.f217f590.js @@ -1,2 +1,2 @@ -var m=Object.defineProperty;var v=(t,e,i)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var s=(t,e,i)=>(v(t,typeof e!="symbol"?e+"":e,i),i);import{d as f,W as w,ag as y,o,c as l,w as r,b as a,u as n,dg as p,dc as I,aF as c,db as u,cO as b,em as W,en as x,a as h,$ as A,e as P,ea as j}from"./vue-router.7d22a765.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{B as k}from"./BaseLayout.0d928ff1.js";import{l as g}from"./fetch.8d81adbd.js";import"./gateway.6da513da.js";import{P as E}from"./project.8378b21f.js";import"./tables.723282b3.js";import"./Logo.6d72a7bf.js";import"./popupNotifcation.f48fd864.js";import"./record.c63163fa.js";import"./string.042fe6bc.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]="95e1b213-c0d7-4900-91c3-140aab9a1875",t._sentryDebugIdIdentifier="sentry-dbid-95e1b213-c0d7-4900-91c3-140aab9a1875")}catch{}})();const R=t=>(W("data-v-7a979853"),t=t(),x(),t),U=R(()=>h("div",{class:"video-container"},[h("iframe",{class:"responsive-iframe",src:"https://www.youtube.com/embed/videoseries?list=PLFPJgKA6K86ZdAHZ3aPWsrZHX_7jJ3Cc9&autoplay=1&mute=1",frameborder:"0",allow:"autoplay; picture-in-picture;",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""})],-1)),V=f({__name:"View",props:{controller:{}},setup(t){const e=t,i=e.controller.loadingPercentage();return w(()=>{e.controller.start()}),y(()=>{e.controller.cleanUp()}),(d,_)=>(o(),l(k,null,{content:r(()=>[a(n(p),{align:"center",justify:"center",style:{width:"100vw",height:"100dvh"}},{default:r(()=>[a(n(p),{gap:"large",align:"center",vertical:"",style:{width:"45%","min-width":"600px"}},{default:r(()=>[a(T,{size:"large"}),U,a(n(I),{level:3},{default:r(()=>[c("Preparing your environment")]),_:1}),n(i)<100?(o(),l(n(u),{key:0},{default:r(()=>[c("We are setting things up... This may take up to 4 minutes.")]),_:1})):(o(),l(n(u),{key:1},{default:r(()=>[c("You will be redirected soon")]),_:1})),a(n(b),{size:[10,10],"show-info":!1,percent:n(i),"stroke-color":"#EA576A"},null,8,["percent"])]),_:1})]),_:1})]),_:1}))}});const B=A(V,[["__scopeId","data-v-7a979853"]]);class C{constructor(e,i=g){s(this,"projectId");s(this,"loading");s(this,"fetch",g);s(this,"interval",null);s(this,"urls",null);s(this,"totalWaitTime");s(this,"poolingInterval");s(this,"pingResponded",!1);this.projectId=e,this.loading=P(0),this.fetch=i,this.totalWaitTime=27e4,this.poolingInterval=2500}increment(){this.loading.value+=100/(this.totalWaitTime/this.poolingInterval)}speedUp(){this.totalWaitTime=5e3,this.poolingInterval=500,this.interval&&clearInterval(this.interval),this.interval=setInterval(async()=>{this.increment(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}navigate(){this.urls&&window.location.replace(this.urls.redirect),this.cleanUp()}async ping(){if(!this.urls)return!1;if(this.pingResponded)return!0;const e=await this.fetch(this.urls.ping,{signal:AbortSignal.timeout(500)});return this.pingResponded=e.status===200,this.pingResponded}async start(){const e=await E.startWebEditor(this.projectId);this.urls=e,this.interval=setInterval(async()=>{this.increment(),this.pingResponded||await this.ping()&&this.speedUp(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}cleanUp(){this.interval&&clearInterval(this.interval)}loadingPercentage(){return this.loading}}const X=f({__name:"WebEditor",setup(t){const i=j().params.projectId,d=new C(i);return(_,D)=>(o(),l(B,{controller:n(d)},null,8,["controller"]))}});export{X as default}; -//# sourceMappingURL=WebEditor.228adb1f.js.map +var m=Object.defineProperty;var v=(t,e,i)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var s=(t,e,i)=>(v(t,typeof e!="symbol"?e+"":e,i),i);import{d as g,W as w,ag as y,o,c as l,w as r,b as a,u as n,dg as p,dc as I,aF as c,db as u,cO as b,em as W,en as x,a as h,$ as A,e as P,ea as j}from"./vue-router.d93c72db.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{B as k}from"./BaseLayout.53dfe4a0.js";import{l as f}from"./fetch.a18f4d89.js";import"./gateway.0306d327.js";import{P as E}from"./project.cdada735.js";import"./tables.fd84686b.js";import"./Logo.3e4c9003.js";import"./popupNotifcation.fcd4681e.js";import"./record.a553a696.js";import"./string.d10c3089.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]="5cc13f9d-0588-4d4a-a28c-d2d99abdc962",t._sentryDebugIdIdentifier="sentry-dbid-5cc13f9d-0588-4d4a-a28c-d2d99abdc962")}catch{}})();const R=t=>(W("data-v-7a979853"),t=t(),x(),t),U=R(()=>h("div",{class:"video-container"},[h("iframe",{class:"responsive-iframe",src:"https://www.youtube.com/embed/videoseries?list=PLFPJgKA6K86ZdAHZ3aPWsrZHX_7jJ3Cc9&autoplay=1&mute=1",frameborder:"0",allow:"autoplay; picture-in-picture;",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""})],-1)),V=g({__name:"View",props:{controller:{}},setup(t){const e=t,i=e.controller.loadingPercentage();return w(()=>{e.controller.start()}),y(()=>{e.controller.cleanUp()}),(d,_)=>(o(),l(k,null,{content:r(()=>[a(n(p),{align:"center",justify:"center",style:{width:"100vw",height:"100dvh"}},{default:r(()=>[a(n(p),{gap:"large",align:"center",vertical:"",style:{width:"45%","min-width":"600px"}},{default:r(()=>[a(T,{size:"large"}),U,a(n(I),{level:3},{default:r(()=>[c("Preparing your environment")]),_:1}),n(i)<100?(o(),l(n(u),{key:0},{default:r(()=>[c("We are setting things up... This may take up to 4 minutes.")]),_:1})):(o(),l(n(u),{key:1},{default:r(()=>[c("You will be redirected soon")]),_:1})),a(n(b),{size:[10,10],"show-info":!1,percent:n(i),"stroke-color":"#EA576A"},null,8,["percent"])]),_:1})]),_:1})]),_:1}))}});const B=A(V,[["__scopeId","data-v-7a979853"]]);class C{constructor(e,i=f){s(this,"projectId");s(this,"loading");s(this,"fetch",f);s(this,"interval",null);s(this,"urls",null);s(this,"totalWaitTime");s(this,"poolingInterval");s(this,"pingResponded",!1);this.projectId=e,this.loading=P(0),this.fetch=i,this.totalWaitTime=27e4,this.poolingInterval=2500}increment(){this.loading.value+=100/(this.totalWaitTime/this.poolingInterval)}speedUp(){this.totalWaitTime=5e3,this.poolingInterval=500,this.interval&&clearInterval(this.interval),this.interval=setInterval(async()=>{this.increment(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}navigate(){this.urls&&window.location.replace(this.urls.redirect),this.cleanUp()}async ping(){if(!this.urls)return!1;if(this.pingResponded)return!0;const e=await this.fetch(this.urls.ping,{signal:AbortSignal.timeout(500)});return this.pingResponded=e.status===200,this.pingResponded}async start(){const e=await E.startWebEditor(this.projectId);this.urls=e,this.interval=setInterval(async()=>{this.increment(),this.pingResponded||await this.ping()&&this.speedUp(),this.loading.value>=100&&this.navigate()},this.poolingInterval)}cleanUp(){this.interval&&clearInterval(this.interval)}loadingPercentage(){return this.loading}}const X=g({__name:"WebEditor",setup(t){const i=j().params.projectId,d=new C(i);return(_,D)=>(o(),l(B,{controller:n(d)},null,8,["controller"]))}});export{X as default}; +//# sourceMappingURL=WebEditor.f217f590.js.map diff --git a/abstra_statics/dist/assets/Welcome.0bb5d62b.js b/abstra_statics/dist/assets/Welcome.0bb5d62b.js deleted file mode 100644 index 4f99d39280..0000000000 --- a/abstra_statics/dist/assets/Welcome.0bb5d62b.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as y}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{C as b}from"./ContentLayout.e4128d5d.js";import{l as h}from"./fetch.8d81adbd.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,d8 as p,aF as _,$ as x}from"./vue-router.7d22a765.js";import{u as I,E as T}from"./editor.e28b46d6.js";import{C as D}from"./Card.ea12dbe7.js";import"./Logo.6d72a7bf.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./asyncComputed.62fe9f61.js";import"./TabPane.4206d5f7.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]="57fec260-0db7-49f4-9780-a0ac1fba0f12",e._sentryDebugIdIdentifier="sentry-dbid-57fec260-0db7-49f4-9780-a0ac1fba0f12")}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.0bb5d62b.js.map diff --git a/abstra_statics/dist/assets/Welcome.6b253875.js b/abstra_statics/dist/assets/Welcome.6b253875.js new file mode 100644 index 0000000000..4a8638db12 --- /dev/null +++ b/abstra_statics/dist/assets/Welcome.6b253875.js @@ -0,0 +1,2 @@ +import{_ as y}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{C as b}from"./ContentLayout.cc8de746.js";import{l as h}from"./fetch.a18f4d89.js";import{d as w,eo as g,ea as k,e as v,o as r,c as d,w as n,b as p,a as C,u as c,d8 as _,aF as f,$ as x}from"./vue-router.d93c72db.js";import{u as I,E as T}from"./editor.01ba249d.js";import{C as D}from"./Card.6f8ccb1f.js";import"./Logo.3e4c9003.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./asyncComputed.d2f65d62.js";import"./TabPane.820835b5.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]="97148068-e2d7-4157-a642-4ed655bddcb3",e._sentryDebugIdIdentifier="sentry-dbid-97148068-e2d7-4157-a642-4ed655bddcb3")}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(),d(b,null,{default:n(()=>[p(c(D),{bordered:!1,class:"card"},{default:n(()=>[C("div",L,[p(y,{style:{"margin-bottom":"10px"}}),l.value?(r(),d(c(_),{key:0},{default:n(()=>[f("Loading...")]),_:1})):(r(),d(c(_),{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.6b253875.js.map diff --git a/abstra_statics/dist/assets/WidgetPreview.09072062.js b/abstra_statics/dist/assets/WidgetPreview.6fc52795.js similarity index 50% rename from abstra_statics/dist/assets/WidgetPreview.09072062.js rename to abstra_statics/dist/assets/WidgetPreview.6fc52795.js index 909b333fb8..48bfdd4792 100644 --- a/abstra_statics/dist/assets/WidgetPreview.09072062.js +++ b/abstra_statics/dist/assets/WidgetPreview.6fc52795.js @@ -1,2 +1,2 @@ -import{d as k,e as B,W as S,o as n,c as u,w as f,b as A,aF as I,e9 as P,ed as C,eU as D,u as y,bS 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.7d22a765.js";import{S as F}from"./Steps.db3ca432.js";import{W as L}from"./PlayerConfigProvider.b00461a5.js";import"./index.d9edc3f8.js";import"./colorHelpers.e5ec8c13.js";import"./index.143dc5b1.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]="8a3691e8-6e57-46c1-9459-a00ccc65e2ed",o._sentryDebugIdIdentifier="sentry-dbid-8a3691e8-6e57-46c1-9459-a00ccc65e2ed")}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 S(()=>{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(P(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.09072062.js.map +import{d as k,e as B,W as S,o as n,c as l,w as f,b as A,aF as I,e9 as P,ed as C,eU as D,u as y,bS as N,eZ as q,$ as W,ea as V,R as g,a as b,X as c,eb as v,ec as x,aR as w,q as E,t as $}from"./vue-router.d93c72db.js";import{S as F}from"./Steps.5f0ada68.js";import{W as L}from"./PlayerConfigProvider.46a07e66.js";import"./index.03f6e8fc.js";import"./colorHelpers.24f5763b.js";import"./index.77b08602.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]="23d95808-0d48-404d-8f9b-15dad7c396b6",o._sentryDebugIdIdentifier="sentry-dbid-23d95808-0d48-404d-8f9b-15dad7c396b6")}catch{}})();const K=k({__name:"ActionButton",props:{action:{},displayName:{},disabled:{type:Boolean},loading:{type:Boolean}},emits:["click"],setup(o,{emit:t}){const u=o,d=B(null);return S(()=>{d.value&&u.action.setElement(d.value)}),(r,i)=>(n(),l(y(q),null,{default:f(()=>[A(y(N),{ref_key:"element",ref:d,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(P(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(),u=B([]);function d(e){return E[e]||$[e]||null}function r(e){try{const s=JSON.parse(e);if(s.component=d(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(),l(L,{"main-color":"#d14056",class:"preview",background:"#fbfbfb","font-family":"Inter",locale:"en"},{default:f(()=>[p()?(n(),l(F,{key:0,class:"steps","steps-info":{current:1,total:3}})):g("",!0),b("div",M,[b("div",O,[(n(!0),c(w,null,v(i(),(a,h)=>(n(),c("div",{key:h,class:"widget"},[(n(),l(x(a.component),{"user-props":a.userProps,value:a.userProps.value,errors:u.value},null,8,["user-props","value","errors"]))]))),128))]),m().length?(n(),c("div",z,[(n(!0),c(w,null,v(m(),a=>(n(),l(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.6fc52795.js.map diff --git a/abstra_statics/dist/assets/Workflow.70137be1.js b/abstra_statics/dist/assets/Workflow.9788d429.js similarity index 99% rename from abstra_statics/dist/assets/Workflow.70137be1.js rename to abstra_statics/dist/assets/Workflow.9788d429.js index 0a52df3d1a..3e7c7f4d4d 100644 --- a/abstra_statics/dist/assets/Workflow.70137be1.js +++ b/abstra_statics/dist/assets/Workflow.9788d429.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 Se,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,cL as kt,Q as ir,ej as bt,aK as Sl,ey as Ss,db as So,bK as Ut,$ as lt,aA as $l,cT as rr,dg as At,ez as xl,eA as El,aV as Nl,bS as kl,d8 as ki,dl as Cl,cy as Ml,cx as Il,cK as Tl,eo as Al,em as Pl,en as Dl,eh as zl,eB as Bl}from"./vue-router.7d22a765.js";import{w as Wt,s as Ci}from"./metadata.9b52bd89.js";import{G as Ol}from"./PhArrowCounterClockwise.vue.7aa73d25.js";import{a as Rl,n as no,c as Vl,d as $s,v as xs,e as Es}from"./validations.de16515c.js";import{u as Hl}from"./uuid.65957d70.js";import{t as $o}from"./index.143dc5b1.js";import{W as Fo}from"./workspaces.7db2ec4c.js";import{u as Fl}from"./polling.f65e8dae.js";import"./index.caeca3de.js";import{B as un}from"./Badge.c37c51db.js";import{G as sr}from"./PhArrowDown.vue.647cad46.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]="1962b898-0a70-4e31-8f2f-d7bf77f931b9",e._sentryDebugIdIdentifier="sentry-dbid-1962b898-0a70-4e31-8f2f-d7bf77f931b9")}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),Su=[bu],$u={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,Su)):s.value==="light"?(O(),q("g",$u,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:$,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 $!=null&&v.push(lr($,_).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:$=!1,timeout:_,throwOnTimeout:b}=h!=null?h:{};let S=null;const N=[new Promise(k=>{S=Ee([e,d],([V,Y])=>{t!==(V===Y)&&(S==null||S(),k(V))},{flush:g,deep:$,immediate:!0})})];return _!=null&&N.push(lr(_,b).then(()=>nt(e)).finally(()=>(S==null||S(),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 $=Array.from(g);return $.includes(d)||$.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($=>a(c,g,$,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(),$=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,S=()=>Ou(e[t])?b(e[t]):d,v=N=>{h?h(N)&&$(_,N):$(_,N)};if(l){const N=S(),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 S()},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<$;);k._next=V||null}}return s=new Re(s,o),s._enter=a,s._exit=l,s}function _c(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function bc(){return new Re(this._exit||this._groups.map(Ps),this._parents)}function Sc(e,t,n){var o=this.enter(),i=this,r=this.exit();return typeof e=="function"?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),t!=null&&(i=t(i),i&&(i=i.selection())),n==null?r.remove():n(r),o&&i?o.merge(i).order():i}function $c(e){for(var t=e.selection?e.selection():e,n=this._groups,o=t._groups,i=n.length,r=o.length,s=Math.min(i,r),a=new Array(i),l=0;l=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",S,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",$,mn).on("mouseup.drag",_,mn),Fs(k.view),Yo(k),u=!1,a=k.clientX,l=k.clientY,Y("start",k))}}function $(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,$){if(u!==d||c!==h){var _=g.push(i(g)+"scale(",null,",",null,")");$.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 $=-1,_=h.length,b;++$<_;)d[(b=h[$]).i]=b.x(g);return d.join("")}}}var nf=Ws(ef,"px, ","px)","deg)"),of=Ws(tf,", ",")",")"),rf=1e-12;function Sr(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,$=d-l,_=g*g+$*$,b,S;if(_=0&&e._call.call(void 0,t),e=e._next;--Kt}function $r(){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($r,e-bn.now()-ko)),rn&&(rn=clearInterval(rn))):(rn||(ao=bn.now(),rn=setInterval(df,qs)),Kt=1,Ks($r))}}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 Sh(){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 $h(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=Sh,n=Eh,o=$h,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,$=150,_=0,b=10;function S(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)")}S.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()})},S.scaleBy=function(f,x,y,M){S.scaleTo(f,function(){var E=this.__zoom.k,I=typeof x=="function"?x.apply(this,arguments):x;return E*I},y,M)},S.scaleTo=function(f,x,y,M){S.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)},S.translateBy=function(f,x,y,M){S.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)},S.translateTo=function(f,x,y,M,E){S.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:S,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,$),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(S.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||{}),St=(e=>(e.Bezier="default",e.SimpleBezier="simple-bezier",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e))(St||{}),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||S>=k||d.dragging)&&s.push(d)}return s}function $t(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),$=n/2-h*c+((b=s.y)!=null?b:0);return{x:g,y:$,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 Sn(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 Se,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,cL as kt,Q as ir,ej as bt,aK as Sl,ey as Ss,db as So,bK as Ut,$ as lt,aA as $l,cT as rr,dg as At,ez as xl,eA as El,aV as Nl,bS as kl,d8 as ki,dl as Cl,cy as Ml,cx as Il,cK as Tl,eo as Al,em as Pl,en as Dl,eh as zl,eB as Bl}from"./vue-router.d93c72db.js";import{w as Wt,s as Ci}from"./metadata.7b1155be.js";import{G as Ol}from"./PhArrowCounterClockwise.vue.b00021df.js";import{a as Rl,n as no,c as Vl,d as $s,v as xs,e as Es}from"./validations.6e89473f.js";import{u as Hl}from"./uuid.848d284c.js";import{t as $o}from"./index.77b08602.js";import{W as Fo}from"./workspaces.054b755b.js";import{u as Fl}from"./polling.be8756ca.js";import"./index.d05003c4.js";import{B as un}from"./Badge.819cb645.js";import{G as sr}from"./PhArrowDown.vue.4dd765b6.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]="c8e51571-1bc0-4f1e-bde0-37bcce1505e6",e._sentryDebugIdIdentifier="sentry-dbid-c8e51571-1bc0-4f1e-bde0-37bcce1505e6")}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),Su=[bu],$u={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,Su)):s.value==="light"?(O(),q("g",$u,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:$,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 $!=null&&v.push(lr($,_).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:$=!1,timeout:_,throwOnTimeout:b}=h!=null?h:{};let S=null;const N=[new Promise(k=>{S=Ee([e,d],([V,Y])=>{t!==(V===Y)&&(S==null||S(),k(V))},{flush:g,deep:$,immediate:!0})})];return _!=null&&N.push(lr(_,b).then(()=>nt(e)).finally(()=>(S==null||S(),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 $=Array.from(g);return $.includes(d)||$.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($=>a(c,g,$,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(),$=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,S=()=>Ou(e[t])?b(e[t]):d,v=N=>{h?h(N)&&$(_,N):$(_,N)};if(l){const N=S(),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 S()},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<$;);k._next=V||null}}return s=new Re(s,o),s._enter=a,s._exit=l,s}function _c(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function bc(){return new Re(this._exit||this._groups.map(Ps),this._parents)}function Sc(e,t,n){var o=this.enter(),i=this,r=this.exit();return typeof e=="function"?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),t!=null&&(i=t(i),i&&(i=i.selection())),n==null?r.remove():n(r),o&&i?o.merge(i).order():i}function $c(e){for(var t=e.selection?e.selection():e,n=this._groups,o=t._groups,i=n.length,r=o.length,s=Math.min(i,r),a=new Array(i),l=0;l=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",S,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",$,mn).on("mouseup.drag",_,mn),Fs(k.view),Yo(k),u=!1,a=k.clientX,l=k.clientY,Y("start",k))}}function $(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,$){if(u!==d||c!==h){var _=g.push(i(g)+"scale(",null,",",null,")");$.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 $=-1,_=h.length,b;++$<_;)d[(b=h[$]).i]=b.x(g);return d.join("")}}}var nf=Ws(ef,"px, ","px)","deg)"),of=Ws(tf,", ",")",")"),rf=1e-12;function Sr(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,$=d-l,_=g*g+$*$,b,S;if(_=0&&e._call.call(void 0,t),e=e._next;--Kt}function $r(){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($r,e-bn.now()-ko)),rn&&(rn=clearInterval(rn))):(rn||(ao=bn.now(),rn=setInterval(df,qs)),Kt=1,Ks($r))}}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 Sh(){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 $h(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=Sh,n=Eh,o=$h,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,$=150,_=0,b=10;function S(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)")}S.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()})},S.scaleBy=function(f,x,y,M){S.scaleTo(f,function(){var E=this.__zoom.k,I=typeof x=="function"?x.apply(this,arguments):x;return E*I},y,M)},S.scaleTo=function(f,x,y,M){S.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)},S.translateBy=function(f,x,y,M){S.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)},S.translateTo=function(f,x,y,M,E){S.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:S,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,$),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(S.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||{}),St=(e=>(e.Bezier="default",e.SimpleBezier="simple-bezier",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e))(St||{}),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||S>=k||d.dragging)&&s.push(d)}return s}function $t(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),$=n/2-h*c+((b=s.y)!=null?b:0);return{x:g,y:$,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 Sn(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`);Sl(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:$t([I],a.value)};d.miniMapNodeClick(C),t("nodeClick",C)}function f(E,I){const C={event:E,node:I,connectedEdges:$t([I],a.value)};d.miniMapNodeDoubleClick(C),t("nodeDblclick",C)}function x(E,I){const C={event:E,node:I,connectedEdges:$t([I],a.value)};d.miniMapNodeMouseEnter(C),t("nodeMouseenter",C)}function y(E,I){const C={event:E,node:I,connectedEdges:$t([I],a.value)};d.miniMapNodeMouseMove(C),t("nodeMousemove",C)}function M(E,I){const C={event:E,node:I,connectedEdges:$t([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:S.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,$y)):me("",!0),(O(!0),q(Ae,null,tn(D($),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,Sy))]),_: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),$=be(()=>u.value.zoom>=d.value);function _(){s(),t("zoomIn")}function b(){a(),t("zoomOut")}function S(){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:$.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:S},{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(So),{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($l),{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(So),{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(So),{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,$,_,b,S){let v=.5;S==="start"?v=0:S==="end"&&(v=1);let N=[(g.x+g.width*v)*$.zoom+$.x,g.y*$.zoom+$.y-b],k=[-100*v,-100];switch(_){case te.Right:N=[(g.x+g.width)*$.zoom+$.x+b,(g.y+g.height*v)*$.zoom+$.y],k=[0,-100*v];break;case te.Bottom:N[1]=(g.y+g.height)*$.zoom+$.y+b,k[1]=0;break;case te.Left:N=[g.x*$.zoom+$.x-b,(g.y+g.height*v)*$.zoom+$.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,$)=>{const _=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,$)=>(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(So),{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}=$o,{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:$,onNodeMouseEnter:_,getNodes:b,onNodeMouseLeave:S}=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($({x:X.x-180,y:X.y-52}))}}),S(()=>{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=$(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"]]),S1=he({__name:"IteratorNode",props:{stage:{},node:{},controller:{}},setup(e){const t=e,{useToken:n}=$o,{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:$,getNodes:_,onNodeMouseEnter:b,onNodeMouseLeave:S}=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($({x:J.x-180,y:J.y-52}))}}),S(()=>{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=$(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 $1=lt(S1,[["__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}=$o,{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:$,updateConnection:_,onNodeClick:b,addEdges:S,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)=>{$({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),S({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=$s(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,S){r.value=!0,b?(b.setData("application/vueflow",S),b.effectAllowed="move",n.value=S,i.value=!0,document.addEventListener("drop",d)):(n.value=S,document.addEventListener("click",$))}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 S={x:b.pageX-200,y:b.pageY-80};t.mousePosition.value=S}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 $(b){if(!e)return;if(!n.value)throw new Error("No dragged type");const S=g(b);e.addStages([{type:n.value,position:S}]),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:$}}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}=$o,{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,Ss(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($1,{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.70137be1.js.map +//# sourceMappingURL=Workflow.9788d429.js.map diff --git a/abstra_statics/dist/assets/WorkflowEditor.9915a3bf.js b/abstra_statics/dist/assets/WorkflowEditor.6289c346.js similarity index 77% rename from abstra_statics/dist/assets/WorkflowEditor.9915a3bf.js rename to abstra_statics/dist/assets/WorkflowEditor.6289c346.js index 27f41e57d6..df1420a438 100644 --- a/abstra_statics/dist/assets/WorkflowEditor.9915a3bf.js +++ b/abstra_statics/dist/assets/WorkflowEditor.6289c346.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.2772643e.js";import{O as I,u as J,a as Y,W as q,b as Q}from"./Workflow.70137be1.js";import{a as ee}from"./asyncComputed.62fe9f61.js";import{d as x,o as u,X as m,b as c,w as p,u as t,aR as D,eb as N,c as K,dg as _,db as A,aF as k,e9 as h,a as oe,ec as P,cN as te,bS as re,$ as z,g as se,W as ae,ag as ne,ed as ie,R as B,Y as le}from"./vue-router.7d22a765.js";import{U as de,G as ce}from"./UnsavedChangesHandler.76f4b4a0.js";import{w as T}from"./metadata.9b52bd89.js";import{A as pe}from"./index.89bac5b6.js";import"./fetch.8d81adbd.js";import"./PhArrowCounterClockwise.vue.7aa73d25.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./uuid.65957d70.js";import"./index.143dc5b1.js";import"./workspaces.7db2ec4c.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./record.c63163fa.js";import"./polling.f65e8dae.js";import"./index.caeca3de.js";import"./Badge.c37c51db.js";import"./PhArrowDown.vue.647cad46.js";import"./ExclamationCircleOutlined.d11a1598.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.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]="50cb0829-d969-484e-ae72-d8196e391f63",e._sentryDebugIdIdentifier="sentry-dbid-50cb0829-d969-484e-ae72-d8196e391f63")}catch{}})();const f=e=>I.isMac?e.metaKey:e.ctrlKey,ue=e=>e.altKey,L=e=>e.shiftKey,b={alt:ue,"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:f,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 fe{constructor(r){w(this,"pressedKeys");w(this,"evt");this.evt=r,this.pressedKeys={};const s=n=>i=>{Object.keys(b).forEach(y=>{b[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?b[r](this.evt):(s=this.pressedKeys[r])!=null?s:!1}}new fe;const ye=["onDragstart"],me=x({__name:"BottomToolbar",props:{controller:{}},emits:["drag-start"],setup(e,{emit:r}){return(s,n)=>(u(),m(D,null,[c(t(_),{class:"toolbar",align:"center"},{default:p(()=>[(u(!0),m(D,null,N(t(T).stages,i=>(u(),K(t(te),{key:i.key,placement:"top"},{title:p(()=>[c(t(_),{gap:"small"},{default:p(()=>[c(t(A),null,{default:p(()=>[k(h(i.title),1)]),_:2},1024),c(t(A),{keyboard:""},{default:p(()=>[k(h(i.key),1)]),_:2},1024)]),_:2},1024)]),content:p(()=>[k(h(i.description),1)]),default:p(()=>[oe("div",{draggable:!0,class:"toolbar__item",onDragstart:y=>r("drag-start",y.dataTransfer,i.typeName)},[(u(),K(P(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=z(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")&&f(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"?f(o)?((a=l.value)==null||a.save(),o.preventDefault()):n(null,"scripts"):(o.key==="a"||o.key==="A")&&f(o)?(M(H.value),o.preventDefault()):o.key==="0"&&f(o)?(R(),o.preventDefault()):(o.key==="="||o.key==="+")&&f(o)?(o.preventDefault(),O()):o.key==="-"&&f(o)&&(o.preventDefault(),U())))};return ae(()=>{window.addEventListener("keydown",C)}),ne(()=>{window.removeEventListener("keydown",C),s()}),(o,d)=>t(l)?(u(),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"]),(u(!0),m(D,null,N(t(T).stages,a=>{var E,S;return u(),m("div",{key:a.key},[t(g)&&!t(y)&&a.typeName===t(V)?(u(),m("div",{key:0,class:"dragging-node",style:le({left:`${(E=t(v))==null?void 0:E.x}px`,top:`${(S=t(v))==null?void 0:S.y}px`,position:"absolute",cursor:t(g)?"grabbing":"grab"})},[(u(),K(P(a.icon),{size:18}))],4)):B("",!0)])}),128))],34)):B("",!0)}});const je=z(ke,[["__scopeId","data-v-db9488c4"]]);export{je as default}; -//# sourceMappingURL=WorkflowEditor.9915a3bf.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.bff7d58f.js";import{O as I,u as J,a as Y,W as q,b as Q}from"./Workflow.9788d429.js";import{a as ee}from"./asyncComputed.d2f65d62.js";import{d as x,o as u,X as m,b as c,w as p,u as t,aR as D,eb as N,c as K,dg as _,db as A,aF as k,e9 as h,a as oe,ec as P,cN as te,bS as re,$ as z,g as se,W as ae,ag as ne,ed as ie,R as B,Y as le}from"./vue-router.d93c72db.js";import{U as de,G as ce}from"./UnsavedChangesHandler.9048a281.js";import{w as T}from"./metadata.7b1155be.js";import{A as pe}from"./index.313ae0a2.js";import"./fetch.a18f4d89.js";import"./PhArrowCounterClockwise.vue.b00021df.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./uuid.848d284c.js";import"./index.77b08602.js";import"./workspaces.054b755b.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./record.a553a696.js";import"./polling.be8756ca.js";import"./index.d05003c4.js";import"./Badge.819cb645.js";import"./PhArrowDown.vue.4dd765b6.js";import"./ExclamationCircleOutlined.b91f0cc2.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.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]="7446183b-a56d-4fac-813a-a04ca1d7116e",e._sentryDebugIdIdentifier="sentry-dbid-7446183b-a56d-4fac-813a-a04ca1d7116e")}catch{}})();const f=e=>I.isMac?e.metaKey:e.ctrlKey,ue=e=>e.altKey,L=e=>e.shiftKey,b={alt:ue,"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:f,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 fe{constructor(r){w(this,"pressedKeys");w(this,"evt");this.evt=r,this.pressedKeys={};const s=n=>i=>{Object.keys(b).forEach(y=>{b[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?b[r](this.evt):(s=this.pressedKeys[r])!=null?s:!1}}new fe;const ye=["onDragstart"],me=x({__name:"BottomToolbar",props:{controller:{}},emits:["drag-start"],setup(e,{emit:r}){return(s,n)=>(u(),m(D,null,[c(t(_),{class:"toolbar",align:"center"},{default:p(()=>[(u(!0),m(D,null,N(t(T).stages,i=>(u(),K(t(te),{key:i.key,placement:"top"},{title:p(()=>[c(t(_),{gap:"small"},{default:p(()=>[c(t(A),null,{default:p(()=>[k(h(i.title),1)]),_:2},1024),c(t(A),{keyboard:""},{default:p(()=>[k(h(i.key),1)]),_:2},1024)]),_:2},1024)]),content:p(()=>[k(h(i.description),1)]),default:p(()=>[oe("div",{draggable:!0,class:"toolbar__item",onDragstart:y=>r("drag-start",y.dataTransfer,i.typeName)},[(u(),K(P(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=z(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")&&f(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"?f(o)?((a=l.value)==null||a.save(),o.preventDefault()):n(null,"scripts"):(o.key==="a"||o.key==="A")&&f(o)?(M(H.value),o.preventDefault()):o.key==="0"&&f(o)?(R(),o.preventDefault()):(o.key==="="||o.key==="+")&&f(o)?(o.preventDefault(),O()):o.key==="-"&&f(o)&&(o.preventDefault(),U())))};return ae(()=>{window.addEventListener("keydown",C)}),ne(()=>{window.removeEventListener("keydown",C),s()}),(o,d)=>t(l)?(u(),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"]),(u(!0),m(D,null,N(t(T).stages,a=>{var E,S;return u(),m("div",{key:a.key},[t(g)&&!t(y)&&a.typeName===t(V)?(u(),m("div",{key:0,class:"dragging-node",style:le({left:`${(E=t(v))==null?void 0:E.x}px`,top:`${(S=t(v))==null?void 0:S.y}px`,position:"absolute",cursor:t(g)?"grabbing":"grab"})},[(u(),K(P(a.icon),{size:18}))],4)):B("",!0)])}),128))],34)):B("",!0)}});const je=z(ke,[["__scopeId","data-v-db9488c4"]]);export{je as default}; +//# sourceMappingURL=WorkflowEditor.6289c346.js.map diff --git a/abstra_statics/dist/assets/WorkflowThreads.17a5860b.js b/abstra_statics/dist/assets/WorkflowThreads.17a5860b.js new file mode 100644 index 0000000000..d71e99e22a --- /dev/null +++ b/abstra_statics/dist/assets/WorkflowThreads.17a5860b.js @@ -0,0 +1,2 @@ +import{E as y}from"./api.bff7d58f.js";import{C as w}from"./ContentLayout.cc8de746.js";import{d as c,L as g,N as d,e as _,o as e,c as i,w as f,b as n,u as o,R as s}from"./vue-router.d93c72db.js";import{K as v,_ as K,W as R,E,a as T}from"./WorkflowView.0a0b846e.js";import{A as p,T as V}from"./TabPane.820835b5.js";import"./fetch.a18f4d89.js";import"./metadata.7b1155be.js";import"./PhBug.vue.2cdd0af8.js";import"./PhCheckCircle.vue.68babecd.js";import"./PhKanban.vue.04c2aadb.js";import"./PhWebhooksLogo.vue.ea2526db.js";import"./polling.be8756ca.js";import"./asyncComputed.d2f65d62.js";import"./PhQuestion.vue.1e79437f.js";import"./ant-design.2a356765.js";import"./index.090b2bf1.js";import"./index.1b012bfe.js";import"./index.37cd2d5b.js";import"./CollapsePanel.79713856.js";import"./index.313ae0a2.js";import"./index.7c698315.js";import"./Badge.819cb645.js";import"./PhArrowCounterClockwise.vue.b00021df.js";import"./Workflow.9788d429.js";import"./validations.6e89473f.js";import"./string.d10c3089.js";import"./uuid.848d284c.js";import"./index.77b08602.js";import"./workspaces.054b755b.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./record.a553a696.js";import"./index.d05003c4.js";import"./PhArrowDown.vue.4dd765b6.js";import"./Card.6f8ccb1f.js";import"./LoadingOutlined.e222117b.js";import"./DeleteOutlined.992cbf70.js";import"./PhDownloadSimple.vue.798ada40.js";import"./utils.83debec2.js";import"./LoadingContainer.075249df.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]="bdcd24c2-0fd3-4df0-afb9-7874d2ab51b2",r._sentryDebugIdIdentifier="sentry-dbid-bdcd24c2-0fd3-4df0-afb9-7874d2ab51b2")}catch{}})();const yo=c({__name:"WorkflowThreads",setup(r){const t=new E,m=new T,l=new g(d.array(d.string()),"kanban-selected-stages"),u=new y,a=_("kanban");return(W,b)=>(e(),i(w,{"full-width":""},{default:f(()=>[n(o(V),{activeKey:a.value,"onUpdate:activeKey":b[0]||(b[0]=k=>a.value=k)},{default:f(()=>[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(l),"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.17a5860b.js.map diff --git a/abstra_statics/dist/assets/WorkflowThreads.a0bad6e7.js b/abstra_statics/dist/assets/WorkflowThreads.a0bad6e7.js deleted file mode 100644 index a8d00663ad..0000000000 --- a/abstra_statics/dist/assets/WorkflowThreads.a0bad6e7.js +++ /dev/null @@ -1,2 +0,0 @@ -import{E as y}from"./api.2772643e.js";import{C as c}from"./ContentLayout.e4128d5d.js";import{d as w,L as g,N as f,e as _,o as a,c as i,w as b,b as n,u as o,R as s}from"./vue-router.7d22a765.js";import{K as v,_ as K,W as R,E,a as T}from"./WorkflowView.48ecfe92.js";import{A as p,T as V}from"./TabPane.4206d5f7.js";import"./fetch.8d81adbd.js";import"./metadata.9b52bd89.js";import"./PhBug.vue.fd83bab4.js";import"./PhCheckCircle.vue.912aee3f.js";import"./PhKanban.vue.76078103.js";import"./PhWebhooksLogo.vue.4693bfce.js";import"./polling.f65e8dae.js";import"./asyncComputed.62fe9f61.js";import"./PhQuestion.vue.52f4cce8.js";import"./ant-design.c6784518.js";import"./index.28152a0c.js";import"./index.185e14fb.js";import"./index.eabeddc9.js";import"./CollapsePanel.e3bd0766.js";import"./index.89bac5b6.js";import"./index.8fb2fffd.js";import"./Badge.c37c51db.js";import"./PhArrowCounterClockwise.vue.7aa73d25.js";import"./Workflow.70137be1.js";import"./validations.de16515c.js";import"./string.042fe6bc.js";import"./uuid.65957d70.js";import"./index.143dc5b1.js";import"./workspaces.7db2ec4c.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./record.c63163fa.js";import"./index.caeca3de.js";import"./PhArrowDown.vue.647cad46.js";import"./Card.ea12dbe7.js";import"./LoadingOutlined.0a0dc718.js";import"./DeleteOutlined.5491ff33.js";import"./PhDownloadSimple.vue.c2d6c2cb.js";import"./utils.6e13a992.js";import"./LoadingContainer.9f69b37b.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]="3563f5d9-967b-4e2f-a245-cccad4de0826",r._sentryDebugIdIdentifier="sentry-dbid-3563f5d9-967b-4e2f-a245-cccad4de0826")}catch{}})();const yo=w({__name:"WorkflowThreads",setup(r){const t=new E,m=new T,d=new g(f.array(f.string()),"kanban-selected-stages"),u=new y,e=_("kanban");return(W,l)=>(a(),i(c,{"full-width":""},{default:b(()=>[n(o(V),{activeKey:e.value,"onUpdate:activeKey":l[0]||(l[0]=k=>e.value=k)},{default:b(()=>[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"]),e.value==="kanban"?(a(),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),e.value==="table"?(a(),i(K,{key:1,"kanban-repository":o(t)},null,8,["kanban-repository"])):s("",!0),e.value==="workflow"?(a(),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.a0bad6e7.js.map diff --git a/abstra_statics/dist/assets/WorkflowView.48ecfe92.js b/abstra_statics/dist/assets/WorkflowView.0a0b846e.js similarity index 98% rename from abstra_statics/dist/assets/WorkflowView.48ecfe92.js rename to abstra_statics/dist/assets/WorkflowView.0a0b846e.js index 623d21f96c..f67bf16845 100644 --- a/abstra_statics/dist/assets/WorkflowView.48ecfe92.js +++ b/abstra_statics/dist/assets/WorkflowView.0a0b846e.js @@ -1,4 +1,4 @@ -import{l as Cn}from"./fetch.8d81adbd.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,cL as xo,dl as Co,c as Y,w,eb as se,aF as lt,e9 as Tt,u as E,db as Pe,d1 as Oo,aR as _t,$ as Ee,dg as xt,d4 as qe,da as lr,dc as on,bx as Ao,ec as On,aV as Bn,cw as Pr,em as Io,en as To,bS as ne,eI as Po,eJ as Ro,bK as Kn,cT as Zn,aA as Jn,cA as Do,g as Rr,K as Lo,cx as wo,cy as cr,eo as jo,W as Qn,ag as kn,ej as Mo,eK as No,cX as ur}from"./vue-router.7d22a765.js";import{A as Fo}from"./api.2772643e.js";import{u as Dr}from"./polling.f65e8dae.js";import{s as An}from"./metadata.9b52bd89.js";import{a as qn}from"./asyncComputed.62fe9f61.js";import{H as Uo}from"./PhQuestion.vue.52f4cce8.js";import{t as $o,a as Lr}from"./ant-design.c6784518.js";import{A as pe}from"./index.28152a0c.js";import{f as Go}from"./index.185e14fb.js";import{T as Bo,A as Ko}from"./index.eabeddc9.js";import{A as wr,C as jr}from"./CollapsePanel.e3bd0766.js";import{A as Wo}from"./index.89bac5b6.js";import{A as zo}from"./index.8fb2fffd.js";import{G as Vo}from"./PhArrowCounterClockwise.vue.7aa73d25.js";import{I as Ho,S as Mr,c as Xo,W as Yo,b as Zo}from"./Workflow.70137be1.js";import{C as Nr,A as Jo}from"./Card.ea12dbe7.js";import{L as Fr}from"./LoadingOutlined.0a0dc718.js";import{D as Ur}from"./DeleteOutlined.5491ff33.js";import{P as Qo}from"./TabPane.4206d5f7.js";import{c as ko}from"./string.042fe6bc.js";import{G as qo}from"./PhDownloadSimple.vue.c2d6c2cb.js";import{d as _o}from"./utils.6e13a992.js";import{L as ta}from"./LoadingContainer.9f69b37b.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]="7c7287db-7434-4583-bb68-07604dad1073",i._sentryDebugIdIdentifier="sentry-dbid-7c7287db-7434-4583-bb68-07604dad1073")}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.a18f4d89.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,cL as xo,dl as Co,c as Y,w,eb as se,aF as lt,e9 as Tt,u as E,db as Pe,d1 as Oo,aR as _t,$ as Ee,dg as xt,d4 as qe,da as lr,dc as on,bx as Ao,ec as On,aV as Bn,cw as Pr,em as Io,en as To,bS as ne,eI as Po,eJ as Ro,bK as Kn,cT as Zn,aA as Jn,cA as Do,g as Rr,K as Lo,cx as wo,cy as cr,eo as jo,W as Qn,ag as kn,ej as Mo,eK as No,cX as ur}from"./vue-router.d93c72db.js";import{A as Fo}from"./api.bff7d58f.js";import{u as Dr}from"./polling.be8756ca.js";import{s as An}from"./metadata.7b1155be.js";import{a as qn}from"./asyncComputed.d2f65d62.js";import{H as Uo}from"./PhQuestion.vue.1e79437f.js";import{t as $o,a as Lr}from"./ant-design.2a356765.js";import{A as pe}from"./index.090b2bf1.js";import{f as Go}from"./index.1b012bfe.js";import{T as Bo,A as Ko}from"./index.37cd2d5b.js";import{A as wr,C as jr}from"./CollapsePanel.79713856.js";import{A as Wo}from"./index.313ae0a2.js";import{A as zo}from"./index.7c698315.js";import{G as Vo}from"./PhArrowCounterClockwise.vue.b00021df.js";import{I as Ho,S as Mr,c as Xo,W as Yo,b as Zo}from"./Workflow.9788d429.js";import{C as Nr,A as Jo}from"./Card.6f8ccb1f.js";import{L as Fr}from"./LoadingOutlined.e222117b.js";import{D as Ur}from"./DeleteOutlined.992cbf70.js";import{P as Qo}from"./TabPane.820835b5.js";import{c as ko}from"./string.d10c3089.js";import{G as qo}from"./PhDownloadSimple.vue.798ada40.js";import{d as _o}from"./utils.83debec2.js";import{L as ta}from"./LoadingContainer.075249df.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]="1efa2369-94ea-44c5-a907-673401106103",i._sentryDebugIdIdentifier="sentry-dbid-1efa2369-94ea-44c5-a907-673401106103")}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),H=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(H,j++,ot)}return H.length=j,H}})},"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),H=arguments.length,j,U,X,$,z,ot;if(H===0?j=U=0:H===1?(j=0,U=M-B):(j=H-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)&&V===void 0||C(V)))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),H=u(M.length),j=0,U=D||d,X=m?U(P,H):h?U(P,0):void 0,$,z;H>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],H=M[1];a(String.prototype,y,B),a(RegExp.prototype,S,T==2?function(j,U){return H.call(j,this,U)}:function(j){return H.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})}},Ve=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,He=i=>i!==void 0&&co(i)&&"conditions"in i&&Array.isArray(i.conditions),Or=i=>i!==void 0&&co(i)&&"condition"in i&&Ve(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})),H=c.selectedStages.value,j=t.value.columns.map(X=>X.stage_run_cards).flat();for(const X of H){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(H=>H.selected_stage.id!==D.id);const A=c.allStages.value,M=A.findIndex(H=>H.id===D.id);let B=0;for(const H of t.value.next_stage_options)A.findIndex(U=>U.id===H.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(Ho),{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(Vo),{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(He)(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(Ve(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&&He(e.value)&&e.value.conditions.push(s)},r=()=>{Ve(e.value)&&(e.value=void 0)},c=()=>{const s=xn(),l=uo();if(e.value===void 0)e.value=l;else if(Ve(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&&He(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(He)(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(Ve)(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(He)(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"},Vc={class:"stages-content"},Hc=$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",Vc,[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(Hc,[["__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 H of R.content)A[H.key]=JSON.stringify(H.value);return[R.id,(M=D==null?void 0:D.title)!=null?M:"",R.status,(B=R.updated_at)!=null?B:"",...h.map(H=>A[H]||"")]}),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.48ecfe92.js.map +//# sourceMappingURL=WorkflowView.0a0b846e.js.map diff --git a/abstra_statics/dist/assets/Workspace.59587e5f.js b/abstra_statics/dist/assets/Workspace.51901c69.js similarity index 89% rename from abstra_statics/dist/assets/Workspace.59587e5f.js rename to abstra_statics/dist/assets/Workspace.51901c69.js index e39d16c1c2..bbe66d0d00 100644 --- a/abstra_statics/dist/assets/Workspace.59587e5f.js +++ b/abstra_statics/dist/assets/Workspace.51901c69.js @@ -1,2 +1,2 @@ -import{B as z}from"./BaseLayout.0d928ff1.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,bS as B,bQ 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,cI as F,Y as G,$ as E}from"./vue-router.7d22a765.js";import{F as W}from"./PhSignOut.vue.618d1f5c.js";import{u as q}from"./editor.e28b46d6.js";import{N as R}from"./NavbarControls.dc4d4339.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js";import{I as O,G as Q}from"./PhIdentificationBadge.vue.f2200d74.js";import{G as X}from"./PhCaretRight.vue.053320ac.js";import{G as Y}from"./PhFlowArrow.vue.67873dec.js";import{G as J}from"./PhKanban.vue.76078103.js";import{b as K}from"./index.21dc8b6c.js";import"./workspaceStore.1847e3fb.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./asyncComputed.62fe9f61.js";import"./CloseCircleOutlined.8dad9616.js";import"./index.3db2f466.js";import"./index.28152a0c.js";import"./workspaces.7db2ec4c.js";import"./record.c63163fa.js";import"./popupNotifcation.f48fd864.js";import"./PhArrowSquareOut.vue.a1699b2d.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js";import"./BookOutlined.238b8620.js";import"./PhChats.vue.afcd5876.js";import"./Logo.6d72a7bf.js";import"./index.4c73e857.js";import"./Avatar.34816737.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]="1d11d1dc-e5bf-40f8-842f-56b7dd068e38",u._sentryDebugIdIdentifier="sentry-dbid-1d11d1dc-e5bf-40f8-842f-56b7dd068e38")}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},Q0=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),X0=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),Y0=[Q0,X0],J0={key:2},K0=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=[K0],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,Y0)):r.value==="fill"?(e(),l("g",J0,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},Q1=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),X1=[Q1],Y1={key:5},J1=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),K1=[J1],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,X1)):r.value==="thin"?(e(),l("g",Y1,K1)):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:Y,path:"/_editor/workflow"},{name:"Stages",icon:C1,path:"/_editor/stages"},{name:"Threads",icon:J,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:Q,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(X),{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(K),{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.59587e5f.js.map +import{B as z}from"./BaseLayout.53dfe4a0.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 b,bS as B,bQ as P,ea as N,e as j,r as C,aR as k,eb as x,ec as D,ed as L,aV as I,cI as F,Y as G,$ as E}from"./vue-router.d93c72db.js";import{F as W}from"./PhSignOut.vue.33fd1944.js";import{u as q}from"./editor.01ba249d.js";import{N as R}from"./NavbarControls.9c6236d6.js";import{_ as T}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js";import{I as O,G as Q}from"./PhIdentificationBadge.vue.3ad9df43.js";import{G as X}from"./PhCaretRight.vue.246b48ee.js";import{G as Y}from"./PhFlowArrow.vue.54661f9c.js";import{G as J}from"./PhKanban.vue.04c2aadb.js";import{b as K}from"./index.70aedabb.js";import"./workspaceStore.f24e9a7b.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./asyncComputed.d2f65d62.js";import"./CloseCircleOutlined.f1ce344f.js";import"./index.b7b1d42b.js";import"./index.090b2bf1.js";import"./workspaces.054b755b.js";import"./record.a553a696.js";import"./popupNotifcation.fcd4681e.js";import"./PhArrowSquareOut.vue.ba2ca743.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js";import"./BookOutlined.1dc76168.js";import"./PhChats.vue.860dd615.js";import"./Logo.3e4c9003.js";import"./index.5dabdfbc.js";import"./Avatar.0cc5fd49.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]="2b141419-d9b8-400f-9893-2dbf4abaa158",u._sentryDebugIdIdentifier="sentry-dbid-2b141419-d9b8-400f-9893-2dbf4abaa158")}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),b0=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),k0=[H0,b0],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,k0)):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},Q0=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),X0=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),Y0=[Q0,X0],J0={key:2},K0=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=[K0],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,Y0)):r.value==="fill"?(e(),l("g",J0,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),b1=[H1],k1={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,b1)):r.value==="thin"?(e(),l("g",k1,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},Q1=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),X1=[Q1],Y1={key:5},J1=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),K1=[J1],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,X1)):r.value==="thin"?(e(),l("g",Y1,K1)):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(" "+b((i=p(o).cloudProject)==null?void 0:i.name),1)]}),_:1})]),_:1}))}});const b2={class:"logo"},k2={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:Y,path:"/_editor/workflow"},{name:"Stages",icon:C1,path:"/_editor/stages"},{name:"Threads",icon:J,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:Q,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",b2,[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(k,null,x(r.value,a=>(e(),A(p(F),{key:a.name,title:a.name},{default:v(()=>[(e(!0),l(k,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(b(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(b(h.name),1)]),_:2},1032,["to","class"]))]),_:2},1032,["disabled"]))),128))]),_:2},1032,["title"]))),128)),i.value?(e(),l("div",k2,[g(p(X),{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(K),{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.51901c69.js.map diff --git a/abstra_statics/dist/assets/ant-design.c6784518.js b/abstra_statics/dist/assets/ant-design.2a356765.js similarity index 59% rename from abstra_statics/dist/assets/ant-design.c6784518.js rename to abstra_statics/dist/assets/ant-design.2a356765.js index 7738d8f4f4..a5c3b8eda1 100644 --- a/abstra_statics/dist/assets/ant-design.c6784518.js +++ b/abstra_statics/dist/assets/ant-design.2a356765.js @@ -1,2 +1,2 @@ -import{ej as n,cK as y}from"./vue-router.7d22a765.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]="3fba2e91-71fc-4484-8fdc-02e8a7a60518",e._sentryDebugIdIdentifier="sentry-dbid-3fba2e91-71fc-4484-8fdc-02e8a7a60518")}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 f=t?`'${t}': ${c(e)}`:c(e);if(n.exports.isArray(e)){const i=u(e);return[{title:f,key:[...r,i].join("/"),children:e.flatMap((s,l)=>o(s,[...r,i,`${l}`]))}]}else if(n.exports.isObject(e)){const i=u(e);return[{title:f,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,l])=>o(l,[...r,i,s],s))}]}else return[{title:f,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{y.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.c6784518.js.map +import{ej as n,cK as y}from"./vue-router.d93c72db.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]="0569c7aa-c15c-4a18-9c33-a8ce7a614926",e._sentryDebugIdIdentifier="sentry-dbid-0569c7aa-c15c-4a18-9c33-a8ce7a614926")}catch{}})();function f(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 c=t?`'${t}': ${f(e)}`:f(e);if(n.exports.isArray(e)){const i=u(e);return[{title:c,key:[...r,i].join("/"),children:e.flatMap((s,l)=>o(s,[...r,i,`${l}`]))}]}else if(n.exports.isObject(e)){const i=u(e);return[{title:c,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,l])=>o(l,[...r,i,s],s))}]}else return[{title:c,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{y.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.2a356765.js.map diff --git a/abstra_statics/dist/assets/api.2772643e.js b/abstra_statics/dist/assets/api.bff7d58f.js similarity index 56% rename from abstra_statics/dist/assets/api.2772643e.js rename to abstra_statics/dist/assets/api.bff7d58f.js index e8b87a2424..ba1d9c2214 100644 --- a/abstra_statics/dist/assets/api.2772643e.js +++ b/abstra_statics/dist/assets/api.bff7d58f.js @@ -1,2 +1,2 @@ -import{l as r}from"./fetch.8d81adbd.js";import{N as t}from"./vue-router.7d22a765.js";import{w as i}from"./metadata.9b52bd89.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]="9a82dc34-c91f-476c-b789-21a0b58c2d8b",o._sentryDebugIdIdentifier="sentry-dbid-9a82dc34-c91f-476c-b789-21a0b58c2d8b")}catch{}})();const c=i.stages.flatMap(o=>o.transitions.flatMap(e=>e.typeName)),l=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",...c]),sourceStageId:t.string(),targetStageId:t.string(),props:t.object({conditionValue:t.string().nullable()})}),s=t.object({stages:t.array(l),transitions:t.array(d)}),p={"Content-Type":"application/json"},h="abstra-run-id";class f{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 f;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{h as A,f as E,g as P,y as w}; -//# sourceMappingURL=api.2772643e.js.map +import{l as r}from"./fetch.a18f4d89.js";import{N as t}from"./vue-router.d93c72db.js";import{w as i}from"./metadata.7b1155be.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]="46a2572c-301d-4658-9048-471692f0304f",o._sentryDebugIdIdentifier="sentry-dbid-46a2572c-301d-4658-9048-471692f0304f")}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"},y="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 b=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{y as A,p as E,g as P,b as w}; +//# sourceMappingURL=api.bff7d58f.js.map diff --git a/abstra_statics/dist/assets/apiKey.31c161a3.js b/abstra_statics/dist/assets/apiKey.969edb77.js similarity index 77% rename from abstra_statics/dist/assets/apiKey.31c161a3.js rename to abstra_statics/dist/assets/apiKey.969edb77.js index 7fa12217e5..6e02ec360a 100644 --- a/abstra_statics/dist/assets/apiKey.31c161a3.js +++ b/abstra_statics/dist/assets/apiKey.969edb77.js @@ -1,2 +1,2 @@ -var o=Object.defineProperty;var c=(s,t,e)=>t in s?o(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var d=(s,t,e)=>(c(s,typeof t!="symbol"?t+"":t,e),e);import{C as r}from"./gateway.6da513da.js";import"./vue-router.7d22a765.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]="b5b3e31e-f81e-43b4-9f95-9d6b42c606d9",s._sentryDebugIdIdentifier="sentry-dbid-b5b3e31e-f81e-43b4-9f95-9d6b42c606d9")}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.31c161a3.js.map +var o=Object.defineProperty;var c=(s,t,e)=>t in s?o(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var d=(s,t,e)=>(c(s,typeof t!="symbol"?t+"":t,e),e);import{C as r}from"./gateway.0306d327.js";import"./vue-router.d93c72db.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]="457dedd9-c30b-4052-b355-af913411f5d4",s._sentryDebugIdIdentifier="sentry-dbid-457dedd9-c30b-4052-b355-af913411f5d4")}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.969edb77.js.map diff --git a/abstra_statics/dist/assets/asyncComputed.62fe9f61.js b/abstra_statics/dist/assets/asyncComputed.62fe9f61.js deleted file mode 100644 index af20804d02..0000000000 --- a/abstra_statics/dist/assets/asyncComputed.62fe9f61.js +++ /dev/null @@ -1,2 +0,0 @@ -import{Q as c,f as l}from"./vue-router.7d22a765.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]="40bf3cc7-4134-4721-af6b-d99d9f0db59b",r._sentryDebugIdIdentifier="sentry-dbid-40bf3cc7-4134-4721-af6b-d99d9f0db59b")}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.62fe9f61.js.map diff --git a/abstra_statics/dist/assets/asyncComputed.d2f65d62.js b/abstra_statics/dist/assets/asyncComputed.d2f65d62.js new file mode 100644 index 0000000000..c4d9e92992 --- /dev/null +++ b/abstra_statics/dist/assets/asyncComputed.d2f65d62.js @@ -0,0 +1,2 @@ +import{Q as d,f as l}from"./vue-router.d93c72db.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]="c770ae3f-42a7-4cf6-b55c-1d78882ceb6e",r._sentryDebugIdIdentifier="sentry-dbid-c770ae3f-42a7-4cf6-b55c-1d78882ceb6e")}catch{}})();const i=r=>{const e=d({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),c=l(()=>e.value.error);return{loading:u,result:a,error:c,refetch:o}};export{i as a}; +//# sourceMappingURL=asyncComputed.d2f65d62.js.map diff --git a/abstra_statics/dist/assets/colorHelpers.24f5763b.js b/abstra_statics/dist/assets/colorHelpers.24f5763b.js new file mode 100644 index 0000000000..1b5274ddd6 --- /dev/null +++ b/abstra_statics/dist/assets/colorHelpers.24f5763b.js @@ -0,0 +1,2 @@ +import"./vue-router.d93c72db.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]="cf8b096c-b410-4f0a-92c8-44d7e7dffc2d",t._sentryDebugIdIdentifier="sentry-dbid-cf8b096c-b410-4f0a-92c8-44d7e7dffc2d")}catch{}})();function p(t,e){const{r:n,g:r,b:o,usePound:s}=f(t);return w(u(n,-e),u(r,-e),u(o,-e),s)}function u(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}=f(t);return e*.299+n*.587+r*.114<186}function f(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}=f(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:g}=r,a=document.createElement("canvas");a.width=s,a.height=g;const c=a.getContext("2d");if(!c)return e(!1);c.drawImage(r,0,0);const I=c.getImageData(0,0,a.width,a.height),{data:d}=I;let l,b,h,m;for(let i=0,x=d.length;i255?255:n<0?0:Math.round(n)}function E(e){return e.startsWith("#")||e.match(/^(rgb|hsl)/)}const v=(e,t)=>y(p(y(e),t)),P=e=>k(e)?v(e,.1):p(e,.1);function k(e){const{r:t,g:n,b:r}=g(e);return t*.299+n*.587+r*.114<186}function g(e){let t=!1;e[0]=="#"&&(e=e.slice(1),t=!0);const n=parseInt(e,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:t}}function y(e){const{r:t,g:n,b:r,usePound:o}=g(e);return w(255-t,255-n,255-r,o)}const w=(e,t,n,r=!0)=>(r?"#":"")+(n|t<<8|e<<16).toString(16).padStart(6,"0");function _(e){return new Promise((t,n)=>{const r=document.createElement("img");r.src=e,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:f}=r,a=document.createElement("canvas");a.width=s,a.height=f;const d=a.getContext("2d");if(!d)return t(!1);d.drawImage(r,0,0);const I=d.getImageData(0,0,a.width,a.height),{data:c}=I;let l,b,h,m;for(let i=0,x=c.length;i()=>{t=null,e(...o)},l=function(){if(t==null){for(var o=arguments.length,c=new Array(o),d=0;d{Ut.cancel(t),t=null},l}function Nt(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function El(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function Pl(e,t,n){if(n!==void 0&&t.bottoml.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},xt.push(n),Xo.forEach(l=>{n.eventHandlers[l]=An(e,l,()=>{n.affixList.forEach(o=>{const{lazyUpdatePosition:c}=o.exposed;c()},(l==="touchstart"||l==="touchmove")&&In?{passive:!0}:!1)})}))}function Fl(e){const t=xt.find(n=>{const l=n.affixList.some(o=>o===e);return l&&(n.affixList=n.affixList.filter(o=>o!==e)),l});t&&t.affixList.length===0&&(xt=xt.filter(n=>n!==t),Xo.forEach(n=>{const l=t.eventHandlers[n];l&&l.remove&&l.remove()}))}const Ks=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},Gs=ye("Affix",e=>{const t=$e(e,{zIndexPopup:e.zIndexBase+10});return[Ks(t)]});function Us(){return typeof window<"u"?window:null}var pt;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(pt||(pt={}));const Xs=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:Us},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),Ys=U({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:Xs(),setup(e,t){let{slots:n,emit:l,expose:o,attrs:c}=t;const d=ee(),i=ee(),r=wt({affixStyle:void 0,placeholderStyle:void 0,status:pt.None,lastAffix:!1,prevTarget:null,timeout:null}),a=_i(),u=O(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),f=O(()=>e.offsetBottom),g=()=>{const{status:k,lastAffix:T}=r,{target:x}=e;if(k!==pt.Prepare||!i.value||!d.value||!x)return;const A=x();if(!A)return;const S={status:pt.None},M=Nt(d.value);if(M.top===0&&M.left===0&&M.width===0&&M.height===0)return;const F=Nt(A),I=El(M,F,u.value),w=Pl(M,F,f.value);if(!(M.top===0&&M.left===0&&M.width===0&&M.height===0)){if(I!==void 0){const $=`${M.width}px`,E=`${M.height}px`;S.affixStyle={position:"fixed",top:I,width:$,height:E},S.placeholderStyle={width:$,height:E}}else if(w!==void 0){const $=`${M.width}px`,E=`${M.height}px`;S.affixStyle={position:"fixed",bottom:w,width:$,height:E},S.placeholderStyle={width:$,height:E}}S.lastAffix=!!S.affixStyle,T!==S.lastAffix&&l("change",S.lastAffix),p(r,S)}},v=()=>{p(r,{status:pt.Prepare,affixStyle:void 0,placeholderStyle:void 0}),a.update()},h=Fn(()=>{v()}),m=Fn(()=>{const{target:k}=e,{affixStyle:T}=r;if(k&&T){const x=k();if(x&&d.value){const A=Nt(x),S=Nt(d.value),M=El(S,A,u.value),F=Pl(S,A,f.value);if(M!==void 0&&T.top===M||F!==void 0&&T.bottom===F)return}}v()});o({updatePosition:h,lazyUpdatePosition:m}),se(()=>e.target,k=>{const T=(k==null?void 0:k())||null;r.prevTarget!==T&&(Fl(a),T&&(Ol(T,a),h()),r.prevTarget=T)}),se(()=>[e.offsetTop,e.offsetBottom],h),Qe(()=>{const{target:k}=e;k&&(r.timeout=setTimeout(()=>{Ol(k(),a),h()}))}),Qt(()=>{g()}),Di(()=>{clearTimeout(r.timeout),Fl(a),h.cancel(),m.cancel()});const{prefixCls:C}=ge("affix",e),[b,y]=Gs(C);return()=>{var k;const{affixStyle:T,placeholderStyle:x}=r,A=G({[C.value]:T,[y.value]:!0}),S=Oe(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return b(s(zi,{onResize:h},{default:()=>[s("div",P(P(P({},S),c),{},{ref:d}),[T&&s("div",{style:x,"aria-hidden":"true"},null),s("div",{class:A,ref:i,style:T},[(k=n.default)===null||k===void 0?void 0:k.call(n)])])]}))}}}),Yo=Je(Ys);function Rt(){}const qo=Symbol("anchorContextKey"),qs=e=>{nt(qo,e)},Zs=()=>ut(qo,{registerLink:Rt,unregisterLink:Rt,scrollTo:Rt,activeLink:O(()=>""),handleClick:Rt,direction:O(()=>"vertical")}),Js=qs,Qs=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:l,lineWidthBold:o,colorPrimary:c,lineType:d,colorSplit:i}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:p(p({},Me(e)),{position:"relative",paddingInlineStart:o,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":p(p({},Mt),{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:`${o}px ${d} ${i}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${l} ease-in-out`,width:o,backgroundColor:c,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},ec=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:l,colorPrimary:o}=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:l,backgroundColor:o}}}}},tc=ye("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:l,paddingXXS:o}=e,c=$e(e,{holderOffsetBlock:o,anchorPaddingBlock:o,anchorPaddingBlockSecondary:o/2,anchorPaddingInline:l,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[Qs(c),ec(c)]}),nc=()=>({prefixCls:String,href:String,title:Ne(),target:String,customTitleProps:Ee()}),Jn=U({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:we(nc(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:l}=t,o=null;const{handleClick:c,scrollTo:d,unregisterLink:i,registerLink:r,activeLink:a}=Zs(),{prefixCls:u}=ge("anchor",e),f=g=>{const{href:v}=e;c(g,{title:o,href:v}),d(v)};return se(()=>e.href,(g,v)=>{et(()=>{i(v),r(g)})}),Qe(()=>{r(e.href)}),Fe(()=>{i(e.href)}),()=>{var g;const{href:v,target:h,title:m=n.title,customTitleProps:C={}}=e,b=u.value;o=typeof m=="function"?m(C):m;const y=a.value===v,k=G(`${b}-link`,{[`${b}-link-active`]:y},l.class),T=G(`${b}-link-title`,{[`${b}-link-title-active`]:y});return s("div",P(P({},l),{},{class:k}),[s("a",{class:T,href:v,title:typeof o=="string"?o:"",target:h,onClick:f},[n.customTitle?n.customTitle(C):o]),(g=n.default)===null||g===void 0?void 0:g.call(n)])}}});function lc(){return window}function Bl(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 Nl=/#([\S ]+)$/,oc=()=>({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:Ie(),direction:z.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),ot=U({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:oc(),setup(e,t){let{emit:n,attrs:l,slots:o,expose:c}=t;const{prefixCls:d,getTargetContainer:i,direction:r}=ge("anchor",e),a=O(()=>{var S;return(S=e.direction)!==null&&S!==void 0?S:"vertical"}),u=te(null),f=te(),g=wt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),v=te(null),h=O(()=>{const{getContainer:S}=e;return S||(i==null?void 0:i.value)||lc}),m=function(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const F=[],I=h.value();return g.links.forEach(w=>{const $=Nl.exec(w.toString());if(!$)return;const E=document.getElementById($[1]);if(E){const R=Bl(E,I);RE.top>$.top?E:$).link:""},C=S=>{const{getCurrentAnchor:M}=e;v.value!==S&&(v.value=typeof M=="function"?M(S):S,n("change",S))},b=S=>{const{offsetTop:M,targetOffset:F}=e;C(S);const I=Nl.exec(S);if(!I)return;const w=document.getElementById(I[1]);if(!w)return;const $=h.value(),E=mo($,!0),R=Bl(w,$);let D=E+R;D-=F!==void 0?F:M||0,g.animating=!0,bo(D,{callback:()=>{g.animating=!1},getContainer:h.value})};c({scrollTo:b});const y=()=>{if(g.animating)return;const{offsetTop:S,bounds:M,targetOffset:F}=e,I=m(F!==void 0?F:S||0,M);C(I)},k=()=>{const S=f.value.querySelector(`.${d.value}-link-title-active`);if(S&&u.value){const M=a.value==="horizontal";u.value.style.top=M?"":`${S.offsetTop+S.clientHeight/2}px`,u.value.style.height=M?"":`${S.clientHeight}px`,u.value.style.left=M?`${S.offsetLeft}px`:"",u.value.style.width=M?`${S.clientWidth}px`:"",M&&Hi(S,{scrollMode:"if-needed",block:"nearest"})}};Js({registerLink:S=>{g.links.includes(S)||g.links.push(S)},unregisterLink:S=>{const M=g.links.indexOf(S);M!==-1&&g.links.splice(M,1)},activeLink:v,scrollTo:b,handleClick:(S,M)=>{n("click",S,M)},direction:a}),Qe(()=>{et(()=>{const S=h.value();g.scrollContainer=S,g.scrollEvent=An(g.scrollContainer,"scroll",y),y()})}),Fe(()=>{g.scrollEvent&&g.scrollEvent.remove()}),Qt(()=>{if(g.scrollEvent){const S=h.value();g.scrollContainer!==S&&(g.scrollContainer=S,g.scrollEvent.remove(),g.scrollEvent=An(g.scrollContainer,"scroll",y),y())}k()});const T=S=>Array.isArray(S)?S.map(M=>{const{children:F,key:I,href:w,target:$,class:E,style:R,title:D}=M;return s(Jn,{key:I,href:w,target:$,class:E,style:R,title:D,customTitleProps:M},{default:()=>[a.value==="vertical"?T(F):null],customTitle:o.customTitle})}):null,[x,A]=tc(d);return()=>{var S;const{offsetTop:M,affix:F,showInkInFixed:I}=e,w=d.value,$=G(`${w}-ink`,{[`${w}-ink-visible`]:v.value}),E=G(A.value,e.wrapperClass,`${w}-wrapper`,{[`${w}-wrapper-horizontal`]:a.value==="horizontal",[`${w}-rtl`]:r.value==="rtl"}),R=G(w,{[`${w}-fixed`]:!F&&!I}),D=p({maxHeight:M?`calc(100vh - ${M}px)`:"100vh"},e.wrapperStyle),V=s("div",{class:E,style:D,ref:f},[s("div",{class:R},[s("span",{class:$,ref:u},null),Array.isArray(e.items)?T(e.items):(S=o.default)===null||S===void 0?void 0:S.call(o)])]);return x(F?s(Yo,P(P({},l),{},{offsetTop:M,target:h.value}),{default:()=>[V]}):V)}}});ot.Link=Jn;ot.install=function(e){return e.component(ot.name,ot),e.component(ot.Link.name,ot.Link),e};const Qn=()=>null;Qn.isSelectOption=!0;Qn.displayName="AAutoCompleteOption";const mt=Qn,el=()=>null;el.isSelectOptGroup=!0;el.displayName="AAutoCompleteOptGroup";const _t=el;function ic(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 ac=()=>p(p({},Oe(ji(),["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}),rc=mt,sc=_t,pn=U({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:ac(),slots:Object,setup(e,t){let{slots:n,attrs:l,expose:o}=t;Ct(),Ct(),Ct(!e.dropdownClassName);const c=te(),d=()=>{var u;const f=Pt((u=n.default)===null||u===void 0?void 0:u.call(n));return f.length?f[0]:void 0};o({focus:()=>{var u;(u=c.value)===null||u===void 0||u.focus()},blur:()=>{var u;(u=c.value)===null||u===void 0||u.blur()}});const{prefixCls:a}=ge("select",e);return()=>{var u,f,g;const{size:v,dataSource:h,notFoundContent:m=(u=n.notFoundContent)===null||u===void 0?void 0:u.call(n)}=e;let C;const{class:b}=l,y={[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 T=((f=n.dataSource)===null||f===void 0?void 0:f.call(n))||((g=n.options)===null||g===void 0?void 0:g.call(n))||[];T.length&&ic(T[0])?C=T:C=h?h.map(x=>{if(So(x))return x;switch(typeof x){case"string":return s(mt,{key:x,value:x},{default:()=>[x]});case"object":return s(mt,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const k=Oe(p(p(p({},e),l),{mode:En.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:d,notFoundContent:m,class:y,popupClassName:e.popupClassName||e.dropdownClassName,ref:c}),["dataSource","loading"]);return s(En,k,P({default:()=>[C]},Oe(n,["default","dataSource","options"])))}}}),cc=p(pn,{Option:mt,OptGroup:_t,install(e){return e.component(pn.name,pn),e.component(mt.displayName,mt),e.component(_t.displayName,_t),e}}),uc=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},dc=function(e){return/[height|width]$/.test(e)},Rl=function(e){let t="";const n=Object.keys(e);return n.forEach(function(l,o){let c=e[l];l=uc(l),dc(l)&&typeof c=="number"&&(c=c+"px"),c===!0?t+=l:c===!1?t+="not "+l:t+="("+l+": "+c+")",o{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},qt=e=>{const t=[],n=Jo(e),l=Qo(e);for(let o=n;oe.currentSlide-gc(e),Qo=e=>e.currentSlide+vc(e),gc=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,vc=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,Nn=e=>e&&e.offsetWidth||0,tl=e=>e&&e.offsetHeight||0,ei=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const l=e.startX-e.curX,o=e.startY-e.curY,c=Math.atan2(o,l);return n=Math.round(c*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"},on=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},vn=(e,t)=>{const n={};return t.forEach(l=>n[l]=e[l]),n},mc=e=>{const t=e.children.length,n=e.listRef,l=Math.ceil(Nn(n)),o=e.trackRef,c=Math.ceil(Nn(o));let d;if(e.vertical)d=l;else{let v=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(v*=l/100),d=Math.ceil((l-v)/e.slidesToShow)}const i=n&&tl(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 u=e.lazyLoadedList||[];const f=qt(p(p({},e),{currentSlide:a,lazyLoadedList:u}));u=u.concat(f);const g={slideCount:t,slideWidth:d,listWidth:l,trackWidth:c,currentSlide:a,slideHeight:i,listHeight:r,lazyLoadedList:u};return e.autoplaying===null&&e.autoplay&&(g.autoplaying="playing"),g},bc=e=>{const{waitForAnimate:t,animating:n,fade:l,infinite:o,index:c,slideCount:d,lazyLoad:i,currentSlide:r,centerMode:a,slidesToScroll:u,slidesToShow:f,useCSS:g}=e;let{lazyLoadedList:v}=e;if(t&&n)return{};let h=c,m,C,b,y={},k={};const T=o?c:Bn(c,0,d-1);if(l){if(!o&&(c<0||c>=d))return{};c<0?h=c+d:c>=d&&(h=c-d),i&&v.indexOf(h)<0&&(v=v.concat(h)),y={animating:!0,currentSlide:h,lazyLoadedList:v,targetSlide:h},k={animating:!1,targetSlide:h}}else m=h,h<0?(m=h+d,o?d%u!==0&&(m=d-d%u):m=0):!on(e)&&h>r?h=m=r:a&&h>=d?(h=o?d:d-1,m=o?0:d-1):h>=d&&(m=h-d,o?d%u!==0&&(m=0):m=d-f),!o&&h+f>=d&&(m=d-f),C=It(p(p({},e),{slideIndex:h})),b=It(p(p({},e),{slideIndex:m})),o||(C===b&&(h=m),C=b),i&&(v=v.concat(qt(p(p({},e),{currentSlide:h})))),g?(y={animating:!0,currentSlide:m,trackStyle:ti(p(p({},e),{left:C})),lazyLoadedList:v,targetSlide:T},k={animating:!1,currentSlide:m,trackStyle:At(p(p({},e),{left:b})),swipeLeft:null,targetSlide:T}):y={currentSlide:m,trackStyle:At(p(p({},e),{left:b})),lazyLoadedList:v,targetSlide:T};return{state:y,nextState:k}},Sc=(e,t)=>{let n,l,o;const{slidesToScroll:c,slidesToShow:d,slideCount:i,currentSlide:r,targetSlide:a,lazyLoad:u,infinite:f}=e,v=i%c!==0?0:(i-r)%c;if(t.message==="previous")l=v===0?c:d-v,o=r-l,u&&!f&&(n=r-l,o=n===-1?i-1:n),f||(o=a-c);else if(t.message==="next")l=v===0?c:v,o=r+l,u&&!f&&(o=(r+c)%i+v),f||(o=a+c);else if(t.message==="dots")o=t.index*t.slidesToScroll;else if(t.message==="children"){if(o=t.index,f){const h=Mc(p(p({},e),{targetSlide:o}));o>t.currentSlide&&h==="left"?o=o-i:oe.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",wc=(e,t,n)=>(e.target.tagName==="IMG"&&bt(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}}),Cc=(e,t)=>{const{scrolling:n,animating:l,vertical:o,swipeToSlide:c,verticalSwiping:d,rtl:i,currentSlide:r,edgeFriction:a,edgeDragged:u,onEdge:f,swiped:g,swiping:v,slideCount:h,slidesToScroll:m,infinite:C,touchObject:b,swipeEvent:y,listHeight:k,listWidth:T}=t;if(n)return;if(l)return bt(e);o&&c&&d&&bt(e);let x,A={};const S=It(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 M=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!d&&!v&&M>10)return{scrolling:!0};d&&(b.swipeLength=M);let F=(i?-1:1)*(b.curX>b.startX?1:-1);d&&(F=b.curY>b.startY?1:-1);const I=Math.ceil(h/m),w=ei(t.touchObject,d);let $=b.swipeLength;return C||(r===0&&(w==="right"||w==="down")||r+1>=I&&(w==="left"||w==="up")||!on(t)&&(w==="left"||w==="up"))&&($=b.swipeLength*a,u===!1&&f&&(f(w),A.edgeDragged=!0)),!g&&y&&(y(w),A.swiped=!0),o?x=S+$*(k/T)*F:i?x=S-$*F:x=S+$*F,d&&(x=S+$*F),A=p(p({},A),{touchObject:b,swipeLeft:x,trackStyle:At(p(p({},t),{left:x}))}),Math.abs(b.curX-b.startX)10&&(A.swiping=!0,bt(e)),A},xc=(e,t)=>{const{dragging:n,swipe:l,touchObject:o,listWidth:c,touchThreshold:d,verticalSwiping:i,listHeight:r,swipeToSlide:a,scrolling:u,onSwipe:f,targetSlide:g,currentSlide:v,infinite:h}=t;if(!n)return l&&bt(e),{};const m=i?r/d:c/d,C=ei(o,i),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!o.swipeLength)return b;if(o.swipeLength>m){bt(e),f&&f(C);let y,k;const T=h?v:g;switch(C){case"left":case"up":k=T+Dl(t),y=a?Ll(t,k):k,b.currentDirection=0;break;case"right":case"down":k=T-Dl(t),y=a?Ll(t,k):k,b.currentDirection=1;break;default:y=T}b.triggerSlideHandler=y}else{const y=It(t);b.trackStyle=ti(p(p({},t),{left:y}))}return b},$c=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,l=e.infinite?e.slidesToShow*-1:0;const o=[];for(;n{const n=$c(e);let l=0;if(t>n[n.length-1])t=n[n.length-1];else for(const o in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const l=e.listRef,o=l.querySelectorAll&&l.querySelectorAll(".slick-slide")||[];if(Array.from(o).every(i=>{if(e.vertical){if(i.offsetTop+tl(i)/2>e.swipeLeft*-1)return n=i,!1}else if(i.offsetLeft-t+Nn(i)/2>e.swipeLeft*-1)return n=i,!1;return!0}),!n)return 0;const c=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-c)||1}else return e.slidesToScroll},nl=(e,t)=>t.reduce((n,l)=>n&&e.hasOwnProperty(l),!0)?null:console.error("Keys Missing:",e),At=e=>{nl(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const l=e.slideCount+2*e.slidesToShow;e.vertical?n=l*e.slideHeight:t=kc(e)*e.slideWidth;let o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const c=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)";o=p(p({},o),{WebkitTransform:c,transform:d,msTransform:i})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t+"px"),n&&(o.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},ti=e=>{nl(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},It=e=>{if(e.unslick)return 0;nl(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:l,centerMode:o,slideCount:c,slidesToShow:d,slidesToScroll:i,slideWidth:r,listWidth:a,variableWidth:u,slideHeight:f,fade:g,vertical:v}=e;let h=0,m,C,b=0;if(g||e.slideCount===1)return 0;let y=0;if(l?(y=-Ze(e),c%i!==0&&t+i>c&&(y=-(t>c?d-(t-c):c%i)),o&&(y+=parseInt(d/2))):(c%i!==0&&t+i>c&&(y=d-c%i),o&&(y=parseInt(d/2))),h=y*r,b=y*f,v?m=t*f*-1+b:m=t*r*-1+h,u===!0){let k;const T=n;if(k=t+Ze(e),C=T&&T.childNodes[k],m=C?C.offsetLeft*-1:0,o===!0){k=l?t+Ze(e):t,C=T&&T.children[k],m=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),Ht=e=>e.unslick||!e.infinite?0:e.slideCount,kc=e=>e.slideCount===1?1:Ze(e)+e.slideCount+Ht(e),Mc=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Tc(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:l,centerPadding:o}=e;if(n){let c=(t-1)/2+1;return parseInt(o)>0&&(c+=1),l&&t%2===0&&(c+=1),c}return l?0:t-1},Ac=e=>{let{slidesToShow:t,centerMode:n,rtl:l,centerPadding:o}=e;if(n){let c=(t-1)/2+1;return parseInt(o)>0&&(c+=1),!l&&t%2===0&&(c+=1),c}return l?t-1:0},zl=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),mn=e=>{let t,n,l,o;e.rtl?o=e.slideCount-1-e.index:o=e.index;const c=o<0||o>=e.slideCount;e.centerMode?(l=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-l-1&&o<=e.currentSlide+l&&(t=!0)):t=e.currentSlide<=o&&o=e.slideCount?d=e.targetSlide-e.slideCount:d=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":c,"slick-current":o===d}},Ic=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},bn=(e,t)=>e.key+"-"+t,Ec=function(e,t){let n;const l=[],o=[],c=[],d=t.length,i=Jo(e),r=Qo(e);return t.forEach((a,u)=>{let f;const g={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?f=a:f=s("div");const v=Ic(p(p({},e),{index:u})),h=f.props.class||"";let m=mn(p(p({},e),{index:u}));if(l.push(un(f,{key:"original"+bn(f,u),tabindex:"-1","data-index":u,"aria-hidden":!m["slick-active"],class:G(m,h),style:p(p({outline:"none"},f.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&e.fade===!1){const C=d-u;C<=Ze(e)&&d!==e.slidesToShow&&(n=-C,n>=i&&(f=a),m=mn(p(p({},e),{index:n})),o.push(un(f,{key:"precloned"+bn(f,n),class:G(m,h),tabindex:"-1","data-index":n,"aria-hidden":!m["slick-active"],style:p(p({},f.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}}))),d!==e.slidesToShow&&(n=d+u,n{e.focusOnSelect&&e.focusOnSelect(g)}})))}}),e.rtl?o.concat(l,c).reverse():o.concat(l,c)},ni=(e,t)=>{let{attrs:n,slots:l}=t;const o=Ec(n,Pt(l==null?void 0:l.default())),{onMouseenter:c,onMouseover:d,onMouseleave:i}=n,r={onMouseenter:c,onMouseover:d,onMouseleave:i},a=p({class:"slick-track",style:n.trackStyle},r);return s("div",a,[o])};ni.inheritAttrs=!1;const Pc=ni,Oc=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},li=(e,t)=>{let{attrs:n}=t;const{slideCount:l,slidesToScroll:o,slidesToShow:c,infinite:d,currentSlide:i,appendDots:r,customPaging:a,clickHandler:u,dotsClass:f,onMouseenter:g,onMouseover:v,onMouseleave:h}=n,m=Oc({slideCount:l,slidesToScroll:o,slidesToShow:c,infinite:d}),C={onMouseenter:g,onMouseover:v,onMouseleave:h};let b=[];for(let y=0;y=A&&i<=T:i===A}),M={message:"dots",index:y,slidesToScroll:o,currentSlide:i};b=b.concat(s("li",{key:y,class:S},[St(a({i:y}),{onClick:F})]))}return St(r({dots:b}),p({class:f},C))};li.inheritAttrs=!1;const Fc=li;function oi(){}function ii(e,t,n){n&&n.preventDefault(),t(e,n)}const ai=(e,t)=>{let{attrs:n}=t;const{clickHandler:l,infinite:o,currentSlide:c,slideCount:d,slidesToShow:i}=n,r={"slick-arrow":!0,"slick-prev":!0};let a=function(v){ii({message:"previous"},l,v)};!o&&(c===0||d<=i)&&(r["slick-disabled"]=!0,a=oi);const u={key:"0","data-role":"none",class:r,style:{display:"block"},onClick:a},f={currentSlide:c,slideCount:d};let g;return n.prevArrow?g=St(n.prevArrow(p(p({},u),f)),{key:"0",class:r,style:{display:"block"},onClick:a},!1):g=s("button",P({key:"0",type:"button"},u),[" ",at("Previous")]),g};ai.inheritAttrs=!1;const ri=(e,t)=>{let{attrs:n}=t;const{clickHandler:l,currentSlide:o,slideCount:c}=n,d={"slick-arrow":!0,"slick-next":!0};let i=function(f){ii({message:"next"},l,f)};on(n)||(d["slick-disabled"]=!0,i=oi);const r={key:"1","data-role":"none",class:G(d),style:{display:"block"},onClick:i},a={currentSlide:o,slideCount:c};let u;return n.nextArrow?u=St(n.nextArrow(p(p({},r),a)),{key:"1",class:G(d),style:{display:"block"},onClick:i},!1):u=s("button",P({key:"1",type:"button"},r),[" ",at("Next")]),u};ri.inheritAttrs=!1;var Bc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{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=p({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=qt(p(p({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=p({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 Wi(()=>{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=qt(p(p({},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=tl(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=Vi(()=>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=p(p({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 l=mc(e);e=p(p(p({},e),l),{slideIndex:l.currentSlide});const o=It(e);e=p(p({},e),{left:o});const c=At(e);(t||this.children.length!==e.children.length)&&(l.trackStyle=c),this.setState(l,n)},ssrInit(){const e=this.children;if(this.variableWidth){let r=0,a=0;const u=[],f=Ze(p(p(p({},this.$props),this.$data),{slideCount:e.length})),g=Ht(p(p(p({},this.$props),this.$data),{slideCount:e.length}));e.forEach(h=>{var m,C;const b=((C=(m=h.props.style)===null||m===void 0?void 0:m.width)===null||C===void 0?void 0:C.split("px")[0])||0;u.push(b),r+=b});for(let h=0;h{const o=()=>++n&&n>=t&&this.onWindowResized();if(!l.onclick)l.onclick=()=>l.parentNode.focus();else{const c=l.onclick;l.onclick=()=>{c(),l.parentNode.focus()}}l.onload||(this.$props.lazyLoad?l.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(l.onload=o,l.onerror=()=>{o(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=p(p({},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:l,beforeChange:o,speed:c,afterChange:d}=this.$props,{state:i,nextState:r}=bc(p(p(p({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!i)return;o&&o(l,i.currentSlide);const a=i.lazyLoadedList.filter(u=>this.lazyLoadedList.indexOf(u)<0);this.$attrs.onLazyLoad&&a.length>0&&this.__emit("lazyLoad",a),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),d&&d(l),delete this.animationEndCallback),this.setState(i,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),r&&(this.animationEndCallback=setTimeout(()=>{const{animating:u}=r,f=Bc(r,["animating"]);this.setState(f,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:u}),10)),d&&d(i.currentSlide),delete this.animationEndCallback})},c))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=p(p({},this.$props),this.$data),l=Sc(n,e);if(!(l!==0&&!l)&&(t===!0?this.slideHandler(l,t):this.slideHandler(l),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const o=this.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=yc(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=wc(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=Cc(e,p(p(p({},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=xc(e,p(p(p({},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(on(p(p({},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 s("button",null,[t+1])},appendDots(e){let{dots:t}=e;return s("ul",{style:{display:"block"}},[t])}},render(){const e=G("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=p(p({},this.$props),this.$data);let n=vn(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:l}=this.$props;n=p(p({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:l?this.onTrackLeave:Ae,onMouseover:l?this.onTrackOver:Ae});let o;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let C=vn(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);C.customPaging=this.customPaging,C.appendDots=this.appendDots;const{customPaging:b,appendDots:y}=this.$slots;b&&(C.customPaging=b),y&&(C.appendDots=y);const{pauseOnDotsHover:k}=this.$props;C=p(p({},C),{clickHandler:this.changeSlide,onMouseover:k?this.onDotsOver:Ae,onMouseleave:k?this.onDotsLeave:Ae}),o=s(Fc,C,null)}let c,d;const i=vn(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&&(c=s(ai,i,null),d=s(ri,i,null));let u=null;this.vertical&&(u={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let f=null;this.vertical===!1?this.centerMode===!0&&(f={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(f={padding:this.centerPadding+" 0px"});const g=p(p({},u),f),v=this.touchMove;let h={ref:this.listRefHandler,class:"slick-list",style:g,onClick:this.clickHandler,onMousedown:v?this.swipeStart:Ae,onMousemove:this.dragging&&v?this.swipeMove:Ae,onMouseup:v?this.swipeEnd:Ae,onMouseleave:this.dragging&&v?this.swipeEnd:Ae,[In?"onTouchstartPassive":"onTouchstart"]:v?this.swipeStart:Ae,[In?"onTouchmovePassive":"onTouchmove"]:this.dragging&&v?this.swipeMove:Ae,onTouchend:v?this.touchEnd:Ae,onTouchcancel:this.dragging&&v?this.swipeEnd:Ae,onKeydown:this.accessibility?this.keyHandler:Ae},m={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(h={class:"slick-list",ref:this.listRefHandler},m={class:e}),s("div",m,[this.unslick?"":c,s("div",h,[s(Pc,n,{default:()=>[this.children]})]),this.unslick?"":d,this.unslick?"":o])}},Rc=U({name:"Slider",mixins:[yo],inheritAttrs:!1,props:p({},Zo),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,l)=>n-l),e.forEach((n,l)=>{let o;l===0?o=gn({minWidth:0,maxWidth:n}):o=gn({minWidth:e[l-1]+1,maxWidth:n}),zl()&&this.media(o,()=>{this.setState({breakpoint:n})})});const t=gn({minWidth:e.slice(-1)[0]});zl()&&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),l=o=>{let{matches:c}=o;c&&t()};n.addListener(l),l(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:l})},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":p(p({},this.$props),n[0].settings)):t=p({},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 l=Ki(this)||[];l=l.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 o=[];let c=null;for(let i=0;i=l.length));f+=1)u.push(St(l[f],{key:100*i+10*a+f,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));r.push(s("div",{key:10*i+a},[u]))}t.variableWidth?o.push(s("div",{key:i,style:{width:c}},[r])):o.push(s("div",{key:i},[r]))}if(t==="unslick"){const i="regular slider "+(this.className||"");return s("div",{class:i},[l])}else o.length<=t.slidesToShow&&(t.unslick=!0);const d=p(p(p({},this.$attrs),t),{children:o,ref:this.innerSliderRefHandler});return s(Nc,P(P({},d),{},{__propsSymbol__:[]}),this.$slots)}}),Lc=e=>{const{componentCls:t,antCls:n,carouselArrowSize:l,carouselDotOffset:o,marginXXS:c}=e,d=-l*1.25,i=c;return{[t]:p(p({},Me(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:l,height:l,marginTop:-l/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:o},"&-top":{top:o,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}}}}})}},Dc=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:l}=e,o={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:p(p({},o),{margin:`${l}px 0`,verticalAlign:"baseline",button:o,"&.slick-active":p(p({},o),{button:o})})}}}},zc=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"}}}}]},_c=ye("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,l=$e(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[Lc(l),Dc(l),zc(l)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var Hc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o({effect:be(),dots:Y(!0),vertical:Y(),autoplay:Y(),easing:String,beforeChange:J(),afterChange:J(),prefixCls:String,accessibility:Y(),nextArrow:z.any,prevArrow:z.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)}),Wc=U({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:jc(),setup(e,t){let{slots:n,attrs:l,expose:o}=t;const c=te();o({goTo:function(h){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var C;(C=c.value)===null||C===void 0||C.slickGoTo(h,m)},autoplay:h=>{var m,C;(C=(m=c.value)===null||m===void 0?void 0:m.innerSlider)===null||C===void 0||C.handleAutoPlay(h)},prev:()=>{var h;(h=c.value)===null||h===void 0||h.slickPrev()},next:()=>{var h;(h=c.value)===null||h===void 0||h.slickNext()},innerSlider:O(()=>{var h;return(h=c.value)===null||h===void 0?void 0:h.innerSlider})}),Re(()=>{Ct(e.vertical===void 0)});const{prefixCls:i,direction:r}=ge("carousel",e),[a,u]=_c(i),f=O(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),g=O(()=>f.value==="left"||f.value==="right"),v=O(()=>{const h="slick-dots";return G({[h]:!0,[`${h}-${f.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:h,arrows:m,draggable:C,effect:b}=e,{class:y,style:k}=l,T=Hc(l,["class","style"]),x=b==="fade"?!0:e.fade,A=G(i.value,{[`${i.value}-rtl`]:r.value==="rtl",[`${i.value}-vertical`]:g.value,[`${y}`]:!!y},u.value);return a(s("div",{class:A,style:k},[s(Rc,P(P(P({ref:c},e),T),{},{dots:!!h,dotsClass:v.value,arrows:m,draggable:C,fade:x,vertical:g.value}),n)]))}}}),Vc=Je(Wc),Kc={useBreakpoint:Gi},Gc=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:l,commentNestIndent:o,commentFontSizeBase:c,commentFontSizeSm:d,commentAuthorNameColor:i,commentAuthorTimeColor:r,commentActionColor:a,commentActionHoverColor:u,commentActionsMarginBottom:f,commentActionsMarginTop:g,commentContentDetailPMarginBottom:v}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:l},[`${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:c,wordWrap:"break-word",["&-author"]:{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:c,["& > a,& > span"]:{paddingRight:e.paddingXS,fontSize:d,lineHeight:"18px"},["&-name"]:{color:i,fontSize:c,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:f,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:u}}}},[`${t}-nested`]:{marginLeft:o},"&-rtl":{direction:"rtl"}}}},Uc=ye("Comment",e=>{const t=$e(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[Gc(t)]}),Xc=()=>({actions:Array,author:z.any,avatar:z.any,content:z.any,prefixCls:String,datetime:z.any}),Yc=U({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:Xc(),slots:Object,setup(e,t){let{slots:n,attrs:l}=t;const{prefixCls:o,direction:c}=ge("comment",e),[d,i]=Uc(o),r=(u,f)=>s("div",{class:`${u}-nested`},[f]),a=u=>!u||!u.length?null:u.map((g,v)=>s("li",{key:`action-${v}`},[g]));return()=>{var u,f,g,v,h,m,C,b,y,k,T;const x=o.value,A=(u=e.actions)!==null&&u!==void 0?u:(f=n.actions)===null||f===void 0?void 0:f.call(n),S=(g=e.author)!==null&&g!==void 0?g:(v=n.author)===null||v===void 0?void 0:v.call(n),M=(h=e.avatar)!==null&&h!==void 0?h:(m=n.avatar)===null||m===void 0?void 0:m.call(n),F=(C=e.content)!==null&&C!==void 0?C:(b=n.content)===null||b===void 0?void 0:b.call(n),I=(y=e.datetime)!==null&&y!==void 0?y:(k=n.datetime)===null||k===void 0?void 0:k.call(n),w=s("div",{class:`${x}-avatar`},[typeof M=="string"?s("img",{src:M,alt:"comment-avatar"},null):M]),$=A?s("ul",{class:`${x}-actions`},[a(Array.isArray(A)?A:[A])]):null,E=s("div",{class:`${x}-content-author`},[S&&s("span",{class:`${x}-content-author-name`},[S]),I&&s("span",{class:`${x}-content-author-time`},[I])]),R=s("div",{class:`${x}-content`},[E,s("div",{class:`${x}-content-detail`},[F]),$]),D=s("div",{class:`${x}-inner`},[w,R]),V=Pt((T=n.default)===null||T===void 0?void 0:T.call(n));return d(s("div",P(P({},l),{},{class:[x,{[`${x}-rtl`]:c.value==="rtl"},l.class,i.value]}),[D,V&&V.length?r(x,V):null]))}}}),qc=Je(Yc);var Zc={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 Jc=Zc;function _l(e){for(var t=1;t({prefixCls:String,description:z.any,type:be("default"),shape:be("circle"),tooltip:z.any,href:String,target:J(),badge:Ee(),onClick:J()}),eu=()=>({prefixCls:be()}),tu=()=>p(p({},ol()),{trigger:be(),open:Y(),onOpenChange:J(),"onUpdate:open":J()}),nu=()=>p(p({},ol()),{prefixCls:String,duration:Number,target:J(),visibilityHeight:Number,onClick:J()}),lu=U({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:eu(),setup(e,t){let{attrs:n,slots:l}=t;return()=>{var o;const{prefixCls:c}=e,d=Wn((o=l.description)===null||o===void 0?void 0:o.call(l));return s("div",P(P({},n),{},{class:[n.class,`${c}-content`]}),[l.icon||d.length?s(Ve,null,[l.icon&&s("div",{class:`${c}-icon`},[l.icon()]),d.length?s("div",{class:`${c}-description`},[d]):null]):s("div",{class:`${c}-icon`},[s(si,null,null)])])}}}),ou=lu,ci=Symbol("floatButtonGroupContext"),iu=e=>(nt(ci,e),e),ui=()=>ut(ci,{shape:te()}),au=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),Hl=au,ru=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:l,motionEaseInOutCirc:o}=e,c=`${t}-group`,d=new $l("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 $l("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[{[`${c}-wrap`]:p({},Xi(`${c}-wrap`,d,i,l,!0))},{[`${c}-wrap`]:{[` +import{a9 as Ut,aa as An,ab as In,ac as ye,ad as $e,ae as Je,d as U,Q as ee,D as wt,f as O,g as se,W as Qe,af as Qt,ag as Di,ah as ge,ai as G,aj as Oe,b as s,ak as P,al as zi,S as p,am as _i,V as nt,B as ut,an as Mt,ao as Me,ap as we,aq as Fe,ar as Ne,as as Ee,J as et,e as te,at as Ie,au as z,av as mo,aw as bo,ax as Hi,ay as Ct,az as So,aA as En,aB as ji,aC as Pt,aD as un,aE as St,aF as at,aG as yo,aH as Wi,aI as Vi,aJ as Ki,aK as Re,aL as be,aM as Y,aN as J,aO as Gi,aP as dt,aQ as Wn,aR as Ve,aS as Ui,aT as $l,aU as Xi,aV as Vn,aW as Tt,aX as wo,aY as Kn,aZ as Gn,a_ as Co,a$ as xo,b0 as $o,b1 as ko,b2 as Yi,b3 as qi,b4 as Zi,b5 as Mo,b6 as pe,b7 as he,b8 as To,b9 as Ji,ba as Ao,bb as Io,bc as Eo,bd as Qi,be as Po,bf as Un,bg as Xn,bh as Oo,bi as Ot,bj as en,bk as Fo,bl as Bo,bm as rt,bn as No,bo as kl,bp as Ml,bq as tn,br as Ro,bs as ea,bt as Xt,bu as Yt,bv as Pn,bw as zt,bx as nn,by as Xe,bz as Lo,bA as Ye,bB as ta,bC as na,bD as la,bE as dn,bF as oa,bG as ia,bH as aa,bI as ra,bJ as sa,bK as Do,bL as ca,bM as ua,bN as Yn,U as qn,bO as Zn,bP as zo,bQ as _o,bR as da,bS as yt,G as We,bT as fa,bU as ha,bV as pa,bW as ga,bX as va,bY as ma,bZ as ba,b_ as On,b$ as Sa,c0 as ya,K as ln,c1 as wa,c2 as Tl,c3 as Ca,c4 as xa,c5 as $a,c6 as ka,c7 as fn,c8 as Ma,c9 as Ta,ca as Aa,cb as Ia,cc as Ea,cd as Pa,ce as Oa,cf as Fa,a8 as Ho,cg as Ba,ch as Na,ci as Ra,cj as Al,ck as jo,cl as La,a0 as Bt,cm as Da,cn as za,co as _a,cp as Ha,cq as ja,cr as Wa,cs as Va,ct as Ka,cu as Ga,A as Wo,cv as Ua,cw as Xa,cx as Ya,cy as qa,cz as Za,cA as Ja,cB as Qa,cC as er,cD as tr,cE as nr,cF as lr,cG as Vo,cH as or,cI as ir,cJ as ar,cK as lt,cL as Ko,cM as rr,cN as sr,cO as cr,cP as ur,cQ as dr,cR as fr,cS as hr,cT as pr,cU as gr,cV as vr,cW as mr,cX as br,cY as Sr,cZ as yr,c_ as wr,c$ as Cr,d0 as xr,d1 as $r,d2 as kr,d3 as Mr,d4 as Tr,d5 as Ar,d6 as Ir,d7 as Er,d8 as Pr,d9 as Or,da as Fr,db as Br,dc as Nr,dd as Rr,de as Lr,df as Dr,dg as zr,dh as _r,di as Hr,r as jr,o as Wr,c as Vr,w as Kr,u as Gr,k as Ur,T as Xr,m as Yr,P as qr,C as Zr,M as Jr,s as Qr,n as hn,p as es,q as ts,t as ns,v as ls}from"./vue-router.d93c72db.js";import{A as os,a as is,r as Il}from"./router.10d9d8b6.js";import{A as as}from"./index.b7b1d42b.js";import{G as rs}from"./index.5dabdfbc.js";import"./index.d05003c4.js";import{B as ss,A as cs,a as us,b as ds}from"./index.70aedabb.js";import{G as fs,M as hs}from"./index.40daa792.js";import{T as ps,A as gs}from"./index.37cd2d5b.js";import{A as vs}from"./index.a5c009ed.js";import{D as ms,M as bs,W as Ss,R as ys,Q as ws}from"./dayjs.5902ed44.js";import{A as Cs,D as xs}from"./index.7534be11.js";import{A as $s}from"./index.313ae0a2.js";import{A as ks}from"./index.7c698315.js";import{B as Go,i as Ms,R as Ts}from"./Badge.819cb645.js";import{A as As,a as Is,I as Es}from"./index.ce793f1f.js";import{S as Uo,C as Ps,A as Os,a as Fs,b as Bs,c as Ns,d as Rs}from"./Card.6f8ccb1f.js";import{A as Ls}from"./index.090b2bf1.js";import{A as Ds,S as zs}from"./index.03f6e8fc.js";import{A as _s}from"./Avatar.0cc5fd49.js";import{C as Hs,A as js}from"./CollapsePanel.79713856.js";import{T as Ws,A as Vs}from"./TabPane.820835b5.js";import"./gateway.0306d327.js";import"./popupNotifcation.fcd4681e.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]="0c7e86c8-a5f5-434a-97f2-e512c554b67e",e._sentryDebugIdIdentifier="sentry-dbid-0c7e86c8-a5f5-434a-97f2-e512c554b67e")}catch{}})();function Fn(e){let t;const n=o=>()=>{t=null,e(...o)},l=function(){if(t==null){for(var o=arguments.length,c=new Array(o),d=0;d{Ut.cancel(t),t=null},l}function Nt(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function El(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function Pl(e,t,n){if(n!==void 0&&t.bottoml.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},xt.push(n),Xo.forEach(l=>{n.eventHandlers[l]=An(e,l,()=>{n.affixList.forEach(o=>{const{lazyUpdatePosition:c}=o.exposed;c()},(l==="touchstart"||l==="touchmove")&&In?{passive:!0}:!1)})}))}function Fl(e){const t=xt.find(n=>{const l=n.affixList.some(o=>o===e);return l&&(n.affixList=n.affixList.filter(o=>o!==e)),l});t&&t.affixList.length===0&&(xt=xt.filter(n=>n!==t),Xo.forEach(n=>{const l=t.eventHandlers[n];l&&l.remove&&l.remove()}))}const Ks=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},Gs=ye("Affix",e=>{const t=$e(e,{zIndexPopup:e.zIndexBase+10});return[Ks(t)]});function Us(){return typeof window<"u"?window:null}var pt;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(pt||(pt={}));const Xs=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:Us},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),Ys=U({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:Xs(),setup(e,t){let{slots:n,emit:l,expose:o,attrs:c}=t;const d=ee(),i=ee(),r=wt({affixStyle:void 0,placeholderStyle:void 0,status:pt.None,lastAffix:!1,prevTarget:null,timeout:null}),a=_i(),u=O(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),f=O(()=>e.offsetBottom),g=()=>{const{status:k,lastAffix:T}=r,{target:x}=e;if(k!==pt.Prepare||!i.value||!d.value||!x)return;const A=x();if(!A)return;const S={status:pt.None},M=Nt(d.value);if(M.top===0&&M.left===0&&M.width===0&&M.height===0)return;const F=Nt(A),I=El(M,F,u.value),w=Pl(M,F,f.value);if(!(M.top===0&&M.left===0&&M.width===0&&M.height===0)){if(I!==void 0){const $=`${M.width}px`,E=`${M.height}px`;S.affixStyle={position:"fixed",top:I,width:$,height:E},S.placeholderStyle={width:$,height:E}}else if(w!==void 0){const $=`${M.width}px`,E=`${M.height}px`;S.affixStyle={position:"fixed",bottom:w,width:$,height:E},S.placeholderStyle={width:$,height:E}}S.lastAffix=!!S.affixStyle,T!==S.lastAffix&&l("change",S.lastAffix),p(r,S)}},v=()=>{p(r,{status:pt.Prepare,affixStyle:void 0,placeholderStyle:void 0}),a.update()},h=Fn(()=>{v()}),m=Fn(()=>{const{target:k}=e,{affixStyle:T}=r;if(k&&T){const x=k();if(x&&d.value){const A=Nt(x),S=Nt(d.value),M=El(S,A,u.value),F=Pl(S,A,f.value);if(M!==void 0&&T.top===M||F!==void 0&&T.bottom===F)return}}v()});o({updatePosition:h,lazyUpdatePosition:m}),se(()=>e.target,k=>{const T=(k==null?void 0:k())||null;r.prevTarget!==T&&(Fl(a),T&&(Ol(T,a),h()),r.prevTarget=T)}),se(()=>[e.offsetTop,e.offsetBottom],h),Qe(()=>{const{target:k}=e;k&&(r.timeout=setTimeout(()=>{Ol(k(),a),h()}))}),Qt(()=>{g()}),Di(()=>{clearTimeout(r.timeout),Fl(a),h.cancel(),m.cancel()});const{prefixCls:C}=ge("affix",e),[b,y]=Gs(C);return()=>{var k;const{affixStyle:T,placeholderStyle:x}=r,A=G({[C.value]:T,[y.value]:!0}),S=Oe(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return b(s(zi,{onResize:h},{default:()=>[s("div",P(P(P({},S),c),{},{ref:d}),[T&&s("div",{style:x,"aria-hidden":"true"},null),s("div",{class:A,ref:i,style:T},[(k=n.default)===null||k===void 0?void 0:k.call(n)])])]}))}}}),Yo=Je(Ys);function Rt(){}const qo=Symbol("anchorContextKey"),qs=e=>{nt(qo,e)},Zs=()=>ut(qo,{registerLink:Rt,unregisterLink:Rt,scrollTo:Rt,activeLink:O(()=>""),handleClick:Rt,direction:O(()=>"vertical")}),Js=qs,Qs=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:l,lineWidthBold:o,colorPrimary:c,lineType:d,colorSplit:i}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:p(p({},Me(e)),{position:"relative",paddingInlineStart:o,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":p(p({},Mt),{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:`${o}px ${d} ${i}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${l} ease-in-out`,width:o,backgroundColor:c,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},ec=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:l,colorPrimary:o}=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:l,backgroundColor:o}}}}},tc=ye("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:l,paddingXXS:o}=e,c=$e(e,{holderOffsetBlock:o,anchorPaddingBlock:o,anchorPaddingBlockSecondary:o/2,anchorPaddingInline:l,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[Qs(c),ec(c)]}),nc=()=>({prefixCls:String,href:String,title:Ne(),target:String,customTitleProps:Ee()}),Jn=U({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:we(nc(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:l}=t,o=null;const{handleClick:c,scrollTo:d,unregisterLink:i,registerLink:r,activeLink:a}=Zs(),{prefixCls:u}=ge("anchor",e),f=g=>{const{href:v}=e;c(g,{title:o,href:v}),d(v)};return se(()=>e.href,(g,v)=>{et(()=>{i(v),r(g)})}),Qe(()=>{r(e.href)}),Fe(()=>{i(e.href)}),()=>{var g;const{href:v,target:h,title:m=n.title,customTitleProps:C={}}=e,b=u.value;o=typeof m=="function"?m(C):m;const y=a.value===v,k=G(`${b}-link`,{[`${b}-link-active`]:y},l.class),T=G(`${b}-link-title`,{[`${b}-link-title-active`]:y});return s("div",P(P({},l),{},{class:k}),[s("a",{class:T,href:v,title:typeof o=="string"?o:"",target:h,onClick:f},[n.customTitle?n.customTitle(C):o]),(g=n.default)===null||g===void 0?void 0:g.call(n)])}}});function lc(){return window}function Bl(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 Nl=/#([\S ]+)$/,oc=()=>({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:Ie(),direction:z.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),ot=U({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:oc(),setup(e,t){let{emit:n,attrs:l,slots:o,expose:c}=t;const{prefixCls:d,getTargetContainer:i,direction:r}=ge("anchor",e),a=O(()=>{var S;return(S=e.direction)!==null&&S!==void 0?S:"vertical"}),u=te(null),f=te(),g=wt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),v=te(null),h=O(()=>{const{getContainer:S}=e;return S||(i==null?void 0:i.value)||lc}),m=function(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const F=[],I=h.value();return g.links.forEach(w=>{const $=Nl.exec(w.toString());if(!$)return;const E=document.getElementById($[1]);if(E){const R=Bl(E,I);RE.top>$.top?E:$).link:""},C=S=>{const{getCurrentAnchor:M}=e;v.value!==S&&(v.value=typeof M=="function"?M(S):S,n("change",S))},b=S=>{const{offsetTop:M,targetOffset:F}=e;C(S);const I=Nl.exec(S);if(!I)return;const w=document.getElementById(I[1]);if(!w)return;const $=h.value(),E=mo($,!0),R=Bl(w,$);let D=E+R;D-=F!==void 0?F:M||0,g.animating=!0,bo(D,{callback:()=>{g.animating=!1},getContainer:h.value})};c({scrollTo:b});const y=()=>{if(g.animating)return;const{offsetTop:S,bounds:M,targetOffset:F}=e,I=m(F!==void 0?F:S||0,M);C(I)},k=()=>{const S=f.value.querySelector(`.${d.value}-link-title-active`);if(S&&u.value){const M=a.value==="horizontal";u.value.style.top=M?"":`${S.offsetTop+S.clientHeight/2}px`,u.value.style.height=M?"":`${S.clientHeight}px`,u.value.style.left=M?`${S.offsetLeft}px`:"",u.value.style.width=M?`${S.clientWidth}px`:"",M&&Hi(S,{scrollMode:"if-needed",block:"nearest"})}};Js({registerLink:S=>{g.links.includes(S)||g.links.push(S)},unregisterLink:S=>{const M=g.links.indexOf(S);M!==-1&&g.links.splice(M,1)},activeLink:v,scrollTo:b,handleClick:(S,M)=>{n("click",S,M)},direction:a}),Qe(()=>{et(()=>{const S=h.value();g.scrollContainer=S,g.scrollEvent=An(g.scrollContainer,"scroll",y),y()})}),Fe(()=>{g.scrollEvent&&g.scrollEvent.remove()}),Qt(()=>{if(g.scrollEvent){const S=h.value();g.scrollContainer!==S&&(g.scrollContainer=S,g.scrollEvent.remove(),g.scrollEvent=An(g.scrollContainer,"scroll",y),y())}k()});const T=S=>Array.isArray(S)?S.map(M=>{const{children:F,key:I,href:w,target:$,class:E,style:R,title:D}=M;return s(Jn,{key:I,href:w,target:$,class:E,style:R,title:D,customTitleProps:M},{default:()=>[a.value==="vertical"?T(F):null],customTitle:o.customTitle})}):null,[x,A]=tc(d);return()=>{var S;const{offsetTop:M,affix:F,showInkInFixed:I}=e,w=d.value,$=G(`${w}-ink`,{[`${w}-ink-visible`]:v.value}),E=G(A.value,e.wrapperClass,`${w}-wrapper`,{[`${w}-wrapper-horizontal`]:a.value==="horizontal",[`${w}-rtl`]:r.value==="rtl"}),R=G(w,{[`${w}-fixed`]:!F&&!I}),D=p({maxHeight:M?`calc(100vh - ${M}px)`:"100vh"},e.wrapperStyle),V=s("div",{class:E,style:D,ref:f},[s("div",{class:R},[s("span",{class:$,ref:u},null),Array.isArray(e.items)?T(e.items):(S=o.default)===null||S===void 0?void 0:S.call(o)])]);return x(F?s(Yo,P(P({},l),{},{offsetTop:M,target:h.value}),{default:()=>[V]}):V)}}});ot.Link=Jn;ot.install=function(e){return e.component(ot.name,ot),e.component(ot.Link.name,ot.Link),e};const Qn=()=>null;Qn.isSelectOption=!0;Qn.displayName="AAutoCompleteOption";const mt=Qn,el=()=>null;el.isSelectOptGroup=!0;el.displayName="AAutoCompleteOptGroup";const _t=el;function ic(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 ac=()=>p(p({},Oe(ji(),["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}),rc=mt,sc=_t,pn=U({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:ac(),slots:Object,setup(e,t){let{slots:n,attrs:l,expose:o}=t;Ct(),Ct(),Ct(!e.dropdownClassName);const c=te(),d=()=>{var u;const f=Pt((u=n.default)===null||u===void 0?void 0:u.call(n));return f.length?f[0]:void 0};o({focus:()=>{var u;(u=c.value)===null||u===void 0||u.focus()},blur:()=>{var u;(u=c.value)===null||u===void 0||u.blur()}});const{prefixCls:a}=ge("select",e);return()=>{var u,f,g;const{size:v,dataSource:h,notFoundContent:m=(u=n.notFoundContent)===null||u===void 0?void 0:u.call(n)}=e;let C;const{class:b}=l,y={[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 T=((f=n.dataSource)===null||f===void 0?void 0:f.call(n))||((g=n.options)===null||g===void 0?void 0:g.call(n))||[];T.length&&ic(T[0])?C=T:C=h?h.map(x=>{if(So(x))return x;switch(typeof x){case"string":return s(mt,{key:x,value:x},{default:()=>[x]});case"object":return s(mt,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const k=Oe(p(p(p({},e),l),{mode:En.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:d,notFoundContent:m,class:y,popupClassName:e.popupClassName||e.dropdownClassName,ref:c}),["dataSource","loading"]);return s(En,k,P({default:()=>[C]},Oe(n,["default","dataSource","options"])))}}}),cc=p(pn,{Option:mt,OptGroup:_t,install(e){return e.component(pn.name,pn),e.component(mt.displayName,mt),e.component(_t.displayName,_t),e}}),uc=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},dc=function(e){return/[height|width]$/.test(e)},Rl=function(e){let t="";const n=Object.keys(e);return n.forEach(function(l,o){let c=e[l];l=uc(l),dc(l)&&typeof c=="number"&&(c=c+"px"),c===!0?t+=l:c===!1?t+="not "+l:t+="("+l+": "+c+")",o{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},qt=e=>{const t=[],n=Jo(e),l=Qo(e);for(let o=n;oe.currentSlide-gc(e),Qo=e=>e.currentSlide+vc(e),gc=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,vc=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,Nn=e=>e&&e.offsetWidth||0,tl=e=>e&&e.offsetHeight||0,ei=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const l=e.startX-e.curX,o=e.startY-e.curY,c=Math.atan2(o,l);return n=Math.round(c*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"},on=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},vn=(e,t)=>{const n={};return t.forEach(l=>n[l]=e[l]),n},mc=e=>{const t=e.children.length,n=e.listRef,l=Math.ceil(Nn(n)),o=e.trackRef,c=Math.ceil(Nn(o));let d;if(e.vertical)d=l;else{let v=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(v*=l/100),d=Math.ceil((l-v)/e.slidesToShow)}const i=n&&tl(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 u=e.lazyLoadedList||[];const f=qt(p(p({},e),{currentSlide:a,lazyLoadedList:u}));u=u.concat(f);const g={slideCount:t,slideWidth:d,listWidth:l,trackWidth:c,currentSlide:a,slideHeight:i,listHeight:r,lazyLoadedList:u};return e.autoplaying===null&&e.autoplay&&(g.autoplaying="playing"),g},bc=e=>{const{waitForAnimate:t,animating:n,fade:l,infinite:o,index:c,slideCount:d,lazyLoad:i,currentSlide:r,centerMode:a,slidesToScroll:u,slidesToShow:f,useCSS:g}=e;let{lazyLoadedList:v}=e;if(t&&n)return{};let h=c,m,C,b,y={},k={};const T=o?c:Bn(c,0,d-1);if(l){if(!o&&(c<0||c>=d))return{};c<0?h=c+d:c>=d&&(h=c-d),i&&v.indexOf(h)<0&&(v=v.concat(h)),y={animating:!0,currentSlide:h,lazyLoadedList:v,targetSlide:h},k={animating:!1,targetSlide:h}}else m=h,h<0?(m=h+d,o?d%u!==0&&(m=d-d%u):m=0):!on(e)&&h>r?h=m=r:a&&h>=d?(h=o?d:d-1,m=o?0:d-1):h>=d&&(m=h-d,o?d%u!==0&&(m=0):m=d-f),!o&&h+f>=d&&(m=d-f),C=It(p(p({},e),{slideIndex:h})),b=It(p(p({},e),{slideIndex:m})),o||(C===b&&(h=m),C=b),i&&(v=v.concat(qt(p(p({},e),{currentSlide:h})))),g?(y={animating:!0,currentSlide:m,trackStyle:ti(p(p({},e),{left:C})),lazyLoadedList:v,targetSlide:T},k={animating:!1,currentSlide:m,trackStyle:At(p(p({},e),{left:b})),swipeLeft:null,targetSlide:T}):y={currentSlide:m,trackStyle:At(p(p({},e),{left:b})),lazyLoadedList:v,targetSlide:T};return{state:y,nextState:k}},Sc=(e,t)=>{let n,l,o;const{slidesToScroll:c,slidesToShow:d,slideCount:i,currentSlide:r,targetSlide:a,lazyLoad:u,infinite:f}=e,v=i%c!==0?0:(i-r)%c;if(t.message==="previous")l=v===0?c:d-v,o=r-l,u&&!f&&(n=r-l,o=n===-1?i-1:n),f||(o=a-c);else if(t.message==="next")l=v===0?c:v,o=r+l,u&&!f&&(o=(r+c)%i+v),f||(o=a+c);else if(t.message==="dots")o=t.index*t.slidesToScroll;else if(t.message==="children"){if(o=t.index,f){const h=Mc(p(p({},e),{targetSlide:o}));o>t.currentSlide&&h==="left"?o=o-i:oe.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",wc=(e,t,n)=>(e.target.tagName==="IMG"&&bt(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}}),Cc=(e,t)=>{const{scrolling:n,animating:l,vertical:o,swipeToSlide:c,verticalSwiping:d,rtl:i,currentSlide:r,edgeFriction:a,edgeDragged:u,onEdge:f,swiped:g,swiping:v,slideCount:h,slidesToScroll:m,infinite:C,touchObject:b,swipeEvent:y,listHeight:k,listWidth:T}=t;if(n)return;if(l)return bt(e);o&&c&&d&&bt(e);let x,A={};const S=It(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 M=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!d&&!v&&M>10)return{scrolling:!0};d&&(b.swipeLength=M);let F=(i?-1:1)*(b.curX>b.startX?1:-1);d&&(F=b.curY>b.startY?1:-1);const I=Math.ceil(h/m),w=ei(t.touchObject,d);let $=b.swipeLength;return C||(r===0&&(w==="right"||w==="down")||r+1>=I&&(w==="left"||w==="up")||!on(t)&&(w==="left"||w==="up"))&&($=b.swipeLength*a,u===!1&&f&&(f(w),A.edgeDragged=!0)),!g&&y&&(y(w),A.swiped=!0),o?x=S+$*(k/T)*F:i?x=S-$*F:x=S+$*F,d&&(x=S+$*F),A=p(p({},A),{touchObject:b,swipeLeft:x,trackStyle:At(p(p({},t),{left:x}))}),Math.abs(b.curX-b.startX)10&&(A.swiping=!0,bt(e)),A},xc=(e,t)=>{const{dragging:n,swipe:l,touchObject:o,listWidth:c,touchThreshold:d,verticalSwiping:i,listHeight:r,swipeToSlide:a,scrolling:u,onSwipe:f,targetSlide:g,currentSlide:v,infinite:h}=t;if(!n)return l&&bt(e),{};const m=i?r/d:c/d,C=ei(o,i),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!o.swipeLength)return b;if(o.swipeLength>m){bt(e),f&&f(C);let y,k;const T=h?v:g;switch(C){case"left":case"up":k=T+Dl(t),y=a?Ll(t,k):k,b.currentDirection=0;break;case"right":case"down":k=T-Dl(t),y=a?Ll(t,k):k,b.currentDirection=1;break;default:y=T}b.triggerSlideHandler=y}else{const y=It(t);b.trackStyle=ti(p(p({},t),{left:y}))}return b},$c=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,l=e.infinite?e.slidesToShow*-1:0;const o=[];for(;n{const n=$c(e);let l=0;if(t>n[n.length-1])t=n[n.length-1];else for(const o in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const l=e.listRef,o=l.querySelectorAll&&l.querySelectorAll(".slick-slide")||[];if(Array.from(o).every(i=>{if(e.vertical){if(i.offsetTop+tl(i)/2>e.swipeLeft*-1)return n=i,!1}else if(i.offsetLeft-t+Nn(i)/2>e.swipeLeft*-1)return n=i,!1;return!0}),!n)return 0;const c=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-c)||1}else return e.slidesToScroll},nl=(e,t)=>t.reduce((n,l)=>n&&e.hasOwnProperty(l),!0)?null:console.error("Keys Missing:",e),At=e=>{nl(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const l=e.slideCount+2*e.slidesToShow;e.vertical?n=l*e.slideHeight:t=kc(e)*e.slideWidth;let o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const c=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)";o=p(p({},o),{WebkitTransform:c,transform:d,msTransform:i})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t+"px"),n&&(o.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},ti=e=>{nl(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},It=e=>{if(e.unslick)return 0;nl(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:l,centerMode:o,slideCount:c,slidesToShow:d,slidesToScroll:i,slideWidth:r,listWidth:a,variableWidth:u,slideHeight:f,fade:g,vertical:v}=e;let h=0,m,C,b=0;if(g||e.slideCount===1)return 0;let y=0;if(l?(y=-Ze(e),c%i!==0&&t+i>c&&(y=-(t>c?d-(t-c):c%i)),o&&(y+=parseInt(d/2))):(c%i!==0&&t+i>c&&(y=d-c%i),o&&(y=parseInt(d/2))),h=y*r,b=y*f,v?m=t*f*-1+b:m=t*r*-1+h,u===!0){let k;const T=n;if(k=t+Ze(e),C=T&&T.childNodes[k],m=C?C.offsetLeft*-1:0,o===!0){k=l?t+Ze(e):t,C=T&&T.children[k],m=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),Ht=e=>e.unslick||!e.infinite?0:e.slideCount,kc=e=>e.slideCount===1?1:Ze(e)+e.slideCount+Ht(e),Mc=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Tc(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:l,centerPadding:o}=e;if(n){let c=(t-1)/2+1;return parseInt(o)>0&&(c+=1),l&&t%2===0&&(c+=1),c}return l?0:t-1},Ac=e=>{let{slidesToShow:t,centerMode:n,rtl:l,centerPadding:o}=e;if(n){let c=(t-1)/2+1;return parseInt(o)>0&&(c+=1),!l&&t%2===0&&(c+=1),c}return l?t-1:0},zl=()=>!!(typeof window<"u"&&window.document&&window.document.createElement),mn=e=>{let t,n,l,o;e.rtl?o=e.slideCount-1-e.index:o=e.index;const c=o<0||o>=e.slideCount;e.centerMode?(l=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-l-1&&o<=e.currentSlide+l&&(t=!0)):t=e.currentSlide<=o&&o=e.slideCount?d=e.targetSlide-e.slideCount:d=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":c,"slick-current":o===d}},Ic=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},bn=(e,t)=>e.key+"-"+t,Ec=function(e,t){let n;const l=[],o=[],c=[],d=t.length,i=Jo(e),r=Qo(e);return t.forEach((a,u)=>{let f;const g={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?f=a:f=s("div");const v=Ic(p(p({},e),{index:u})),h=f.props.class||"";let m=mn(p(p({},e),{index:u}));if(l.push(un(f,{key:"original"+bn(f,u),tabindex:"-1","data-index":u,"aria-hidden":!m["slick-active"],class:G(m,h),style:p(p({outline:"none"},f.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&e.fade===!1){const C=d-u;C<=Ze(e)&&d!==e.slidesToShow&&(n=-C,n>=i&&(f=a),m=mn(p(p({},e),{index:n})),o.push(un(f,{key:"precloned"+bn(f,n),class:G(m,h),tabindex:"-1","data-index":n,"aria-hidden":!m["slick-active"],style:p(p({},f.props.style||{}),v),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(g)}}))),d!==e.slidesToShow&&(n=d+u,n{e.focusOnSelect&&e.focusOnSelect(g)}})))}}),e.rtl?o.concat(l,c).reverse():o.concat(l,c)},ni=(e,t)=>{let{attrs:n,slots:l}=t;const o=Ec(n,Pt(l==null?void 0:l.default())),{onMouseenter:c,onMouseover:d,onMouseleave:i}=n,r={onMouseenter:c,onMouseover:d,onMouseleave:i},a=p({class:"slick-track",style:n.trackStyle},r);return s("div",a,[o])};ni.inheritAttrs=!1;const Pc=ni,Oc=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},li=(e,t)=>{let{attrs:n}=t;const{slideCount:l,slidesToScroll:o,slidesToShow:c,infinite:d,currentSlide:i,appendDots:r,customPaging:a,clickHandler:u,dotsClass:f,onMouseenter:g,onMouseover:v,onMouseleave:h}=n,m=Oc({slideCount:l,slidesToScroll:o,slidesToShow:c,infinite:d}),C={onMouseenter:g,onMouseover:v,onMouseleave:h};let b=[];for(let y=0;y=A&&i<=T:i===A}),M={message:"dots",index:y,slidesToScroll:o,currentSlide:i};b=b.concat(s("li",{key:y,class:S},[St(a({i:y}),{onClick:F})]))}return St(r({dots:b}),p({class:f},C))};li.inheritAttrs=!1;const Fc=li;function oi(){}function ii(e,t,n){n&&n.preventDefault(),t(e,n)}const ai=(e,t)=>{let{attrs:n}=t;const{clickHandler:l,infinite:o,currentSlide:c,slideCount:d,slidesToShow:i}=n,r={"slick-arrow":!0,"slick-prev":!0};let a=function(v){ii({message:"previous"},l,v)};!o&&(c===0||d<=i)&&(r["slick-disabled"]=!0,a=oi);const u={key:"0","data-role":"none",class:r,style:{display:"block"},onClick:a},f={currentSlide:c,slideCount:d};let g;return n.prevArrow?g=St(n.prevArrow(p(p({},u),f)),{key:"0",class:r,style:{display:"block"},onClick:a},!1):g=s("button",P({key:"0",type:"button"},u),[" ",at("Previous")]),g};ai.inheritAttrs=!1;const ri=(e,t)=>{let{attrs:n}=t;const{clickHandler:l,currentSlide:o,slideCount:c}=n,d={"slick-arrow":!0,"slick-next":!0};let i=function(f){ii({message:"next"},l,f)};on(n)||(d["slick-disabled"]=!0,i=oi);const r={key:"1","data-role":"none",class:G(d),style:{display:"block"},onClick:i},a={currentSlide:o,slideCount:c};let u;return n.nextArrow?u=St(n.nextArrow(p(p({},r),a)),{key:"1",class:G(d),style:{display:"block"},onClick:i},!1):u=s("button",P({key:"1",type:"button"},r),[" ",at("Next")]),u};ri.inheritAttrs=!1;var Bc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{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=p({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=qt(p(p({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=p({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 Wi(()=>{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=qt(p(p({},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=tl(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=Vi(()=>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=p(p({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 l=mc(e);e=p(p(p({},e),l),{slideIndex:l.currentSlide});const o=It(e);e=p(p({},e),{left:o});const c=At(e);(t||this.children.length!==e.children.length)&&(l.trackStyle=c),this.setState(l,n)},ssrInit(){const e=this.children;if(this.variableWidth){let r=0,a=0;const u=[],f=Ze(p(p(p({},this.$props),this.$data),{slideCount:e.length})),g=Ht(p(p(p({},this.$props),this.$data),{slideCount:e.length}));e.forEach(h=>{var m,C;const b=((C=(m=h.props.style)===null||m===void 0?void 0:m.width)===null||C===void 0?void 0:C.split("px")[0])||0;u.push(b),r+=b});for(let h=0;h{const o=()=>++n&&n>=t&&this.onWindowResized();if(!l.onclick)l.onclick=()=>l.parentNode.focus();else{const c=l.onclick;l.onclick=()=>{c(),l.parentNode.focus()}}l.onload||(this.$props.lazyLoad?l.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(l.onload=o,l.onerror=()=>{o(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=p(p({},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:l,beforeChange:o,speed:c,afterChange:d}=this.$props,{state:i,nextState:r}=bc(p(p(p({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!i)return;o&&o(l,i.currentSlide);const a=i.lazyLoadedList.filter(u=>this.lazyLoadedList.indexOf(u)<0);this.$attrs.onLazyLoad&&a.length>0&&this.__emit("lazyLoad",a),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),d&&d(l),delete this.animationEndCallback),this.setState(i,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),r&&(this.animationEndCallback=setTimeout(()=>{const{animating:u}=r,f=Bc(r,["animating"]);this.setState(f,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:u}),10)),d&&d(i.currentSlide),delete this.animationEndCallback})},c))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=p(p({},this.$props),this.$data),l=Sc(n,e);if(!(l!==0&&!l)&&(t===!0?this.slideHandler(l,t):this.slideHandler(l),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const o=this.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=yc(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=wc(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=Cc(e,p(p(p({},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=xc(e,p(p(p({},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(on(p(p({},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 s("button",null,[t+1])},appendDots(e){let{dots:t}=e;return s("ul",{style:{display:"block"}},[t])}},render(){const e=G("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=p(p({},this.$props),this.$data);let n=vn(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:l}=this.$props;n=p(p({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:l?this.onTrackLeave:Ae,onMouseover:l?this.onTrackOver:Ae});let o;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let C=vn(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);C.customPaging=this.customPaging,C.appendDots=this.appendDots;const{customPaging:b,appendDots:y}=this.$slots;b&&(C.customPaging=b),y&&(C.appendDots=y);const{pauseOnDotsHover:k}=this.$props;C=p(p({},C),{clickHandler:this.changeSlide,onMouseover:k?this.onDotsOver:Ae,onMouseleave:k?this.onDotsLeave:Ae}),o=s(Fc,C,null)}let c,d;const i=vn(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&&(c=s(ai,i,null),d=s(ri,i,null));let u=null;this.vertical&&(u={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let f=null;this.vertical===!1?this.centerMode===!0&&(f={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(f={padding:this.centerPadding+" 0px"});const g=p(p({},u),f),v=this.touchMove;let h={ref:this.listRefHandler,class:"slick-list",style:g,onClick:this.clickHandler,onMousedown:v?this.swipeStart:Ae,onMousemove:this.dragging&&v?this.swipeMove:Ae,onMouseup:v?this.swipeEnd:Ae,onMouseleave:this.dragging&&v?this.swipeEnd:Ae,[In?"onTouchstartPassive":"onTouchstart"]:v?this.swipeStart:Ae,[In?"onTouchmovePassive":"onTouchmove"]:this.dragging&&v?this.swipeMove:Ae,onTouchend:v?this.touchEnd:Ae,onTouchcancel:this.dragging&&v?this.swipeEnd:Ae,onKeydown:this.accessibility?this.keyHandler:Ae},m={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(h={class:"slick-list",ref:this.listRefHandler},m={class:e}),s("div",m,[this.unslick?"":c,s("div",h,[s(Pc,n,{default:()=>[this.children]})]),this.unslick?"":d,this.unslick?"":o])}},Rc=U({name:"Slider",mixins:[yo],inheritAttrs:!1,props:p({},Zo),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,l)=>n-l),e.forEach((n,l)=>{let o;l===0?o=gn({minWidth:0,maxWidth:n}):o=gn({minWidth:e[l-1]+1,maxWidth:n}),zl()&&this.media(o,()=>{this.setState({breakpoint:n})})});const t=gn({minWidth:e.slice(-1)[0]});zl()&&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),l=o=>{let{matches:c}=o;c&&t()};n.addListener(l),l(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:l})},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":p(p({},this.$props),n[0].settings)):t=p({},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 l=Ki(this)||[];l=l.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 o=[];let c=null;for(let i=0;i=l.length));f+=1)u.push(St(l[f],{key:100*i+10*a+f,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));r.push(s("div",{key:10*i+a},[u]))}t.variableWidth?o.push(s("div",{key:i,style:{width:c}},[r])):o.push(s("div",{key:i},[r]))}if(t==="unslick"){const i="regular slider "+(this.className||"");return s("div",{class:i},[l])}else o.length<=t.slidesToShow&&(t.unslick=!0);const d=p(p(p({},this.$attrs),t),{children:o,ref:this.innerSliderRefHandler});return s(Nc,P(P({},d),{},{__propsSymbol__:[]}),this.$slots)}}),Lc=e=>{const{componentCls:t,antCls:n,carouselArrowSize:l,carouselDotOffset:o,marginXXS:c}=e,d=-l*1.25,i=c;return{[t]:p(p({},Me(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:l,height:l,marginTop:-l/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:o},"&-top":{top:o,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}}}}})}},Dc=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:l}=e,o={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:p(p({},o),{margin:`${l}px 0`,verticalAlign:"baseline",button:o,"&.slick-active":p(p({},o),{button:o})})}}}},zc=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"}}}}]},_c=ye("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,l=$e(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[Lc(l),Dc(l),zc(l)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var Hc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o({effect:be(),dots:Y(!0),vertical:Y(),autoplay:Y(),easing:String,beforeChange:J(),afterChange:J(),prefixCls:String,accessibility:Y(),nextArrow:z.any,prevArrow:z.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)}),Wc=U({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:jc(),setup(e,t){let{slots:n,attrs:l,expose:o}=t;const c=te();o({goTo:function(h){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var C;(C=c.value)===null||C===void 0||C.slickGoTo(h,m)},autoplay:h=>{var m,C;(C=(m=c.value)===null||m===void 0?void 0:m.innerSlider)===null||C===void 0||C.handleAutoPlay(h)},prev:()=>{var h;(h=c.value)===null||h===void 0||h.slickPrev()},next:()=>{var h;(h=c.value)===null||h===void 0||h.slickNext()},innerSlider:O(()=>{var h;return(h=c.value)===null||h===void 0?void 0:h.innerSlider})}),Re(()=>{Ct(e.vertical===void 0)});const{prefixCls:i,direction:r}=ge("carousel",e),[a,u]=_c(i),f=O(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),g=O(()=>f.value==="left"||f.value==="right"),v=O(()=>{const h="slick-dots";return G({[h]:!0,[`${h}-${f.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:h,arrows:m,draggable:C,effect:b}=e,{class:y,style:k}=l,T=Hc(l,["class","style"]),x=b==="fade"?!0:e.fade,A=G(i.value,{[`${i.value}-rtl`]:r.value==="rtl",[`${i.value}-vertical`]:g.value,[`${y}`]:!!y},u.value);return a(s("div",{class:A,style:k},[s(Rc,P(P(P({ref:c},e),T),{},{dots:!!h,dotsClass:v.value,arrows:m,draggable:C,fade:x,vertical:g.value}),n)]))}}}),Vc=Je(Wc),Kc={useBreakpoint:Gi},Gc=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:l,commentNestIndent:o,commentFontSizeBase:c,commentFontSizeSm:d,commentAuthorNameColor:i,commentAuthorTimeColor:r,commentActionColor:a,commentActionHoverColor:u,commentActionsMarginBottom:f,commentActionsMarginTop:g,commentContentDetailPMarginBottom:v}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:l},[`${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:c,wordWrap:"break-word",["&-author"]:{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:c,["& > a,& > span"]:{paddingRight:e.paddingXS,fontSize:d,lineHeight:"18px"},["&-name"]:{color:i,fontSize:c,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:f,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:u}}}},[`${t}-nested`]:{marginLeft:o},"&-rtl":{direction:"rtl"}}}},Uc=ye("Comment",e=>{const t=$e(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[Gc(t)]}),Xc=()=>({actions:Array,author:z.any,avatar:z.any,content:z.any,prefixCls:String,datetime:z.any}),Yc=U({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:Xc(),slots:Object,setup(e,t){let{slots:n,attrs:l}=t;const{prefixCls:o,direction:c}=ge("comment",e),[d,i]=Uc(o),r=(u,f)=>s("div",{class:`${u}-nested`},[f]),a=u=>!u||!u.length?null:u.map((g,v)=>s("li",{key:`action-${v}`},[g]));return()=>{var u,f,g,v,h,m,C,b,y,k,T;const x=o.value,A=(u=e.actions)!==null&&u!==void 0?u:(f=n.actions)===null||f===void 0?void 0:f.call(n),S=(g=e.author)!==null&&g!==void 0?g:(v=n.author)===null||v===void 0?void 0:v.call(n),M=(h=e.avatar)!==null&&h!==void 0?h:(m=n.avatar)===null||m===void 0?void 0:m.call(n),F=(C=e.content)!==null&&C!==void 0?C:(b=n.content)===null||b===void 0?void 0:b.call(n),I=(y=e.datetime)!==null&&y!==void 0?y:(k=n.datetime)===null||k===void 0?void 0:k.call(n),w=s("div",{class:`${x}-avatar`},[typeof M=="string"?s("img",{src:M,alt:"comment-avatar"},null):M]),$=A?s("ul",{class:`${x}-actions`},[a(Array.isArray(A)?A:[A])]):null,E=s("div",{class:`${x}-content-author`},[S&&s("span",{class:`${x}-content-author-name`},[S]),I&&s("span",{class:`${x}-content-author-time`},[I])]),R=s("div",{class:`${x}-content`},[E,s("div",{class:`${x}-content-detail`},[F]),$]),D=s("div",{class:`${x}-inner`},[w,R]),V=Pt((T=n.default)===null||T===void 0?void 0:T.call(n));return d(s("div",P(P({},l),{},{class:[x,{[`${x}-rtl`]:c.value==="rtl"},l.class,i.value]}),[D,V&&V.length?r(x,V):null]))}}}),qc=Je(Yc);var Zc={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 Jc=Zc;function _l(e){for(var t=1;t({prefixCls:String,description:z.any,type:be("default"),shape:be("circle"),tooltip:z.any,href:String,target:J(),badge:Ee(),onClick:J()}),eu=()=>({prefixCls:be()}),tu=()=>p(p({},ol()),{trigger:be(),open:Y(),onOpenChange:J(),"onUpdate:open":J()}),nu=()=>p(p({},ol()),{prefixCls:String,duration:Number,target:J(),visibilityHeight:Number,onClick:J()}),lu=U({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:eu(),setup(e,t){let{attrs:n,slots:l}=t;return()=>{var o;const{prefixCls:c}=e,d=Wn((o=l.description)===null||o===void 0?void 0:o.call(l));return s("div",P(P({},n),{},{class:[n.class,`${c}-content`]}),[l.icon||d.length?s(Ve,null,[l.icon&&s("div",{class:`${c}-icon`},[l.icon()]),d.length?s("div",{class:`${c}-description`},[d]):null]):s("div",{class:`${c}-icon`},[s(si,null,null)])])}}}),ou=lu,ci=Symbol("floatButtonGroupContext"),iu=e=>(nt(ci,e),e),ui=()=>ut(ci,{shape:te()}),au=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),Hl=au,ru=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:l,motionEaseInOutCirc:o}=e,c=`${t}-group`,d=new $l("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 $l("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[{[`${c}-wrap`]:p({},Xi(`${c}-wrap`,d,i,l,!0))},{[`${c}-wrap`]:{[` &${c}-wrap-enter, &${c}-wrap-appear `]:{opacity:0,animationTimingFunction:o},[`&${c}-wrap-leave`]:{animationTimingFunction:o}}}]},su=e=>{const{antCls:t,componentCls:n,floatButtonSize:l,margin:o,borderRadiusLG:c,borderRadiusSM:d,badgeOffset:i,floatButtonBodyPadding:r}=e,a=`${n}-group`;return{[a]:p(p({},Me(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:l,height:"auto",boxShadow:"none",minHeight:l,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:c,[`${a}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${a}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${a}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:l,height:l,borderRadius:"50%"}}},[`${a}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:c,borderStartEndRadius:c},"&:last-child":{borderEndStartRadius:c,borderEndEndRadius:c},"&: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:c,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:r,"&:first-child":{borderStartStartRadius:c,borderStartEndRadius:c},"&:last-child":{borderEndStartRadius:c,borderEndEndRadius:c},"&: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}}}}},cu=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:l,floatButtonIconSize:o,floatButtonSize:c,borderRadiusLG:d,badgeOffset:i,dotOffsetInSquare:r,dotOffsetInCircle:a}=e;return{[n]:p(p({},Me(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:c,height:c,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:c,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${l/2}px ${l}px`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:c,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:a,insetInlineEnd:a}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:c,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}}}}}},il=ye("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:l,marginXXL:o,marginLG:c,fontSize:d,fontSizeIcon:i,controlItemBgHover:r,paddingXXS:a,borderRadiusLG:u}=e,f=$e(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:r,floatButtonFontSize:d,floatButtonIconSize:i*1.5,floatButtonSize:l,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:c,floatButtonBodySize:l-a*2,floatButtonBodyPadding:a,badgeOffset:a*1.5,dotOffsetInCircle:Hl(l/2),dotOffsetInSquare:Hl(u)});return[su(f),cu(f),Ui(e),ru(f)]});var uu=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o(r==null?void 0:r.value)||e.shape);return()=>{var f;const{prefixCls:g,type:v="default",shape:h="circle",description:m=(f=l.description)===null||f===void 0?void 0:f.call(l),tooltip:C,badge:b={}}=e,y=uu(e,["prefixCls","type","shape","description","tooltip","badge"]),k=G(o.value,`${o.value}-${v}`,`${o.value}-${u.value}`,{[`${o.value}-rtl`]:c.value==="rtl"},n.class,i.value),T=s(Vn,{placement:"left"},{title:l.tooltip||C?()=>l.tooltip&&l.tooltip()||C:void 0,default:()=>s(Go,b,{default:()=>[s("div",{class:`${o.value}-body`},[s(ou,{prefixCls:o.value},{icon:l.icon,description:()=>m})])]})});return d(e.href?s("a",P(P(P({ref:a},n),y),{},{class:k}),[T]):s("button",P(P(P({ref:a},n),y),{},{class:k,type:"button"}),[T]))}}}),tt=du,fu=U({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:we(tu(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:l,emit:o}=t;const{prefixCls:c,direction:d}=ge(al,e),[i,r]=il(c),[a,u]=Tt(!1,{value:O(()=>e.open)}),f=te(null),g=te(null);iu({shape:O(()=>e.shape)});const v={onMouseenter(){var b;u(!0),o("update:open",!0),(b=e.onOpenChange)===null||b===void 0||b.call(e,!0)},onMouseleave(){var b;u(!1),o("update:open",!1),(b=e.onOpenChange)===null||b===void 0||b.call(e,!1)}},h=O(()=>e.trigger==="hover"?v:{}),m=()=>{var b;const y=!a.value;o("update:open",y),(b=e.onOpenChange)===null||b===void 0||b.call(e,y),u(y)},C=b=>{var y,k,T;if(!((y=f.value)===null||y===void 0)&&y.contains(b.target)){!((k=$o(g.value))===null||k===void 0)&&k.contains(b.target)&&m();return}u(!1),o("update:open",!1),(T=e.onOpenChange)===null||T===void 0||T.call(e,!1)};return se(O(()=>e.trigger),b=>{!ko()||(document.removeEventListener("click",C),b==="click"&&document.addEventListener("click",C))},{immediate:!0}),Fe(()=>{document.removeEventListener("click",C)}),()=>{var b;const{shape:y="circle",type:k="default",tooltip:T,description:x,trigger:A}=e,S=`${c.value}-group`,M=G(S,r.value,n.class,{[`${S}-rtl`]:d.value==="rtl",[`${S}-${y}`]:y,[`${S}-${y}-shadow`]:!A}),F=G(r.value,`${S}-wrap`),I=wo(`${S}-wrap`);return i(s("div",P(P({ref:f},n),{},{class:M},h.value),[A&&["click","hover"].includes(A)?s(Ve,null,[s(Kn,I,{default:()=>[Gn(s("div",{class:F},[l.default&&l.default()]),[[Co,a.value]])]}),s(tt,{ref:g,type:k,shape:y,tooltip:T,description:x},{icon:()=>{var w,$;return a.value?((w=l.closeIcon)===null||w===void 0?void 0:w.call(l))||s(xo,null,null):(($=l.icon)===null||$===void 0?void 0:$.call(l))||s(si,null,null)},tooltip:l.tooltip,description:l.description})]):(b=l.default)===null||b===void 0?void 0:b.call(l)]))}}}),Zt=fu;var hu={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 pu=hu;function jl(e){for(var t=1;twindow,duration:450,type:"default",shape:"circle"}),setup(e,t){let{slots:n,attrs:l,emit:o}=t;const{prefixCls:c,direction:d}=ge(al,e),[i]=il(c),r=te(),a=wt({visible:e.visibilityHeight===0,scrollEvent:null}),u=()=>r.value&&r.value.ownerDocument?r.value.ownerDocument:window,f=C=>{const{target:b=u,duration:y}=e;bo(0,{getContainer:b,duration:y}),o("click",C)},g=Fn(C=>{const{visibilityHeight:b}=e,y=mo(C.target,!0);a.visible=y>=b}),v=()=>{const{target:C}=e,y=(C||u)();g({target:y}),y==null||y.addEventListener("scroll",g)},h=()=>{const{target:C}=e,y=(C||u)();g.cancel(),y==null||y.removeEventListener("scroll",g)};se(()=>e.target,()=>{h(),et(()=>{v()})}),Qe(()=>{et(()=>{v()})}),Yi(()=>{et(()=>{v()})}),qi(()=>{h()}),Fe(()=>{h()});const m=ui();return()=>{const{description:C,type:b,shape:y,tooltip:k,badge:T}=e,x=p(p({},l),{shape:(m==null?void 0:m.shape.value)||y,onClick:f,class:{[`${c.value}`]:!0,[`${l.class}`]:l.class,[`${c.value}-rtl`]:d.value==="rtl"},description:C,type:b,tooltip:k,badge:T}),A=wo("fade");return i(s(Kn,A,{default:()=>[Gn(s(tt,P(P({},x),{},{ref:r}),{icon:()=>{var S;return((S=n.icon)===null||S===void 0?void 0:S.call(n))||s(vu,null,null)}}),[[Co,a.visible]])]}))}}}),Jt=mu;tt.Group=Zt;tt.BackTop=Jt;tt.install=function(e){return e.component(tt.name,tt),e.component(Zt.name,Zt),e.component(Jt.name,Jt),e};var bu={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 Su=bu;function Wl(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(Rn()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new it(Number.MAX_SAFE_INTEGER);if(l0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":ul(this.number):this.origin}}class gt{constructor(t){if(this.origin="",di(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(cl(n)&&(n=Number(n)),n=typeof n=="string"?n:ul(n),dl(n)){const l=$t(n);this.negative=l.negative;const o=l.trimStr.split(".");this.integer=BigInt(o[0]);const c=o[1]||"0";this.decimal=BigInt(c),this.decimalLen=c.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 gt(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new gt(t);const n=new gt(t);if(n.isInvalidate())return this;const l=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=this.alignDecimal(l),c=n.alignDecimal(l),d=(o+c).toString(),{negativeStr:i,trimStr:r}=$t(d),a=`${i}${r.padStart(l+1,"0")}`;return new gt(`${a.slice(0,-l)}.${a.slice(-l)}`)}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()?"":$t(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function je(e){return Rn()?new gt(e):new it(e)}function Ln(e,t,n){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:o,integerStr:c,decimalStr:d}=$t(e),i=`${t}${d}`,r=`${o}${c}`;if(n>=0){const a=Number(d[n]);if(a>=5&&!l){const u=je(e).add(`${o}0.${"0".repeat(n)}${10-a}`);return Ln(u.toString(),t,n,l)}return n===0?r:`${r}${t}${d.padEnd(n,"0").slice(0,n)}`}return i===".0"?r:`${r}${i}`}const Cu=200,xu=600,$u=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:l}=t;const o=te(),c=(i,r)=>{i.preventDefault(),l("step",r);function a(){l("step",r),o.value=setTimeout(a,Cu)}o.value=setTimeout(a,xu)},d=()=>{clearTimeout(o.value)};return Fe(()=>{d()}),()=>{if(Zi())return null;const{prefixCls:i,upDisabled:r,downDisabled:a}=e,u=`${i}-handler`,f=G(u,`${u}-up`,{[`${u}-up-disabled`]:r}),g=G(u,`${u}-down`,{[`${u}-down-disabled`]:a}),v={unselectable:"on",role:"button",onMouseup:d,onMouseleave:d},{upNode:h,downNode:m}=n;return s("div",{class:`${u}-wrap`},[s("span",P(P({},v),{},{onMousedown:C=>{c(C,!0)},"aria-label":"Increase Value","aria-disabled":r,class:f}),[(h==null?void 0:h())||s("span",{unselectable:"on",class:`${i}-handler-up-inner`},null)]),s("span",P(P({},v),{},{onMousedown:C=>{c(C,!1)},"aria-label":"Decrease Value","aria-disabled":a,class:g}),[(m==null?void 0:m())||s("span",{unselectable:"on",class:`${i}-handler-down-inner`},null)])])}}});function ku(e,t){const n=te(null);function l(){try{const{selectionStart:c,selectionEnd:d,value:i}=e.value,r=i.substring(0,c),a=i.substring(d);n.value={start:c,end:d,value:i,beforeTxt:r,afterTxt:a}}catch{}}function o(){if(e.value&&n.value&&t.value)try{const{value:c}=e.value,{beforeTxt:d,afterTxt:i,start:r}=n.value;let a=c.length;if(c.endsWith(i))a=c.length-n.value.afterTxt.length;else if(c.startsWith(d))a=d.length;else{const u=d[r-1],f=c.indexOf(u,r-1);f!==-1&&(a=f+1)}e.value.setSelectionRange(a,a)}catch(c){Mo(!1,`Something warning of cursor restore. Please fire issue about this: ${c.message}`)}}return[l,o]}const Mu=()=>{const e=ee(0),t=()=>{Ut.cancel(e.value)};return Fe(()=>{t()}),n=>{t(),e.value=Ut(()=>{n()})}};var Tu=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);oe||t.isEmpty()?t.toString():t.toNumber(),Kl=e=>{const t=je(e);return t.isInvalidate()?null:t},fi=()=>({stringMode:Y(),defaultValue:pe([String,Number]),value:pe([String,Number]),prefixCls:be(),min:pe([String,Number]),max:pe([String,Number]),step:pe([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()}),Au=U({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:p(p({},fi()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:l,emit:o,expose:c}=t;const d=ee(),i=ee(!1),r=ee(!1),a=ee(!1),u=ee(je(e.value));function f(B){e.value===void 0&&(u.value=B)}const g=(B,L)=>{if(!L)return e.precision>=0?e.precision:Math.max(Et(B),Et(e.step))},v=B=>{const L=String(B);if(e.parser)return e.parser(L);let H=L;return e.decimalSeparator&&(H=H.replace(e.decimalSeparator,".")),H.replace(/[^\w.-]+/g,"")},h=ee(""),m=(B,L)=>{if(e.formatter)return e.formatter(B,{userTyping:L,input:String(h.value)});let H=typeof B=="number"?ul(B):B;if(!L){const _=g(H,L);if(dl(H)&&(e.decimalSeparator||_>=0)){const N=e.decimalSeparator||".";H=Ln(H,N,_)}}return H},C=(()=>{const B=e.value;return u.value.isInvalidate()&&["string","number"].includes(typeof B)?Number.isNaN(B)?"":B:m(u.value.toString(),!1)})();h.value=C;function b(B,L){h.value=m(B.isInvalidate()?B.toString(!1):B.toString(!L),L)}const y=O(()=>Kl(e.max)),k=O(()=>Kl(e.min)),T=O(()=>!y.value||!u.value||u.value.isInvalidate()?!1:y.value.lessEquals(u.value)),x=O(()=>!k.value||!u.value||u.value.isInvalidate()?!1:u.value.lessEquals(k.value)),[A,S]=ku(d,i),M=B=>y.value&&!B.lessEquals(y.value)?y.value:k.value&&!k.value.lessEquals(B)?k.value:null,F=B=>!M(B),I=(B,L)=>{var H;let _=B,N=F(_)||_.isEmpty();if(!_.isEmpty()&&!L&&(_=M(_)||_,N=!0),!e.readonly&&!e.disabled&&N){const j=_.toString(),Z=g(j,L);return Z>=0&&(_=je(Ln(j,".",Z))),_.equals(u.value)||(f(_),(H=e.onChange)===null||H===void 0||H.call(e,_.isEmpty()?null:Vl(e.stringMode,_)),e.value===void 0&&b(_,L)),_}return u.value},w=Mu(),$=B=>{var L;if(A(),h.value=B,!a.value){const H=v(B),_=je(H);_.isNaN()||I(_,!0)}(L=e.onInput)===null||L===void 0||L.call(e,B),w(()=>{let H=B;e.parser||(H=B.replace(/。/g,".")),H!==B&&$(H)})},E=()=>{a.value=!0},R=()=>{a.value=!1,$(d.value.value)},D=B=>{$(B.target.value)},V=B=>{var L,H;if(B&&T.value||!B&&x.value)return;r.value=!1;let _=je(e.step);B||(_=_.negate());const N=(u.value||je(0)).add(_.toString()),j=I(N,!1);(L=e.onStep)===null||L===void 0||L.call(e,Vl(e.stringMode,j),{offset:e.step,type:B?"up":"down"}),(H=d.value)===null||H===void 0||H.focus()},q=B=>{const L=je(v(h.value));let H=L;L.isNaN()?H=u.value:H=I(L,B),e.value!==void 0?b(u.value,!1):H.isNaN()||b(H,!1)},Q=B=>{var L;const{which:H}=B;r.value=!0,H===he.ENTER&&(a.value||(r.value=!1),q(!1),(L=e.onPressEnter)===null||L===void 0||L.call(e,B)),e.keyboard!==!1&&!a.value&&[he.UP,he.DOWN].includes(H)&&(V(he.UP===H),B.preventDefault())},X=()=>{r.value=!1},ie=B=>{q(!1),i.value=!1,r.value=!1,o("blur",B)};return se(()=>e.precision,()=>{u.value.isInvalidate()||b(u.value,!1)},{flush:"post"}),se(()=>e.value,()=>{const B=je(e.value);u.value=B;const L=je(v(h.value));(!B.equals(L)||!r.value||e.formatter)&&b(B,r.value)},{flush:"post"}),se(h,()=>{e.formatter&&S()},{flush:"post"}),se(()=>e.disabled,B=>{B&&(i.value=!1)}),c({focus:()=>{var B;(B=d.value)===null||B===void 0||B.focus()},blur:()=>{var B;(B=d.value)===null||B===void 0||B.blur()}}),()=>{const B=p(p({},n),e),{prefixCls:L="rc-input-number",min:H,max:_,step:N=1,defaultValue:j,value:Z,disabled:oe,readonly:ue,keyboard:W,controls:ce=!0,autofocus:ve,stringMode:Ce,parser:Se,formatter:Te,precision:Ke,decimalSeparator:Le,onChange:De,onInput:Be,onPressEnter:Ge,onStep:Ue,lazy:K,class:ne,style:le}=B,re=Tu(B,["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}=l,ae=`${L}-input`,fe={};return K?fe.onChange=D:fe.onInput=D,s("div",{class:G(L,ne,{[`${L}-focused`]:i.value,[`${L}-disabled`]:oe,[`${L}-readonly`]:ue,[`${L}-not-a-number`]:u.value.isNaN(),[`${L}-out-of-range`]:!u.value.isInvalidate()&&!F(u.value)}),style:le,onKeydown:Q,onKeyup:X},[ce&&s($u,{prefixCls:L,upDisabled:T.value,downDisabled:x.value,onStep:V},{upNode:me,downNode:de}),s("div",{class:`${ae}-wrap`},[s("input",P(P(P({autofocus:ve,autocomplete:"off",role:"spinbutton","aria-valuemin":H,"aria-valuemax":_,"aria-valuenow":u.value.isInvalidate()?null:u.value.toString(),step:N},re),{},{ref:d,class:ae,value:h.value,disabled:oe,readonly:ue,onFocus:ke=>{i.value=!0,o("focus",ke)}},fe),{},{onBlur:ie,onCompositionstart:E,onCompositionend:R}),null)])])}}});function Sn(e){return e!=null}const Iu=e=>{const{componentCls:t,lineWidth:n,lineType:l,colorBorder:o,borderRadius:c,fontSizeLG:d,controlHeightLG:i,controlHeightSM:r,colorError:a,inputPaddingHorizontalSM:u,colorTextDescription:f,motionDurationMid:g,colorPrimary:v,controlHeight:h,inputPaddingHorizontal:m,colorBgContainer:C,colorTextDisabled:b,borderRadiusSM:y,borderRadiusLG:k,controlWidth:T,handleVisible:x}=e;return[{[t]:p(p(p(p({},Me(e)),Un(e)),Xn(e,t)),{display:"inline-block",width:T,margin:0,padding:0,border:`${n}px ${l} ${o}`,borderRadius:c,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:d,borderRadius:k,[`input${t}-input`]:{height:i-2*n}},"&-sm":{padding:0,borderRadius:y,[`input${t}-input`]:{height:r-2*n,padding:`0 ${u}px`}},"&:hover":p({},Ao(e)),"&-focused":p({},Io(e)),"&-disabled":p(p({},Eo(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:a}},"&-group":p(p(p({},Me(e)),Qi(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:k}},"&-sm":{[`${t}-group-addon`]:{borderRadius:y}}}}),[t]:{"&-input":p(p({width:"100%",height:h-2*n,padding:`0 ${m}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:c,outline:0,transition:`all ${g} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},Po(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:c,borderEndEndRadius:c,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 Ut,aa as An,ab as In,ac as ye,ad as $e,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}}}]},Eu=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:l,controlWidth:o,borderRadiusLG:c,borderRadiusSM:d}=e;return{[`${t}-affix-wrapper`]:p(p(p({},Un(e)),Xn(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:c},"&-sm":{borderRadius:d},[`&:not(${t}-affix-wrapper-disabled):hover`]:p(p({},Ao(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:l},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:l}}})}},Pu=ye("InputNumber",e=>{const t=To(e);return[Iu(t),Eu(t),Ji(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var Ou=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);op(p({},Gl),{size:be(),bordered:Y(!0),placeholder:String,name:String,id:String,type:String,addonBefore:z.any,addonAfter:z.any,prefix:z.any,"onUpdate:value":Gl.onChange,valueModifiers:Object,status:be()}),yn=U({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:Fu(),slots:Object,setup(e,t){let{emit:n,expose:l,attrs:o,slots:c}=t;const d=Ot(),i=en.useInject(),r=O(()=>tn(i.status,e.status)),{prefixCls:a,size:u,direction:f,disabled:g}=ge("input-number",e),{compactSize:v,compactItemClassnames:h}=Fo(a,f),m=Bo(),C=O(()=>{var $;return($=g.value)!==null&&$!==void 0?$:m.value}),[b,y]=Pu(a),k=O(()=>v.value||u.value),T=ee(e.value===void 0?e.defaultValue:e.value),x=ee(!1);se(()=>e.value,()=>{T.value=e.value});const A=ee(null),S=()=>{var $;($=A.value)===null||$===void 0||$.focus()};l({focus:S,blur:()=>{var $;($=A.value)===null||$===void 0||$.blur()}});const F=$=>{e.value===void 0&&(T.value=$),n("update:value",$),n("change",$),d.onFieldChange()},I=$=>{x.value=!1,n("blur",$),d.onFieldBlur()},w=$=>{x.value=!0,n("focus",$)};return()=>{var $,E,R,D;const{hasFeedback:V,isFormItemInput:q,feedbackIcon:Q}=i,X=($=e.id)!==null&&$!==void 0?$:d.id.value,ie=p(p(p({},o),e),{id:X,disabled:C.value}),{class:B,bordered:L,readonly:H,style:_,addonBefore:N=(E=c.addonBefore)===null||E===void 0?void 0:E.call(c),addonAfter:j=(R=c.addonAfter)===null||R===void 0?void 0:R.call(c),prefix:Z=(D=c.prefix)===null||D===void 0?void 0:D.call(c),valueModifiers:oe={}}=ie,ue=Ou(ie,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),W=a.value,ce=G({[`${W}-lg`]:k.value==="large",[`${W}-sm`]:k.value==="small",[`${W}-rtl`]:f.value==="rtl",[`${W}-readonly`]:H,[`${W}-borderless`]:!L,[`${W}-in-form-item`]:q},rt(W,r.value),B,h.value,y.value);let ve=s(Au,P(P({},Oe(ue,["size","defaultValue"])),{},{ref:A,lazy:!!oe.lazy,value:T.value,class:ce,prefixCls:W,readonly:H,onChange:F,onBlur:I,onFocus:w}),{upHandler:c.upIcon?()=>s("span",{class:`${W}-handler-up-inner`},[c.upIcon()]):()=>s(wu,{class:`${W}-handler-up-inner`},null),downHandler:c.downIcon?()=>s("span",{class:`${W}-handler-down-inner`},[c.downIcon()]):()=>s(No,{class:`${W}-handler-down-inner`},null)});const Ce=Sn(N)||Sn(j),Se=Sn(Z);if(Se||V){const Te=G(`${W}-affix-wrapper`,rt(`${W}-affix-wrapper`,r.value,V),{[`${W}-affix-wrapper-focused`]:x.value,[`${W}-affix-wrapper-disabled`]:C.value,[`${W}-affix-wrapper-sm`]:k.value==="small",[`${W}-affix-wrapper-lg`]:k.value==="large",[`${W}-affix-wrapper-rtl`]:f.value==="rtl",[`${W}-affix-wrapper-readonly`]:H,[`${W}-affix-wrapper-borderless`]:!L,[`${B}`]:!Ce&&B},y.value);ve=s("div",{class:Te,style:_,onClick:S},[Se&&s("span",{class:`${W}-prefix`},[Z]),ve,V&&s("span",{class:`${W}-suffix`},[Q])])}if(Ce){const Te=`${W}-group`,Ke=`${Te}-addon`,Le=N?s("div",{class:Ke},[N]):null,De=j?s("div",{class:Ke},[j]):null,Be=G(`${W}-wrapper`,Te,{[`${Te}-rtl`]:f.value==="rtl"},y.value),Ge=G(`${W}-group-wrapper`,{[`${W}-group-wrapper-sm`]:k.value==="small",[`${W}-group-wrapper-lg`]:k.value==="large",[`${W}-group-wrapper-rtl`]:f.value==="rtl"},rt(`${a}-group-wrapper`,r.value,V),B,y.value);ve=s("div",{class:Ge,style:_},[s("div",{class:Be},[Le&&s(kl,null,{default:()=>[s(Ml,null,{default:()=>[Le]})]}),ve,De&&s(kl,null,{default:()=>[s(Ml,null,{default:()=>[De]})]})])])}return b(St(ve,{style:_}))}}}),Bu=p(yn,{install:e=>(e.component(yn.name,yn),e)}),Nu=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:l,colorText:o}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:o,background:n},[`${t}-sider-zero-width-trigger`]:{color:o,background:n,border:`1px solid ${l}`,borderInlineStart:0}}}},Ru=Nu,Lu=e=>{const{antCls:t,componentCls:n,colorText:l,colorTextLightSolid:o,colorBgHeader:c,colorBgBody:d,colorBgTrigger:i,layoutHeaderHeight:r,layoutHeaderPaddingInline:a,layoutHeaderColor:u,layoutFooterPadding:f,layoutTriggerHeight:g,layoutZeroTriggerSize:v,motionDurationMid:h,motionDurationSlow:m,fontSize:C,borderRadius:b}=e;return{[n]:p(p({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:u,lineHeight:`${r}px`,background:c,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:f,color:l,fontSize:C,background:d},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:c,transition:`all ${h}, 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:o,lineHeight:`${g}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${h}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:r,insetInlineEnd:-v,zIndex:1,width:v,height:v,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:c,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}}}}},Ru(e)),{"&-rtl":{direction:"rtl"}})}},Du=ye("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:l,controlHeightLG:o,marginXXS:c}=e,d=o*1.25,i=$e(e,{layoutHeaderHeight:l*2,layoutHeaderPaddingInline:d,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${d}px`,layoutTriggerHeight:o+c*2,layoutZeroTriggerSize:o});return[Lu(i)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),fl=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function an(e){let{suffixCls:t,tagName:n,name:l}=e;return o=>U({compatConfig:{MODE:3},name:l,props:fl(),setup(d,i){let{slots:r}=i;const{prefixCls:a}=ge(t,d);return()=>{const u=p(p({},d),{prefixCls:a.value,tagName:n});return s(o,u,r)}}})}const hl=U({compatConfig:{MODE:3},props:fl(),setup(e,t){let{slots:n}=t;return()=>s(e.tagName,{class:e.prefixCls},n)}}),zu=U({compatConfig:{MODE:3},inheritAttrs:!1,props:fl(),setup(e,t){let{slots:n,attrs:l}=t;const{prefixCls:o,direction:c}=ge("",e),[d,i]=Du(o),r=te([]);nt(Ro,{addSider:f=>{r.value=[...r.value,f]},removeSider:f=>{r.value=r.value.filter(g=>g!==f)}});const u=O(()=>{const{prefixCls:f,hasSider:g}=e;return{[i.value]:!0,[`${f}`]:!0,[`${f}-has-sider`]:typeof g=="boolean"?g:r.value.length>0,[`${f}-rtl`]:c.value==="rtl"}});return()=>{const{tagName:f}=e;return d(s(f,p(p({},l),{class:[u.value,l.class]}),n))}}}),_u=an({suffixCls:"layout",tagName:"section",name:"ALayout"})(zu),jt=an({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(hl),Wt=an({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(hl),Vt=an({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(hl),wn=_u;var Hu={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 ju=Hu;function Ul(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:z.any,width:z.oneOfType([z.number,z.string]),collapsedWidth:z.oneOfType([z.number,z.string]),breakpoint:z.oneOf(Pn("xs","sm","md","lg","xl","xxl","xxxl")),theme:z.oneOf(Pn("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),Gu=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Kt=U({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:we(Ku(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:l,slots:o}=t;const{prefixCls:c}=ge("layout-sider",e),d=ut(Ro,void 0),i=ee(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),r=ee(!1);se(()=>e.collapsed,()=>{i.value=!!e.collapsed}),nt(ea,i);const a=(m,C)=>{e.collapsed===void 0&&(i.value=m),n("update:collapsed",m),n("collapse",m,C)},u=ee(m=>{r.value=m.matches,n("breakpoint",m.matches),i.value!==m.matches&&a(m.matches,"responsive")});let f;function g(m){return u.value(m)}const v=Gu("ant-sider-");d&&d.addSider(v),Qe(()=>{se(()=>e.breakpoint,()=>{try{f==null||f.removeEventListener("change",g)}catch{f==null||f.removeListener(g)}if(typeof window<"u"){const{matchMedia:m}=window;if(m&&e.breakpoint&&e.breakpoint in Xl){f=m(`(max-width: ${Xl[e.breakpoint]})`);try{f.addEventListener("change",g)}catch{f.addListener(g)}g(f)}}},{immediate:!0})}),Fe(()=>{try{f==null||f.removeEventListener("change",g)}catch{f==null||f.removeListener(g)}d&&d.removeSider(v)});const h=()=>{a(!i.value,"clickTrigger")};return()=>{var m,C;const b=c.value,{collapsedWidth:y,width:k,reverseArrow:T,zeroWidthTriggerStyle:x,trigger:A=(m=o.trigger)===null||m===void 0?void 0:m.call(o),collapsible:S,theme:M}=e,F=i.value?y:k,I=Ms(F)?`${F}px`:String(F),w=parseFloat(String(y||0))===0?s("span",{onClick:h,class:G(`${b}-zero-width-trigger`,`${b}-zero-width-trigger-${T?"right":"left"}`),style:x},[A||s(Vu,null,null)]):null,$={expanded:T?s(Xt,null,null):s(Yt,null,null),collapsed:T?s(Yt,null,null):s(Xt,null,null)},E=i.value?"collapsed":"expanded",R=$[E],D=A!==null?w||s("div",{class:`${b}-trigger`,onClick:h,style:{width:I}},[A||R]):null,V=[l.style,{flex:`0 0 ${I}`,maxWidth:I,minWidth:I,width:I}],q=G(b,`${b}-${M}`,{[`${b}-collapsed`]:!!i.value,[`${b}-has-trigger`]:S&&A!==null&&!w,[`${b}-below`]:!!r.value,[`${b}-zero-width`]:parseFloat(I)===0},l.class);return s("aside",P(P({},l),{},{class:q,style:V}),[s("div",{class:`${b}-children`},[(C=o.default)===null||C===void 0?void 0:C.call(o)]),S||r.value&&w?D:null])}}}),Uu=jt,Xu=Wt,Yu=Kt,qu=Vt,Zu=p(wn,{Header:jt,Footer:Wt,Content:Vt,Sider:Kt,install:e=>(e.component(wn.name,wn),e.component(jt.name,jt),e.component(Wt.name,Wt),e.component(Kt.name,Kt),e.component(Vt.name,Vt),e)});function Ju(e){const{selectionStart:t}=e;return e.value.slice(0,t)}function Qu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(t)?t:[t]).reduce((l,o)=>{const c=e.lastIndexOf(o);return c>l.location?{location:c,prefix:o}:l},{location:-1,prefix:""})}function Yl(e){return(e||"").toLowerCase()}function ed(e,t,n){const l=e[0];if(!l||l===n)return e;let o=e;const c=t.length;for(let d=0;d[]}},setup(e,t){let{slots:n}=t;const{activeIndex:l,setActiveIndex:o,selectOption:c,onFocus:d=ad,loading:i}=ut(hi,{activeIndex:ee(),loading:ee(!1)});let r;const a=u=>{clearTimeout(r),r=setTimeout(()=>{d(u)})};return Fe(()=>{clearTimeout(r)}),()=>{var u;const{prefixCls:f,options:g}=e,v=g[l.value]||{};return s(Xe,{prefixCls:`${f}-menu`,activeKey:v.value,onSelect:h=>{let{key:m}=h;const C=g.find(b=>{let{value:y}=b;return y===m});c(C)},onMousedown:a},{default:()=>[!i.value&&g.map((h,m)=>{var C,b;const{value:y,disabled:k,label:T=h.value,class:x,style:A}=h;return s(zt,{key:y,disabled:k,onMouseenter:()=>{o(m)},class:x,style:A},{default:()=>[(b=(C=n.option)===null||C===void 0?void 0:C.call(n,h))!==null&&b!==void 0?b:typeof T=="function"?T(h):T]})}),!i.value&&g.length===0?s(zt,{key:"notFoundContent",disabled:!0},{default:()=>[(u=n.notFoundContent)===null||u===void 0?void 0:u.call(n)]}):null,i.value&&s(zt,{key:"loading",disabled:!0},{default:()=>[s(nn,{size:"small"},null)]})]})}}}),sd={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}}},cd=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 l=()=>`${e.prefixCls}-dropdown`,o=()=>{const{options:d}=e;return s(rd,{prefixCls:l(),options:d},{notFoundContent:n.notFoundContent,option:n.option})},c=O(()=>{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 s(Lo,{prefixCls:l(),popupVisible:d,popup:o(),popupClassName:e.dropdownClassName,popupPlacement:c.value,popupTransitionName:i,builtinPlacements:sd,getPopupContainer:r},{default:n.default})}}}),ud=Pn("top","bottom"),pi={autofocus:{type:Boolean,default:void 0},prefix:z.oneOfType([z.string,z.arrayOf(z.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:z.oneOf(ud),character:z.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:Ie(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},gi=p(p({},pi),{dropdownClassName:String}),vi={prefix:"@",split:" ",rows:1,validateSearch:ld,filterOption:()=>od};we(gi,vi);var ql=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{a.value=e.value});const u=w=>{n("change",w)},f=w=>{let{target:{value:$,composing:E},isComposing:R}=w;R||E||u($)},g=(w,$,E)=>{p(a,{measuring:!0,measureText:w,measurePrefix:$,measureLocation:E,activeIndex:0})},v=w=>{p(a,{measuring:!1,measureLocation:0,measureText:null}),w==null||w()},h=w=>{const{which:$}=w;if(!!a.measuring){if($===he.UP||$===he.DOWN){const E=M.value.length,R=$===he.UP?-1:1,D=(a.activeIndex+R+E)%E;a.activeIndex=D,w.preventDefault()}else if($===he.ESC)v();else if($===he.ENTER){if(w.preventDefault(),!M.value.length){v();return}const E=M.value[a.activeIndex];x(E)}}},m=w=>{const{key:$,which:E}=w,{measureText:R,measuring:D}=a,{prefix:V,validateSearch:q}=e,Q=w.target;if(Q.composing)return;const X=Ju(Q),{location:ie,prefix:B}=Qu(X,V);if([he.ESC,he.UP,he.DOWN,he.ENTER].indexOf(E)===-1)if(ie!==-1){const L=X.slice(ie+B.length),H=q(L,e),_=!!S(L).length;H?($===B||$==="Shift"||D||L!==R&&_)&&g(L,B,ie):D&&v(),H&&n("search",L,B)}else D&&v()},C=w=>{a.measuring||n("pressenter",w)},b=w=>{k(w)},y=w=>{T(w)},k=w=>{clearTimeout(r.value);const{isFocus:$}=a;!$&&w&&n("focus",w),a.isFocus=!0},T=w=>{r.value=setTimeout(()=>{a.isFocus=!1,v(),n("blur",w)},100)},x=w=>{const{split:$}=e,{value:E=""}=w,{text:R,selectionLocation:D}=td(a.value,{measureLocation:a.measureLocation,targetText:E,prefix:a.measurePrefix,selectionStart:i.value.selectionStart,split:$});u(R),v(()=>{nd(i.value,D)}),n("select",w,a.measurePrefix)},A=w=>{a.activeIndex=w},S=w=>{const $=w||a.measureText||"",{filterOption:E}=e;return e.options.filter(D=>E?E($,D):!0)},M=O(()=>S());return o({blur:()=>{i.value.blur()},focus:()=>{i.value.focus()}}),nt(hi,{activeIndex:Ye(a,"activeIndex"),setActiveIndex:A,selectOption:x,onFocus:k,onBlur:T,loading:Ye(e,"loading")}),Qt(()=>{et(()=>{a.measuring&&(d.value.scrollTop=i.value.scrollTop)})}),()=>{const{measureLocation:w,measurePrefix:$,measuring:E}=a,{prefixCls:R,placement:D,transitionName:V,getPopupContainer:q,direction:Q}=e,X=ql(e,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:ie,style:B}=l,L=ql(l,["class","style"]),H=Oe(X,["value","prefix","split","validateSearch","filterOption","options","loading"]),_=p(p(p({},H),L),{onChange:Zl,onSelect:Zl,value:a.value,onInput:f,onBlur:y,onKeydown:h,onKeyup:m,onFocus:b,onPressenter:C});return s("div",{class:G(R,ie),style:B},[Gn(s("textarea",P({ref:i},_),null),[[ta]]),E&&s("div",{ref:d,class:`${R}-measure`},[a.value.slice(0,w),s(cd,{prefixCls:R,transitionName:V,dropdownClassName:e.dropdownClassName,placement:D,options:E?M.value:[],visible:!0,direction:Q,getPopupContainer:q},{default:()=>[s("span",null,[$])],notFoundContent:c.notFoundContent,option:c.option}),a.value.slice(w+$.length)])])}}}),fd={value:String,disabled:Boolean,payload:Ee()},mi=p(p({},fd),{label:Ne([])}),bi={name:"Option",props:mi,render(e,t){let{slots:n}=t;var l;return(l=n.default)===null||l===void 0?void 0:l.call(n)}};U(p({compatConfig:{MODE:3}},bi));const hd=e=>{const{componentCls:t,colorTextDisabled:n,controlItemBgHover:l,controlPaddingHorizontal:o,colorText:c,motionDurationSlow:d,lineHeight:i,controlHeight:r,inputPaddingHorizontal:a,inputPaddingVertical:u,fontSize:f,colorBgElevated:g,borderRadiusLG:v,boxShadowSecondary:h}=e,m=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:p(p(p(p(p({},Me(e)),Un(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:i,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Xn(e,t)),{"&-disabled":{"> textarea":p({},Eo(e))},"&-focused":p({},Io(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:c,boxSizing:"border-box",minHeight:r-2,margin:0,padding:`${u}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":p({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},Po(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":p(p({},Me(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:f,fontVariant:"initial",backgroundColor:g,borderRadius:v,outline:"none",boxShadow:h,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":p(p({},Mt),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${m}px ${o}px`,color:c,fontWeight:"normal",lineHeight:i,cursor:"pointer",transition:`background ${d} ease`,"&:hover":{backgroundColor:l},"&: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:l,cursor:"not-allowed"}},"&-selected":{color:c,fontWeight:e.fontWeightStrong,backgroundColor:l},"&-active":{backgroundColor:l}})}})})}},pd=ye("Mentions",e=>{const t=To(e);return[hd(t)]},e=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50}));var Jl=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:n="@",split:l=" "}=t,o=Array.isArray(n)?n:[n];return e.split(l).map(function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",d=null;return o.some(i=>c.slice(0,i.length)===i?(d=i,!0):!1),d!==null?{prefix:d,value:c.slice(d.length)}:null}).filter(c=>!!c&&!!c.value)},md=()=>p(p({},pi),{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:z.any,defaultValue:String,id:String,status:String}),Cn=U({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:md(),slots:Object,setup(e,t){let{slots:n,emit:l,attrs:o,expose:c}=t;var d,i;const{prefixCls:r,renderEmpty:a,direction:u}=ge("mentions",e),[f,g]=pd(r),v=ee(!1),h=ee(null),m=ee((i=(d=e.value)!==null&&d!==void 0?d:e.defaultValue)!==null&&i!==void 0?i:""),C=Ot(),b=en.useInject(),y=O(()=>tn(b.status,e.status));na({prefixCls:O(()=>`${r.value}-menu`),mode:O(()=>"vertical"),selectable:O(()=>!1),onClick:()=>{},validator:$=>{Ct()}}),se(()=>e.value,$=>{m.value=$});const k=$=>{v.value=!0,l("focus",$)},T=$=>{v.value=!1,l("blur",$),C.onFieldBlur()},x=function(){for(var $=arguments.length,E=new Array($),R=0;R<$;R++)E[R]=arguments[R];l("select",...E),v.value=!0},A=$=>{e.value===void 0&&(m.value=$),l("update:value",$),l("change",$),C.onFieldChange()},S=()=>{const $=e.notFoundContent;return $!==void 0?$:n.notFoundContent?n.notFoundContent():a("Select")},M=()=>{var $;return Pt((($=n.default)===null||$===void 0?void 0:$.call(n))||[]).map(E=>{var R,D;return p(p({},la(E)),{label:(D=(R=E.children)===null||R===void 0?void 0:R.default)===null||D===void 0?void 0:D.call(R)})})};c({focus:()=>{h.value.focus()},blur:()=>{h.value.blur()}});const w=O(()=>e.loading?gd:e.filterOption);return()=>{const{disabled:$,getPopupContainer:E,rows:R=1,id:D=C.id.value}=e,V=Jl(e,["disabled","getPopupContainer","rows","id"]),{hasFeedback:q,feedbackIcon:Q}=b,{class:X}=o,ie=Jl(o,["class"]),B=Oe(V,["defaultValue","onUpdate:value","prefixCls"]),L=G({[`${r.value}-disabled`]:$,[`${r.value}-focused`]:v.value,[`${r.value}-rtl`]:u.value==="rtl"},rt(r.value,y.value),!q&&X,g.value),H=p(p(p(p({prefixCls:r.value},B),{disabled:$,direction:u.value,filterOption:w.value,getPopupContainer:E,options:e.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:s(nn,{size:"small"},null)}]:e.options||M(),class:L}),ie),{rows:R,onChange:A,onSelect:x,onFocus:k,onBlur:T,ref:h,value:m.value,id:D}),_=s(dd,P(P({},H),{},{dropdownClassName:g.value}),{notFoundContent:S,option:n.option});return f(q?s("div",{class:G(`${r.value}-affix-wrapper`,rt(`${r.value}-affix-wrapper`,y.value,q),X,g.value)},[_,s("span",{class:`${r.value}-suffix`},[Q])]):_)}}}),Gt=U(p(p({compatConfig:{MODE:3}},bi),{name:"AMentionsOption",props:mi})),bd=p(Cn,{Option:Gt,getMentions:vd,install:e=>(e.component(Cn.name,Cn),e.component(Gt.name,Gt),e)}),Si=e=>{const{value:t,formatter:n,precision:l,decimalSeparator:o,groupSeparator:c="",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 u=a[1];let f=a[2]||"0",g=a[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,c),typeof l=="number"&&(g=g.padEnd(l,"0").slice(0,l>0?l:0)),g&&(g=`${o}${g}`),i=[s("span",{key:"int",class:`${d}-content-value-int`},[u,f]),g&&s("span",{key:"decimal",class:`${d}-content-value-decimal`},[g])]}}return s("span",{class:`${d}-content-value`},[i])};Si.displayName="StatisticNumber";const Sd=Si,yd=e=>{const{componentCls:t,marginXXS:n,padding:l,colorTextDescription:o,statisticTitleFontSize:c,colorTextHeading:d,statisticContentFontSize:i,statisticFontFamily:r}=e;return{[`${t}`]:p(p({},Me(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:c},[`${t}-skeleton`]:{paddingTop:l},[`${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}}})}},wd=ye("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:l}=e,o=$e(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:l});return[yd(o)]}),yi=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:pe([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:J(),formatter:Ne(),precision:Number,prefix:dn(),suffix:dn(),title:dn(),loading:Y()}),qe=U({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:we(yi(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:l}=t;const{prefixCls:o,direction:c}=ge("statistic",e),[d,i]=wd(o);return()=>{var r,a,u,f,g,v,h;const{value:m=0,valueStyle:C,valueRender:b}=e,y=o.value,k=(r=e.title)!==null&&r!==void 0?r:(a=n.title)===null||a===void 0?void 0:a.call(n),T=(u=e.prefix)!==null&&u!==void 0?u:(f=n.prefix)===null||f===void 0?void 0:f.call(n),x=(g=e.suffix)!==null&&g!==void 0?g:(v=n.suffix)===null||v===void 0?void 0:v.call(n),A=(h=e.formatter)!==null&&h!==void 0?h:n.formatter;let S=s(Sd,P({"data-for-update":Date.now()},p(p({},e),{prefixCls:y,value:m,formatter:A})),null);return b&&(S=b(S)),d(s("div",P(P({},l),{},{class:[y,{[`${y}-rtl`]:c.value==="rtl"},l.class,i.value]}),[k&&s("div",{class:`${y}-title`},[k]),s(Uo,{paragraph:!1,loading:e.loading},{default:()=>[s("div",{style:C,class:`${y}-content`},[T&&s("span",{class:`${y}-content-prefix`},[T]),S,x&&s("span",{class:`${y}-content-suffix`},[x])])]})]))}}}),Cd=[["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 xd(e,t){let n=e;const l=/\[[^\]]*]/g,o=(t.match(l)||[]).map(r=>r.slice(1,-1)),c=t.replace(l,"[]"),d=Cd.reduce((r,a)=>{let[u,f]=a;if(r.includes(u)){const g=Math.floor(n/f);return n-=g*f,r.replace(new RegExp(`${u}+`,"g"),v=>{const h=v.length;return g.toString().padStart(h,"0")})}return r},c);let i=0;return d.replace(l,()=>{const r=o[i];return i+=1,r})}function $d(e,t){const{format:n=""}=t,l=new Date(e).getTime(),o=Date.now(),c=Math.max(l-o,0);return xd(c,n)}const kd=1e3/30;function xn(e){return new Date(e).getTime()}const Md=()=>p(p({},yi()),{value:pe([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),Td=U({compatConfig:{MODE:3},name:"AStatisticCountdown",props:we(Md(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:l}=t;const o=te(),c=te(),d=()=>{const{value:f}=e;xn(f)>=Date.now()?i():r()},i=()=>{if(o.value)return;const f=xn(e.value);o.value=setInterval(()=>{c.value.$forceUpdate(),f>Date.now()&&n("change",f-Date.now()),d()},kd)},r=()=>{const{value:f}=e;o.value&&(clearInterval(o.value),o.value=void 0,xn(f){let{value:g,config:v}=f;const{format:h}=e;return $d(g,p(p({},v),{format:h}))},u=f=>f;return Qe(()=>{d()}),Qt(()=>{d()}),Fe(()=>{r()}),()=>{const f=e.value;return s(qe,P({ref:c},p(p({},Oe(e,["onFinish","onChange"])),{value:f,valueRender:u,formatter:a})),l)}}});qe.Countdown=Td;qe.install=function(e){return e.component(qe.name,qe),e.component(qe.Countdown.name,qe.Countdown),e};const Ad=qe.Countdown;function Id(e){let t=e.pageXOffset;const n="scrollLeft";if(typeof t!="number"){const l=e.document;t=l.documentElement[n],typeof t!="number"&&(t=l.body[n])}return t}function Ed(e){let t,n;const l=e.ownerDocument,{body:o}=l,c=l&&l.documentElement,d=e.getBoundingClientRect();return t=d.left,n=d.top,t-=c.clientLeft||o.clientLeft||0,n-=c.clientTop||o.clientTop||0,{left:t,top:n}}function Pd(e){const t=Ed(e),n=e.ownerDocument,l=n.defaultView||n.parentWindow;return t.left+=Id(l),t.left}var Od={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 Fd=Od;function Ql(e){for(var t=1;t{const{index:r}=e;n("hover",i,r)},o=i=>{const{index:r}=e;n("click",i,r)},c=i=>{const{index:r}=e;i.keyCode===13&&n("click",i,r)},d=O(()=>{const{prefixCls:i,index:r,value:a,allowHalf:u,focused:f}=e,g=r+1;let v=i;return a===0&&r===0&&f?v+=` ${i}-focused`:u&&a+.5>=g&&a{const{disabled:i,prefixCls:r,characterRender:a,character:u,index:f,count:g,value:v}=e,h=typeof u=="function"?u({disabled:i,prefixCls:r,index:f,count:g,value:v}):u;let m=s("li",{class:d.value},[s("div",{onClick:i?null:o,onKeydown:i?null:c,onMousemove:i?null:l,role:"radio","aria-checked":v>f?"true":"false","aria-posinset":f+1,"aria-setsize":g,tabindex:i?-1:0},[s("div",{class:`${r}-first`},[h]),s("div",{class:`${r}-second`},[h])])]);return a&&(m=a(m,e)),m}}}),Dd=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"}}}},zd=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),_d=e=>{const{componentCls:t}=e;return{[t]:p(p(p(p(p({},Me(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)"}}}),Dd(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),zd(e))}},Hd=ye("Rate",e=>{const{colorFillContent:t}=e,n=$e(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[_d(n)]}),jd=()=>({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:z.any,autofocus:{type:Boolean,default:void 0},tabindex:z.oneOfType([z.number,z.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),Wd=U({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:we(jd(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:l,emit:o,expose:c}=t;const{prefixCls:d,direction:i}=ge("rate",e),[r,a]=Hd(d),u=Ot(),f=te(),[g,v]=oa(),h=wt({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});se(()=>e.value,()=>{h.value=e.value});const m=w=>$o(v.value.get(w)),C=(w,$)=>{const E=i.value==="rtl";let R=w+1;if(e.allowHalf){const D=m(w),V=Pd(D),q=D.clientWidth;(E&&$-V>q/2||!E&&$-V{e.value===void 0&&(h.value=w),o("update:value",w),o("change",w),u.onFieldChange()},y=(w,$)=>{const E=C($,w.pageX);E!==h.cleanedValue&&(h.hoverValue=E,h.cleanedValue=null),o("hoverChange",E)},k=()=>{h.hoverValue=void 0,h.cleanedValue=null,o("hoverChange",void 0)},T=(w,$)=>{const{allowClear:E}=e,R=C($,w.pageX);let D=!1;E&&(D=R===h.value),k(),b(D?0:R),h.cleanedValue=D?R:null},x=w=>{h.focused=!0,o("focus",w)},A=w=>{h.focused=!1,o("blur",w),u.onFieldBlur()},S=w=>{const{keyCode:$}=w,{count:E,allowHalf:R}=e,D=i.value==="rtl";$===he.RIGHT&&h.value0&&!D||$===he.RIGHT&&h.value>0&&D?(R?h.value-=.5:h.value-=1,b(h.value),w.preventDefault()):$===he.LEFT&&h.value{e.disabled||f.value.focus()};c({focus:M,blur:()=>{e.disabled||f.value.blur()}}),Qe(()=>{const{autofocus:w,disabled:$}=e;w&&!$&&M()});const I=(w,$)=>{let{index:E}=$;const{tooltips:R}=e;return R?s(Vn,{title:R[E]},{default:()=>[w]}):w};return()=>{const{count:w,allowHalf:$,disabled:E,tabindex:R,id:D=u.id.value}=e,{class:V,style:q}=l,Q=[],X=E?`${d.value}-disabled`:"",ie=e.character||n.character||(()=>s(Nd,null,null));for(let L=0;Ls("svg",{width:"252",height:"294"},[s("defs",null,[s("path",{d:"M0 .387h251.772v251.772H0z"},null)]),s("g",{fill:"none","fill-rule":"evenodd"},[s("g",{transform:"translate(0 .012)"},[s("mask",{fill:"#fff"},null),s("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)]),s("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),s("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),s("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),s("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),s("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),s("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),s("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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)])]),qd=Yd,Zd=()=>s("svg",{width:"254",height:"294"},[s("defs",null,[s("path",{d:"M0 .335h253.49v253.49H0z"},null),s("path",{d:"M0 293.665h253.49V.401H0z"},null)]),s("g",{fill:"none","fill-rule":"evenodd"},[s("g",{transform:"translate(0 .067)"},[s("mask",{fill:"#fff"},null),s("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)]),s("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),s("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),s("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),s("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),s("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),s("mask",{fill:"#fff"},null),s("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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)])]),Jd=Zd,Qd=()=>s("svg",{width:"251",height:"294"},[s("g",{fill:"none","fill-rule":"evenodd"},[s("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),s("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),s("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),s("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),s("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),s("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("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),s("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),s("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),s("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),s("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),s("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),s("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)])]),e1=Qd,t1=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:l,padding:o,paddingXL:c,paddingXS:d,paddingLG:i,marginXS:r,lineHeight:a}=e;return{[t]:{padding:`${i*2}px ${c}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:i,textAlign:"center",[`& > ${l}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:r,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:a,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:i,padding:`${i}px ${o*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:d,"&:last-child":{marginInlineEnd:0}}}}},n1=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},l1=e=>[t1(e),n1(e)],o1=e=>l1(e),i1=ye("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,l=e.fontSize,o=`${t}px 0 0 0`,c=e.colorInfo,d=e.colorError,i=e.colorSuccess,r=e.colorWarning,a=$e(e,{resultTitleFontSize:n,resultSubtitleFontSize:l,resultIconFontSize:n*3,resultExtraMargin:o,resultInfoIconColor:c,resultErrorIconColor:d,resultSuccessIconColor:i,resultWarningIconColor:r});return[o1(a)]},{imageWidth:250,imageHeight:295}),a1={success:ia,error:aa,info:ra,warning:Xd},Ft={404:qd,500:Jd,403:e1},r1=Object.keys(Ft),s1=()=>({prefixCls:String,icon:z.any,status:{type:[Number,String],default:"info"},title:z.any,subTitle:z.any,extra:z.any}),c1=(e,t)=>{let{status:n,icon:l}=t;if(r1.includes(`${n}`)){const d=Ft[n];return s("div",{class:`${e}-icon ${e}-image`},[s(d,null,null)])}const o=a1[n],c=l||s(o,null,null);return s("div",{class:`${e}-icon`},[c])},u1=(e,t)=>t&&s("div",{class:`${e}-extra`},[t]),st=U({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:s1(),slots:Object,setup(e,t){let{slots:n,attrs:l}=t;const{prefixCls:o,direction:c}=ge("result",e),[d,i]=i1(o),r=O(()=>G(o.value,i.value,`${o.value}-${e.status}`,{[`${o.value}-rtl`]:c.value==="rtl"}));return()=>{var a,u,f,g,v,h,m,C;const b=(a=e.title)!==null&&a!==void 0?a:(u=n.title)===null||u===void 0?void 0:u.call(n),y=(f=e.subTitle)!==null&&f!==void 0?f:(g=n.subTitle)===null||g===void 0?void 0:g.call(n),k=(v=e.icon)!==null&&v!==void 0?v:(h=n.icon)===null||h===void 0?void 0:h.call(n),T=(m=e.extra)!==null&&m!==void 0?m:(C=n.extra)===null||C===void 0?void 0:C.call(n),x=o.value;return d(s("div",P(P({},l),{},{class:[r.value,l.class]}),[c1(x,{status:e.status,icon:k}),s("div",{class:`${x}-title`},[b]),y&&s("div",{class:`${x}-subtitle`},[y]),u1(x,T),n.default&&s("div",{class:`${x}-content`},[n.default()])]))}}});st.PRESENTED_IMAGE_403=Ft[403];st.PRESENTED_IMAGE_404=Ft[404];st.PRESENTED_IMAGE_500=Ft[500];st.install=function(e){return e.component(st.name,st),e};const d1=st,f1={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},h1=U({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:we(f1,{placeholder:""}),emits:["change"],setup(e,t){let{emit:n}=t;const l=o=>{var c;n("change",o),o.target.value===""&&((c=e.handleClear)===null||c===void 0||c.call(e))};return()=>{const{placeholder:o,value:c,prefixCls:d,disabled:i}=e;return s(Do,{placeholder:o,class:d,value:c,onChange:l,disabled:i,allowClear:!0},{prefix:()=>s(sa,null,null)})}}});function p1(){}const g1={renderedText:z.any,renderedEl:z.any,item:z.any,checked:Y(),prefixCls:String,disabled:Y(),showRemove:Y(),onClick:Function,onRemove:Function},v1=U({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:g1,emits:["click","remove"],setup(e,t){let{emit:n}=t;return()=>{const{renderedText:l,renderedEl:o,item:c,checked:d,disabled:i,prefixCls:r,showRemove:a}=e,u=G({[`${r}-content-item`]:!0,[`${r}-content-item-disabled`]:i||c.disabled});let f;return(typeof l=="string"||typeof l=="number")&&(f=String(l)),s(Zn,{componentName:"Transfer",defaultLocale:qn.Transfer},{default:g=>{const v=s("span",{class:`${r}-content-item-text`},[o]);return a?s("li",{class:u,title:f},[v,s(ca,{disabled:i||c.disabled,class:`${r}-content-item-remove`,"aria-label":g.remove,onClick:()=>{n("remove",c)}},{default:()=>[s(ua,null,null)]})]):s("li",{class:u,title:f,onClick:i||c.disabled?p1:()=>{n("click",c)}},[s(Yn,{class:`${r}-checkbox`,checked:d,disabled:i||c.disabled},null),v])}})}}}),m1={prefixCls:String,filteredRenderItems:z.array.def([]),selectedKeys:z.array,disabled:Y(),showRemove:Y(),pagination:z.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function b1(e){if(!e)return null;const t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof e=="object"?p(p({},t),e):t}const S1=U({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:m1,emits:["itemSelect","itemRemove","scroll"],setup(e,t){let{emit:n,expose:l}=t;const o=te(1),c=f=>{const{selectedKeys:g}=e,v=g.indexOf(f.key)>=0;n("itemSelect",f.key,!v)},d=f=>{n("itemRemove",[f.key])},i=f=>{n("scroll",f)},r=O(()=>b1(e.pagination));se([r,()=>e.filteredRenderItems],()=>{if(r.value){const f=Math.ceil(e.filteredRenderItems.length/r.value.pageSize);o.value=Math.min(o.value,f)}},{immediate:!0});const a=O(()=>{const{filteredRenderItems:f}=e;let g=f;return r.value&&(g=f.slice((o.value-1)*r.value.pageSize,o.value*r.value.pageSize)),g}),u=f=>{o.value=f};return l({items:a}),()=>{const{prefixCls:f,filteredRenderItems:g,selectedKeys:v,disabled:h,showRemove:m}=e;let C=null;r.value&&(C=s(zo,{simple:r.value.simple,showSizeChanger:r.value.showSizeChanger,showLessItems:r.value.showLessItems,size:"small",disabled:h,class:`${f}-pagination`,total:g.length,pageSize:r.value.pageSize,current:o.value,onChange:u},null));const b=a.value.map(y=>{let{renderedEl:k,renderedText:T,item:x}=y;const{disabled:A}=x,S=v.indexOf(x.key)>=0;return s(v1,{disabled:h||A,key:x.key,item:x,renderedText:T,renderedEl:k,checked:S,prefixCls:f,onClick:c,onRemove:d,showRemove:m},null)});return s(Ve,null,[s("ul",{class:G(`${f}-content`,{[`${f}-content-show-remove`]:m}),onScroll:i},[b]),C])}}}),y1=S1,Dn=e=>{const t=new Map;return e.forEach((n,l)=>{t.set(n,l)}),t},w1=e=>{const t=new Map;return e.forEach((n,l)=>{let{disabled:o,key:c}=n;o&&t.set(c,l)}),t},C1=()=>null;function x1(e){return!!(e&&!So(e)&&Object.prototype.toString.call(e)==="[object Object]")}function Lt(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const $1={prefixCls:String,dataSource:Ie([]),filter:String,filterOption:Function,checkedKeys:z.arrayOf(z.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:Y(!1),searchPlaceholder:String,notFoundContent:z.any,itemUnit:String,itemsUnit:String,renderList:z.any,disabled:Y(),direction:be(),showSelectAll:Y(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:z.any,showRemove:Y(),pagination:z.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},to=U({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:$1,slots:Object,setup(e,t){let{attrs:n,slots:l}=t;const o=te(""),c=te(),d=te(),i=(x,A)=>{let S=x?x(A):null;const M=!!S&&Wn(S).length>0;return M||(S=s(y1,P(P({},A),{},{ref:d}),null)),{customize:M,bodyContent:S}},r=x=>{const{renderItem:A=C1}=e,S=A(x),M=x1(S);return{renderedText:M?S.value:S,renderedEl:M?S.label:S,item:x}},a=te([]),u=te([]);Re(()=>{const x=[],A=[];e.dataSource.forEach(S=>{const M=r(S),{renderedText:F}=M;if(o.value&&o.value.trim()&&!b(F,S))return null;x.push(S),A.push(M)}),a.value=x,u.value=A});const f=O(()=>{const{checkedKeys:x}=e;if(x.length===0)return"none";const A=Dn(x);return a.value.every(S=>A.has(S.key)||!!S.disabled)?"all":"part"}),g=O(()=>Lt(a.value)),v=(x,A)=>Array.from(new Set([...x,...e.checkedKeys])).filter(S=>A.indexOf(S)===-1),h=x=>{let{disabled:A,prefixCls:S}=x;var M;const F=f.value==="all";return s(Yn,{disabled:((M=e.dataSource)===null||M===void 0?void 0:M.length)===0||A,checked:F,indeterminate:f.value==="part",class:`${S}-checkbox`,onChange:()=>{const w=g.value;e.onItemSelectAll(v(F?[]:w,F?e.checkedKeys:[]))}},null)},m=x=>{var A;const{target:{value:S}}=x;o.value=S,(A=e.handleFilter)===null||A===void 0||A.call(e,x)},C=x=>{var A;o.value="",(A=e.handleClear)===null||A===void 0||A.call(e,x)},b=(x,A)=>{const{filterOption:S}=e;return S?S(o.value,A):x.includes(o.value)},y=(x,A)=>{const{itemsUnit:S,itemUnit:M,selectAllLabel:F}=e;if(F)return typeof F=="function"?F({selectedCount:x,totalCount:A}):F;const I=A>1?S:M;return s(Ve,null,[(x>0?`${x}/`:"")+A,at(" "),I])},k=O(()=>Array.isArray(e.notFoundContent)?e.notFoundContent[e.direction==="left"?0:1]:e.notFoundContent),T=(x,A,S,M,F,I)=>{const w=F?s("div",{class:`${x}-body-search-wrapper`},[s(h1,{prefixCls:`${x}-search`,onChange:m,handleClear:C,placeholder:A,value:o.value,disabled:I},null)]):null;let $;const{onEvents:E}=da(n),{bodyContent:R,customize:D}=i(M,p(p(p({},e),{filteredItems:a.value,filteredRenderItems:u.value,selectedKeys:S}),E));return D?$=s("div",{class:`${x}-body-customize-wrapper`},[R]):$=a.value.length?R:s("div",{class:`${x}-body-not-found`},[k.value]),s("div",{class:F?`${x}-body ${x}-body-with-search`:`${x}-body`,ref:c},[w,$])};return()=>{var x,A;const{prefixCls:S,checkedKeys:M,disabled:F,showSearch:I,searchPlaceholder:w,selectAll:$,selectCurrent:E,selectInvert:R,removeAll:D,removeCurrent:V,renderList:q,onItemSelectAll:Q,onItemRemove:X,showSelectAll:ie=!0,showRemove:B,pagination:L}=e,H=(x=l.footer)===null||x===void 0?void 0:x.call(l,p({},e)),_=G(S,{[`${S}-with-pagination`]:!!L,[`${S}-with-footer`]:!!H}),N=T(S,w,M,q,I,F),j=H?s("div",{class:`${S}-footer`},[H]):null,Z=!B&&!L&&h({disabled:F,prefixCls:S});let oe=null;B?oe=s(Xe,null,{default:()=>[L&&s(Xe.Item,{key:"removeCurrent",onClick:()=>{const W=Lt((d.value.items||[]).map(ce=>ce.item));X==null||X(W)}},{default:()=>[V]}),s(Xe.Item,{key:"removeAll",onClick:()=>{X==null||X(g.value)}},{default:()=>[D]})]}):oe=s(Xe,null,{default:()=>[s(Xe.Item,{key:"selectAll",onClick:()=>{const W=g.value;Q(v(W,[]))}},{default:()=>[$]}),L&&s(Xe.Item,{onClick:()=>{const W=Lt((d.value.items||[]).map(ce=>ce.item));Q(v(W,[]))}},{default:()=>[E]}),s(Xe.Item,{key:"selectInvert",onClick:()=>{let W;L?W=Lt((d.value.items||[]).map(Se=>Se.item)):W=g.value;const ce=new Set(M),ve=[],Ce=[];W.forEach(Se=>{ce.has(Se)?Ce.push(Se):ve.push(Se)}),Q(v(ve,Ce))}},{default:()=>[R]})]});const ue=s(_o,{class:`${S}-header-dropdown`,overlay:oe,disabled:F},{default:()=>[s(No,null,null)]});return s("div",{class:_,style:n.style},[s("div",{class:`${S}-header`},[ie?s(Ve,null,[Z,ue]):null,s("span",{class:`${S}-header-selected`},[s("span",null,[y(M.length,a.value.length)]),s("span",{class:`${S}-header-title`},[(A=l.titleText)===null||A===void 0?void 0:A.call(l)])])]),N,j])}}});function no(){}const ml=e=>{const{disabled:t,moveToLeft:n=no,moveToRight:l=no,leftArrowText:o="",rightArrowText:c="",leftActive:d,rightActive:i,class:r,style:a,direction:u,oneWay:f}=e;return s("div",{class:r,style:a},[s(yt,{type:"primary",size:"small",disabled:t||!i,onClick:l,icon:u!=="rtl"?s(Xt,null,null):s(Yt,null,null)},{default:()=>[c]}),!f&&s(yt,{type:"primary",size:"small",disabled:t||!d,onClick:n,icon:u!=="rtl"?s(Yt,null,null):s(Xt,null,null)},{default:()=>[o]})])};ml.displayName="Operation";ml.inheritAttrs=!1;const k1=ml,M1=e=>{const{antCls:t,componentCls:n,listHeight:l,controlHeightLG:o,marginXXS:c,margin:d}=e,i=`${t}-table`,r=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:l},[`${i}-wrapper`]:{[`${i}-small`]:{border:0,borderRadius:0,[`${i}-selection-column`]:{width:o,minWidth:o}},[`${i}-pagination${i}-pagination`]:{margin:`${d}px 0 ${c}px`}},[`${r}[disabled]`]:{backgroundColor:"transparent"}}}},lo=(e,t)=>{const{componentCls:n,colorBorder:l}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:l}}}},T1=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:p({},lo(e,e.colorError)),[`${t}-status-warning`]:p({},lo(e,e.colorWarning))}},A1=e=>{const{componentCls:t,colorBorder:n,colorSplit:l,lineWidth:o,transferItemHeight:c,transferHeaderHeight:d,transferHeaderVerticalPadding:i,transferItemPaddingVertical:r,controlItemBgActive:a,controlItemBgActiveHover:u,colorTextDisabled:f,listHeight:g,listWidth:v,listWidthLG:h,fontSizeIcon:m,marginXS:C,paddingSM:b,lineType:y,iconCls:k,motionDurationSlow:T}=e;return{display:"flex",flexDirection:"column",width:v,height:g,border:`${o}px ${y} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:h,height:"auto"},"&-search":{[`${k}-search`]:{color:f}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:d,padding:`${i-o}px ${b}px ${i}px`,color:e.colorText,background:e.colorBgContainer,borderBottom:`${o}px ${y} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":p(p({},Mt),{flex:"auto",textAlign:"end"}),"&-dropdown":p(p({},Oo()),{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:c,padding:`${r}px ${b}px`,transition:`all ${T}`,"> *:not(:last-child)":{marginInlineEnd:C},"> *":{flex:"none"},"&-text":p(p({},Mt),{flex:"auto"}),"&-remove":{position:"relative",color:n,cursor:"pointer",transition:`all ${T}`,"&: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:u}},"&-checked":{backgroundColor:a},"&-disabled":{color:f,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:`${o}px ${y} ${l}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:f,textAlign:"center"},"&-footer":{borderTop:`${o}px ${y} ${l}`},"&-checkbox":{lineHeight:1}}},I1=e=>{const{antCls:t,iconCls:n,componentCls:l,transferHeaderHeight:o,marginXS:c,marginXXS:d,fontSizeIcon:i,fontSize:r,lineHeight:a}=e;return{[l]:p(p({},Me(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${l}-disabled`]:{[`${l}-list`]:{background:e.colorBgContainerDisabled}},[`${l}-list`]:A1(e),[`${l}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${c}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:d},[n]:{fontSize:i}}},[`${t}-empty-image`]:{maxHeight:o/2-Math.round(r*a)}})}},E1=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},P1=ye("Transfer",e=>{const{fontSize:t,lineHeight:n,lineWidth:l,controlHeightLG:o,controlHeight:c}=e,d=Math.round(t*n),i=o,r=c,a=$e(e,{transferItemHeight:r,transferHeaderHeight:i,transferHeaderVerticalPadding:Math.ceil((i-l-d)/2),transferItemPaddingVertical:(r-d)/2});return[I1(a),M1(a),T1(a),E1(a)]},{listWidth:180,listHeight:200,listWidthLG:250}),O1=()=>({id:String,prefixCls:String,dataSource:Ie([]),disabled:Y(),targetKeys:Ie(),selectedKeys:Ie(),render:J(),listStyle:pe([Function,Object],()=>({})),operationStyle:Ee(void 0),titles:Ie(),operations:Ie(),showSearch:Y(!1),filterOption:J(),searchPlaceholder:String,notFoundContent:z.any,locale:Ee(),rowKey:J(),showSelectAll:Y(),selectAllLabels:Ie(),children:J(),oneWay:Y(),pagination:pe([Object,Boolean]),status:be(),onChange:J(),onSelectChange:J(),onSearch:J(),onScroll:J(),"onUpdate:targetKeys":J(),"onUpdate:selectedKeys":J()}),F1=U({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:O1(),slots:Object,setup(e,t){let{emit:n,attrs:l,slots:o,expose:c}=t;const{configProvider:d,prefixCls:i,direction:r}=ge("transfer",e),[a,u]=P1(i),f=te([]),g=te([]),v=Ot(),h=en.useInject(),m=O(()=>tn(h.status,e.status));se(()=>e.selectedKeys,()=>{var N,j;f.value=((N=e.selectedKeys)===null||N===void 0?void 0:N.filter(Z=>e.targetKeys.indexOf(Z)===-1))||[],g.value=((j=e.selectedKeys)===null||j===void 0?void 0:j.filter(Z=>e.targetKeys.indexOf(Z)>-1))||[]},{immediate:!0});const C=(N,j)=>{const Z={notFoundContent:j("Transfer")},oe=fa(o,e,"notFoundContent");return oe&&(Z.notFoundContent=oe),e.searchPlaceholder!==void 0&&(Z.searchPlaceholder=e.searchPlaceholder),p(p(p({},N),Z),e.locale)},b=N=>{const{targetKeys:j=[],dataSource:Z=[]}=e,oe=N==="right"?f.value:g.value,ue=w1(Z),W=oe.filter(Se=>!ue.has(Se)),ce=Dn(W),ve=N==="right"?W.concat(j):j.filter(Se=>!ce.has(Se)),Ce=N==="right"?"left":"right";N==="right"?f.value=[]:g.value=[],n("update:targetKeys",ve),S(Ce,[]),n("change",ve,N,W),v.onFieldChange()},y=()=>{b("left")},k=()=>{b("right")},T=(N,j)=>{S(N,j)},x=N=>T("left",N),A=N=>T("right",N),S=(N,j)=>{N==="left"?(e.selectedKeys||(f.value=j),n("update:selectedKeys",[...j,...g.value]),n("selectChange",j,We(g.value))):(e.selectedKeys||(g.value=j),n("update:selectedKeys",[...j,...f.value]),n("selectChange",We(f.value),j))},M=(N,j)=>{const Z=j.target.value;n("search",N,Z)},F=N=>{M("left",N)},I=N=>{M("right",N)},w=N=>{n("search",N,"")},$=()=>{w("left")},E=()=>{w("right")},R=(N,j,Z)=>{const oe=N==="left"?[...f.value]:[...g.value],ue=oe.indexOf(j);ue>-1&&oe.splice(ue,1),Z&&oe.push(j),S(N,oe)},D=(N,j)=>R("left",N,j),V=(N,j)=>R("right",N,j),q=N=>{const{targetKeys:j=[]}=e,Z=j.filter(oe=>!N.includes(oe));n("update:targetKeys",Z),n("change",Z,"left",[...N])},Q=(N,j)=>{n("scroll",N,j)},X=N=>{Q("left",N)},ie=N=>{Q("right",N)},B=(N,j)=>typeof N=="function"?N({direction:j}):N,L=te([]),H=te([]);Re(()=>{const{dataSource:N,rowKey:j,targetKeys:Z=[]}=e,oe=[],ue=new Array(Z.length),W=Dn(Z);N.forEach(ce=>{j&&(ce.key=j(ce)),W.has(ce.key)?ue[W.get(ce.key)]=ce:oe.push(ce)}),L.value=oe,H.value=ue}),c({handleSelectChange:S});const _=N=>{var j,Z,oe,ue,W,ce;const{disabled:ve,operations:Ce=[],showSearch:Se,listStyle:Te,operationStyle:Ke,filterOption:Le,showSelectAll:De,selectAllLabels:Be=[],oneWay:Ge,pagination:Ue,id:K=v.id.value}=e,{class:ne,style:le}=l,re=o.children,me=!re&&Ue,de=d.renderEmpty,ae=C(N,de),{footer:fe}=o,ke=e.render||o.render,ze=g.value.length>0,_e=f.value.length>0,Pe=G(i.value,ne,{[`${i.value}-disabled`]:ve,[`${i.value}-customize-list`]:!!re,[`${i.value}-rtl`]:r.value==="rtl"},rt(i.value,m.value,h.hasFeedback),u.value),xe=e.titles,He=(oe=(j=xe&&xe[0])!==null&&j!==void 0?j:(Z=o.leftTitle)===null||Z===void 0?void 0:Z.call(o))!==null&&oe!==void 0?oe:(ae.titles||["",""])[0],ft=(ce=(ue=xe&&xe[1])!==null&&ue!==void 0?ue:(W=o.rightTitle)===null||W===void 0?void 0:W.call(o))!==null&&ce!==void 0?ce:(ae.titles||["",""])[1];return s("div",P(P({},l),{},{class:Pe,style:le,id:K}),[s(to,P({key:"leftList",prefixCls:`${i.value}-list`,dataSource:L.value,filterOption:Le,style:B(Te,"left"),checkedKeys:f.value,handleFilter:F,handleClear:$,onItemSelect:D,onItemSelectAll:x,renderItem:ke,showSearch:Se,renderList:re,onScroll:X,disabled:ve,direction:r.value==="rtl"?"right":"left",showSelectAll:De,selectAllLabel:Be[0]||o.leftSelectAllLabel,pagination:me},ae),{titleText:()=>He,footer:fe}),s(k1,{key:"operation",class:`${i.value}-operation`,rightActive:_e,rightArrowText:Ce[0],moveToRight:k,leftActive:ze,leftArrowText:Ce[1],moveToLeft:y,style:Ke,disabled:ve,direction:r.value,oneWay:Ge},null),s(to,P({key:"rightList",prefixCls:`${i.value}-list`,dataSource:H.value,filterOption:Le,style:B(Te,"right"),checkedKeys:g.value,handleFilter:I,handleClear:E,onItemSelect:V,onItemSelectAll:A,onItemRemove:q,renderItem:ke,showSearch:Se,renderList:re,onScroll:ie,disabled:ve,direction:r.value==="rtl"?"left":"right",showSelectAll:De,selectAllLabel:Be[1]||o.rightSelectAllLabel,showRemove:Ge,pagination:me},ae),{titleText:()=>ft,footer:fe})])};return()=>a(s(Zn,{componentName:"Transfer",defaultLocale:qn.Transfer,children:_},null))}}),B1=Je(F1);function N1(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function R1(e){const{label:t,value:n,children:l}=e||{},o=n||"value";return{_title:t?[t]:["title","label"],value:o,key:o,children:l||"children"}}function zn(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function L1(e,t){const n=[];function l(o){o.forEach(c=>{n.push(c[t.value]);const d=c[t.children];d&&l(d)})}return l(e),n}function oo(e){return e==null}const wi=Symbol("TreeSelectContextPropsKey");function D1(e){return nt(wi,e)}function z1(){return ut(wi,{})}const _1={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},H1=U({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:l}=t;const o=ha(),c=pa(),d=z1(),i=te(),r=ga(()=>d.treeData,[()=>o.open,()=>d.treeData],x=>x[0]),a=O(()=>{const{checkable:x,halfCheckedKeys:A,checkedKeys:S}=c;return x?{checked:S,halfChecked:A}:null});se(()=>o.open,()=>{et(()=>{var x;o.open&&!o.multiple&&c.checkedKeys.length&&((x=i.value)===null||x===void 0||x.scrollTo({key:c.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const u=O(()=>String(o.searchValue).toLowerCase()),f=x=>u.value?String(x[c.treeNodeFilterProp]).toLowerCase().includes(u.value):!1,g=ee(c.treeDefaultExpandedKeys),v=ee(null);se(()=>o.searchValue,()=>{o.searchValue&&(v.value=L1(We(d.treeData),We(d.fieldNames)))},{immediate:!0});const h=O(()=>c.treeExpandedKeys?c.treeExpandedKeys.slice():o.searchValue?v.value:g.value),m=x=>{var A;g.value=x,v.value=x,(A=c.onTreeExpand)===null||A===void 0||A.call(c,x)},C=x=>{x.preventDefault()},b=(x,A)=>{let{node:S}=A;var M,F;const{checkable:I,checkedKeys:w}=c;I&&zn(S)||((M=d.onSelect)===null||M===void 0||M.call(d,S.key,{selected:!w.includes(S.key)}),o.multiple||(F=o.toggleOpen)===null||F===void 0||F.call(o,!1))},y=te(null),k=O(()=>c.keyEntities[y.value]),T=x=>{y.value=x};return l({scrollTo:function(){for(var x,A,S=arguments.length,M=new Array(S),F=0;F{var A;const{which:S}=x;switch(S){case he.UP:case he.DOWN:case he.LEFT:case he.RIGHT:(A=i.value)===null||A===void 0||A.onKeydown(x);break;case he.ENTER:{if(k.value){const{selectable:M,value:F}=k.value.node||{};M!==!1&&b(null,{node:{key:y.value},selected:!c.checkedKeys.includes(F)})}break}case he.ESC:o.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var x;const{prefixCls:A,multiple:S,searchValue:M,open:F,notFoundContent:I=(x=n.notFoundContent)===null||x===void 0?void 0:x.call(n)}=o,{listHeight:w,listItemHeight:$,virtual:E,dropdownMatchSelectWidth:R,treeExpandAction:D}=d,{checkable:V,treeDefaultExpandAll:q,treeIcon:Q,showTreeIcon:X,switcherIcon:ie,treeLine:B,loadData:L,treeLoadedKeys:H,treeMotion:_,onTreeLoad:N,checkedKeys:j}=c;if(r.value.length===0)return s("div",{role:"listbox",class:`${A}-empty`,onMousedown:C},[I]);const Z={fieldNames:d.fieldNames};return H&&(Z.loadedKeys=H),h.value&&(Z.expandedKeys=h.value),s("div",{onMousedown:C},[k.value&&F&&s("span",{style:_1,"aria-live":"assertive"},[k.value.node.value]),s(va,P(P({ref:i,focusable:!1,prefixCls:`${A}-tree`,treeData:r.value,height:w,itemHeight:$,virtual:E!==!1&&R!==!1,multiple:S,icon:Q,showIcon:X,switcherIcon:ie,showLine:B,loadData:M?null:L,motion:_,activeKey:y.value,checkable:V,checkStrictly:!0,checkedKeys:a.value,selectedKeys:V?[]:j,defaultExpandAll:q},Z),{},{onActiveChange:T,onSelect:b,onCheck:b,onExpand:m,onLoad:N,filterTreeNode:f,expandAction:D}),p(p({},n),{checkable:c.customSlots.treeCheckable}))])}}}),j1="SHOW_ALL",Ci="SHOW_PARENT",bl="SHOW_CHILD";function io(e,t,n,l){const o=new Set(e);return t===bl?e.filter(c=>{const d=n[c];return!(d&&d.children&&d.children.some(i=>{let{node:r}=i;return o.has(r[l.value])})&&d.children.every(i=>{let{node:r}=i;return zn(r)||o.has(r[l.value])}))}):t===Ci?e.filter(c=>{const d=n[c],i=d?d.parent:null;return!(i&&!zn(i.node)&&o.has(i.key))}):e}const rn=()=>null;rn.inheritAttrs=!1;rn.displayName="ATreeSelectNode";rn.isTreeSelectNode=!0;const Sl=rn;var W1=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o0&&arguments[0]!==void 0?arguments[0]:[];return Wn(n).map(l=>{var o,c,d;if(!V1(l))return null;const i=l.children||{},r=l.key,a={};for(const[S,M]of Object.entries(l.props))a[ma(S)]=M;const{isLeaf:u,checkable:f,selectable:g,disabled:v,disableCheckbox:h}=a,m={isLeaf:u||u===""||void 0,checkable:f||f===""||void 0,selectable:g||g===""||void 0,disabled:v||v===""||void 0,disableCheckbox:h||h===""||void 0},C=p(p({},a),m),{title:b=(o=i.title)===null||o===void 0?void 0:o.call(i,C),switcherIcon:y=(c=i.switcherIcon)===null||c===void 0?void 0:c.call(i,C)}=a,k=W1(a,["title","switcherIcon"]),T=(d=i.default)===null||d===void 0?void 0:d.call(i),x=p(p(p({},k),{title:b,switcherIcon:y,key:r,isLeaf:u}),m),A=t(T);return A.length&&(x.children=A),x})}return t(e)}function _n(e){if(!e)return e;const t=p({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function G1(e,t,n,l,o,c){let d=null,i=null;function r(){function a(u){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return u.map((v,h)=>{const m=`${f}-${h}`,C=v[c.value],b=n.includes(C),y=a(v[c.children]||[],m,b),k=s(Sl,v,{default:()=>[y.map(T=>T.node)]});if(t===C&&(d=k),b){const T={pos:m,node:k,children:y};return g||i.push(T),T}return null}).filter(v=>v)}i||(i=[],a(l),i.sort((u,f)=>{let{node:{props:{value:g}}}=u,{node:{props:{value:v}}}=f;const h=n.indexOf(g),m=n.indexOf(v);return h-m}))}Object.defineProperty(e,"triggerNode",{get(){return r(),d}}),Object.defineProperty(e,"allCheckedNodes",{get(){return r(),o?i:i.map(a=>{let{node:u}=a;return u})}})}function U1(e,t){let{id:n,pId:l,rootPId:o}=t;const c={},d=[];return e.map(r=>{const a=p({},r),u=a[n];return c[u]=a,a.key=a.key||u,a}).forEach(r=>{const a=r[l],u=c[a];u&&(u.children=u.children||[],u.children.push(r)),(a===o||!u&&o===null)&&d.push(r)}),d}function X1(e,t,n){const l=ee();return se([n,e,t],()=>{const o=n.value;e.value?l.value=n.value?U1(We(e.value),p({id:"id",pId:"pId",rootPId:null},o!==!0?o:{})):We(e.value).slice():l.value=K1(We(t.value))},{immediate:!0,deep:!0}),l}const Y1=e=>{const t=ee({valueLabels:new Map}),n=ee();return se(e,()=>{n.value=We(e.value)},{immediate:!0}),[O(()=>{const{valueLabels:o}=t.value,c=new Map,d=n.value.map(i=>{var r;const{value:a}=i,u=(r=i.label)!==null&&r!==void 0?r:o.get(a);return c.set(a,u),p(p({},i),{label:u})});return t.value.valueLabels=c,d})]},q1=(e,t)=>{const n=ee(new Map),l=ee({});return Re(()=>{const o=t.value,c=ba(e.value,{fieldNames:o,initWrapper:d=>p(p({},d),{valueEntities:new Map}),processEntity:(d,i)=>{const r=d.node[o.value];i.valueEntities.set(r,d)}});n.value=c.valueEntities,l.value=c.keyEntities}),{valueEntities:n,keyEntities:l}},Z1=(e,t,n,l,o,c)=>{const d=ee([]),i=ee([]);return Re(()=>{let r=e.value.map(f=>{let{value:g}=f;return g}),a=t.value.map(f=>{let{value:g}=f;return g});const u=r.filter(f=>!l.value[f]);n.value&&({checkedKeys:r,halfCheckedKeys:a}=On(r,!0,l.value,o.value,c.value)),d.value=Array.from(new Set([...u,...r])),i.value=a}),[d,i]},J1=(e,t,n)=>{let{treeNodeFilterProp:l,filterTreeNode:o,fieldNames:c}=n;return O(()=>{const{children:d}=c.value,i=t.value,r=l==null?void 0:l.value;if(!i||o.value===!1)return e.value;let a;if(typeof o.value=="function")a=o.value;else{const f=i.toUpperCase();a=(g,v)=>{const h=v[r];return String(h).toUpperCase().includes(f)}}function u(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const v=[];for(let h=0,m=f.length;he.treeCheckable&&!e.treeCheckStrictly),i=O(()=>e.treeCheckable||e.treeCheckStrictly),r=O(()=>e.treeCheckStrictly||e.labelInValue),a=O(()=>i.value||e.multiple),u=O(()=>R1(e.fieldNames)),[f,g]=Tt("",{value:O(()=>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)},h=X1(Ye(e,"treeData"),Ye(e,"children"),Ye(e,"treeDataSimpleMode")),{keyEntities:m,valueEntities:C}=q1(h,u),b=K=>{const ne=[],le=[];return K.forEach(re=>{C.value.has(re)?le.push(re):ne.push(re)}),{missingRawValues:ne,existRawValues:le}},y=J1(h,f,{fieldNames:u,treeNodeFilterProp:Ye(e,"treeNodeFilterProp"),filterTreeNode:Ye(e,"filterTreeNode")}),k=K=>{if(K){if(e.treeNodeLabelProp)return K[e.treeNodeLabelProp];const{_title:ne}=u.value;for(let le=0;leN1(K).map(le=>Q1(le)?{value:le}:le),x=K=>T(K).map(le=>{let{label:re}=le;const{value:me,halfChecked:de}=le;let ae;const fe=C.value.get(me);return fe&&(re=re!=null?re:k(fe.node),ae=fe.node.disabled),{label:re,value:me,halfChecked:de,disabled:ae}}),[A,S]=Tt(e.defaultValue,{value:Ye(e,"value")}),M=O(()=>T(A.value)),F=ee([]),I=ee([]);Re(()=>{const K=[],ne=[];M.value.forEach(le=>{le.halfChecked?ne.push(le):K.push(le)}),F.value=K,I.value=ne});const w=O(()=>F.value.map(K=>K.value)),{maxLevel:$,levelEntities:E}=ya(m),[R,D]=Z1(F,I,d,m,$,E),V=O(()=>{const le=io(R.value,e.showCheckedStrategy,m.value,u.value).map(de=>{var ae,fe,ke;return(ke=(fe=(ae=m.value[de])===null||ae===void 0?void 0:ae.node)===null||fe===void 0?void 0:fe[u.value.value])!==null&&ke!==void 0?ke:de}).map(de=>{const ae=F.value.find(fe=>fe.value===de);return{value:de,label:ae==null?void 0:ae.label}}),re=x(le),me=re[0];return!a.value&&me&&oo(me.value)&&oo(me.label)?[]:re.map(de=>{var ae;return p(p({},de),{label:(ae=de.label)!==null&&ae!==void 0?ae:de.value})})}),[q]=Y1(V),Q=(K,ne,le)=>{const re=x(K);if(S(re),e.autoClearSearchValue&&g(""),e.onChange){let me=K;d.value&&(me=io(K,e.showCheckedStrategy,m.value,u.value).map(He=>{const ft=C.value.get(He);return ft?ft.node[u.value.value]:He}));const{triggerValue:de,selected:ae}=ne||{triggerValue:void 0,selected:void 0};let fe=me;if(e.treeCheckStrictly){const xe=I.value.filter(He=>!me.includes(He.value));fe=[...fe,...xe]}const ke=x(fe),ze={preValue:F.value,triggerValue:de};let _e=!0;(e.treeCheckStrictly||le==="selection"&&!ae)&&(_e=!1),G1(ze,de,K,h.value,_e,u.value),i.value?ze.checked=ae:ze.selected=ae;const Pe=r.value?ke:ke.map(xe=>xe.value);e.onChange(a.value?Pe:Pe[0],r.value?null:ke.map(xe=>xe.label),ze)}},X=(K,ne)=>{let{selected:le,source:re}=ne;var me,de,ae;const fe=We(m.value),ke=We(C.value),ze=fe[K],_e=ze==null?void 0:ze.node,Pe=(me=_e==null?void 0:_e[u.value.value])!==null&&me!==void 0?me:K;if(!a.value)Q([Pe],{selected:!0,triggerValue:Pe},"option");else{let xe=le?[...w.value,Pe]:R.value.filter(He=>He!==Pe);if(d.value){const{missingRawValues:He,existRawValues:ft}=b(xe),xl=ft.map(cn=>ke.get(cn).key);let sn;le?{checkedKeys:sn}=On(xl,!0,fe,$.value,E.value):{checkedKeys:sn}=On(xl,{checked:!1,halfCheckedKeys:D.value},fe,$.value,E.value),xe=[...He,...sn.map(cn=>fe[cn].node[u.value.value])]}Q(xe,{selected:le,triggerValue:Pe},re||"option")}le||!a.value?(de=e.onSelect)===null||de===void 0||de.call(e,Pe,_n(_e)):(ae=e.onDeselect)===null||ae===void 0||ae.call(e,Pe,_n(_e))},ie=K=>{if(e.onDropdownVisibleChange){const ne={};Object.defineProperty(ne,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(K,ne)}},B=(K,ne)=>{const le=K.map(re=>re.value);if(ne.type==="clear"){Q(le,{},"selection");return}ne.values.length&&X(ne.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:L,loadData:H,treeLoadedKeys:_,onTreeLoad:N,treeDefaultExpandAll:j,treeExpandedKeys:Z,treeDefaultExpandedKeys:oe,onTreeExpand:ue,virtual:W,listHeight:ce,listItemHeight:ve,treeLine:Ce,treeIcon:Se,showTreeIcon:Te,switcherIcon:Ke,treeMotion:Le,customSlots:De,dropdownMatchSelectWidth:Be,treeExpandAction:Ge}=ln(e);wa(Tl({checkable:i,loadData:H,treeLoadedKeys:_,onTreeLoad:N,checkedKeys:R,halfCheckedKeys:D,treeDefaultExpandAll:j,treeExpandedKeys:Z,treeDefaultExpandedKeys:oe,onTreeExpand:ue,treeIcon:Se,treeMotion:Le,showTreeIcon:Te,switcherIcon:Ke,treeLine:Ce,treeNodeFilterProp:L,keyEntities:m,customSlots:De})),D1(Tl({virtual:W,listHeight:ce,listItemHeight:ve,treeData:y,fieldNames:u,onSelect:X,dropdownMatchSelectWidth:Be,treeExpandAction:Ge}));const Ue=te();return l({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=Oe(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 s(Ca,P(P(P({ref:Ue},n),ne),{},{id:c,prefixCls:e.prefixCls,mode:a.value?"multiple":void 0,displayValues:q.value,onDisplayValuesChange:B,searchValue:f.value,onSearch:v,OptionList:H1,emptyOptions:!h.value.length,onDropdownVisibleChange:ie,tagRender:e.tagRender||o.tagRender,dropdownMatchSelectWidth:(K=e.dropdownMatchSelectWidth)!==null&&K!==void 0?K:!0}),o)}}}),tf=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:l}=e,o=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},$a(n,$e(e,{colorBgContainer:l})),{[o]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},ka(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function nf(e,t){return ye("TreeSelect",n=>{const l=$e(n,{treePrefixCls:t.value});return[tf(l)]})(e)}const ao=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function lf(){return p(p({},Oe(xi(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:z.any,size:be(),bordered:Y(),treeLine:pe([Boolean,Object]),replaceFields:Ee(),placement:be(),status:be(),popupClassName:String,dropdownClassName:String,"onUpdate:value":J(),"onUpdate:treeExpandedKeys":J(),"onUpdate:searchValue":J()})}const $n=U({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:we(lf(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:l,expose:o,emit:c}=t;Mo(!(e.treeData===void 0&&l.default)),fn(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),fn(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),fn(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const d=Ot(),i=en.useInject(),r=O(()=>tn(i.status,e.status)),{prefixCls:a,renderEmpty:u,direction:f,virtual:g,dropdownMatchSelectWidth:v,size:h,getPopupContainer:m,getPrefixCls:C,disabled:b}=ge("select",e),{compactSize:y,compactItemClassnames:k}=Fo(a,f),T=O(()=>y.value||h.value),x=Bo(),A=O(()=>{var _;return(_=b.value)!==null&&_!==void 0?_:x.value}),S=O(()=>C()),M=O(()=>e.placement!==void 0?e.placement:f.value==="rtl"?"bottomRight":"bottomLeft"),F=O(()=>ao(S.value,Ia(M.value),e.transitionName)),I=O(()=>ao(S.value,"",e.choiceTransitionName)),w=O(()=>C("select-tree",e.prefixCls)),$=O(()=>C("tree-select",e.prefixCls)),[E,R]=Ma(a),[D]=nf($,w),V=O(()=>G(e.popupClassName||e.dropdownClassName,`${$.value}-dropdown`,{[`${$.value}-dropdown-rtl`]:f.value==="rtl"},R.value)),q=O(()=>!!(e.treeCheckable||e.multiple)),Q=O(()=>e.showArrow!==void 0?e.showArrow:e.loading||!q.value),X=te();o({focus(){var _,N;(N=(_=X.value).focus)===null||N===void 0||N.call(_)},blur(){var _,N;(N=(_=X.value).blur)===null||N===void 0||N.call(_)}});const ie=function(){for(var _=arguments.length,N=new Array(_),j=0;j<_;j++)N[j]=arguments[j];c("update:value",N[0]),c("change",...N),d.onFieldChange()},B=_=>{c("update:treeExpandedKeys",_),c("treeExpand",_)},L=_=>{c("update:searchValue",_),c("search",_)},H=_=>{c("blur",_),d.onFieldBlur()};return()=>{var _,N;const{notFoundContent:j=(_=l.notFoundContent)===null||_===void 0?void 0:_.call(l),prefixCls:Z,bordered:oe,listHeight:ue,listItemHeight:W,multiple:ce,treeIcon:ve,treeLine:Ce,showArrow:Se,switcherIcon:Te=(N=l.switcherIcon)===null||N===void 0?void 0:N.call(l),fieldNames:Ke=e.replaceFields,id:Le=d.id.value}=e,{isFormItemInput:De,hasFeedback:Be,feedbackIcon:Ge}=i,{suffixIcon:Ue,removeIcon:K,clearIcon:ne}=Ta(p(p({},e),{multiple:q.value,showArrow:Q.value,hasFeedback:Be,feedbackIcon:Ge,prefixCls:a.value}),l);let le;j!==void 0?le=j:le=u("Select");const re=Oe(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),me=G(!Z&&$.value,{[`${a.value}-lg`]:T.value==="large",[`${a.value}-sm`]:T.value==="small",[`${a.value}-rtl`]:f.value==="rtl",[`${a.value}-borderless`]:!oe,[`${a.value}-in-form-item`]:De},rt(a.value,r.value,Be),k.value,n.class,R.value),de={};return e.treeData===void 0&&l.default&&(de.children=Pt(l.default())),E(D(s(ef,P(P(P(P({},n),re),{},{disabled:A.value,virtual:g.value,dropdownMatchSelectWidth:v.value,id:Le,fieldNames:Ke,ref:X,prefixCls:a.value,class:me,listHeight:ue,listItemHeight:W,treeLine:!!Ce,inputIcon:Ue,multiple:ce,removeIcon:K,clearIcon:ne,switcherIcon:ae=>Aa(w.value,Te,ae,l.leafIcon,Ce),showTreeIcon:ve,notFoundContent:le,getPopupContainer:m==null?void 0:m.value,treeMotion:null,dropdownClassName:V.value,choiceTransitionName:I.value,onChange:ie,onBlur:H,onSearch:L,onTreeExpand:B},de),{},{transitionName:F.value,customSlots:p(p({},l),{treeCheckable:()=>s("span",{class:`${a.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||l.maxTagPlaceholder,placement:M.value,showArrow:Be||Se}),p(p({},l),{treeCheckable:()=>s("span",{class:`${a.value}-tree-checkbox-inner`},null)}))))}}}),Hn=Sl,of=p($n,{TreeNode:Sl,SHOW_ALL:j1,SHOW_PARENT:Ci,SHOW_CHILD:bl,install:e=>(e.component($n.name,$n),e.component(Hn.displayName,Hn),e)});function af(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function rf(e){return Object.keys(e).map(t=>`${af(t)}: ${e[t]};`).join(" ")}function ro(){return window.devicePixelRatio||1}function kn(e,t,n,l){e.translate(t,n),e.rotate(Math.PI/180*Number(l)),e.translate(-t,-n)}const sf=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(l=>l===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var cf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o2&&arguments[2]!==void 0?arguments[2]:{};const{window:l=Ea}=n,o=cf(n,["window"]);let c;const d=Pa(()=>l&&"MutationObserver"in l),i=()=>{c&&(c.disconnect(),c=void 0)},r=se(()=>Oa(e),u=>{i(),d.value&&l&&u&&(c=new MutationObserver(t),c.observe(u,o))},{immediate:!0}),a=()=>{i(),r()};return Fa(a),{isSupported:d,stop:a}}const Mn=2,so=3,df=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:pe([String,Array]),font:Ee(),rootClassName:String,gap:Ie(),offset:Ie()}),ff=U({name:"AWatermark",inheritAttrs:!1,props:we(df(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:l}=t;const[,o]=Ho(),c=ee(),d=ee(),i=ee(!1),r=O(()=>{var I,w;return(w=(I=e.gap)===null||I===void 0?void 0:I[0])!==null&&w!==void 0?w:100}),a=O(()=>{var I,w;return(w=(I=e.gap)===null||I===void 0?void 0:I[1])!==null&&w!==void 0?w:100}),u=O(()=>r.value/2),f=O(()=>a.value/2),g=O(()=>{var I,w;return(w=(I=e.offset)===null||I===void 0?void 0:I[0])!==null&&w!==void 0?w:u.value}),v=O(()=>{var I,w;return(w=(I=e.offset)===null||I===void 0?void 0:I[1])!==null&&w!==void 0?w:f.value}),h=O(()=>{var I,w;return(w=(I=e.font)===null||I===void 0?void 0:I.fontSize)!==null&&w!==void 0?w:o.value.fontSizeLG}),m=O(()=>{var I,w;return(w=(I=e.font)===null||I===void 0?void 0:I.fontWeight)!==null&&w!==void 0?w:"normal"}),C=O(()=>{var I,w;return(w=(I=e.font)===null||I===void 0?void 0:I.fontStyle)!==null&&w!==void 0?w:"normal"}),b=O(()=>{var I,w;return(w=(I=e.font)===null||I===void 0?void 0:I.fontFamily)!==null&&w!==void 0?w:"sans-serif"}),y=O(()=>{var I,w;return(w=(I=e.font)===null||I===void 0?void 0:I.color)!==null&&w!==void 0?w:o.value.colorFill}),k=O(()=>{var I;const w={zIndex:(I=e.zIndex)!==null&&I!==void 0?I:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let $=g.value-u.value,E=v.value-f.value;return $>0&&(w.left=`${$}px`,w.width=`calc(100% - ${$}px)`,$=0),E>0&&(w.top=`${E}px`,w.height=`calc(100% - ${E}px)`,E=0),w.backgroundPosition=`${$}px ${E}px`,w}),T=()=>{d.value&&(d.value.remove(),d.value=void 0)},x=(I,w)=>{var $;c.value&&d.value&&(i.value=!0,d.value.setAttribute("style",rf(p(p({},k.value),{backgroundImage:`url('${I}')`,backgroundSize:`${(r.value+w)*Mn}px`}))),($=c.value)===null||$===void 0||$.append(d.value),setTimeout(()=>{i.value=!1}))},A=I=>{let w=120,$=64;const E=e.content,R=e.image,D=e.width,V=e.height;if(!R&&I.measureText){I.font=`${Number(h.value)}px ${b.value}`;const q=Array.isArray(E)?E:[E],Q=q.map(X=>I.measureText(X).width);w=Math.ceil(Math.max(...Q)),$=Number(h.value)*q.length+(q.length-1)*so}return[D!=null?D:w,V!=null?V:$]},S=(I,w,$,E,R)=>{const D=ro(),V=e.content,q=Number(h.value)*D;I.font=`${C.value} normal ${m.value} ${q}px/${R}px ${b.value}`,I.fillStyle=y.value,I.textAlign="center",I.textBaseline="top",I.translate(E/2,0);const Q=Array.isArray(V)?V:[V];Q==null||Q.forEach((X,ie)=>{I.fillText(X!=null?X:"",w,$+ie*(q+so*D))})},M=()=>{var I;const w=document.createElement("canvas"),$=w.getContext("2d"),E=e.image,R=(I=e.rotate)!==null&&I!==void 0?I:-22;if($){d.value||(d.value=document.createElement("div"));const D=ro(),[V,q]=A($),Q=(r.value+V)*D,X=(a.value+q)*D;w.setAttribute("width",`${Q*Mn}px`),w.setAttribute("height",`${X*Mn}px`);const ie=r.value*D/2,B=a.value*D/2,L=V*D,H=q*D,_=(L+r.value*D)/2,N=(H+a.value*D)/2,j=ie+Q,Z=B+X,oe=_+Q,ue=N+X;if($.save(),kn($,_,N,R),E){const W=new Image;W.onload=()=>{$.drawImage(W,ie,B,L,H),$.restore(),kn($,oe,ue,R),$.drawImage(W,j,Z,L,H),x(w.toDataURL(),V)},W.crossOrigin="anonymous",W.referrerPolicy="no-referrer",W.src=E}else S($,ie,B,L,H),$.restore(),kn($,oe,ue,R),S($,j,Z,L,H),x(w.toDataURL(),V)}};return Qe(()=>{M()}),se(()=>[e,o.value.colorFill,o.value.fontSizeLG],()=>{M()},{deep:!0,flush:"post"}),Fe(()=>{T()}),uf(c,I=>{i.value||I.forEach(w=>{sf(w,d.value)&&(T(),M())})},{attributes:!0}),()=>{var I;return s("div",P(P({},l),{},{ref:c,class:[l.class,e.rootClassName],style:[{position:"relative"},l.style]}),[(I=n.default)===null||I===void 0?void 0:I.call(n)])}}}),hf=Je(ff);function co(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function uo(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const pf=p({overflow:"hidden"},Mt),gf=e=>{const{componentCls:t}=e;return{[t]:p(p(p(p(p({},Me(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":p(p({},uo(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":p({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},pf),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:p(p({},uo(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}}}),co(`&-disabled ${t}-item`,e)),co(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},vf=ye("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:l,colorText:o,colorFillSecondary:c,colorBgLayout:d,colorBgElevated:i}=e,r=$e(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:l,labelColorHover:o,bgColor:d,bgColorHover:c,bgColorSelected:i});return[gf(r)]}),fo=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,ht=e=>e!==void 0?`${e}px`:void 0,mf=U({props:{value:Ne(),getValueIndex:Ne(),prefixCls:Ne(),motionName:Ne(),onMotionStart:Ne(),onMotionEnd:Ne(),direction:Ne(),containerRef:Ne()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const l=te(),o=h=>{var m;const C=e.getValueIndex(h),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},c=te(null),d=te(null);se(()=>e.value,(h,m)=>{const C=o(m),b=o(h),y=fo(C),k=fo(b);c.value=y,d.value=k,n(C&&b?"motionStart":"motionEnd")},{flush:"post"});const i=O(()=>{var h,m;return e.direction==="rtl"?ht(-((h=c.value)===null||h===void 0?void 0:h.right)):ht((m=c.value)===null||m===void 0?void 0:m.left)}),r=O(()=>{var h,m;return e.direction==="rtl"?ht(-((h=d.value)===null||h===void 0?void 0:h.right)):ht((m=d.value)===null||m===void 0?void 0:m.left)});let a;const u=h=>{clearTimeout(a),et(()=>{h&&(h.style.transform="translateX(var(--thumb-start-left))",h.style.width="var(--thumb-start-width)")})},f=h=>{a=setTimeout(()=>{h&&(Ba(h,`${e.motionName}-appear-active`),h.style.transform="translateX(var(--thumb-active-left))",h.style.width="var(--thumb-active-width)")})},g=h=>{c.value=null,d.value=null,h&&(h.style.transform=null,h.style.width=null,Na(h,`${e.motionName}-appear-active`)),n("motionEnd")},v=O(()=>{var h,m;return{"--thumb-start-left":i.value,"--thumb-start-width":ht((h=c.value)===null||h===void 0?void 0:h.width),"--thumb-active-left":r.value,"--thumb-active-width":ht((m=d.value)===null||m===void 0?void 0:m.width)}});return Fe(()=>{clearTimeout(a)}),()=>{const h={ref:l,style:v.value,class:[`${e.prefixCls}-thumb`]};return s(Kn,{appear:!0,onBeforeEnter:u,onEnter:f,onAfterEnter:g},{default:()=>[!c.value||!d.value?null:s("div",h,null)]})}}}),bf=mf;function Sf(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 yf=()=>({prefixCls:String,options:Ie(),block:Y(),disabled:Y(),size:be(),value:p(p({},pe([String,Number])),{required:!0}),motionName:String,onChange:J(),"onUpdate:value":J()}),$i=(e,t)=>{let{slots:n,emit:l}=t;const{value:o,disabled:c,payload:d,title:i,prefixCls:r,label:a=n.label,checked:u,className:f}=e,g=v=>{c||l("change",v,o)};return s("label",{class:G({[`${r}-item-disabled`]:c},f)},[s("input",{class:`${r}-item-input`,type:"radio",disabled:c,checked:u,onChange:g},null),s("div",{class:`${r}-item-label`,title:typeof i=="string"?i:""},[typeof a=="function"?a({value:o,disabled:c,payload:d,title:i}):a!=null?a:o])])};$i.inheritAttrs=!1;const wf=U({name:"ASegmented",inheritAttrs:!1,props:we(yf(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:l,attrs:o}=t;const{prefixCls:c,direction:d,size:i}=ge("segmented",e),[r,a]=vf(c),u=ee(),f=ee(!1),g=O(()=>Sf(e.options)),v=(h,m)=>{e.disabled||(n("update:value",m),n("change",m))};return()=>{const h=c.value;return r(s("div",P(P({},o),{},{class:G(h,{[a.value]:!0,[`${h}-block`]:e.block,[`${h}-disabled`]:e.disabled,[`${h}-lg`]:i.value=="large",[`${h}-sm`]:i.value=="small",[`${h}-rtl`]:d.value==="rtl"},o.class),ref:u}),[s("div",{class:`${h}-group`},[s(bf,{containerRef:u,prefixCls:h,value:e.value,motionName:`${h}-${e.motionName}`,direction:d.value,getValueIndex:m=>g.value.findIndex(C=>C.value===m),onMotionStart:()=>{f.value=!0},onMotionEnd:()=>{f.value=!1}},null),g.value.map(m=>s($i,P(P({key:m.value,prefixCls:h,checked:m.value===e.value,onChange:v},m),{},{className:G(m.className,`${h}-item`,{[`${h}-item-selected`]:m.value===e.value&&!f.value}),disabled:!!e.disabled||!!m.disabled}),l))])]))}}}),Cf=Je(wf),xf=e=>{const{componentCls:t}=e;return{[t]:p(p({},Me(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"}}},$f=ye("QRCode",e=>xf($e(e,{QRCodeExpiredTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var kf={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 Mf=kf;function ho(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:Ee()}),If=()=>p(p({},wl()),{errorLevel:be("M"),icon:String,iconSize:{type:Number,default:40},status:be("active"),bordered:{type:Boolean,default:!0}});var ct;(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,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,f=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<=u&&u<=t.MAX_VERSION)||f<-1||f>7)throw new RangeError("Invalid value");let v,h;for(v=a;;v++){const y=t.getNumDataCodewords(v,r)*8,k=c.getTotalBits(i,v);if(k<=y){h=k;break}if(v>=u)throw new RangeError("Data too long")}for(const y of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])g&&h<=t.getNumDataCodewords(v,y)*8&&(r=y);const m=[];for(const y of i){n(y.mode.modeBits,4,m),n(y.numChars,y.mode.numCharCountBits(v),m);for(const k of y.getData())m.push(k)}o(m.length==h);const C=t.getNumDataCodewords(v,r)*8;o(m.length<=C),n(0,Math.min(4,C-m.length),m),n(0,(8-m.length%8)%8,m),o(m.length%8==0);for(let y=236;m.lengthb[k>>>3]|=y<<7-(k&7)),new t(v,r,b,f)}constructor(i,r,a,u){if(this.version=i,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],it.MAX_VERSION)throw new RangeError("Version value out of range");if(u<-1||u>7)throw new RangeError("Mask value out of range");this.size=i*4+17;const f=[];for(let v=0;v>>9)*1335;const u=(r<<10|a)^21522;o(u>>>15==0);for(let f=0;f<=5;f++)this.setFunctionModule(8,f,l(u,f));this.setFunctionModule(8,7,l(u,6)),this.setFunctionModule(8,8,l(u,7)),this.setFunctionModule(7,8,l(u,8));for(let f=9;f<15;f++)this.setFunctionModule(14-f,8,l(u,f));for(let f=0;f<8;f++)this.setFunctionModule(this.size-1-f,8,l(u,f));for(let f=8;f<15;f++)this.setFunctionModule(8,this.size-15+f,l(u,f));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;o(r>>>18==0);for(let a=0;a<18;a++){const u=l(r,a),f=this.size-11+a%3,g=Math.floor(a/3);this.setFunctionModule(f,g,u),this.setFunctionModule(g,f,u)}}drawFinderPattern(i,r){for(let a=-4;a<=4;a++)for(let u=-4;u<=4;u++){const f=Math.max(Math.abs(u),Math.abs(a)),g=i+u,v=r+a;0<=g&&g{(y!=h-f||T>=v)&&b.push(k[y])});return o(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 u=0;u>>3],7-(r&7)),r++)}}o(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,h),g||(i+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),g=this.modules[f][m],v=1);i+=this.finderPenaltyTerminateAndCount(g,v,h)*t.PENALTY_N3}for(let f=0;f5&&i++):(this.finderPenaltyAddHistory(v,h),g||(i+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),g=this.modules[m][f],v=1);i+=this.finderPenaltyTerminateAndCount(g,v,h)*t.PENALTY_N3}for(let f=0;fg+(v?1:0),r);const a=this.size*this.size,u=Math.ceil(Math.abs(r*20-a*10)/a)-1;return o(0<=u&&u<=9),i+=u*t.PENALTY_N4,o(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 u=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 o(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 u=0;u0);for(const u of i){const f=u^a.shift();a.push(0),r.forEach((g,v)=>a[v]^=t.reedSolomonMultiply(g,f))}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 u=7;u>=0;u--)a=a<<1^(a>>>7)*285,a^=(r>>>u&1)*i;return o(a>>>8==0),a}finderPenaltyCountPatterns(i){const r=i[1];o(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 l(d,i){return(d>>>i&1)!=0}function o(d){if(!d)throw new Error("Assertion error")}class c{static makeBytes(i){const r=[];for(const a of i)n(a,8,r);return new c(c.Mode.BYTE,i.length,r)}static makeNumeric(i){if(!c.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(l,o){let c=null;l.forEach(function(d,i){if(!d&&c!==null){n.push(`M${c+t} ${o+t}h${i-c}v1H${c+t}z`),c=null;return}if(i===l.length-1){if(!d)return;c===null?n.push(`M${i+t},${o+t} h1v1H${i+t}z`):n.push(`M${c+t},${o+t} h${i+1-c}v1H${c+t}z`);return}d&&c===null&&(c=i)})}),n.join("")}function Pi(e,t){return e.slice().map((n,l)=>l=t.y+t.h?n:n.map((o,c)=>c=t.x+t.w?o:!1))}function Oi(e,t,n,l){if(l==null)return null;const o=e.length+n*2,c=Math.floor(t*Of),d=o/t,i=(l.width||c)*d,r=(l.height||c)*d,a=l.x==null?e.length/2-i/2:l.x*d,u=l.y==null?e.length/2-r/2:l.y*d;let f=null;if(l.excavate){const g=Math.floor(a),v=Math.floor(u),h=Math.ceil(i+a-g),m=Math.ceil(r+u-v);f={x:g,y:v,w:h,h:m}}return{x:a,y:u,h:r,w:i,excavation:f}}function Fi(e,t){return t!=null?Math.floor(t):e?Ef:Pf}const Ff=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),Bf=U({name:"QRCodeCanvas",inheritAttrs:!1,props:p(p({},wl()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:l}=t;const o=O(()=>{var r;return(r=e.imageSettings)===null||r===void 0?void 0:r.src}),c=ee(null),d=ee(null),i=ee(!1);return l({toDataURL:(r,a)=>{var u;return(u=c.value)===null||u===void 0?void 0:u.toDataURL(r,a)}}),Re(()=>{const{value:r,size:a=jn,level:u=Mi,bgColor:f=Ti,fgColor:g=Ai,includeMargin:v=Ii,marginSize:h,imageSettings:m}=e;if(c.value!=null){const C=c.value,b=C.getContext("2d");if(!b)return;let y=vt.QrCode.encodeText(r,ki[u]).getModules();const k=Fi(v,h),T=y.length+k*2,x=Oi(y,a,k,m),A=d.value,S=i.value&&x!=null&&A!==null&&A.complete&&A.naturalHeight!==0&&A.naturalWidth!==0;S&&x.excavation!=null&&(y=Pi(y,x.excavation));const M=window.devicePixelRatio||1;C.height=C.width=a*M;const F=a/T*M;b.scale(F,F),b.fillStyle=f,b.fillRect(0,0,T,T),b.fillStyle=g,Ff?b.fill(new Path2D(Ei(y,k))):y.forEach(function(I,w){I.forEach(function($,E){$&&b.fillRect(E+k,w+k,1,1)})}),S&&b.drawImage(A,x.x+k,x.y+k,x.w,x.h)}},{flush:"post"}),se(o,()=>{i.value=!1}),()=>{var r;const a=(r=e.size)!==null&&r!==void 0?r:jn,u={height:`${a}px`,width:`${a}px`};let f=null;return o.value!=null&&(f=s("img",{src:o.value,key:o.value,style:{display:"none"},onLoad:()=>{i.value=!0},ref:d},null)),s(Ve,null,[s("canvas",P(P({},n),{},{style:[u,n.style],ref:c}),null),f])}}}),Nf=U({name:"QRCodeSVG",inheritAttrs:!1,props:p(p({},wl()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,l=null,o=null,c=null,d=null;return Re(()=>{const{value:i,size:r=jn,level:a=Mi,includeMargin:u=Ii,marginSize:f,imageSettings:g}=e;t=vt.QrCode.encodeText(i,ki[a]).getModules(),n=Fi(u,f),l=t.length+n*2,o=Oi(t,r,n,g),g!=null&&o!=null&&(o.excavation!=null&&(t=Pi(t,o.excavation)),d=s("image",{"xlink:href":g.src,height:o.h,width:o.w,x:o.x+n,y:o.y+n,preserveAspectRatio:"none"},null)),c=Ei(t,n)}),()=>{const i=e.bgColor&&Ti,r=e.fgColor&&Ai;return s("svg",{height:e.size,width:e.size,viewBox:`0 0 ${l} ${l}`},[!!e.title&&s("title",null,[e.title]),s("path",{fill:i,d:`M0,0 h${l}v${l}H0z`,"shape-rendering":"crispEdges"},null),s("path",{fill:r,d:c,"shape-rendering":"crispEdges"},null),d])}}}),Rf=U({name:"AQrcode",inheritAttrs:!1,props:If(),emits:["refresh"],setup(e,t){let{emit:n,attrs:l,expose:o}=t;const[c]=Ra("QRCode"),{prefixCls:d}=ge("qrcode",e),[i,r]=$f(d),[,a]=Ho(),u=te();o({toDataURL:(g,v)=>{var h;return(h=u.value)===null||h===void 0?void 0:h.toDataURL(g,v)}});const f=O(()=>{const{value:g,icon:v="",size:h=160,iconSize:m=40,color:C=a.value.colorText,bgColor:b="transparent",errorLevel:y="M"}=e,k={src:v,x:void 0,y:void 0,height:m,width:m,excavate:!0};return{value:g,size:h-(a.value.paddingSM+a.value.lineWidth)*2,level:y,bgColor:b,fgColor:C,imageSettings:v?k:void 0}});return()=>{const g=d.value;return i(s("div",P(P({},l),{},{style:[l.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:f.value.bgColor}],class:[r.value,g,{[`${g}-borderless`]:!e.bordered}]}),[e.status!=="active"&&s("div",{class:`${g}-mask`},[e.status==="loading"&&s(nn,null,null),e.status==="expired"&&s(Ve,null,[s("p",{class:`${g}-expired`},[c.value.expired]),s(yt,{type:"link",onClick:v=>n("refresh",v)},{default:()=>[c.value.refresh],icon:()=>s(Af,null,null)})])]),e.type==="canvas"?s(Bf,P({ref:u},f.value),null):s(Nf,f.value,null)]))}}}),Lf=Je(Rf);function Df(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:l,right:o,bottom:c,left:d}=e.getBoundingClientRect();return l>=0&&d>=0&&o<=t&&c<=n}function zf(e,t,n,l){const[o,c]=Al(void 0);Re(()=>{const u=typeof e.value=="function"?e.value():e.value;c(u||null)},{flush:"post"});const[d,i]=Al(null),r=()=>{if(!t.value){i(null);return}if(o.value){!Df(o.value)&&t.value&&o.value.scrollIntoView(l.value);const{left:u,top:f,width:g,height:v}=o.value.getBoundingClientRect(),h={left:u,top:f,width:g,height:v,radius:0};JSON.stringify(d.value)!==JSON.stringify(h)&&i(h)}else i(null)};return Qe(()=>{se([t,o],()=>{r()},{flush:"post",immediate:!0}),window.addEventListener("resize",r)}),Fe(()=>{window.removeEventListener("resize",r)}),[O(()=>{var u,f;if(!d.value)return d.value;const g=((u=n.value)===null||u===void 0?void 0:u.offset)||6,v=((f=n.value)===null||f===void 0?void 0:f.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}}),o]}const _f=()=>({arrow:pe([Boolean,Object]),target:pe([String,Function,Object]),title:pe([String,Object]),description:pe([String,Object]),placement:be(),mask:pe([Object,Boolean],!0),className:{type:String},style:Ee(),scrollIntoViewOptions:pe([Boolean,Object])}),Cl=()=>p(p({},_f()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:J(),onFinish:J(),renderPanel:J(),onPrev:J(),onNext:J()}),Hf=U({name:"DefaultPanel",inheritAttrs:!1,props:Cl(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:l,current:o,total:c,title:d,description:i,onClose:r,onPrev:a,onNext:u,onFinish:f}=e;return s("div",P(P({},n),{},{class:G(`${l}-content`,n.class)}),[s("div",{class:`${l}-inner`},[s("button",{type:"button",onClick:r,"aria-label":"Close",class:`${l}-close`},[s("span",{class:`${l}-close-x`},[at("\xD7")])]),s("div",{class:`${l}-header`},[s("div",{class:`${l}-title`},[d])]),s("div",{class:`${l}-description`},[i]),s("div",{class:`${l}-footer`},[s("div",{class:`${l}-sliders`},[c>1?[...Array.from({length:c}).keys()].map((g,v)=>s("span",{key:g,class:v===o?"active":""},null)):null]),s("div",{class:`${l}-buttons`},[o!==0?s("button",{class:`${l}-prev-btn`,onClick:a},[at("Prev")]):null,o===c-1?s("button",{class:`${l}-finish-btn`,onClick:f},[at("Finish")]):s("button",{class:`${l}-next-btn`,onClick:u},[at("Next")])])])])])}}}),jf=Hf,Wf=U({name:"TourStep",inheritAttrs:!1,props:Cl(),setup(e,t){let{attrs:n}=t;return()=>{const{current:l,renderPanel:o}=e;return s(Ve,null,[typeof o=="function"?o(p(p({},n),e),l):s(jf,P(P({},n),e),null)])}}}),Vf=Wf;let po=0;const Kf=ko();function Gf(){let e;return Kf?(e=po,po+=1):e="TEST_OR_SSR",e}function Uf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:te("");const t=`vc_unique_${Gf()}`;return e.value||t}const Dt={fill:"transparent","pointer-events":"auto"},Xf=U({name:"TourMask",props:{prefixCls:{type:String},pos:Ee(),rootClassName:{type:String},showMask:Y(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:Y(),animated:pe([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const l=Uf();return()=>{const{prefixCls:o,open:c,rootClassName:d,pos:i,showMask:r,fill:a,animated:u,zIndex:f}=e,g=`${o}-mask-${l}`,v=typeof u=="object"?u==null?void 0:u.placeholder:u;return s(jo,{visible:c,autoLock:!0},{default:()=>c&&s("div",P(P({},n),{},{class:G(`${o}-mask`,d,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:f,pointerEvents:"none"},n.style]}),[r?s("svg",{style:{width:"100%",height:"100%"}},[s("defs",null,[s("mask",{id:g},[s("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),i&&s("rect",{x:i.left,y:i.top,rx:i.radius,width:i.width,height:i.height,fill:"black",class:v?`${o}-placeholder-animated`:""},null)])]),s("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:a,mask:`url(#${g})`},null),i&&s(Ve,null,[s("rect",P(P({},Dt),{},{x:"0",y:"0",width:"100%",height:i.top}),null),s("rect",P(P({},Dt),{},{x:"0",y:"0",width:i.left,height:"100%"}),null),s("rect",P(P({},Dt),{},{x:"0",y:i.top+i.height,width:"100%",height:`calc(100vh - ${i.top+i.height}px)`}),null),s("rect",P(P({},Dt),{},{x:i.left+i.width,y:"0",width:`calc(100vw - ${i.left+i.width}px)`,height:"100%"}),null)])]):null])})}}}),Yf=Xf,qf=[0,0],go={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 Bi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(go).forEach(n=>{t[n]=p(p({},go[n]),{autoArrow:e,targetOffset:qf})}),t}Bi();var Zf=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{builtinPlacements:e,popupAlign:t}=La();return{builtinPlacements:e,popupAlign:t,steps:Ie(),open:Y(),defaultCurrent:{type:Number},current:{type:Number},onChange:J(),onClose:J(),onFinish:J(),mask:pe([Boolean,Object],!0),arrow:pe([Boolean,Object],!0),rootClassName:{type:String},placement:be("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:J(),gap:Ee(),animated:pe([Boolean,Object]),scrollIntoViewOptions:pe([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},Jf=U({name:"Tour",inheritAttrs:!1,props:we(Ni(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:l,scrollIntoViewOptions:o,open:c,gap:d,arrow:i}=ln(e),r=te(),[a,u]=Tt(0,{value:O(()=>e.current),defaultValue:t.value}),[f,g]=Tt(void 0,{value:O(()=>e.open),postState:S=>a.value<0||a.value>=e.steps.length?!1:S!=null?S:!0}),v=ee(f.value);Re(()=>{f.value&&!v.value&&u(0),v.value=f.value});const h=O(()=>e.steps[a.value]||{}),m=O(()=>{var S;return(S=h.value.placement)!==null&&S!==void 0?S:n.value}),C=O(()=>{var S;return f.value&&((S=h.value.mask)!==null&&S!==void 0?S:l.value)}),b=O(()=>{var S;return(S=h.value.scrollIntoViewOptions)!==null&&S!==void 0?S:o.value}),[y,k]=zf(O(()=>h.value.target),c,d,b),T=O(()=>k.value?typeof h.value.arrow>"u"?i.value:h.value.arrow:!1),x=O(()=>typeof T.value=="object"?T.value.pointAtCenter:!1);se(x,()=>{var S;(S=r.value)===null||S===void 0||S.forcePopupAlign()}),se(a,()=>{var S;(S=r.value)===null||S===void 0||S.forcePopupAlign()});const A=S=>{var M;u(S),(M=e.onChange)===null||M===void 0||M.call(e,S)};return()=>{var S;const{prefixCls:M,steps:F,onClose:I,onFinish:w,rootClassName:$,renderPanel:E,animated:R,zIndex:D}=e,V=Zf(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(k.value===void 0)return null;const q=()=>{g(!1),I==null||I(a.value)},Q=typeof C.value=="boolean"?C.value:!!C.value,X=typeof C.value=="boolean"?void 0:C.value,ie=()=>k.value||document.body,B=()=>s(Vf,P({arrow:T.value,key:"content",prefixCls:M,total:F.length,renderPanel:E,onPrev:()=>{A(a.value-1)},onNext:()=>{A(a.value+1)},onClose:q,current:a.value,onFinish:()=>{q(),w==null||w()}},h.value),null),L=O(()=>{const H=y.value||Tn,_={};return Object.keys(H).forEach(N=>{typeof H[N]=="number"?_[N]=`${H[N]}px`:_[N]=H[N]}),_});return f.value?s(Ve,null,[s(Yf,{zIndex:D,prefixCls:M,pos:y.value,showMask:Q,style:X==null?void 0:X.style,fill:X==null?void 0:X.color,open:f.value,animated:R,rootClassName:$},null),s(Lo,P(P({},V),{},{builtinPlacements:h.value.target?(S=V.builtinPlacements)!==null&&S!==void 0?S:Bi(x.value):void 0,ref:r,popupStyle:h.value.target?h.value.style:p(p({},h.value.style),{position:"fixed",left:Tn.left,top:Tn.top,transform:"translate(-50%, -50%)"}),popupPlacement:m.value,popupVisible:f.value,popupClassName:G($,h.value.className),prefixCls:M,popup:B,forceRender:!1,destroyPopupOnHide:!0,zIndex:D,mask:!1,getTriggerDOMNode:ie}),{default:()=>[s(jo,{visible:f.value,autoLock:!0},{default:()=>[s("div",{class:G($,`${M}-target-placeholder`),style:p(p({},L.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),Qf=Jf,e0=()=>p(p({},Ni()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),t0=()=>p(p({},Cl()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),n0=U({name:"ATourPanel",inheritAttrs:!1,props:t0(),setup(e,t){let{attrs:n,slots:l}=t;const{current:o,total:c}=ln(e),d=O(()=>o.value===c.value-1),i=a=>{var u;const f=e.prevButtonProps;(u=e.onPrev)===null||u===void 0||u.call(e,a),typeof(f==null?void 0:f.onClick)=="function"&&(f==null||f.onClick())},r=a=>{var u,f;const g=e.nextButtonProps;d.value?(u=e.onFinish)===null||u===void 0||u.call(e,a):(f=e.onNext)===null||f===void 0||f.call(e,a),typeof(g==null?void 0:g.onClick)=="function"&&(g==null||g.onClick())};return()=>{const{prefixCls:a,title:u,onClose:f,cover:g,description:v,type:h,arrow:m}=e,C=e.prevButtonProps,b=e.nextButtonProps;let y;u&&(y=s("div",{class:`${a}-header`},[s("div",{class:`${a}-title`},[u])]));let k;v&&(k=s("div",{class:`${a}-description`},[v]));let T;g&&(T=s("div",{class:`${a}-cover`},[g]));let x;l.indicatorsRender?x=l.indicatorsRender({current:o.value,total:c}):x=[...Array.from({length:c.value}).keys()].map((M,F)=>s("span",{key:M,class:G(F===o.value&&`${a}-indicator-active`,`${a}-indicator`)},null));const A=h==="primary"?"default":"primary",S={type:"default",ghost:h==="primary"};return s(Zn,{componentName:"Tour",defaultLocale:qn.Tour},{default:M=>{var F,I;return s("div",P(P({},n),{},{class:G(h==="primary"?`${a}-primary`:"",n.class,`${a}-content`)}),[m&&s("div",{class:`${a}-arrow`,key:"arrow"},null),s("div",{class:`${a}-inner`},[s(xo,{class:`${a}-close`,onClick:f},null),T,y,k,s("div",{class:`${a}-footer`},[c.value>1&&s("div",{class:`${a}-indicators`},[x]),s("div",{class:`${a}-buttons`},[o.value!==0?s(yt,P(P(P({},S),C),{},{onClick:i,size:"small",class:G(`${a}-prev-btn`,C==null?void 0:C.className)}),{default:()=>[(F=C==null?void 0:C.children)!==null&&F!==void 0?F:M.Previous]}):null,s(yt,P(P({type:A},b),{},{onClick:r,size:"small",class:G(`${a}-next-btn`,b==null?void 0:b.className)}),{default:()=>[(I=b==null?void 0:b.children)!==null&&I!==void 0?I:d.value?M.Finish:M.Next]})])])])])}})}}}),l0=n0,o0=e=>{let{defaultType:t,steps:n,current:l,defaultCurrent:o}=e;const c=te(o==null?void 0:o.value),d=O(()=>l==null?void 0:l.value);se(d,u=>{c.value=u!=null?u:o==null?void 0:o.value},{immediate:!0});const i=u=>{c.value=u},r=O(()=>{var u,f;return typeof c.value=="number"?n&&((f=(u=n.value)===null||u===void 0?void 0:u[c.value])===null||f===void 0?void 0:f.type):t==null?void 0:t.value});return{currentMergedType:O(()=>{var u;return(u=r.value)!==null&&u!==void 0?u:t==null?void 0:t.value}),updateInnerCurrent:i}},i0=o0,a0=e=>{const{componentCls:t,lineHeight:n,padding:l,paddingXS:o,borderRadius:c,borderRadiusXS:d,colorPrimary:i,colorText:r,colorFill:a,indicatorHeight:u,indicatorWidth:f,boxShadowTertiary:g,tourZIndexPopup:v,fontSize:h,colorBgContainer:m,fontWeightStrong:C,marginXS:b,colorTextLightSolid:y,tourBorderRadius:k,colorWhite:T,colorBgTextHover:x,tourCloseSize:A,motionDurationSlow:S,antCls:M}=e;return[{[t]:p(p({},Me(e)),{color:r,position:"absolute",zIndex:v,display:"block",visibility:"visible",fontSize:h,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:k,boxShadow:g,position:"relative",backgroundColor:m,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:l,insetInlineEnd:l,color:e.colorIcon,outline:"none",width:A,height:A,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:`${l+A+o}px ${l}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${l}px ${l}px ${o}px`,[`${t}-title`]:{lineHeight:n,fontSize:h,fontWeight:C}},[`${t}-description`]:{padding:`0 ${l}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${o}px ${l}px ${l}px`,textAlign:"end",borderRadius:`0 0 ${d}px ${d}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:f,height:u,display:"inline-block",borderRadius:"50%",background:a,"&:not(:last-child)":{marginInlineEnd:u},"&-active":{background:i}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${M}-btn`]:{marginInlineStart:b}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":i,[`${t}-inner`]:{color:y,textAlign:"start",textDecoration:"none",backgroundColor:i,borderRadius:c,boxShadow:g,[`${t}-close`]:{color:y},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new Bt(y).setAlpha(.15).toRgbString(),"&-active":{background:y}}},[`${t}-prev-btn`]:{color:y,borderColor:new Bt(y).setAlpha(.15).toRgbString(),backgroundColor:i,"&:hover":{backgroundColor:new Bt(y).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:i,borderColor:"transparent",background:T,"&:hover":{background:new Bt(x).onBackground(T).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${S}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(k,Da)}}},za(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:k,limitVerticalRadius:!0})]},r0=ye("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:l}=e,o=$e(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*l});return[a0(o)]});var s0=globalThis&&globalThis.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{steps:m,current:C,type:b,rootClassName:y}=e,k=s0(e,["steps","current","type","rootClassName"]),T=G({[`${a.value}-primary`]:v.value==="primary",[`${a.value}-rtl`]:u.value==="rtl"},g.value,y),x=(M,F)=>s(l0,P(P({},M),{},{type:b,current:F}),{indicatorsRender:o.indicatorsRender}),A=M=>{h(M),l("update:current",M),l("change",M)},S=O(()=>_a({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return f(s(Qf,P(P(P({},n),k),{},{rootClassName:T,prefixCls:a.value,current:C,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:x,onChange:A,steps:m,builtinPlacements:S.value}),null))}}}),u0=Je(c0),Ri=Symbol("appConfigContext"),d0=e=>nt(Ri,e),f0=()=>ut(Ri,{}),Li=Symbol("appContext"),h0=e=>nt(Li,e),p0=wt({message:{},notification:{},modal:{}}),g0=()=>ut(Li,p0),v0=e=>{const{componentCls:t,colorText:n,fontSize:l,lineHeight:o,fontFamily:c}=e;return{[t]:{color:n,fontSize:l,lineHeight:o,fontFamily:c}}},m0=ye("App",e=>[v0(e)]),b0=()=>({rootClassName:String,message:Ee(),notification:Ee()}),S0=()=>g0(),kt=U({name:"AApp",props:we(b0(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:l}=ge("app",e),[o,c]=m0(l),d=O(()=>G(c.value,l.value,e.rootClassName)),i=f0(),r=O(()=>({message:p(p({},i.message),e.message),notification:p(p({},i.notification),e.notification)}));d0(r.value);const[a,u]=Ha(r.value.message),[f,g]=ja(r.value.notification),[v,h]=Wa(),m=O(()=>({message:a,notification:f,modal:v}));return h0(m.value),()=>{var C;return o(s("div",{class:d.value},[h(),u(),g(),(C=n.default)===null||C===void 0?void 0:C.call(n)]))}}});kt.useApp=S0;kt.install=function(e){e.component(kt.name,kt)};const y0=kt,vo=Object.freeze(Object.defineProperty({__proto__:null,Affix:Yo,Anchor:ot,AnchorLink:Jn,AutoComplete:cc,AutoCompleteOptGroup:sc,AutoCompleteOption:rc,Alert:as,Avatar:_s,AvatarGroup:rs,Badge:Go,BadgeRibbon:Ts,Breadcrumb:ss,BreadcrumbItem:cs,BreadcrumbSeparator:us,Button:yt,ButtonGroup:Va,Calendar:Ka,Card:Ps,CardGrid:fs,CardMeta:hs,Collapse:Hs,CollapsePanel:js,Carousel:Vc,Cascader:vs,Checkbox:Yn,CheckboxGroup:Ga,Col:os,Comment:qc,ConfigProvider:Wo,DatePicker:ms,MonthPicker:bs,WeekPicker:Ss,RangePicker:ys,QuarterPicker:ws,Descriptions:Cs,DescriptionsItem:xs,Divider:$s,Dropdown:_o,DropdownButton:Ua,Drawer:ks,Empty:Xa,FloatButton:tt,FloatButtonGroup:Zt,BackTop:Jt,Form:Ya,FormItem:qa,FormItemRest:Za,Grid:Kc,Input:Do,InputGroup:Ja,InputPassword:Qa,InputSearch:er,Textarea:tr,Image:nr,ImagePreviewGroup:lr,InputNumber:Bu,Layout:Zu,LayoutHeader:Uu,LayoutSider:Yu,LayoutFooter:Xu,LayoutContent:qu,List:As,ListItem:Is,ListItemMeta:Es,message:Vo,Menu:Xe,MenuDivider:or,MenuItem:zt,MenuItemGroup:ir,SubMenu:ar,Mentions:bd,MentionsOption:Gt,Modal:lt,Statistic:qe,StatisticCountdown:Ad,notification:Ko,PageHeader:ds,Pagination:zo,Popconfirm:rr,Popover:sr,Progress:cr,Radio:ur,RadioButton:dr,RadioGroup:fr,Rate:Vd,Result:d1,Row:is,Select:En,SelectOptGroup:hr,SelectOption:pr,Skeleton:Uo,SkeletonButton:Os,SkeletonAvatar:Fs,SkeletonInput:Bs,SkeletonImage:Ns,SkeletonTitle:Rs,Slider:gr,Space:Ls,Compact:vr,Spin:nn,Steps:Ds,Step:zs,Switch:mr,Table:br,TableColumn:Sr,TableColumnGroup:yr,TableSummary:wr,TableSummaryRow:Cr,TableSummaryCell:xr,Transfer:B1,Tree:$r,TreeNode:kr,DirectoryTree:Mr,TreeSelect:of,TreeSelectNode:Hn,Tabs:Ws,TabPane:Vs,Tag:Tr,CheckableTag:Ar,TimePicker:Ir,TimeRangePicker:Er,Timeline:ps,TimelineItem:gs,Tooltip:Vn,Typography:Pr,TypographyLink:Or,TypographyParagraph:Fr,TypographyText:Br,TypographyTitle:Nr,Upload:Rr,UploadDragger:Lr,LocaleProvider:Dr,Watermark:hf,Segmented:Cf,QRCode:Lf,Tour:u0,App:y0,Flex:zr},Symbol.toStringTag,{value:"Module"})),w0=function(e){return Object.keys(vo).forEach(t=>{const n=vo[t];n.install&&e.use(n)}),e.use(Hr.StyleProvider),e.config.globalProperties.$message=Vo,e.config.globalProperties.$notification=Ko,e.config.globalProperties.$info=lt.info,e.config.globalProperties.$success=lt.success,e.config.globalProperties.$error=lt.error,e.config.globalProperties.$warning=lt.warning,e.config.globalProperties.$confirm=lt.confirm,e.config.globalProperties.$destroyAll=lt.destroyAll,e},C0={version:_r,install:w0},x0=U({__name:"App",setup(e){const t={token:{colorPrimary:"#EA576A",colorLink:"#813841",colorLinkHover:"#EA576A"}};return(n,l)=>{const o=jr("RouterView");return Wr(),Vr(Gr(Wo),{theme:t,"page-header":{ghost:!1}},{default:Kr(()=>[s(o)]),_:1})}}});(async()=>{const e=Ur({render:()=>es(x0)});Xr.init(),Yr(e,Il),e.use(Il),e.use(qr),e.use(C0),e.mount("#app"),e.component("VSelect",Zr),e.component("Markdown",Jr),e.component("Message",Qr),hn(e,ts),hn(e,ns),hn(e,ls)})(); -//# sourceMappingURL=console.33ac10e3.js.map +//# sourceMappingURL=console.29060f15.js.map diff --git a/abstra_statics/dist/assets/cssMode.2ba75501.js b/abstra_statics/dist/assets/cssMode.f94daa70.js similarity index 99% rename from abstra_statics/dist/assets/cssMode.2ba75501.js rename to abstra_statics/dist/assets/cssMode.f94daa70.js index e7651fd0e1..78ce96d8c6 100644 --- a/abstra_statics/dist/assets/cssMode.2ba75501.js +++ b/abstra_statics/dist/assets/cssMode.f94daa70.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.5f5c4f15.js";import"./vue-router.7d22a765.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]="71bb7f17-cbc9-4e1c-894f-d128b01482d9",e._sentryDebugIdIdentifier="sentry-dbid-71bb7f17-cbc9-4e1c-894f-d128b01482d9")}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.6c3d17d3.js";import"./vue-router.d93c72db.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]="5ee16dd7-68f3-4042-a52b-4f22db1cbef8",e._sentryDebugIdIdentifier="sentry-dbid-5ee16dd7-68f3-4042-a52b-4f22db1cbef8")}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.2ba75501.js.map +//# sourceMappingURL=cssMode.f94daa70.js.map diff --git a/abstra_statics/dist/assets/datetime.2c7b273f.js b/abstra_statics/dist/assets/datetime.bb5ad11f.js similarity index 80% rename from abstra_statics/dist/assets/datetime.2c7b273f.js rename to abstra_statics/dist/assets/datetime.bb5ad11f.js index a51368ede9..606af3a76a 100644 --- a/abstra_statics/dist/assets/datetime.2c7b273f.js +++ b/abstra_statics/dist/assets/datetime.bb5ad11f.js @@ -1,2 +1,2 @@ -import{C as n}from"./gateway.6da513da.js";import"./vue-router.7d22a765.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]="1a5563f9-0417-426d-84ea-faa9a57df551",a._sentryDebugIdIdentifier="sentry-dbid-1a5563f9-0417-426d-84ea-faa9a57df551")}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 o={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,o)}static fromDTO(t,s,i,r){const o={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,o)}static async get(t){const s=await d.get(t);if(!s)throw new Error("Build not found");const{projectId:i,abstraJson:r,abstraVersion:o}=s;if(!r||!o)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,o,e):this.fromDTO(i,t,o,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(a,t){return a.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,f as g}; -//# sourceMappingURL=datetime.2c7b273f.js.map +import{C as n}from"./gateway.0306d327.js";import"./vue-router.d93c72db.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]="8a19d428-5dd8-413e-876b-9fa1bac4abb1",a._sentryDebugIdIdentifier="sentry-dbid-8a19d428-5dd8-413e-876b-9fa1bac4abb1")}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 o={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,o)}static fromDTO(t,s,i,r){const o={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,o)}static async get(t){const s=await d.get(t);if(!s)throw new Error("Build not found");const{projectId:i,abstraJson:r,abstraVersion:o}=s;if(!r||!o)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,o,e):this.fromDTO(i,t,o,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(a,t){return a.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,h as g}; +//# sourceMappingURL=datetime.bb5ad11f.js.map diff --git a/abstra_statics/dist/assets/dayjs.5902ed44.js b/abstra_statics/dist/assets/dayjs.5902ed44.js new file mode 100644 index 0000000000..87be569217 --- /dev/null +++ b/abstra_statics/dist/assets/dayjs.5902ed44.js @@ -0,0 +1,2 @@ +import{S as s,dA as d,dB as i}from"./vue-router.d93c72db.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]="11dde738-afcc-41b3-b7e4-505a6e4efe3c",e._sentryDebugIdIdentifier="sentry-dbid-11dde738-afcc-41b3-b7e4-505a6e4efe3c")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:a,RangePicker:c}=d(i),u=s(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:c,TimePicker:m,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(c.name,c),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{u as D,r as M,a as Q,c as R,t as W}; +//# sourceMappingURL=dayjs.5902ed44.js.map diff --git a/abstra_statics/dist/assets/dayjs.5ca46bfa.js b/abstra_statics/dist/assets/dayjs.5ca46bfa.js deleted file mode 100644 index 93eaf4e253..0000000000 --- a/abstra_statics/dist/assets/dayjs.5ca46bfa.js +++ /dev/null @@ -1,2 +0,0 @@ -import{S as i,dA as d,dB as c}from"./vue-router.7d22a765.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]="70481864-7bbe-4e90-ba64-d600b77a4101",e._sentryDebugIdIdentifier="sentry-dbid-70481864-7bbe-4e90-ba64-d600b77a4101")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:b,TimePicker:m,QuarterPicker:a,RangePicker:o}=d(c),u=i(n,{WeekPicker:t,MonthPicker:r,YearPicker:b,RangePicker:o,TimePicker:m,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{u as D,r as M,a as Q,o as R,t as W}; -//# sourceMappingURL=dayjs.5ca46bfa.js.map diff --git a/abstra_statics/dist/assets/editor.01ba249d.js b/abstra_statics/dist/assets/editor.01ba249d.js new file mode 100644 index 0000000000..2fe164295c --- /dev/null +++ b/abstra_statics/dist/assets/editor.01ba249d.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.d93c72db.js";import{d as Q,r as X,u as Z,g as ee,s as te,c as oe}from"./workspaceStore.f24e9a7b.js";import{a as ae}from"./asyncComputed.d2f65d62.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.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]="673e2392-eb83-4cbf-8881-bfa371d491c0",o._sentryDebugIdIdentifier="sentry-dbid-673e2392-eb83-4cbf-8881-bfa371d491c0")}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:"78eb3b3290dd5beaba07662d5551bf264e2fe154",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.97dc46ff.js"),["assets/Home.97dc46ff.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Home.ad31131b.css"]),children:[{path:"",name:"workspace",component:()=>a(()=>import("./Workspace.51901c69.js"),["assets/Workspace.51901c69.js","assets/BaseLayout.53dfe4a0.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/PhSignOut.vue.33fd1944.js","assets/NavbarControls.9c6236d6.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/CloseCircleOutlined.f1ce344f.js","assets/index.b7b1d42b.js","assets/index.090b2bf1.js","assets/workspaces.054b755b.js","assets/record.a553a696.js","assets/popupNotifcation.fcd4681e.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhChats.vue.860dd615.js","assets/NavbarControls.8216d9aa.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/PhIdentificationBadge.vue.3ad9df43.js","assets/PhCaretRight.vue.246b48ee.js","assets/PhFlowArrow.vue.54661f9c.js","assets/PhKanban.vue.04c2aadb.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/asyncComputed.d2f65d62.js","assets/Workspace.1d39102f.css"]),redirect:()=>({name:"workflowEditor"}),children:[{path:"stages",name:"stages",component:()=>a(()=>import("./Stages.e68c7607.js"),["assets/Stages.e68c7607.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/CrudView.574d257b.js","assets/router.10d9d8b6.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/ant-design.2a356765.js","assets/asyncComputed.d2f65d62.js","assets/string.d10c3089.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/forms.f96e1282.js","assets/record.a553a696.js","assets/scripts.1b2e66c0.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/colorHelpers.24f5763b.js","assets/index.b7b1d42b.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/validations.6e89473f.js","assets/Stages.2b141080.css"]),meta:{title:"Stages"}},{path:"workflow",name:"workflowEditor",component:()=>a(()=>import("./WorkflowEditor.6289c346.js"),["assets/WorkflowEditor.6289c346.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/Workflow.9788d429.js","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/uuid.848d284c.js","assets/index.77b08602.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/record.a553a696.js","assets/polling.be8756ca.js","assets/index.d05003c4.js","assets/Badge.819cb645.js","assets/PhArrowDown.vue.4dd765b6.js","assets/Workflow.6ef00fbb.css","assets/asyncComputed.d2f65d62.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/index.313ae0a2.js","assets/WorkflowEditor.bb12f104.css"]),meta:{title:"Workflow Editor"}},{path:"threads",name:"workflowThreads",component:()=>a(()=>import("./WorkflowThreads.17a5860b.js"),["assets/WorkflowThreads.17a5860b.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/WorkflowView.0a0b846e.js","assets/polling.be8756ca.js","assets/asyncComputed.d2f65d62.js","assets/PhQuestion.vue.1e79437f.js","assets/ant-design.2a356765.js","assets/index.090b2bf1.js","assets/index.1b012bfe.js","assets/index.37cd2d5b.js","assets/CollapsePanel.79713856.js","assets/index.313ae0a2.js","assets/index.7c698315.js","assets/Badge.819cb645.js","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/Workflow.9788d429.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/uuid.848d284c.js","assets/index.77b08602.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/record.a553a696.js","assets/index.d05003c4.js","assets/PhArrowDown.vue.4dd765b6.js","assets/Workflow.6ef00fbb.css","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/LoadingOutlined.e222117b.js","assets/DeleteOutlined.992cbf70.js","assets/PhDownloadSimple.vue.798ada40.js","assets/utils.83debec2.js","assets/LoadingContainer.075249df.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css"]),meta:{title:"Workflow Threads"}},{path:"preferences",name:"settingsPreferences",component:()=>a(()=>import("./PreferencesEditor.4ade6645.js"),["assets/PreferencesEditor.4ade6645.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/record.a553a696.js","assets/PlayerNavbar.f1d9205e.js","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/LoadingOutlined.e222117b.js","assets/PhSignOut.vue.33fd1944.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/PlayerNavbar.8a0727fc.css","assets/PlayerConfigProvider.46a07e66.js","assets/index.77b08602.js","assets/PlayerConfigProvider.8864c905.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/LoadingContainer.075249df.js","assets/LoadingContainer.56fa997a.css","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/asyncComputed.d2f65d62.js","assets/PreferencesEditor.a7201214.css"]),meta:{title:"Preferences"}},{path:"requirements",name:"settingsRequirements",component:()=>a(()=>import("./RequirementsEditor.615b0ca0.js"),["assets/RequirementsEditor.615b0ca0.js","assets/ContentLayout.cc8de746.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.ee57a545.css","assets/CrudView.574d257b.js","assets/router.10d9d8b6.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/record.a553a696.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/colorHelpers.24f5763b.js","assets/RequirementsEditor.46e215f2.css"]),meta:{title:"Requirements"}},{path:"env-vars",name:"env-vars",component:()=>a(()=>import("./EnvVarsEditor.5ced7b87.js"),["assets/EnvVarsEditor.5ced7b87.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/record.a553a696.js","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/View.vue_vue_type_script_setup_true_lang.732befe4.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/fetch.a18f4d89.js","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.574d257b.js","assets/router.10d9d8b6.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/index.b7b1d42b.js"]),meta:{title:"Environment Variables"}},{path:"access-control",name:"accessControl",component:()=>a(()=>import("./AccessControlEditor.cd5af195.js"),["assets/AccessControlEditor.cd5af195.js","assets/ContentLayout.cc8de746.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.ee57a545.css","assets/fetch.a18f4d89.js","assets/record.a553a696.js","assets/repository.a9bba470.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/asyncComputed.d2f65d62.js","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/PhGlobe.vue.7f5461d7.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/index.313ae0a2.js","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/index.b7b1d42b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/AccessControlEditor.b7d1ceb9.css"]),meta:{title:"Access Control"}}]},{path:"project-login",name:"projectLogin",component:()=>a(()=>import("./ProjectLogin.849328a6.js"),["assets/ProjectLogin.849328a6.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/index.090b2bf1.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/asyncComputed.d2f65d62.js","assets/ProjectLogin.2f3a2bb2.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:"form/:id",name:"formEditor",component:()=>a(()=>import("./FormEditor.f31c4561.js"),["assets/FormEditor.f31c4561.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/PlayerNavbar.f1d9205e.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/LoadingOutlined.e222117b.js","assets/PhSignOut.vue.33fd1944.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/PlayerNavbar.8a0727fc.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.1d8a49cc.js","assets/uuid.848d284c.js","assets/scripts.1b2e66c0.js","assets/record.a553a696.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/PhCopy.vue.1dad710f.js","assets/PhCopySimple.vue.393b6f24.js","assets/PhCaretRight.vue.246b48ee.js","assets/Badge.819cb645.js","assets/PhQuestion.vue.1e79437f.js","assets/workspaces.054b755b.js","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css","assets/index.b7b1d42b.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/SourceCode.954a8594.css","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/FormRunner.0cb92719.js","assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/CircularLoading.8a9b1f0b.js","assets/CircularLoading.1a558a0d.css","assets/index.77b08602.js","assets/Login.c8ca392c.css","assets/Steps.5f0ada68.js","assets/index.03f6e8fc.js","assets/Steps.4d03c6c1.css","assets/Watermark.1fc122c8.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/PlayerConfigProvider.46a07e66.js","assets/PlayerConfigProvider.8864c905.css","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/PhFlowArrow.vue.54661f9c.js","assets/forms.f96e1282.js","assets/ThreadSelector.8f315e17.js","assets/index.1b012bfe.js","assets/index.313ae0a2.js","assets/ThreadSelector.c38c4d8f.css","assets/index.090b2bf1.js","assets/NavbarControls.9c6236d6.js","assets/CloseCircleOutlined.f1ce344f.js","assets/popupNotifcation.fcd4681e.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhChats.vue.860dd615.js","assets/NavbarControls.8216d9aa.css","assets/index.70aedabb.js","assets/FormEditor.3bacf8bd.css"]),meta:{title:"Form Editor"}},{path:"job/:id",name:"jobEditor",component:()=>a(()=>import("./JobEditor.fa477eba.js"),["assets/JobEditor.fa477eba.js","assets/BaseLayout.53dfe4a0.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.1d8a49cc.js","assets/uuid.848d284c.js","assets/scripts.1b2e66c0.js","assets/record.a553a696.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/PhCopy.vue.1dad710f.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhCopySimple.vue.393b6f24.js","assets/PhCaretRight.vue.246b48ee.js","assets/Badge.819cb645.js","assets/PhBug.vue.2cdd0af8.js","assets/PhQuestion.vue.1e79437f.js","assets/LoadingOutlined.e222117b.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css","assets/index.b7b1d42b.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/SourceCode.954a8594.css","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.ce793f1f.js","assets/index.090b2bf1.js","assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js","assets/NavbarControls.9c6236d6.js","assets/CloseCircleOutlined.f1ce344f.js","assets/popupNotifcation.fcd4681e.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhChats.vue.860dd615.js","assets/NavbarControls.8216d9aa.css","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js"]),meta:{title:"Job Editor"}},{path:"hook/:id",name:"hookEditor",component:()=>a(()=>import("./HookEditor.23043f87.js"),["assets/HookEditor.23043f87.js","assets/BaseLayout.53dfe4a0.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.1d8a49cc.js","assets/uuid.848d284c.js","assets/scripts.1b2e66c0.js","assets/record.a553a696.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/PhCopy.vue.1dad710f.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhCopySimple.vue.393b6f24.js","assets/PhCaretRight.vue.246b48ee.js","assets/Badge.819cb645.js","assets/PhBug.vue.2cdd0af8.js","assets/PhQuestion.vue.1e79437f.js","assets/LoadingOutlined.e222117b.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css","assets/index.b7b1d42b.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/SourceCode.954a8594.css","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/metadata.7b1155be.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/ThreadSelector.8f315e17.js","assets/index.1b012bfe.js","assets/index.313ae0a2.js","assets/ThreadSelector.c38c4d8f.css","assets/index.7534be11.js","assets/CollapsePanel.79713856.js","assets/index.090b2bf1.js","assets/NavbarControls.9c6236d6.js","assets/CloseCircleOutlined.f1ce344f.js","assets/popupNotifcation.fcd4681e.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhChats.vue.860dd615.js","assets/NavbarControls.8216d9aa.css","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js"]),meta:{title:"Hook Editor"}},{path:"script/:id",name:"scriptEditor",component:()=>a(()=>import("./ScriptEditor.c896a25f.js"),["assets/ScriptEditor.c896a25f.js","assets/BaseLayout.53dfe4a0.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.1d8a49cc.js","assets/uuid.848d284c.js","assets/scripts.1b2e66c0.js","assets/record.a553a696.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/PhCopy.vue.1dad710f.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhCopySimple.vue.393b6f24.js","assets/PhCaretRight.vue.246b48ee.js","assets/Badge.819cb645.js","assets/PhBug.vue.2cdd0af8.js","assets/PhQuestion.vue.1e79437f.js","assets/LoadingOutlined.e222117b.js","assets/workspaces.054b755b.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css","assets/index.b7b1d42b.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/SourceCode.954a8594.css","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.baf821a4.js","assets/ThreadSelector.8f315e17.js","assets/index.1b012bfe.js","assets/index.313ae0a2.js","assets/ThreadSelector.c38c4d8f.css","assets/NavbarControls.9c6236d6.js","assets/CloseCircleOutlined.f1ce344f.js","assets/index.090b2bf1.js","assets/popupNotifcation.fcd4681e.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/PhChats.vue.860dd615.js","assets/NavbarControls.8216d9aa.css","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/CollapsePanel.79713856.js"]),meta:{title:"Script Editor"}},{path:"resources",name:"resourcesTracker",component:()=>a(()=>import("./ResourcesTracker.806adb25.js"),["assets/ResourcesTracker.806adb25.js","assets/BaseLayout.53dfe4a0.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js"]),meta:{title:"Resources Tracker"}},{path:"welcome",name:"welcome",component:()=>a(()=>import("./Welcome.6b253875.js"),["assets/Welcome.6b253875.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/fetch.a18f4d89.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/workspaceStore.f24e9a7b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/asyncComputed.d2f65d62.js","assets/Welcome.8d813f91.css"]),meta:{title:"Welcome",allowUnauthenticated:!0}}]},{path:"/:path(.*)*",name:"form",component:()=>a(()=>import("./App.5956ac3e.js"),["assets/App.5956ac3e.js","assets/App.vue_vue_type_style_index_0_lang.e6e6760c.js","assets/workspaceStore.f24e9a7b.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/PlayerConfigProvider.46a07e66.js","assets/index.77b08602.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.01ba249d.js.map diff --git a/abstra_statics/dist/assets/editor.e28b46d6.js b/abstra_statics/dist/assets/editor.e28b46d6.js deleted file mode 100644 index 322a0bc686..0000000000 --- a/abstra_statics/dist/assets/editor.e28b46d6.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.7d22a765.js";import{d as Q,r as X,u as Z,g as ee,s as te,c as oe}from"./workspaceStore.1847e3fb.js";import{a as ae}from"./asyncComputed.62fe9f61.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.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]="901ee974-c77c-4410-9e3e-255cac5c96dd",o._sentryDebugIdIdentifier="sentry-dbid-901ee974-c77c-4410-9e3e-255cac5c96dd")}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 L=new se,_=ae(async()=>(await L.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 L.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:"691391b37b1de6b82d2a62890612ed890d9250a7",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),y=async()=>{!r.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},b=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:b,deleteLogin:y,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.32ecd5a1.js"),["assets/Home.32ecd5a1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Home.ad31131b.css"]),children:[{path:"",name:"workspace",component:()=>a(()=>import("./Workspace.59587e5f.js"),["assets/Workspace.59587e5f.js","assets/BaseLayout.0d928ff1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/PhSignOut.vue.618d1f5c.js","assets/NavbarControls.dc4d4339.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/CloseCircleOutlined.8dad9616.js","assets/index.3db2f466.js","assets/index.28152a0c.js","assets/workspaces.7db2ec4c.js","assets/record.c63163fa.js","assets/popupNotifcation.f48fd864.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhChats.vue.afcd5876.js","assets/NavbarControls.8216d9aa.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/PhIdentificationBadge.vue.f2200d74.js","assets/PhCaretRight.vue.053320ac.js","assets/PhFlowArrow.vue.67873dec.js","assets/PhKanban.vue.76078103.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/asyncComputed.62fe9f61.js","assets/Workspace.1d39102f.css"]),redirect:()=>({name:"workflowEditor"}),children:[{path:"stages",name:"stages",component:()=>a(()=>import("./Stages.a4c27f2d.js"),["assets/Stages.a4c27f2d.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/CrudView.cd385ca1.js","assets/router.efcfb7fa.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/ant-design.c6784518.js","assets/asyncComputed.62fe9f61.js","assets/string.042fe6bc.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/forms.93cff9fd.js","assets/record.c63163fa.js","assets/scripts.b9182f88.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/colorHelpers.e5ec8c13.js","assets/index.3db2f466.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/validations.de16515c.js","assets/Stages.2b141080.css"]),meta:{title:"Stages"}},{path:"workflow",name:"workflowEditor",component:()=>a(()=>import("./WorkflowEditor.9915a3bf.js"),["assets/WorkflowEditor.9915a3bf.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/Workflow.70137be1.js","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/uuid.65957d70.js","assets/index.143dc5b1.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/record.c63163fa.js","assets/polling.f65e8dae.js","assets/index.caeca3de.js","assets/Badge.c37c51db.js","assets/PhArrowDown.vue.647cad46.js","assets/Workflow.6ef00fbb.css","assets/asyncComputed.62fe9f61.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/index.89bac5b6.js","assets/WorkflowEditor.bb12f104.css"]),meta:{title:"Workflow Editor"}},{path:"threads",name:"workflowThreads",component:()=>a(()=>import("./WorkflowThreads.a0bad6e7.js"),["assets/WorkflowThreads.a0bad6e7.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/WorkflowView.48ecfe92.js","assets/polling.f65e8dae.js","assets/asyncComputed.62fe9f61.js","assets/PhQuestion.vue.52f4cce8.js","assets/ant-design.c6784518.js","assets/index.28152a0c.js","assets/index.185e14fb.js","assets/index.eabeddc9.js","assets/CollapsePanel.e3bd0766.js","assets/index.89bac5b6.js","assets/index.8fb2fffd.js","assets/Badge.c37c51db.js","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/Workflow.70137be1.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/uuid.65957d70.js","assets/index.143dc5b1.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/record.c63163fa.js","assets/index.caeca3de.js","assets/PhArrowDown.vue.647cad46.js","assets/Workflow.6ef00fbb.css","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/LoadingOutlined.0a0dc718.js","assets/DeleteOutlined.5491ff33.js","assets/PhDownloadSimple.vue.c2d6c2cb.js","assets/utils.6e13a992.js","assets/LoadingContainer.9f69b37b.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css"]),meta:{title:"Workflow Threads"}},{path:"preferences",name:"settingsPreferences",component:()=>a(()=>import("./PreferencesEditor.7ac1ea80.js"),["assets/PreferencesEditor.7ac1ea80.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/record.c63163fa.js","assets/PlayerNavbar.641ba123.js","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/LoadingOutlined.0a0dc718.js","assets/PhSignOut.vue.618d1f5c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/PlayerNavbar.8a0727fc.css","assets/PlayerConfigProvider.b00461a5.js","assets/index.143dc5b1.js","assets/PlayerConfigProvider.8864c905.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/LoadingContainer.9f69b37b.js","assets/LoadingContainer.56fa997a.css","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/asyncComputed.62fe9f61.js","assets/PreferencesEditor.a7201214.css"]),meta:{title:"Preferences"}},{path:"requirements",name:"settingsRequirements",component:()=>a(()=>import("./RequirementsEditor.df60443f.js"),["assets/RequirementsEditor.df60443f.js","assets/ContentLayout.e4128d5d.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.ee57a545.css","assets/CrudView.cd385ca1.js","assets/router.efcfb7fa.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/record.c63163fa.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/colorHelpers.e5ec8c13.js","assets/RequirementsEditor.46e215f2.css"]),meta:{title:"Requirements"}},{path:"env-vars",name:"env-vars",component:()=>a(()=>import("./EnvVarsEditor.c16d4e87.js"),["assets/EnvVarsEditor.c16d4e87.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/record.c63163fa.js","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/View.vue_vue_type_script_setup_true_lang.e3f55a53.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/fetch.8d81adbd.js","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.cd385ca1.js","assets/router.efcfb7fa.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/index.3db2f466.js"]),meta:{title:"Environment Variables"}},{path:"access-control",name:"accessControl",component:()=>a(()=>import("./AccessControlEditor.46a1cc9e.js"),["assets/AccessControlEditor.46a1cc9e.js","assets/ContentLayout.e4128d5d.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.ee57a545.css","assets/fetch.8d81adbd.js","assets/record.c63163fa.js","assets/repository.c27893d1.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/asyncComputed.62fe9f61.js","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/PhGlobe.vue.672acb29.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/index.89bac5b6.js","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/index.3db2f466.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/AccessControlEditor.b7d1ceb9.css"]),meta:{title:"Access Control"}}]},{path:"project-login",name:"projectLogin",component:()=>a(()=>import("./ProjectLogin.7eb010bf.js"),["assets/ProjectLogin.7eb010bf.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/index.28152a0c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/asyncComputed.62fe9f61.js","assets/ProjectLogin.2f3a2bb2.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:"form/:id",name:"formEditor",component:()=>a(()=>import("./FormEditor.84399bcb.js"),["assets/FormEditor.84399bcb.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/PlayerNavbar.641ba123.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/LoadingOutlined.0a0dc718.js","assets/PhSignOut.vue.618d1f5c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/PlayerNavbar.8a0727fc.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.355e8a29.js","assets/uuid.65957d70.js","assets/scripts.b9182f88.js","assets/record.c63163fa.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/PhCopy.vue.834d7537.js","assets/PhCopySimple.vue.b36c12a9.js","assets/PhCaretRight.vue.053320ac.js","assets/Badge.c37c51db.js","assets/PhQuestion.vue.52f4cce8.js","assets/workspaces.7db2ec4c.js","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css","assets/index.3db2f466.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/SourceCode.954a8594.css","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/FormRunner.68123581.js","assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/CircularLoading.313ca01b.js","assets/CircularLoading.1a558a0d.css","assets/index.143dc5b1.js","assets/Login.c8ca392c.css","assets/Steps.db3ca432.js","assets/index.d9edc3f8.js","assets/Steps.4d03c6c1.css","assets/Watermark.a189bb8e.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/PlayerConfigProvider.b00461a5.js","assets/PlayerConfigProvider.8864c905.css","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/PhFlowArrow.vue.67873dec.js","assets/forms.93cff9fd.js","assets/ThreadSelector.e5f2e543.js","assets/index.185e14fb.js","assets/index.89bac5b6.js","assets/ThreadSelector.c38c4d8f.css","assets/index.28152a0c.js","assets/NavbarControls.dc4d4339.js","assets/CloseCircleOutlined.8dad9616.js","assets/popupNotifcation.f48fd864.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhChats.vue.afcd5876.js","assets/NavbarControls.8216d9aa.css","assets/index.21dc8b6c.js","assets/FormEditor.3bacf8bd.css"]),meta:{title:"Form Editor"}},{path:"job/:id",name:"jobEditor",component:()=>a(()=>import("./JobEditor.d636eb00.js"),["assets/JobEditor.d636eb00.js","assets/BaseLayout.0d928ff1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.355e8a29.js","assets/uuid.65957d70.js","assets/scripts.b9182f88.js","assets/record.c63163fa.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/PhCopy.vue.834d7537.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhCopySimple.vue.b36c12a9.js","assets/PhCaretRight.vue.053320ac.js","assets/Badge.c37c51db.js","assets/PhBug.vue.fd83bab4.js","assets/PhQuestion.vue.52f4cce8.js","assets/LoadingOutlined.0a0dc718.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css","assets/index.3db2f466.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/SourceCode.954a8594.css","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.151277c7.js","assets/index.28152a0c.js","assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js","assets/NavbarControls.dc4d4339.js","assets/CloseCircleOutlined.8dad9616.js","assets/popupNotifcation.f48fd864.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhChats.vue.afcd5876.js","assets/NavbarControls.8216d9aa.css","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js"]),meta:{title:"Job Editor"}},{path:"hook/:id",name:"hookEditor",component:()=>a(()=>import("./HookEditor.1d481504.js"),["assets/HookEditor.1d481504.js","assets/BaseLayout.0d928ff1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.355e8a29.js","assets/uuid.65957d70.js","assets/scripts.b9182f88.js","assets/record.c63163fa.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/PhCopy.vue.834d7537.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhCopySimple.vue.b36c12a9.js","assets/PhCaretRight.vue.053320ac.js","assets/Badge.c37c51db.js","assets/PhBug.vue.fd83bab4.js","assets/PhQuestion.vue.52f4cce8.js","assets/LoadingOutlined.0a0dc718.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css","assets/index.3db2f466.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/SourceCode.954a8594.css","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/metadata.9b52bd89.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/ThreadSelector.e5f2e543.js","assets/index.185e14fb.js","assets/index.89bac5b6.js","assets/ThreadSelector.c38c4d8f.css","assets/index.2d2a728f.js","assets/CollapsePanel.e3bd0766.js","assets/index.28152a0c.js","assets/NavbarControls.dc4d4339.js","assets/CloseCircleOutlined.8dad9616.js","assets/popupNotifcation.f48fd864.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhChats.vue.afcd5876.js","assets/NavbarControls.8216d9aa.css","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js"]),meta:{title:"Hook Editor"}},{path:"script/:id",name:"scriptEditor",component:()=>a(()=>import("./ScriptEditor.4db74e70.js"),["assets/ScriptEditor.4db74e70.js","assets/BaseLayout.0d928ff1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/SourceCode.355e8a29.js","assets/uuid.65957d70.js","assets/scripts.b9182f88.js","assets/record.c63163fa.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/PhCopy.vue.834d7537.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhCopySimple.vue.b36c12a9.js","assets/PhCaretRight.vue.053320ac.js","assets/Badge.c37c51db.js","assets/PhBug.vue.fd83bab4.js","assets/PhQuestion.vue.52f4cce8.js","assets/LoadingOutlined.0a0dc718.js","assets/workspaces.7db2ec4c.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css","assets/index.3db2f466.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/SourceCode.954a8594.css","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/RunButton.vue_vue_type_script_setup_true_lang.427787ea.js","assets/ThreadSelector.e5f2e543.js","assets/index.185e14fb.js","assets/index.89bac5b6.js","assets/ThreadSelector.c38c4d8f.css","assets/NavbarControls.dc4d4339.js","assets/CloseCircleOutlined.8dad9616.js","assets/index.28152a0c.js","assets/popupNotifcation.f48fd864.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/PhChats.vue.afcd5876.js","assets/NavbarControls.8216d9aa.css","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/CollapsePanel.e3bd0766.js"]),meta:{title:"Script Editor"}},{path:"resources",name:"resourcesTracker",component:()=>a(()=>import("./ResourcesTracker.524e4a41.js"),["assets/ResourcesTracker.524e4a41.js","assets/BaseLayout.0d928ff1.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js"]),meta:{title:"Resources Tracker"}},{path:"welcome",name:"welcome",component:()=>a(()=>import("./Welcome.0bb5d62b.js"),["assets/Welcome.0bb5d62b.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/fetch.8d81adbd.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/workspaceStore.1847e3fb.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/asyncComputed.62fe9f61.js","assets/Welcome.8d813f91.css"]),meta:{title:"Welcome",allowUnauthenticated:!0}}]},{path:"/:path(.*)*",name:"form",component:()=>a(()=>import("./App.e8e1ce53.js"),["assets/App.e8e1ce53.js","assets/App.vue_vue_type_style_index_0_lang.15150957.js","assets/workspaceStore.1847e3fb.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/PlayerConfigProvider.b00461a5.js","assets/index.143dc5b1.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.e28b46d6.js.map diff --git a/abstra_statics/dist/assets/editor.main.562bb0ec.js b/abstra_statics/dist/assets/editor.main.562bb0ec.js new file mode 100644 index 0000000000..df48358366 --- /dev/null +++ b/abstra_statics/dist/assets/editor.main.562bb0ec.js @@ -0,0 +1,2 @@ +import{C as t,E as i,K as d,a as b,M as c,c as f,P as l,R as y,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="55de1c56-91a8-4eb4-9eb0-441bb9c6650f",e._sentryDebugIdIdentifier="sentry-dbid-55de1c56-91a8-4eb4-9eb0-441bb9c6650f")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,b as KeyMod,c as MarkerSeverity,f as MarkerTag,l as Position,y as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages}; +//# sourceMappingURL=editor.main.562bb0ec.js.map diff --git a/abstra_statics/dist/assets/editor.main.f8ec4351.js b/abstra_statics/dist/assets/editor.main.f8ec4351.js deleted file mode 100644 index 3414336a2d..0000000000 --- a/abstra_statics/dist/assets/editor.main.f8ec4351.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as t,E as i,K as d,a as b,M as f,c,P as l,R as y,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="b55030b9-c59f-47a1-9edb-26ae4a653ab4",e._sentryDebugIdIdentifier="sentry-dbid-b55030b9-c59f-47a1-9edb-26ae4a653ab4")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,b as KeyMod,f as MarkerSeverity,c as MarkerTag,l as Position,y as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages}; -//# sourceMappingURL=editor.main.f8ec4351.js.map diff --git a/abstra_statics/dist/assets/fetch.8d81adbd.js b/abstra_statics/dist/assets/fetch.8d81adbd.js deleted file mode 100644 index 589759fae1..0000000000 --- a/abstra_statics/dist/assets/fetch.8d81adbd.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.7d22a765.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]="e98d88c3-09b6-4b34-94fe-f0af919d164f",e._sentryDebugIdIdentifier="sentry-dbid-e98d88c3-09b6-4b34-94fe-f0af919d164f")}catch{}})();const t=(...e)=>window.fetch(...e);export{t as l}; -//# sourceMappingURL=fetch.8d81adbd.js.map diff --git a/abstra_statics/dist/assets/fetch.a18f4d89.js b/abstra_statics/dist/assets/fetch.a18f4d89.js new file mode 100644 index 0000000000..78b0620873 --- /dev/null +++ b/abstra_statics/dist/assets/fetch.a18f4d89.js @@ -0,0 +1,2 @@ +import"./vue-router.d93c72db.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]="18e43a0f-6a7a-442e-8d04-90ecb91a4d3b",e._sentryDebugIdIdentifier="sentry-dbid-18e43a0f-6a7a-442e-8d04-90ecb91a4d3b")}catch{}})();const a=(...e)=>window.fetch(...e);export{a as l}; +//# sourceMappingURL=fetch.a18f4d89.js.map diff --git a/abstra_statics/dist/assets/forms.93cff9fd.js b/abstra_statics/dist/assets/forms.f96e1282.js similarity index 93% rename from abstra_statics/dist/assets/forms.93cff9fd.js rename to abstra_statics/dist/assets/forms.f96e1282.js index bf68348642..e7f6091f05 100644 --- a/abstra_statics/dist/assets/forms.93cff9fd.js +++ b/abstra_statics/dist/assets/forms.f96e1282.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.c63163fa.js";import"./vue-router.7d22a765.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]="479b28af-a748-4a14-85ef-dc2e01c098fe",r._sentryDebugIdIdentifier="sentry-dbid-479b28af-a748-4a14-85ef-dc2e01c098fe")}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.93cff9fd.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.a553a696.js";import"./vue-router.d93c72db.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]="8cfb0e6e-c090-4c3a-94cd-bc0a8a0a7bb9",r._sentryDebugIdIdentifier="sentry-dbid-8cfb0e6e-c090-4c3a-94cd-bc0a8a0a7bb9")}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.f96e1282.js.map diff --git a/abstra_statics/dist/assets/freemarker2.b25ffcab.js b/abstra_statics/dist/assets/freemarker2.03b5b8ef.js similarity index 98% rename from abstra_statics/dist/assets/freemarker2.b25ffcab.js rename to abstra_statics/dist/assets/freemarker2.03b5b8ef.js index 8562c9820c..9948e6416e 100644 --- a/abstra_statics/dist/assets/freemarker2.b25ffcab.js +++ b/abstra_statics/dist/assets/freemarker2.03b5b8ef.js @@ -1,4 +1,4 @@ -import{m as b}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="18014518-bf60-4a5d-a7df-122b1c29c69f",t._sentryDebugIdIdentifier="sentry-dbid-18014518-bf60-4a5d-a7df-122b1c29c69f")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as b}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="db6b1e10-1dd4-4171-9db7-c5a1964d8589",t._sentryDebugIdIdentifier="sentry-dbid-db6b1e10-1dd4-4171-9db7-c5a1964d8589")}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.5f5c4f15.js";import"./vue-router.7d22a76 *-----------------------------------------------------------------------------*/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.b25ffcab.js.map +//# sourceMappingURL=freemarker2.03b5b8ef.js.map diff --git a/abstra_statics/dist/assets/gateway.0306d327.js b/abstra_statics/dist/assets/gateway.0306d327.js new file mode 100644 index 0000000000..1fc5ab6839 --- /dev/null +++ b/abstra_statics/dist/assets/gateway.0306d327.js @@ -0,0 +1,2 @@ +var w=Object.defineProperty;var g=(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)=>(g(o,typeof t!="symbol"?t+"":t,e),e);import{p as y}from"./popupNotifcation.fcd4681e.js";import{L as b,N as E,O as A,l as h}from"./vue-router.d93c72db.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]="6cd285f3-e381-4ac1-aef3-94ce348ff2a1",o._sentryDebugIdIdentifier="sentry-dbid-6cd285f3-e381-4ac1-aef3-94ce348ff2a1")}catch{}})();class m{constructor(){d(this,"storage");this.storage=new b(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:"78eb3b3290dd5beaba07662d5551bf264e2fe154",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){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,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.0306d327.js.map diff --git a/abstra_statics/dist/assets/gateway.6da513da.js b/abstra_statics/dist/assets/gateway.6da513da.js deleted file mode 100644 index fd9e521203..0000000000 --- a/abstra_statics/dist/assets/gateway.6da513da.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.f48fd864.js";import{L as b,N as E,O as A,l as d}from"./vue-router.7d22a765.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]="8103fbf8-f735-4a8c-a092-c6a527867937",e._sentryDebugIdIdentifier="sentry-dbid-8103fbf8-f735-4a8c-a092-c6a527867937")}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:"691391b37b1de6b82d2a62890612ed890d9250a7",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.6da513da.js.map diff --git a/abstra_statics/dist/assets/handlebars.4a3e9e5b.js b/abstra_statics/dist/assets/handlebars.e37e6b4b.js similarity index 95% rename from abstra_statics/dist/assets/handlebars.4a3e9e5b.js rename to abstra_statics/dist/assets/handlebars.e37e6b4b.js index 7879909a4d..54d4994c7a 100644 --- a/abstra_statics/dist/assets/handlebars.4a3e9e5b.js +++ b/abstra_statics/dist/assets/handlebars.e37e6b4b.js @@ -1,7 +1,7 @@ -import{m as l}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="eebadfdf-ffcf-45ea-9bb6-53016d6261b0",t._sentryDebugIdIdentifier="sentry-dbid-eebadfdf-ffcf-45ea-9bb6-53016d6261b0")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as l}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="e638c3c1-579f-49aa-bf9c-26c3cf362770",t._sentryDebugIdIdentifier="sentry-dbid-e638c3c1-579f-49aa-bf9c-26c3cf362770")}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.4a3e9e5b.js.map +//# sourceMappingURL=handlebars.e37e6b4b.js.map diff --git a/abstra_statics/dist/assets/html.8cfe67a7.js b/abstra_statics/dist/assets/html.49fb5660.js similarity index 91% rename from abstra_statics/dist/assets/html.8cfe67a7.js rename to abstra_statics/dist/assets/html.49fb5660.js index 481d7bbeac..b30896a3b9 100644 --- a/abstra_statics/dist/assets/html.8cfe67a7.js +++ b/abstra_statics/dist/assets/html.49fb5660.js @@ -1,7 +1,7 @@ -import{m as d}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="dc39c948-16b5-4328-a81c-6345ec9417e4",t._sentryDebugIdIdentifier="sentry-dbid-dc39c948-16b5-4328-a81c-6345ec9417e4")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as s}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="ff9c12c3-30db-459b-9e38-44cc3b449d6b",t._sentryDebugIdIdentifier="sentry-dbid-ff9c12c3-30db-459b-9e38-44cc3b449d6b")}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,c=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!m.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,d);var s=["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(`<(?!(?:${s.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${s.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.8cfe67a7.js.map + *-----------------------------------------------------------------------------*/var p=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!m.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.49fb5660.js.map diff --git a/abstra_statics/dist/assets/htmlMode.d2271e19.js b/abstra_statics/dist/assets/htmlMode.d92f2dd9.js similarity index 99% rename from abstra_statics/dist/assets/htmlMode.d2271e19.js rename to abstra_statics/dist/assets/htmlMode.d92f2dd9.js index fa55c22ded..d0e4b676c8 100644 --- a/abstra_statics/dist/assets/htmlMode.d2271e19.js +++ b/abstra_statics/dist/assets/htmlMode.d92f2dd9.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.5f5c4f15.js";import"./vue-router.7d22a765.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]="73d524e0-a4b1-44d6-9d7e-25abefbe986f",e._sentryDebugIdIdentifier="sentry-dbid-73d524e0-a4b1-44d6-9d7e-25abefbe986f")}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.6c3d17d3.js";import"./vue-router.d93c72db.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]="b4eab528-729e-436f-922c-ec2cff02f596",e._sentryDebugIdIdentifier="sentry-dbid-b4eab528-729e-436f-922c-ec2cff02f596")}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.d2271e19.js.map +//# sourceMappingURL=htmlMode.d92f2dd9.js.map diff --git a/abstra_statics/dist/assets/index.d9edc3f8.js b/abstra_statics/dist/assets/index.03f6e8fc.js similarity index 98% rename from abstra_statics/dist/assets/index.d9edc3f8.js rename to abstra_statics/dist/assets/index.03f6e8fc.js index a3e749ba7a..551ac4122a 100644 --- a/abstra_statics/dist/assets/index.d9edc3f8.js +++ b/abstra_statics/dist/assets/index.03f6e8fc.js @@ -1,2 +1,2 @@ -import{d as L,ai as A,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,cO as ai,dR as ci,a$ as di,aV as pi}from"./vue-router.7d22a765.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]="63c162ba-84a6-4487-bca0-f6645b9b7461",i._sentryDebugIdIdentifier="sentry-dbid-63c162ba-84a6-4487-bca0-f6645b9b7461")}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=L({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=A(`${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=A(`${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=A(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}),Ai=()=>({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=L({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ei(Ai(),{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=A({[`${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=L(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.d9edc3f8.js.map +import{d as L,ai as A,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,cO as ai,dR as ci,a$ as di,aV as pi}from"./vue-router.d93c72db.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]="bfa58a27-de20-4fd5-926a-04f6e2692e19",i._sentryDebugIdIdentifier="sentry-dbid-bfa58a27-de20-4fd5-926a-04f6e2692e19")}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=L({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=A(`${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=A(`${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=A(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}),Ai=()=>({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=L({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ei(Ai(),{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=A({[`${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=L(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.03f6e8fc.js.map diff --git a/abstra_statics/dist/assets/index.28152a0c.js b/abstra_statics/dist/assets/index.090b2bf1.js similarity index 87% rename from abstra_statics/dist/assets/index.28152a0c.js rename to abstra_statics/dist/assets/index.090b2bf1.js index 53aa130876..855caf9757 100644 --- a/abstra_statics/dist/assets/index.28152a0c.js +++ b/abstra_statics/dist/assets/index.090b2bf1.js @@ -1,2 +1,2 @@ -import{d as M,ah as T,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,cV as h,au as j,bv as k,aM as J,ai as K}from"./vue-router.7d22a765.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]="f7a6809e-4708-4087-9198-f49b65d75591",e._sentryDebugIdIdentifier="sentry-dbid-f7a6809e-4708-4087-9198-f49b65d75591")}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=M({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}=T("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:V="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||(V==="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=M({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}=T("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:V="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||(V==="vertical"?v{const{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:r,lineWidth:i}=e;return{[t]:s(s({},y(e)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.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${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStart:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}})}},B=S("Divider",e=>{const t=w(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[D(t)]},{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(e,t){let{slots:o,attrs:r}=t;const{prefixCls:i,direction:b}=M("divider",e),[v,c]=B(i),f=d(()=>e.orientation==="left"&&e.orientationMargin!=null),g=d(()=>e.orientation==="right"&&e.orientationMargin!=null),$=d(()=>{const{type:n,dashed:l,plain:x}=e,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`]:f.value,[`${a}-no-default-orientation-margin-right`]:g.value}}),m=d(()=>{const n=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return s(s({},f.value&&{marginLeft:n}),g.value&&{marginRight:n})}),p=d(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var n;const l=I((n=o.default)===null||n===void 0?void 0:n.call(o));return v(h("div",u(u({},r),{},{class:[$.value,l.length?`${i.value}-with-text ${i.value}-with-text${p.value}`:"",r.class],role:"separator"}),[l.length?h("span",{class:`${i.value}-inner-text`,style:m.value},[l]):null]))}}}),W=z(G);export{W as A}; +//# sourceMappingURL=index.313ae0a2.js.map diff --git a/abstra_statics/dist/assets/index.eabeddc9.js b/abstra_statics/dist/assets/index.37cd2d5b.js similarity index 82% rename from abstra_statics/dist/assets/index.eabeddc9.js rename to abstra_statics/dist/assets/index.37cd2d5b.js index 2831d346f7..00962b47cd 100644 --- a/abstra_statics/dist/assets/index.eabeddc9.js +++ b/abstra_statics/dist/assets/index.37cd2d5b.js @@ -1,4 +1,4 @@ -import{C as S,A as x}from"./CollapsePanel.e3bd0766.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.7d22a765.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]="8ac09277-da39-48a0-999d-8897145eefe5",e._sentryDebugIdIdentifier="sentry-dbid-8ac09277-da39-48a0-999d-8897145eefe5")}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}),v=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"),b=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:[b.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.79713856.js";import{d as A,ap as D,ah as E,f as L,b as s,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.d93c72db.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]="ae8f7900-ce01-42c9-9fa7-330311710885",e._sentryDebugIdIdentifier="sentry-dbid-ae8f7900-ce01-42c9-9fa7-330311710885")}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}),v=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"),b=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 s("li",{class:t.value},[o&&s("div",{class:`${n.value}-item-label`},[o]),s("div",{class:`${n.value}-item-tail`},null),s("div",{class:[b.value,!!a&&`${n.value}-item-head-custom`],style:{borderColor:u.value,color:u.value}},[a]),s("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.e3bd0766.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",""))}),f=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),[b,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(v,{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 b(d("ul",_(_({},n),{},{class:V}),[j]))}}});f.Item=v;f.install=function(e){return e.component(f.name,f),e.component(v.name,v),e};export{v as A,f as T}; -//# sourceMappingURL=index.eabeddc9.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),[b,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?s(v,{pending:!!m,dot:X||s(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(($,d)=>{const h=d===z-2?B:"",R=d===z-1?B:"";return K($,{class:W([!I&&!!m?h:R,p($,d)])})}),w=C.some($=>{var d,h;return!!(((d=$.props)===null||d===void 0?void 0:d.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 b(s("ul",_(_({},n),{},{class:V}),[j]))}}});S.Item=v;S.install=function(e){return e.component(S.name,S),e.component(v.name,v),e};export{v as A,S as T}; +//# sourceMappingURL=index.37cd2d5b.js.map diff --git a/abstra_statics/dist/assets/index.40daa792.js b/abstra_statics/dist/assets/index.40daa792.js new file mode 100644 index 0000000000..724cbc80f9 --- /dev/null +++ b/abstra_statics/dist/assets/index.40daa792.js @@ -0,0 +1,2 @@ +import{C as o}from"./Card.6f8ccb1f.js";import{d as b,ah as g,bT as i,b as r,bE as d,f as y}from"./vue-router.d93c72db.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]="60196f42-79e1-474d-9b67-37515988026b",e._sentryDebugIdIdentifier="sentry-dbid-60196f42-79e1-474d-9b67-37515988026b")}catch{}})();const _=()=>({prefixCls:String,title:d(),description:d(),avatar:d()}),c=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=c;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(c.name,c),e.component(u.name,u),e};export{u as G,c as M}; +//# sourceMappingURL=index.40daa792.js.map diff --git a/abstra_statics/dist/assets/index.4c73e857.js b/abstra_statics/dist/assets/index.4c73e857.js deleted file mode 100644 index 1589ae7bd9..0000000000 --- a/abstra_statics/dist/assets/index.4c73e857.js +++ /dev/null @@ -1,2 +0,0 @@ -import{u as w,A as r,a as A}from"./Avatar.34816737.js";import{d as I,ah as $,f as k,aK as D,bT as E,aC as G,aE as N,b as l,cN as _,ak as c}from"./vue-router.7d22a765.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]="83e03190-0944-46ce-ad8c-a99b426ae110",e._sentryDebugIdIdentifier="sentry-dbid-83e03190-0944-46ce-ad8c-a99b426ae110")}catch{}})();const j=()=>({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:j(),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,p)=>N(o,{key:`avatar-key-${p}`})),d=s.length;if(a&&a[l(r,{style:x,shape:S},{default:()=>[`+${d-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]))}}}),f=O;r.Group=f;r.install=function(e){return e.component(r.name,r),e.component(f.name,f),e};export{f as G}; -//# sourceMappingURL=index.4c73e857.js.map diff --git a/abstra_statics/dist/assets/index.5dabdfbc.js b/abstra_statics/dist/assets/index.5dabdfbc.js new file mode 100644 index 0000000000..1e4f8c94bc --- /dev/null +++ b/abstra_statics/dist/assets/index.5dabdfbc.js @@ -0,0 +1,2 @@ +import{u as w,A as r,a as A}from"./Avatar.0cc5fd49.js";import{d as I,ah as $,f as k,aK as D,bT as E,aC as G,aE as N,b as l,cN as _,ak as c}from"./vue-router.d93c72db.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]="6ffb3e5f-6eab-41a2-8cea-b77be0df879f",e._sentryDebugIdIdentifier="sentry-dbid-6ffb3e5f-6eab-41a2-8cea-b77be0df879f")}catch{}})();const j=()=>({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:j(),setup(e,n){let{slots:m,attrs:t}=n;const{prefixCls:y,direction:b}=$("avatar",e),i=k(()=>`${y.value}-group`),[v,h]=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`]:b.value==="rtl",[`${t.class}`]:!!t.class,[h.value]:!0},P=E(m,e),s=G(P).map((o,f)=>N(o,{key:`avatar-key-${f}`})),d=s.length;if(a&&a[l(r,{style:x,shape:S},{default:()=>[`+${d-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.5dabdfbc.js.map diff --git a/abstra_statics/dist/assets/index.21dc8b6c.js b/abstra_statics/dist/assets/index.70aedabb.js similarity index 96% rename from abstra_statics/dist/assets/index.21dc8b6c.js rename to abstra_statics/dist/assets/index.70aedabb.js index b02c7c04d5..0b36282165 100644 --- a/abstra_statics/dist/assets/index.21dc8b6c.js +++ b/abstra_statics/dist/assets/index.70aedabb.js @@ -1,5 +1,5 @@ -import{d as z,ah as D,bT as j,b as o,ak as v,au as L,as as re,ds as ie,bn as se,bQ 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 T,aQ as Oe,dx as $e,bL as Ce,bO as _e}from"./vue-router.7d22a765.js";import"./index.4c73e857.js";import{A as we}from"./index.28152a0c.js";import{A as xe}from"./Avatar.34816737.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]="39995d1c-ae8e-45e8-8880-0c8f43549f64",e._sentryDebugIdIdentifier="sentry-dbid-39995d1c-ae8e-45e8-8880-0c8f43549f64")}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}}}),Te=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,bT as j,b as o,ak as v,au as L,as as re,ds as ie,bn as se,bQ 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 T,aQ as Oe,dx as $e,bL as Ce,bO as _e}from"./vue-router.d93c72db.js";import"./index.5dabdfbc.js";import{A as we}from"./index.090b2bf1.js";import{A as xe}from"./Avatar.0cc5fd49.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]="e799f5b1-7f9c-499a-9ce4-2b37b6db61d3",e._sentryDebugIdIdentifier="sentry-dbid-e799f5b1-7f9c-499a-9ce4-2b37b6db61d3")}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}}}),Te=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"}})}},Ae=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[Te(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 A=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]=Ae(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:"/"])}}});A.Item=M;A.Separator=U;A.install=function(e){return e.component(A.name,A),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:T(),prefixCls:String,title:T(),subTitle:T(),breadcrumb:L.object,tags:T(),footer:T(),extra:T(),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(A,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,A as B,U as a,Ke as b}; -//# sourceMappingURL=index.21dc8b6c.js.map +//# sourceMappingURL=index.70aedabb.js.map diff --git a/abstra_statics/dist/assets/index.2d2a728f.js b/abstra_statics/dist/assets/index.7534be11.js similarity index 96% rename from abstra_statics/dist/assets/index.2d2a728f.js rename to abstra_statics/dist/assets/index.7534be11.js index 43c0c742e4..46a64eeb4a 100644 --- a/abstra_statics/dist/assets/index.2d2a728f.js +++ b/abstra_statics/dist/assets/index.7534be11.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 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.7d22a765.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]="e1ebc5d3-57b6-4216-a5d4-e3214c10b263",e._sentryDebugIdIdentifier="sentry-dbid-e1ebc5d3-57b6-4216-a5d4-e3214c10b263")}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.2d2a728f.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.d93c72db.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]="6baa1b98-eaeb-4ece-b990-79f9f28d6509",e._sentryDebugIdIdentifier="sentry-dbid-6baa1b98-eaeb-4ece-b990-79f9f28d6509")}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.7534be11.js.map diff --git a/abstra_statics/dist/assets/index.143dc5b1.js b/abstra_statics/dist/assets/index.77b08602.js similarity index 51% rename from abstra_statics/dist/assets/index.143dc5b1.js rename to abstra_statics/dist/assets/index.77b08602.js index 9fbb449a71..35b3bc8795 100644 --- a/abstra_statics/dist/assets/index.143dc5b1.js +++ b/abstra_statics/dist/assets/index.77b08602.js @@ -1,2 +1,2 @@ -import{a0 as g,a1 as S,a2 as y,S as n,a3 as i,a4 as h,a5 as z,a6 as b,a7 as u,a8 as C}from"./vue-router.7d22a765.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]="fd5e187d-9378-4859-9ad4-bdf38fff835f",o._sentryDebugIdIdentifier="sentry-dbid-fd5e187d-9378-4859-9ad4-bdf38fff835f")}catch{}})();const l=(o,e)=>new g(o).setAlpha(e).toRgbString(),a=(o,e)=>new g(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:l(t,.85),colorTextSecondary:l(t,.65),colorTextTertiary:l(t,.45),colorTextQuaternary:l(t,.25),colorFill:l(t,.18),colorFillSecondary:l(t,.12),colorFillTertiary:l(t,.08),colorFillQuaternary:l(t,.04),colorBgElevated:a(r,12),colorBgContainer:a(r,8),colorBgLayout:a(r,0),colorBgSpotlight:a(r,26),colorBorder:a(r,26),colorBorderSecondary:a(r,19)}},p=(o,e)=>{const r=Object.keys(y).map(s=>{const c=S(o[s],{theme:"dark"});return new Array(10).fill(1).reduce((d,A,f)=>(d[`${s}-${f+1}`]=c[f],d),{})}).reduce((s,c)=>(s=n(n({},s),c),s),{}),t=e!=null?e:i(o);return n(n(n({},t),r),h(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)),b(t)),{controlHeight:s}),z(n(n({},r),{controlHeight:s})))},T=x;function m(){const[o,e,r]=C();return{theme:o,token:e,hashId:r}}const X={defaultConfig:u,defaultSeed:u.token,useToken:m,defaultAlgorithm:i,darkAlgorithm:v,compactAlgorithm:T};export{X as t}; -//# sourceMappingURL=index.143dc5b1.js.map +import{a0 as f,a1 as S,a2 as y,S as n,a3 as i,a4 as h,a5 as z,a6 as b,a7 as g,a8 as C}from"./vue-router.d93c72db.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]="71ac9164-d66a-4626-83b0-feb63df31e83",o._sentryDebugIdIdentifier="sentry-dbid-71ac9164-d66a-4626-83b0-feb63df31e83")}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(y).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),h(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)),b(t)),{controlHeight:s}),z(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.77b08602.js.map diff --git a/abstra_statics/dist/assets/index.8fb2fffd.js b/abstra_statics/dist/assets/index.7c698315.js similarity index 86% rename from abstra_statics/dist/assets/index.8fb2fffd.js rename to abstra_statics/dist/assets/index.7c698315.js index db6d5f9774..4f8170b10f 100644 --- a/abstra_statics/dist/assets/index.8fb2fffd.js +++ b/abstra_statics/dist/assets/index.7c698315.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,ck as Oe,ac as De,ad as Pe,ae as _e,f as T,B as Ne,ah as Te,c7 as Ie,V as Me,bo as je,bT as K,aX as le,dz as re,a$ as Be}from"./vue-router.7d22a765.js";import{i as ie}from"./Badge.c37c51db.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]="6a66a7af-1faa-42b2-b5cb-fcfd0352ae70",e._sentryDebugIdIdentifier="sentry-dbid-6a66a7af-1faa-42b2-b5cb-fcfd0352ae70")}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($)})})},I=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:J,duration:Q,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:I,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:I=>{var{visible:N,afterClose:a}=I,s=de(I,["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:I,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:I,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}),Qe=q({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:me(Je(),{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=T(()=>{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:_}=Te("drawer",e),[I,N]=Ke(b),a=T(()=>e.getContainer===void 0&&(C==null?void 0:C.value)?()=>C.value(document.body):e.getContainer);Ie(!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)},$=T(()=>{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=T(()=>{var n;return(n=e.width)!==null&&n!==void 0?n:e.size==="large"?736:378}),z=T(()=>{var n;return(n=e.height)!==null&&n!==void 0?n:e.size==="large"?736:378}),J=T(()=>{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}),Q=T(()=>{const{zIndex:n,contentWrapperStyle:l}=e,c=J.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=T(()=>G({"no-mask":!e.mask,[`${b.value}-rtl`]:_.value==="rtl"},e.rootClassName,N.value)),H=T(()=>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 I(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:Q.value}),{handler:e.handle?()=>e.handle:t.handle,default:()=>te(b.value)})]}))}}}),tt=_e(Qe);export{tt as A}; -//# sourceMappingURL=index.8fb2fffd.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,ck as Oe,ac as De,ad as Pe,ae as _e,f as T,B as Ne,ah as Te,c7 as Ie,V as Me,bo as je,bT as K,aX as le,dz as re,a$ as Be}from"./vue-router.d93c72db.js";import{i as ie}from"./Badge.819cb645.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]="7412f67a-02dd-45c5-b9af-5936a298f09f",e._sentryDebugIdIdentifier="sentry-dbid-7412f67a-02dd-45c5-b9af-5936a298f09f")}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($)})})},I=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:J,duration:Q,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:I,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:I=>{var{visible:N,afterClose:a}=I,s=de(I,["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:I,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:I,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}),Qe=q({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:me(Je(),{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=T(()=>{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:_}=Te("drawer",e),[I,N]=Ke(g),a=T(()=>e.getContainer===void 0&&(C==null?void 0:C.value)?()=>C.value(document.body):e.getContainer);Ie(!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)},$=T(()=>{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=T(()=>{var n;return(n=e.width)!==null&&n!==void 0?n:e.size==="large"?736:378}),z=T(()=>{var n;return(n=e.height)!==null&&n!==void 0?n:e.size==="large"?736:378}),J=T(()=>{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}),Q=T(()=>{const{zIndex:n,contentWrapperStyle:l}=e,c=J.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=T(()=>G({"no-mask":!e.mask,[`${g.value}-rtl`]:_.value==="rtl"},e.rootClassName,N.value)),H=T(()=>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 I(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:Q.value}),{handler:e.handle?()=>e.handle:t.handle,default:()=>te(g.value)})]}))}}}),tt=_e(Qe);export{tt as A}; +//# sourceMappingURL=index.7c698315.js.map diff --git a/abstra_statics/dist/assets/index.89bac5b6.js b/abstra_statics/dist/assets/index.89bac5b6.js deleted file mode 100644 index 161781bb69..0000000000 --- a/abstra_statics/dist/assets/index.89bac5b6.js +++ /dev/null @@ -1,2 +0,0 @@ -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.7d22a765.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]="d218cb91-8dd4-44c8-8bd1-7ba0fb57c960",t._sentryDebugIdIdentifier="sentry-dbid-d218cb91-8dd4-44c8-8bd1-7ba0fb57c960")}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.89bac5b6.js.map diff --git a/abstra_statics/dist/assets/index.5c08441f.js b/abstra_statics/dist/assets/index.a5c009ed.js similarity index 98% rename from abstra_statics/dist/assets/index.5c08441f.js rename to abstra_statics/dist/assets/index.a5c009ed.js index 8772207193..6a61aa4c5e 100644 --- a/abstra_statics/dist/assets/index.5c08441f.js +++ b/abstra_statics/dist/assets/index.a5c009ed.js @@ -1,5 +1,5 @@ -import{f as b,bZ as Ne,S as k,Q as ke,e as q,aK as ve,az as Me,aE as Fe,V as je,B as We,bU as be,cj as He,g as _e,b7 as Q,b as E,d as Se,W as Be,ak as J,ap as Ae,b$ as ze,bA as de,aW as Ie,c0 as Xe,K as Ue,c3 as qe,b_ as me,aj as ye,as as Ge,au as Ce,c4 as Qe,ac as Ye,c6 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,c8 as it,bu as ct,bt as rt,dy as ut,c9 as dt,bm as vt,dz as Oe,cb as pt,bq as ht,ai as ft}from"./vue-router.7d22a765.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]="16d29abb-8d49-47be-8865-cdad3ba97192",e._sentryDebugIdIdentifier="sentry-dbid-16d29abb-8d49-47be-8865-cdad3ba97192")}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=>{je(Ee,e)},pe=()=>We(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 Q.UP:case Q.DOWN:{let p=0;w===Q.UP?p=-1:w===Q.DOWN&&(p=1),p!==0&&O(p);break}case Q.LEFT:{d.value?$():y();break}case Q.RIGHT:{d.value?y():$();break}case Q.BACKSPACE:{r.searchValue||y();break}case Q.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 Q.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:Y,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($),j=(w=Y.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],W=ee(N),H=C.includes(W),Z=c.has(W),ne=o.has(W),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:W,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":W,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&&j&&E("div",{class:`${P}-loading-icon`},[j])])})])}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(),Y=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),j=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,Y,(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:W}=l,H=!(!((m=(S=j.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:Y,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:j.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(Qe(),["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 Y=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Y,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])}},j=(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:W,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:W,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:j,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,bZ as Ne,S as k,Q as ke,e as q,aK as ve,az as Me,aE as Fe,V as je,B as We,bU as be,cj as He,g as _e,b7 as Q,b as E,d as Se,W as Be,ak as J,ap as Ae,b$ as ze,bA as de,aW as Ie,c0 as Xe,K as Ue,c3 as qe,b_ as me,aj as ye,as as Ge,au as Ce,c4 as Qe,ac as Ye,c6 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,c8 as it,bu as ct,bt as rt,dy as ut,c9 as dt,bm as vt,dz as Oe,cb as pt,bq as ht,ai as ft}from"./vue-router.d93c72db.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]="fdabc193-cd18-4ea9-b239-0a219117abe2",e._sentryDebugIdIdentifier="sentry-dbid-fdabc193-cd18-4ea9-b239-0a219117abe2")}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=>{je(Ee,e)},pe=()=>We(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 Q.UP:case Q.DOWN:{let p=0;w===Q.UP?p=-1:w===Q.DOWN&&(p=1),p!==0&&O(p);break}case Q.LEFT:{d.value?$():y();break}case Q.RIGHT:{d.value?y():$();break}case Q.BACKSPACE:{r.searchValue||y();break}case Q.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 Q.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:Y,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($),j=(w=Y.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],W=ee(N),H=C.includes(W),Z=c.has(W),ne=o.has(W),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:W,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":W,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&&j&&E("div",{class:`${P}-loading-icon`},[j])])})])}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(),Y=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),j=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,Y,(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:W}=l,H=!(!((m=(S=j.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:Y,onToggleOpen:W,checkedSet:_.value,halfCheckedSet:R.value,loadingKeys:D.value,isSelectable:U}),B=(H?[{options:Z}]:j.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(Qe(),["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 Y=b(()=>{const u=oe(P.value),f=Pe(u,C.value,e.showCheckedStrategy);return[...R.value,...O(f)]}),U=Ot(Y,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])}},j=(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:W,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:W,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:j,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=Ye("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),[Y]=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)),j=q();a({focus(){var s;(s=j.value)===null||s===void 0||s.focus()},blur(){var s;(s=j.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:W,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 Y(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`]:!W,[`${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:j}),l)))}}}),jt=tt(k(Mt,{SHOW_CHILD:$e,SHOW_PARENT:De}));export{jt as A}; -//# sourceMappingURL=index.5c08441f.js.map +//# sourceMappingURL=index.a5c009ed.js.map diff --git a/abstra_statics/dist/assets/index.3db2f466.js b/abstra_statics/dist/assets/index.b7b1d42b.js similarity index 94% rename from abstra_statics/dist/assets/index.3db2f466.js rename to abstra_statics/dist/assets/index.b7b1d42b.js index 2cc3cc1d30..ba38ec8ffc 100644 --- a/abstra_statics/dist/assets/index.3db2f466.js +++ b/abstra_statics/dist/assets/index.b7b1d42b.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,bG as ue,dm as ge,bH as fe,bI as pe,dn as me,dp as ve,dq as $e,dr as ye,au as v}from"./vue-router.7d22a765.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]="63f8ab11-1a98-4e0e-a6a8-c8313d18c2d4",e._sentryDebugIdIdentifier="sentry-dbid-63f8ab11-1a98-4e0e-a6a8-c8313d18c2d4")}catch{}})();const B=(e,o,n,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${o}`,[`${a}-icon`]:{color:n}}),be=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:h,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}, +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,bG as ue,dm as ge,bH as fe,bI as pe,dn as me,dp as ve,dq as $e,dr as ye,au as v}from"./vue-router.d93c72db.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]="c98fd876-e526-4ab5-9356-3df4f34e760a",e._sentryDebugIdIdentifier="sentry-dbid-c98fd876-e526-4ab5-9356-3df4f34e760a")}catch{}})();const B=(e,o,n,i,a)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${o}`,[`${a}-icon`]:{color:n}}),be=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:h,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:h,[`${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}}},he=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=>[be(e),he(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)},h=()=>{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:h});const N=w({});return()=>{var l,f,H,T,E,z,A,D,O,L;const{banner:G,closeIcon:P=(l=n.closeIcon)===null||l===void 0?void 0:l.call(n)}=e;let{closable:F,showIcon:b}=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),k=(L=n.action)===null||L===void 0?void 0:L.call(n);b=G&&b===void 0?!0:b;const V=(I?we:xe)[C.value]||null;M&&(F=!0);const t=r.value,j=te(t,{[`${t}-${C.value}`]:!0,[`${t}-closing`]:d.value,[`${t}-with-description`]:!!I,[`${t}-no-icon`]:!b,[`${t}-banner`]:!!G,[`${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(V,{class:`${t}-icon`},null),Q=se(`${t}-motion`,{appear:!1,css:!0,onAfterLeave:h,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,N.value],class:[a.class,j],"data-show":!d.value,ref:m}),[b?q:null,s("div",{class:`${t}-content`},[W?s("div",{class:`${t}-message`},[W]):null,I?s("div",{class:`${t}-description`},[I]):null]),k?s("div",{class:`${t}-action`},[k]):null,X]),[[ce,!d.value]])]}))}}}),Ee=K(He);export{Ee as A}; -//# sourceMappingURL=index.3db2f466.js.map +//# sourceMappingURL=index.b7b1d42b.js.map diff --git a/abstra_statics/dist/assets/index.bf08eae9.js b/abstra_statics/dist/assets/index.bf08eae9.js deleted file mode 100644 index b2cfdd8b8c..0000000000 --- a/abstra_statics/dist/assets/index.bf08eae9.js +++ /dev/null @@ -1,2 +0,0 @@ -import{C as o}from"./Card.ea12dbe7.js";import{d as g,ah as b,bT as i,b as r,bE as d,f as y}from"./vue-router.7d22a765.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]="251ff045-ff4c-4df8-9e3e-0a534c153d50",e._sentryDebugIdIdentifier="sentry-dbid-251ff045-ff4c-4df8-9e3e-0a534c153d50")}catch{}})();const _=()=>({prefixCls:String,title:d(),description:d(),avatar:d()}),c=g({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=b("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=i(a,e,"avatar"),f=i(a,e,"title"),v=i(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=f?r("div",{class:`${t.value}-meta-title`},[f]):null,p=v?r("div",{class:`${t.value}-meta-description`},[v]):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=g({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=b("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=c;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(c.name,c),e.component(u.name,u),e};export{u as G,c as M}; -//# sourceMappingURL=index.bf08eae9.js.map diff --git a/abstra_statics/dist/assets/index.caeca3de.js b/abstra_statics/dist/assets/index.caeca3de.js deleted file mode 100644 index 65cfa61f5f..0000000000 --- a/abstra_statics/dist/assets/index.caeca3de.js +++ /dev/null @@ -1,2 +0,0 @@ -import{B as n,R as d}from"./Badge.c37c51db.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]="2806097c-74da-4ce0-9138-aa5b406ac849",e._sentryDebugIdIdentifier="sentry-dbid-2806097c-74da-4ce0-9138-aa5b406ac849")}catch{}})();n.install=function(e){return e.component(n.name,n),e.component(d.name,d),e}; -//# sourceMappingURL=index.caeca3de.js.map diff --git a/abstra_statics/dist/assets/index.151277c7.js b/abstra_statics/dist/assets/index.ce793f1f.js similarity index 96% rename from abstra_statics/dist/assets/index.151277c7.js rename to abstra_statics/dist/assets/index.ce793f1f.js index fa3d1d4d99..eb932e7092 100644 --- a/abstra_statics/dist/assets/index.151277c7.js +++ b/abstra_statics/dist/assets/index.ce793f1f.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 E,ai as oe,dj as fe,dH as pe,dI as he,ac as ye,ad as Se,S as w,ao as be,ap as xe,V as Ie,bA as te,f as C,g as Ce,aO as _e,dJ as Le,bP as ze,dk as we,bx as Me,aM as ie,at as Pe,bE as G,as as ne,b6 as J,aN as Ee,dG as ae}from"./vue-router.7d22a765.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]="c1e13858-b749-4d92-9c24-275371bfe8bc",e._sentryDebugIdIdentifier="sentry-dbid-c1e13858-b749-4d92-9c24-275371bfe8bc")}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}}),je=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 M=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",j=r(O,E(E({},x),{},{class:oe(`${h}-item`,{[`${h}-item-no-flex`]:!y()},$)}),{default:()=>[o.value==="vertical"&&L?[r("div",{class:`${h}-item-main`,key:"content"},[B,M]),r("div",{class:`${h}-item-extra`,key:"extra"},[L])]:[B,M,$e(L,{key:"extra"})]]});return c.value?r(fe,{flex:1,style:e.colStyle},{default:()=>[j]}):j}}}),He=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}`]:w(w({},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),He(t),Ge(t)]},{contentWidth:220}),Ne=()=>({bordered:ie(),dataSource:Pe(),extra:G(),grid:ne(),itemLayout:String,loading:J([Boolean,Object]),loadMore:G(),pagination:J([Boolean,Object]),prefixCls:String,rowKey:J([String,Number,Function]),renderItem:Ee(),size:String,split:ie(),header:G(),footer:G(),locale:ne()}),_=Y({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:je,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),M=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}),j=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`]:M.value,[`${a.value}-grid`]:!!e.grid,[`${a.value}-rtl`]:y.value==="rtl"})),I=C(()=>{const n=w(w(w({},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 P=(S=e.renderItem)!==null&&S!==void 0?S:i.renderItem;if(!P)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,P({item:n,index:m})};return()=>{var n,m,S,P,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:(P=i.footer)===null||P===void 0?void 0:P.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(w(w({},j.value),{[`${a.value}-something-after-last-item`]:ue}),l.class,g.value),k=e.pagination?r("div",{class:`${a.value}-pagination`},[r(ze,E(E({},I.value),{},{onChange:L,onShowSizeChange:B}),null)]):null;let R=M.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(we,{gutter:e.grid.gutter},{default:()=>[me]}):r("ul",{class:`${a.value}-items`},[ee])}else!Z.length&&!M.value&&(R=r("div",{class:`${a.value}-empty-text`},[((K=e.locale)===null||K===void 0?void 0:K.emptyText)||d("List")]));const H=I.value.position||"bottom";return u(r("div",E(E({},l),{},{class:ge}),[(H==="top"||H==="both")&&k,U&&r("div",{class:`${a.value}-header`},[U]),r(Me,f.value,{default:()=>[R,Z]}),X&&r("div",{class:`${a.value}-footer`},[X]),Q||(H==="bottom"||H==="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,je as a}; -//# sourceMappingURL=index.151277c7.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 E,ai as oe,dj as fe,dH as pe,dI as he,ac as ye,ad as Se,S as w,ao as be,ap as xe,V as Ie,bA as te,f as C,g as Ce,aO as _e,dJ as Le,bP as ze,dk as we,bx as Me,aM as ie,at as Pe,bE as G,as as ne,b6 as J,aN as Ee,dG as ae}from"./vue-router.d93c72db.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]="83f71e86-d6bf-47f8-b16f-36bae0f08167",e._sentryDebugIdIdentifier="sentry-dbid-83f71e86-d6bf-47f8-b16f-36bae0f08167")}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}}),je=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 M=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",j=r(O,E(E({},x),{},{class:oe(`${h}-item`,{[`${h}-item-no-flex`]:!y()},$)}),{default:()=>[o.value==="vertical"&&L?[r("div",{class:`${h}-item-main`,key:"content"},[B,M]),r("div",{class:`${h}-item-extra`,key:"extra"},[L])]:[B,M,$e(L,{key:"extra"})]]});return c.value?r(fe,{flex:1,style:e.colStyle},{default:()=>[j]}):j}}}),He=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}`]:w(w({},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),He(t),Ge(t)]},{contentWidth:220}),Ne=()=>({bordered:ie(),dataSource:Pe(),extra:G(),grid:ne(),itemLayout:String,loading:J([Boolean,Object]),loadMore:G(),pagination:J([Boolean,Object]),prefixCls:String,rowKey:J([String,Number,Function]),renderItem:Ee(),size:String,split:ie(),header:G(),footer:G(),locale:ne()}),_=Y({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:je,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),M=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}),j=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`]:M.value,[`${a.value}-grid`]:!!e.grid,[`${a.value}-rtl`]:y.value==="rtl"})),I=C(()=>{const n=w(w(w({},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 P=(S=e.renderItem)!==null&&S!==void 0?S:i.renderItem;if(!P)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,P({item:n,index:m})};return()=>{var n,m,S,P,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:(P=i.footer)===null||P===void 0?void 0:P.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(w(w({},j.value),{[`${a.value}-something-after-last-item`]:ue}),l.class,g.value),k=e.pagination?r("div",{class:`${a.value}-pagination`},[r(ze,E(E({},I.value),{},{onChange:L,onShowSizeChange:B}),null)]):null;let R=M.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(we,{gutter:e.grid.gutter},{default:()=>[me]}):r("ul",{class:`${a.value}-items`},[ee])}else!Z.length&&!M.value&&(R=r("div",{class:`${a.value}-empty-text`},[((K=e.locale)===null||K===void 0?void 0:K.emptyText)||d("List")]));const H=I.value.position||"bottom";return u(r("div",E(E({},l),{},{class:ge}),[(H==="top"||H==="both")&&k,U&&r("div",{class:`${a.value}-header`},[U]),r(Me,f.value,{default:()=>[R,Z]}),X&&r("div",{class:`${a.value}-footer`},[X]),Q||(H==="bottom"||H==="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,je as a}; +//# sourceMappingURL=index.ce793f1f.js.map diff --git a/abstra_statics/dist/assets/index.d05003c4.js b/abstra_statics/dist/assets/index.d05003c4.js new file mode 100644 index 0000000000..b818e6ce8a --- /dev/null +++ b/abstra_statics/dist/assets/index.d05003c4.js @@ -0,0 +1,2 @@ +import{B as n,R as t}from"./Badge.819cb645.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]="91d9193f-76b1-4d01-ae3c-13a4140373a9",e._sentryDebugIdIdentifier="sentry-dbid-91d9193f-76b1-4d01-ae3c-13a4140373a9")}catch{}})();n.install=function(e){return e.component(n.name,n),e.component(t.name,t),e}; +//# sourceMappingURL=index.d05003c4.js.map diff --git a/abstra_statics/dist/assets/javascript.d062dcfe.js b/abstra_statics/dist/assets/javascript.a23f8305.js similarity index 64% rename from abstra_statics/dist/assets/javascript.d062dcfe.js rename to abstra_statics/dist/assets/javascript.a23f8305.js index 766a4df2e3..ed52909e3b 100644 --- a/abstra_statics/dist/assets/javascript.d062dcfe.js +++ b/abstra_statics/dist/assets/javascript.a23f8305.js @@ -1,7 +1,7 @@ -import{conf as i,language as e}from"./typescript.2dc6758c.js";import"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="160c6a52-028c-4057-9b7c-9343af49714f",t._sentryDebugIdIdentifier="sentry-dbid-160c6a52-028c-4057-9b7c-9343af49714f")}catch{}})();/*!----------------------------------------------------------------------------- +import{conf as i,language as e}from"./typescript.898cd451.js";import"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="846828ad-2443-4e68-9236-3755e150d4ee",t._sentryDebugIdIdentifier="sentry-dbid-846828ad-2443-4e68-9236-3755e150d4ee")}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.d062dcfe.js.map + *-----------------------------------------------------------------------------*/var a=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{a as conf,l as language}; +//# sourceMappingURL=javascript.a23f8305.js.map diff --git a/abstra_statics/dist/assets/jsonMode.0bb47c6f.js b/abstra_statics/dist/assets/jsonMode.aad6c091.js similarity index 99% rename from abstra_statics/dist/assets/jsonMode.0bb47c6f.js rename to abstra_statics/dist/assets/jsonMode.aad6c091.js index a065e435d3..40254d984a 100644 --- a/abstra_statics/dist/assets/jsonMode.0bb47c6f.js +++ b/abstra_statics/dist/assets/jsonMode.aad6c091.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.5f5c4f15.js";import"./vue-router.7d22a765.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]="4f1b32e1-a9c7-4821-b9e5-6b1b1ef7741f",e._sentryDebugIdIdentifier="sentry-dbid-4f1b32e1-a9c7-4821-b9e5-6b1b1ef7741f")}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.6c3d17d3.js";import"./vue-router.d93c72db.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]="fbe7ed1b-ab29-4cb3-afc1-670c114054b0",e._sentryDebugIdIdentifier="sentry-dbid-fbe7ed1b-ab29-4cb3-afc1-670c114054b0")}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.0bb47c6f.js.map +//# sourceMappingURL=jsonMode.aad6c091.js.map diff --git a/abstra_statics/dist/assets/liquid.1bcd4201.js b/abstra_statics/dist/assets/liquid.cf3f438c.js similarity index 93% rename from abstra_statics/dist/assets/liquid.1bcd4201.js rename to abstra_statics/dist/assets/liquid.cf3f438c.js index 7461bb7cc3..d005180a22 100644 --- a/abstra_statics/dist/assets/liquid.1bcd4201.js +++ b/abstra_statics/dist/assets/liquid.cf3f438c.js @@ -1,7 +1,7 @@ -import{m as d}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="3890d791-9ee6-40aa-95c6-a68d5a5e97ec",t._sentryDebugIdIdentifier="sentry-dbid-3890d791-9ee6-40aa-95c6-a68d5a5e97ec")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as d}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="e68606fe-3069-453c-8631-f0c581c9b64f",t._sentryDebugIdIdentifier="sentry-dbid-e68606fe-3069-453c-8631-f0c581c9b64f")}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.1bcd4201.js.map +//# sourceMappingURL=liquid.cf3f438c.js.map diff --git a/abstra_statics/dist/assets/member.3cef82aa.js b/abstra_statics/dist/assets/member.0180b3b8.js similarity index 76% rename from abstra_statics/dist/assets/member.3cef82aa.js rename to abstra_statics/dist/assets/member.0180b3b8.js index 503505a2d5..a373b98f96 100644 --- a/abstra_statics/dist/assets/member.3cef82aa.js +++ b/abstra_statics/dist/assets/member.0180b3b8.js @@ -1,2 +1,2 @@ -import{C as n}from"./gateway.6da513da.js";import"./vue-router.7d22a765.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]="0a83ffa8-39bd-4875-bc2b-34a457d6b096",r._sentryDebugIdIdentifier="sentry-dbid-0a83ffa8-39bd-4875-bc2b-34a457d6b096")}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.3cef82aa.js.map +import{C as n}from"./gateway.0306d327.js";import"./vue-router.d93c72db.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]="d5f93bc5-e546-43ea-bf6f-b1e3d61a2bea",r._sentryDebugIdIdentifier="sentry-dbid-d5f93bc5-e546-43ea-bf6f-b1e3d61a2bea")}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.0180b3b8.js.map diff --git a/abstra_statics/dist/assets/metadata.9b52bd89.js b/abstra_statics/dist/assets/metadata.7b1155be.js similarity index 97% rename from abstra_statics/dist/assets/metadata.9b52bd89.js rename to abstra_statics/dist/assets/metadata.7b1155be.js index 67c5189f7c..28e45c3d6f 100644 --- a/abstra_statics/dist/assets/metadata.9b52bd89.js +++ b/abstra_statics/dist/assets/metadata.7b1155be.js @@ -1,2 +1,2 @@ -import{G as V}from"./PhBug.vue.fd83bab4.js";import{H as A}from"./PhCheckCircle.vue.912aee3f.js";import{d as g,B as n,f as s,o as t,X as l,Z,R as c,e8 as y,a as i}from"./vue-router.7d22a765.js";import{G as M}from"./PhKanban.vue.76078103.js";import{F as f,G as w,a as k,I as b}from"./PhWebhooksLogo.vue.4693bfce.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]="8b98be0c-0945-40d2-8604-df88b499e2e8",r._sentryDebugIdIdentifier="sentry-dbid-8b98be0c-0945-40d2-8604-df88b499e2e8")}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),[Z(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)):c("",!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"},Z0=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),[Z(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)):c("",!0)],16,Q))}}),c0=["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),[Z(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)):c("",!0)],16,c0))}}),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),[Z(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)):c("",!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},Z1=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),c1=[Z1],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),[Z(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,c1)):o.value==="light"?(t(),l("g",y1,V1)):o.value==="regular"?(t(),l("g",A1,f1)):o.value==="thin"?(t(),l("g",w1,b1)):c("",!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"?Z0:z1(r);export{G0 as F,L1 as i,z1 as s,P1 as w}; -//# sourceMappingURL=metadata.9b52bd89.js.map +import{G as V}from"./PhBug.vue.2cdd0af8.js";import{H as A}from"./PhCheckCircle.vue.68babecd.js";import{d as g,B as n,f as s,o as t,X as l,Z,R as c,e8 as y,a as i}from"./vue-router.d93c72db.js";import{G as M}from"./PhKanban.vue.04c2aadb.js";import{F as f,G as w,a as k,I as b}from"./PhWebhooksLogo.vue.ea2526db.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]="465570b0-d879-4ed9-94a4-00c2a2bd8580",r._sentryDebugIdIdentifier="sentry-dbid-465570b0-d879-4ed9-94a4-00c2a2bd8580")}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),[Z(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)):c("",!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"},Z0=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),[Z(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)):c("",!0)],16,Q))}}),c0=["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),[Z(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)):c("",!0)],16,c0))}}),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),[Z(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)):c("",!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},Z1=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),c1=[Z1],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),[Z(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,c1)):o.value==="light"?(t(),l("g",y1,V1)):o.value==="regular"?(t(),l("g",A1,f1)):o.value==="thin"?(t(),l("g",w1,b1)):c("",!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"?Z0:z1(r);export{G0 as F,L1 as i,z1 as s,P1 as w}; +//# sourceMappingURL=metadata.7b1155be.js.map diff --git a/abstra_statics/dist/assets/organization.6c6a96b2.js b/abstra_statics/dist/assets/organization.f08e73b1.js similarity index 78% rename from abstra_statics/dist/assets/organization.6c6a96b2.js rename to abstra_statics/dist/assets/organization.f08e73b1.js index 864f28b211..72dee463b5 100644 --- a/abstra_statics/dist/assets/organization.6c6a96b2.js +++ b/abstra_statics/dist/assets/organization.f08e73b1.js @@ -1,2 +1,2 @@ -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.6da513da.js";import"./vue-router.7d22a765.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]="84d7e18b-3424-4c4e-a9e9-e7359da5f2b3",a._sentryDebugIdIdentifier="sentry-dbid-84d7e18b-3424-4c4e-a9e9-e7359da5f2b3")}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.6c6a96b2.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.0306d327.js";import"./vue-router.d93c72db.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]="27c34a49-c30d-4550-aa96-b10d1e2d20af",a._sentryDebugIdIdentifier="sentry-dbid-27c34a49-c30d-4550-aa96-b10d1e2d20af")}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.f08e73b1.js.map diff --git a/abstra_statics/dist/assets/player.33ed16f0.js b/abstra_statics/dist/assets/player.33ed16f0.js deleted file mode 100644 index 8eb5a6a631..0000000000 --- a/abstra_statics/dist/assets/player.33ed16f0.js +++ /dev/null @@ -1,2 +0,0 @@ -import{k as n,T as a,m as r,P as o,C as d,M as c,s as f,n as s,p,q as m,t as u,v as b}from"./vue-router.7d22a765.js";import{s as g,c as y,a as i}from"./workspaceStore.1847e3fb.js";import{_ as l}from"./App.vue_vue_type_style_index_0_lang.15150957.js";import"./url.396c837f.js";import"./colorHelpers.e5ec8c13.js";import"./PlayerConfigProvider.b00461a5.js";import"./index.143dc5b1.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]="fd3f3b0f-c873-44db-93cf-ca11feb27c5d",t._sentryDebugIdIdentifier="sentry-dbid-fd3f3b0f-c873-44db-93cf-ca11feb27c5d")}catch{}})();class w{static init(){setInterval(()=>fetch("/_version"),20*1e3)}}(async()=>{await g();const t=y(),e=n({render:()=>p(l)});a.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",c),e.component("Message",f),s(e,m),s(e,u),s(e,b)})(); -//# sourceMappingURL=player.33ed16f0.js.map diff --git a/abstra_statics/dist/assets/player.596410c3.js b/abstra_statics/dist/assets/player.596410c3.js new file mode 100644 index 0000000000..2014baae5b --- /dev/null +++ b/abstra_statics/dist/assets/player.596410c3.js @@ -0,0 +1,2 @@ +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 m,q as u,t as f,v as g}from"./vue-router.d93c72db.js";import{s as y,c as l,a as i}from"./workspaceStore.f24e9a7b.js";import{_ as w}from"./App.vue_vue_type_style_index_0_lang.e6e6760c.js";import"./url.8e8c3899.js";import"./colorHelpers.24f5763b.js";import"./PlayerConfigProvider.46a07e66.js";import"./index.77b08602.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]="0008dd57-5ac5-41e3-9072-19584a6d4c69",t._sentryDebugIdIdentifier="sentry-dbid-0008dd57-5ac5-41e3-9072-19584a6d4c69")}catch{}})();class _{static init(){setInterval(()=>fetch("/_version"),20*1e3)}}(async()=>{await y();const t=l(),e=a({render:()=>m(w)});n.init(),r(e,i),_.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,u),s(e,f),s(e,g)})(); +//# sourceMappingURL=player.596410c3.js.map diff --git a/abstra_statics/dist/assets/plotly.min.8ccc6e7a.js b/abstra_statics/dist/assets/plotly.min.93c684d4.js similarity index 99% rename from abstra_statics/dist/assets/plotly.min.8ccc6e7a.js rename to abstra_statics/dist/assets/plotly.min.93c684d4.js index 8afd7384b0..1bdbbad82f 100644 --- a/abstra_statics/dist/assets/plotly.min.8ccc6e7a.js +++ b/abstra_statics/dist/assets/plotly.min.93c684d4.js @@ -1,4 +1,4 @@ -import{eH as Td}from"./vue-router.7d22a765.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]="f2981204-31f1-4fc1-91b7-62964805a10b",Cs._sentryDebugIdIdentifier="sentry-dbid-f2981204-31f1-4fc1-91b7-62964805a10b")}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.d93c72db.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]="3c2ad5d6-e0b9-4671-a07f-e173022d01a2",Cs._sentryDebugIdIdentifier="sentry-dbid-3c2ad5d6-e0b9-4671-a07f-e173022d01a2")}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:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{a as u}; +//# sourceMappingURL=polling.be8756ca.js.map diff --git a/abstra_statics/dist/assets/polling.f65e8dae.js b/abstra_statics/dist/assets/polling.f65e8dae.js deleted file mode 100644 index 2b20ebd043..0000000000 --- a/abstra_statics/dist/assets/polling.f65e8dae.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.7d22a765.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]="af15d4f5-cff4-4f6b-ab27-e6f180ffc6a0",e._sentryDebugIdIdentifier="sentry-dbid-af15d4f5-cff4-4f6b-ab27-e6f180ffc6a0")}catch{}})();const l=1e3,s=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var f;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(f=e.interval)!=null?f:l)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{s as u}; -//# sourceMappingURL=polling.f65e8dae.js.map diff --git a/abstra_statics/dist/assets/popupNotifcation.f48fd864.js b/abstra_statics/dist/assets/popupNotifcation.f48fd864.js deleted file mode 100644 index 03405a3024..0000000000 --- a/abstra_statics/dist/assets/popupNotifcation.f48fd864.js +++ /dev/null @@ -1,2 +0,0 @@ -import{cL as o}from"./vue-router.7d22a765.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]="6846be8c-2b7b-48d2-8479-9b97544f13c8",e._sentryDebugIdIdentifier="sentry-dbid-6846be8c-2b7b-48d2-8479-9b97544f13c8")}catch{}})();const d=(e,r,n)=>{o.error({message:e,description:r,onClick:n})};export{d as p}; -//# sourceMappingURL=popupNotifcation.f48fd864.js.map diff --git a/abstra_statics/dist/assets/popupNotifcation.fcd4681e.js b/abstra_statics/dist/assets/popupNotifcation.fcd4681e.js new file mode 100644 index 0000000000..45a696edbb --- /dev/null +++ b/abstra_statics/dist/assets/popupNotifcation.fcd4681e.js @@ -0,0 +1,2 @@ +import{cL as o}from"./vue-router.d93c72db.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]="326c21a9-2cea-4f16-8903-7ab058809cf5",e._sentryDebugIdIdentifier="sentry-dbid-326c21a9-2cea-4f16-8903-7ab058809cf5")}catch{}})();const f=(e,r,n)=>{o.error({message:e,description:r,onClick:n})};export{f as p}; +//# sourceMappingURL=popupNotifcation.fcd4681e.js.map diff --git a/abstra_statics/dist/assets/project.8378b21f.js b/abstra_statics/dist/assets/project.cdada735.js similarity index 88% rename from abstra_statics/dist/assets/project.8378b21f.js rename to abstra_statics/dist/assets/project.cdada735.js index c4c0c65677..a5b06355a4 100644 --- a/abstra_statics/dist/assets/project.8378b21f.js +++ b/abstra_statics/dist/assets/project.cdada735.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.c63163fa.js";import{C as n}from"./gateway.6da513da.js";import"./vue-router.7d22a765.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]="952d5dfc-245c-4cdf-b6e7-9b7712216a10",r._sentryDebugIdIdentifier="sentry-dbid-952d5dfc-245c-4cdf-b6e7-9b7712216a10")}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.8378b21f.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.a553a696.js";import{C as n}from"./gateway.0306d327.js";import"./vue-router.d93c72db.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]="3ac6033f-7639-4dac-88da-f2fe3f162660",r._sentryDebugIdIdentifier="sentry-dbid-3ac6033f-7639-4dac-88da-f2fe3f162660")}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.cdada735.js.map diff --git a/abstra_statics/dist/assets/python.0ffed9b0.js b/abstra_statics/dist/assets/python.5281c1a6.js similarity index 90% rename from abstra_statics/dist/assets/python.0ffed9b0.js rename to abstra_statics/dist/assets/python.5281c1a6.js index aa1604122f..fcc305ef72 100644 --- a/abstra_statics/dist/assets/python.0ffed9b0.js +++ b/abstra_statics/dist/assets/python.5281c1a6.js @@ -1,7 +1,7 @@ -import{m as a}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="6bd060d2-1aca-4f09-8660-b36162659410",t._sentryDebugIdIdentifier="sentry-dbid-6bd060d2-1aca-4f09-8660-b36162659410")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as a}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="61066dfd-8470-4fff-97bf-6ec90a67e1ca",t._sentryDebugIdIdentifier="sentry-dbid-61066dfd-8470-4fff-97bf-6ec90a67e1ca")}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 f={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{f as conf,m as language}; -//# sourceMappingURL=python.0ffed9b0.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.5281c1a6.js.map diff --git a/abstra_statics/dist/assets/razor.29a87d87.js b/abstra_statics/dist/assets/razor.eb40ab27.js similarity index 95% rename from abstra_statics/dist/assets/razor.29a87d87.js rename to abstra_statics/dist/assets/razor.eb40ab27.js index 7ecec73f63..4cb24238c8 100644 --- a/abstra_statics/dist/assets/razor.29a87d87.js +++ b/abstra_statics/dist/assets/razor.eb40ab27.js @@ -1,7 +1,7 @@ -import{m as s}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="afb3fc4a-4dff-4bbd-9c66-2298d5dfadbf",t._sentryDebugIdIdentifier="sentry-dbid-afb3fc4a-4dff-4bbd-9c66-2298d5dfadbf")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as s}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="a34ead04-5a0c-4758-ac48-83edfb17d9d7",t._sentryDebugIdIdentifier="sentry-dbid-a34ead04-5a0c-4758-ac48-83edfb17d9d7")}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,n)=>{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:!(n=l(e,o))||n.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),a={};h(a,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:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.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.29a87d87.js.map + *-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,n)=>{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:!(n=l(e,o))||n.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),a={};h(a,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:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.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.eb40ab27.js.map diff --git a/abstra_statics/dist/assets/record.c63163fa.js b/abstra_statics/dist/assets/record.a553a696.js similarity index 75% rename from abstra_statics/dist/assets/record.c63163fa.js rename to abstra_statics/dist/assets/record.a553a696.js index 8209df20f1..0d61e49bfa 100644 --- a/abstra_statics/dist/assets/record.c63163fa.js +++ b/abstra_statics/dist/assets/record.a553a696.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{Q as g,y as c,ej as d}from"./vue-router.7d22a765.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]="dd1e89f2-269f-46fc-ba6f-4ccd75f7dcc2",e._sentryDebugIdIdentifier="sentry-dbid-dd1e89f2-269f-46fc-ba6f-4ccd75f7dcc2")}catch{}})();class b{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 r extends h{constructor(s,i){super(i);n(this,"api");this.api=s}static create(s,i){return c(new r(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{r as A,h as E}; -//# sourceMappingURL=record.c63163fa.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{Q as g,y as r,ej as p}from"./vue-router.d93c72db.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]="0eed6a90-5cf4-41cd-8694-a73a2095956f",e._sentryDebugIdIdentifier="sentry-dbid-0eed6a90-5cf4-41cd-8694-a73a2095956f")}catch{}})();class b{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&&!p.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.a553a696.js.map diff --git a/abstra_statics/dist/assets/repository.c27893d1.js b/abstra_statics/dist/assets/repository.a9bba470.js similarity index 66% rename from abstra_statics/dist/assets/repository.c27893d1.js rename to abstra_statics/dist/assets/repository.a9bba470.js index 9554960cec..1f71cf7a60 100644 --- a/abstra_statics/dist/assets/repository.c27893d1.js +++ b/abstra_statics/dist/assets/repository.a9bba470.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.6da513da.js";import{l as u}from"./fetch.8d81adbd.js";import{E as l}from"./record.c63163fa.js";import"./vue-router.7d22a765.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]="00c30f5b-1f28-483e-a407-cc46f7d0694d",r._sentryDebugIdIdentifier="sentry-dbid-00c30f5b-1f28-483e-a407-cc46f7d0694d")}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 b{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{b as C,$ as E}; -//# sourceMappingURL=repository.c27893d1.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 c=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{C as a}from"./gateway.0306d327.js";import{l as u}from"./fetch.a18f4d89.js";import{E as l}from"./record.a553a696.js";import"./vue-router.d93c72db.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]="e41f26e1-0996-4afd-91c0-2ebf6310dee2",r._sentryDebugIdIdentifier="sentry-dbid-e41f26e1-0996-4afd-91c0-2ebf6310dee2")}catch{}})();class i{constructor(t){c(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 i(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(){c(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 b{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(i.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(i.from)}}export{b as C,$ as E}; +//# sourceMappingURL=repository.a9bba470.js.map diff --git a/abstra_statics/dist/assets/router.10d9d8b6.js b/abstra_statics/dist/assets/router.10d9d8b6.js new file mode 100644 index 0000000000..fcaa37fe20 --- /dev/null +++ b/abstra_statics/dist/assets/router.10d9d8b6.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 m,dj as h,dk as u,cL as b,dl as E,h as A,i as g,_ as o,j as w}from"./vue-router.d93c72db.js";import{C as c,a as v}from"./gateway.0306d327.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]="e4de14c3-14ec-49de-9cca-42b9644fd1c5",t._sentryDebugIdIdentifier="sentry-dbid-e4de14c3-14ec-49de-9cca-42b9644fd1c5")}catch{}})();const R=m(h),T=m(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 p=A({history:g("/"),routes:[{path:"/widget-preview",name:"widget-preview",component:()=>o(()=>import("./WidgetPreview.6fc52795.js"),["assets/WidgetPreview.6fc52795.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Steps.5f0ada68.js","assets/index.03f6e8fc.js","assets/Steps.4d03c6c1.css","assets/PlayerConfigProvider.46a07e66.js","assets/colorHelpers.24f5763b.js","assets/index.77b08602.js","assets/PlayerConfigProvider.8864c905.css","assets/WidgetPreview.0208942c.css"]),meta:{allowUnauthenticated:!0,title:"Preview - Abstra Console"}},{path:"/login",name:"login",component:()=>o(()=>import("./Login.297935f9.js"),["assets/Login.297935f9.js","assets/CircularLoading.8a9b1f0b.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/CircularLoading.1a558a0d.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/string.d10c3089.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/Login.daddff0b.css"]),meta:{allowUnauthenticated:!0,title:"Login - Abstra Console"}},{path:"/api-key",name:"api-key",component:()=>o(()=>import("./EditorLogin.e7aa887a.js"),["assets/EditorLogin.e7aa887a.js","assets/Navbar.b657ea73.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/PhChats.vue.860dd615.js","assets/PhSignOut.vue.33fd1944.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/index.090b2bf1.js","assets/Avatar.0cc5fd49.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/BookOutlined.1dc76168.js","assets/Navbar.a899b0d6.css","assets/url.8e8c3899.js","assets/apiKey.969edb77.js","assets/organization.f08e73b1.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.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.0243c23f.js"),["assets/Organizations.0243c23f.js","assets/Navbar.b657ea73.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/PhChats.vue.860dd615.js","assets/PhSignOut.vue.33fd1944.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/index.090b2bf1.js","assets/Avatar.0cc5fd49.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/BookOutlined.1dc76168.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/CrudView.57fcf015.css","assets/ant-design.2a356765.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/PhPencil.vue.c378280c.js","assets/organization.f08e73b1.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/string.d10c3089.js"]),meta:{title:"Organizations - Abstra Console"}},{path:"/organizations/:organizationId",name:"organization",component:()=>o(()=>import("./Organization.073c4713.js"),["assets/Organization.073c4713.js","assets/Navbar.b657ea73.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/PhChats.vue.860dd615.js","assets/PhSignOut.vue.33fd1944.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/index.090b2bf1.js","assets/Avatar.0cc5fd49.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/BookOutlined.1dc76168.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/organization.f08e73b1.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/string.d10c3089.js","assets/Sidebar.3850812b.js","assets/index.b7b1d42b.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/index.313ae0a2.js","assets/Sidebar.e69f49bd.css"]),redirect:{name:"projects"},children:[{path:"projects",name:"projects",component:()=>o(()=>import("./Projects.bff9e15c.js"),["assets/Projects.bff9e15c.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/ant-design.2a356765.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/organization.f08e73b1.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/PhCopy.vue.1dad710f.js","assets/PhPencil.vue.c378280c.js"]),meta:{title:"Projects - Abstra Console"}},{path:"editors",name:"editors",component:()=>o(()=>import("./Editors.18dacbdd.js"),["assets/Editors.18dacbdd.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/ant-design.2a356765.js","assets/asyncComputed.d2f65d62.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/member.0180b3b8.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/string.d10c3089.js"]),meta:{title:"Editors - Abstra Console"}},{path:"members",redirect:{name:"editors"}},{path:"billing",name:"billing",component:()=>o(()=>import("./Billing.c951389d.js"),["assets/Billing.c951389d.js","assets/asyncComputed.d2f65d62.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/organization.f08e73b1.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/string.d10c3089.js","assets/LoadingContainer.075249df.js","assets/LoadingContainer.56fa997a.css","assets/index.313ae0a2.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js"]),meta:{title:"Billing - Abstra Console"}}]},{path:"/projects/:projectId",name:"project",component:()=>o(()=>import("./Project.08cbf5d1.js"),["assets/Project.08cbf5d1.js","assets/Navbar.b657ea73.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/PhChats.vue.860dd615.js","assets/PhSignOut.vue.33fd1944.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/index.090b2bf1.js","assets/Avatar.0cc5fd49.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/BookOutlined.1dc76168.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/organization.f08e73b1.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/Sidebar.3850812b.js","assets/index.b7b1d42b.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/index.313ae0a2.js","assets/Sidebar.e69f49bd.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/PhIdentificationBadge.vue.3ad9df43.js","assets/PhCube.vue.ef7f4c31.js","assets/PhGlobe.vue.7f5461d7.js","assets/Project.738d2762.css"]),redirect:{name:"live"},children:[{path:"live",name:"live",component:()=>o(()=>import("./Live.2e2d1bca.js"),["assets/Live.2e2d1bca.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/datetime.bb5ad11f.js","assets/organization.f08e73b1.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/polling.be8756ca.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.0af37bda.js","assets/LoadingOutlined.e222117b.js","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/PhChats.vue.860dd615.js","assets/PhCopySimple.vue.393b6f24.js","assets/Live.1f5cfa1c.css"]),meta:{title:"Project - Abstra Console"}},{path:"builds",name:"builds",component:()=>o(()=>import("./Builds.bd6d5efb.js"),["assets/Builds.bd6d5efb.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/datetime.bb5ad11f.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/polling.be8756ca.js","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/PhCube.vue.ef7f4c31.js","assets/PhDownloadSimple.vue.798ada40.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/index.ce793f1f.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/CloseCircleOutlined.f1ce344f.js","assets/LoadingOutlined.e222117b.js","assets/Builds.8dab7d81.css"]),meta:{title:"Builds - Abstra Console"}},{path:"connectors",name:"connectors",component:()=>o(()=>import("./ConnectorsView.698bca9e.js"),["assets/ConnectorsView.698bca9e.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/Avatar.0cc5fd49.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/index.090b2bf1.js","assets/ConnectorsView.464982fb.css"]),meta:{title:"Connectors - Abstra Console"}},{path:"tables",name:"tables",component:()=>o(()=>import("./Tables.6a8325ce.js"),["assets/Tables.6a8325ce.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/string.d10c3089.js","assets/PhPencil.vue.c378280c.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/ant-design.2a356765.js"]),meta:{title:"Tables - Abstra Console"}},{path:"sql",name:"sql",component:()=>o(()=>import("./Sql.c9a3b1aa.js"),["assets/Sql.c9a3b1aa.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/utils.83debec2.js","assets/PhDownloadSimple.vue.798ada40.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/Sql.8ce6a064.css"]),meta:{title:"SQL Editor - Abstra Console"}},{path:"api-keys",name:"api-keys",component:()=>o(()=>import("./ApiKeys.545d60a6.js"),["assets/ApiKeys.545d60a6.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.d2f65d62.js","assets/apiKey.969edb77.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/member.0180b3b8.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css"]),meta:{title:"API Keys - Abstra Console"}},{path:"logs",name:"logs",component:()=>o(()=>import("./Logs.4c1923f2.js"),["assets/Logs.4c1923f2.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/datetime.bb5ad11f.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.0af37bda.js","assets/LoadingOutlined.e222117b.js","assets/string.d10c3089.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/ant-design.2a356765.js","assets/index.090b2bf1.js","assets/dayjs.5902ed44.js","assets/CollapsePanel.79713856.js","assets/Logs.862ab706.css"]),meta:{title:"Logs - Abstra Console"}},{path:"settings",name:"project-settings",component:()=>o(()=>import("./ProjectSettings.39a2d12d.js"),["assets/ProjectSettings.39a2d12d.js","assets/asyncComputed.d2f65d62.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.090b2bf1.js"]),meta:{title:"Project Settings - Abstra Console"}},{path:"env-vars",name:"env-vars",component:()=>o(()=>import("./EnvVars.c90017c4.js"),["assets/EnvVars.c90017c4.js","assets/View.vue_vue_type_script_setup_true_lang.732befe4.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/fetch.a18f4d89.js","assets/record.a553a696.js","assets/SaveButton.3f760a03.js","assets/UnsavedChangesHandler.9048a281.js","assets/ExclamationCircleOutlined.b91f0cc2.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.574d257b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/Badge.819cb645.js","assets/index.090b2bf1.js","assets/CrudView.57fcf015.css","assets/asyncComputed.d2f65d62.js","assets/polling.be8756ca.js","assets/PhPencil.vue.c378280c.js","assets/index.b7b1d42b.js"]),meta:{title:"Environment Variables - Abstra Console"}},{path:"files",name:"files",component:()=>o(()=>import("./Files.ac1281a4.js"),["assets/Files.ac1281a4.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/popupNotifcation.fcd4681e.js","assets/ant-design.2a356765.js","assets/asyncComputed.d2f65d62.js","assets/gateway.0306d327.js","assets/tables.fd84686b.js","assets/record.a553a696.js","assets/string.d10c3089.js","assets/DeleteOutlined.992cbf70.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/Files.06562802.css"]),meta:{title:"Files - Abstra Console"}},{path:"access-control",name:"access-control",component:()=>o(()=>import("./View.4ddc6e5b.js"),["assets/View.4ddc6e5b.js","assets/asyncComputed.d2f65d62.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/index.090b2bf1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4fbca1c.js","assets/BookOutlined.1dc76168.js","assets/index.7c698315.js","assets/Badge.819cb645.js","assets/CrudView.574d257b.js","assets/url.8e8c3899.js","assets/PhDotsThreeVertical.vue.1a5d5231.js","assets/CrudView.57fcf015.css","assets/PhPencil.vue.c378280c.js","assets/repository.a9bba470.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/fetch.a18f4d89.js","assets/record.a553a696.js","assets/ant-design.2a356765.js","assets/TabPane.820835b5.js"]),meta:{title:"Access Control - Abstra Console"}}]},{path:"/projects/:projectId/tables/:tableId",name:"tableEditor",component:()=>o(()=>import("./TableEditor.d720f1fb.js"),["assets/TableEditor.d720f1fb.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.4be09425.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.d2f65d62.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/organization.f08e73b1.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/ContentLayout.cc8de746.js","assets/ContentLayout.ee57a545.css","assets/index.090b2bf1.js","assets/index.7c698315.js","assets/Badge.819cb645.js","assets/PhCheckCircle.vue.68babecd.js","assets/index.a5c009ed.js","assets/PhArrowDown.vue.4dd765b6.js","assets/ant-design.2a356765.js","assets/PhCaretRight.vue.246b48ee.js","assets/LoadingOutlined.e222117b.js","assets/index.70aedabb.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/TableEditor.1e680eaf.css"]),meta:{title:"Tables - Abstra Console"}},{path:"/projects/:projectId/web-editor",name:"web-editor",component:()=>o(()=>import("./WebEditor.f217f590.js"),["assets/WebEditor.f217f590.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/BaseLayout.53dfe4a0.js","assets/BaseLayout.b7a1f19a.css","assets/fetch.a18f4d89.js","assets/gateway.0306d327.js","assets/popupNotifcation.fcd4681e.js","assets/project.cdada735.js","assets/record.a553a696.js","assets/tables.fd84686b.js","assets/string.d10c3089.js","assets/WebEditor.bac6e8fe.css"]),meta:{title:"Web Editor - Abstra Console"}},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}}],scrollBehavior(t){if(t.hash)return{el:t.hash}}});p.beforeEach(async(t,e)=>{w(t,e);const a=v.getAuthor();if(!t.meta.allowUnauthenticated&&!a){await p.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,p as r}; +//# sourceMappingURL=router.10d9d8b6.js.map diff --git a/abstra_statics/dist/assets/router.efcfb7fa.js b/abstra_statics/dist/assets/router.efcfb7fa.js deleted file mode 100644 index cd88545672..0000000000 --- a/abstra_statics/dist/assets/router.efcfb7fa.js +++ /dev/null @@ -1,2 +0,0 @@ -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 m,dj as h,dk as u,cL as b,dl as E,h as A,i as g,_ as o,j as w}from"./vue-router.7d22a765.js";import{C as c,a as v}from"./gateway.6da513da.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]="120dc5ac-7b17-49a7-8cc3-8c8744e5d307",t._sentryDebugIdIdentifier="sentry-dbid-120dc5ac-7b17-49a7-8cc3-8c8744e5d307")}catch{}})();const R=m(h),T=m(u);class I{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||I.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 f{async createSession(e){await c.post("usage/sessions",e)}async trackBrowserEvent(e){await c.post("usage/browser",e)}}const s=new f;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 p=A({history:g("/"),routes:[{path:"/widget-preview",name:"widget-preview",component:()=>o(()=>import("./WidgetPreview.09072062.js"),["assets/WidgetPreview.09072062.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Steps.db3ca432.js","assets/index.d9edc3f8.js","assets/Steps.4d03c6c1.css","assets/PlayerConfigProvider.b00461a5.js","assets/colorHelpers.e5ec8c13.js","assets/index.143dc5b1.js","assets/PlayerConfigProvider.8864c905.css","assets/WidgetPreview.0208942c.css"]),meta:{allowUnauthenticated:!0,title:"Preview - Abstra Console"}},{path:"/login",name:"login",component:()=>o(()=>import("./Login.258aa872.js"),["assets/Login.258aa872.js","assets/CircularLoading.313ca01b.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/CircularLoading.1a558a0d.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/string.042fe6bc.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/Login.daddff0b.css"]),meta:{allowUnauthenticated:!0,title:"Login - Abstra Console"}},{path:"/api-key",name:"api-key",component:()=>o(()=>import("./EditorLogin.ab039a43.js"),["assets/EditorLogin.ab039a43.js","assets/Navbar.2cc2e0ee.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/PhChats.vue.afcd5876.js","assets/PhSignOut.vue.618d1f5c.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/index.28152a0c.js","assets/Avatar.34816737.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/BookOutlined.238b8620.js","assets/Navbar.a899b0d6.css","assets/url.396c837f.js","assets/apiKey.31c161a3.js","assets/organization.6c6a96b2.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.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.faef9609.js"),["assets/Organizations.faef9609.js","assets/Navbar.2cc2e0ee.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/PhChats.vue.afcd5876.js","assets/PhSignOut.vue.618d1f5c.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/index.28152a0c.js","assets/Avatar.34816737.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/BookOutlined.238b8620.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/CrudView.57fcf015.css","assets/ant-design.c6784518.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/PhPencil.vue.6a1ca884.js","assets/organization.6c6a96b2.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/string.042fe6bc.js"]),meta:{title:"Organizations - Abstra Console"}},{path:"/organizations/:organizationId",name:"organization",component:()=>o(()=>import("./Organization.3d9fd91b.js"),["assets/Organization.3d9fd91b.js","assets/Navbar.2cc2e0ee.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/PhChats.vue.afcd5876.js","assets/PhSignOut.vue.618d1f5c.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/index.28152a0c.js","assets/Avatar.34816737.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/BookOutlined.238b8620.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/organization.6c6a96b2.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/string.042fe6bc.js","assets/Sidebar.1d1ece90.js","assets/index.3db2f466.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/index.89bac5b6.js","assets/Sidebar.e69f49bd.css"]),redirect:{name:"projects"},children:[{path:"projects",name:"projects",component:()=>o(()=>import("./Projects.793fce4e.js"),["assets/Projects.793fce4e.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/ant-design.c6784518.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/organization.6c6a96b2.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/PhCopy.vue.834d7537.js","assets/PhPencil.vue.6a1ca884.js"]),meta:{title:"Projects - Abstra Console"}},{path:"editors",name:"editors",component:()=>o(()=>import("./Editors.54785a2d.js"),["assets/Editors.54785a2d.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/ant-design.c6784518.js","assets/asyncComputed.62fe9f61.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/member.3cef82aa.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/string.042fe6bc.js"]),meta:{title:"Editors - Abstra Console"}},{path:"members",redirect:{name:"editors"}},{path:"billing",name:"billing",component:()=>o(()=>import("./Billing.e59eb873.js"),["assets/Billing.e59eb873.js","assets/asyncComputed.62fe9f61.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/organization.6c6a96b2.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/string.042fe6bc.js","assets/LoadingContainer.9f69b37b.js","assets/LoadingContainer.56fa997a.css","assets/index.89bac5b6.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js"]),meta:{title:"Billing - Abstra Console"}}]},{path:"/projects/:projectId",name:"project",component:()=>o(()=>import("./Project.673be945.js"),["assets/Project.673be945.js","assets/Navbar.2cc2e0ee.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/PhChats.vue.afcd5876.js","assets/PhSignOut.vue.618d1f5c.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/index.28152a0c.js","assets/Avatar.34816737.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/BookOutlined.238b8620.js","assets/Navbar.a899b0d6.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/organization.6c6a96b2.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/Sidebar.1d1ece90.js","assets/index.3db2f466.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/index.89bac5b6.js","assets/Sidebar.e69f49bd.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/PhIdentificationBadge.vue.f2200d74.js","assets/PhCube.vue.7761ebad.js","assets/PhGlobe.vue.672acb29.js","assets/Project.738d2762.css"]),redirect:{name:"live"},children:[{path:"live",name:"live",component:()=>o(()=>import("./Live.256b83d8.js"),["assets/Live.256b83d8.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/datetime.2c7b273f.js","assets/organization.6c6a96b2.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/polling.f65e8dae.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a8ba2f05.js","assets/LoadingOutlined.0a0dc718.js","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/PhChats.vue.afcd5876.js","assets/PhCopySimple.vue.b36c12a9.js","assets/Live.1f5cfa1c.css"]),meta:{title:"Project - Abstra Console"}},{path:"builds",name:"builds",component:()=>o(()=>import("./Builds.411590ce.js"),["assets/Builds.411590ce.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/datetime.2c7b273f.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/polling.f65e8dae.js","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/PhCube.vue.7761ebad.js","assets/PhDownloadSimple.vue.c2d6c2cb.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/index.151277c7.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/CloseCircleOutlined.8dad9616.js","assets/LoadingOutlined.0a0dc718.js","assets/Builds.8dab7d81.css"]),meta:{title:"Builds - Abstra Console"}},{path:"connectors",name:"connectors",component:()=>o(()=>import("./ConnectorsView.70871717.js"),["assets/ConnectorsView.70871717.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/Avatar.34816737.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/index.28152a0c.js","assets/ConnectorsView.464982fb.css"]),meta:{title:"Connectors - Abstra Console"}},{path:"tables",name:"tables",component:()=>o(()=>import("./Tables.0c2b3224.js"),["assets/Tables.0c2b3224.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/string.042fe6bc.js","assets/PhPencil.vue.6a1ca884.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/ant-design.c6784518.js"]),meta:{title:"Tables - Abstra Console"}},{path:"sql",name:"sql",component:()=>o(()=>import("./Sql.1102098b.js"),["assets/Sql.1102098b.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/utils.6e13a992.js","assets/PhDownloadSimple.vue.c2d6c2cb.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/Sql.8ce6a064.css"]),meta:{title:"SQL Editor - Abstra Console"}},{path:"api-keys",name:"api-keys",component:()=>o(()=>import("./ApiKeys.e39a3870.js"),["assets/ApiKeys.e39a3870.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/asyncComputed.62fe9f61.js","assets/apiKey.31c161a3.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/member.3cef82aa.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css"]),meta:{title:"API Keys - Abstra Console"}},{path:"logs",name:"logs",component:()=>o(()=>import("./Logs.23e8cfb7.js"),["assets/Logs.23e8cfb7.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/datetime.2c7b273f.js","assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a8ba2f05.js","assets/LoadingOutlined.0a0dc718.js","assets/string.042fe6bc.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/ant-design.c6784518.js","assets/index.28152a0c.js","assets/dayjs.5ca46bfa.js","assets/CollapsePanel.e3bd0766.js","assets/Logs.862ab706.css"]),meta:{title:"Logs - Abstra Console"}},{path:"settings",name:"project-settings",component:()=>o(()=>import("./ProjectSettings.f3191c2a.js"),["assets/ProjectSettings.f3191c2a.js","assets/asyncComputed.62fe9f61.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/index.28152a0c.js"]),meta:{title:"Project Settings - Abstra Console"}},{path:"env-vars",name:"env-vars",component:()=>o(()=>import("./EnvVars.b9b5ad98.js"),["assets/EnvVars.b9b5ad98.js","assets/View.vue_vue_type_script_setup_true_lang.e3f55a53.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/fetch.8d81adbd.js","assets/record.c63163fa.js","assets/SaveButton.91be38d7.js","assets/UnsavedChangesHandler.76f4b4a0.js","assets/ExclamationCircleOutlined.d11a1598.js","assets/UnsavedChangesHandler.7aa0e3b6.css","assets/SaveButton.72874714.css","assets/CrudView.cd385ca1.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/Badge.c37c51db.js","assets/index.28152a0c.js","assets/CrudView.57fcf015.css","assets/asyncComputed.62fe9f61.js","assets/polling.f65e8dae.js","assets/PhPencil.vue.6a1ca884.js","assets/index.3db2f466.js"]),meta:{title:"Environment Variables - Abstra Console"}},{path:"files",name:"files",component:()=>o(()=>import("./Files.a56de8af.js"),["assets/Files.a56de8af.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/popupNotifcation.f48fd864.js","assets/ant-design.c6784518.js","assets/asyncComputed.62fe9f61.js","assets/gateway.6da513da.js","assets/tables.723282b3.js","assets/record.c63163fa.js","assets/string.042fe6bc.js","assets/DeleteOutlined.5491ff33.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/Files.06562802.css"]),meta:{title:"Files - Abstra Console"}},{path:"access-control",name:"access-control",component:()=>o(()=>import("./View.14d8cfe8.js"),["assets/View.14d8cfe8.js","assets/asyncComputed.62fe9f61.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/index.28152a0c.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.f4235e74.js","assets/BookOutlined.238b8620.js","assets/index.8fb2fffd.js","assets/Badge.c37c51db.js","assets/CrudView.cd385ca1.js","assets/url.396c837f.js","assets/PhDotsThreeVertical.vue.b0c5edcd.js","assets/CrudView.57fcf015.css","assets/PhPencil.vue.6a1ca884.js","assets/repository.c27893d1.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/fetch.8d81adbd.js","assets/record.c63163fa.js","assets/ant-design.c6784518.js","assets/TabPane.4206d5f7.js"]),meta:{title:"Access Control - Abstra Console"}}]},{path:"/projects/:projectId/tables/:tableId",name:"tableEditor",component:()=>o(()=>import("./TableEditor.24058985.js"),["assets/TableEditor.24058985.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3e6954b7.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/asyncComputed.62fe9f61.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/organization.6c6a96b2.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/ContentLayout.e4128d5d.js","assets/ContentLayout.ee57a545.css","assets/index.28152a0c.js","assets/index.8fb2fffd.js","assets/Badge.c37c51db.js","assets/PhCheckCircle.vue.912aee3f.js","assets/index.5c08441f.js","assets/PhArrowDown.vue.647cad46.js","assets/ant-design.c6784518.js","assets/PhCaretRight.vue.053320ac.js","assets/LoadingOutlined.0a0dc718.js","assets/index.21dc8b6c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/TableEditor.1e680eaf.css"]),meta:{title:"Tables - Abstra Console"}},{path:"/projects/:projectId/web-editor",name:"web-editor",component:()=>o(()=>import("./WebEditor.228adb1f.js"),["assets/WebEditor.228adb1f.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/BaseLayout.0d928ff1.js","assets/BaseLayout.b7a1f19a.css","assets/fetch.8d81adbd.js","assets/gateway.6da513da.js","assets/popupNotifcation.f48fd864.js","assets/project.8378b21f.js","assets/record.c63163fa.js","assets/tables.723282b3.js","assets/string.042fe6bc.js","assets/WebEditor.bac6e8fe.css"]),meta:{title:"Web Editor - Abstra Console"}},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}}],scrollBehavior(t){if(t.hash)return{el:t.hash}}});p.beforeEach(async(t,e)=>{w(t,e);const a=v.getAuthor();if(!t.meta.allowUnauthenticated&&!a){await p.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,I as b,p as r}; -//# sourceMappingURL=router.efcfb7fa.js.map diff --git a/abstra_statics/dist/assets/scripts.b9182f88.js b/abstra_statics/dist/assets/scripts.1b2e66c0.js similarity index 95% rename from abstra_statics/dist/assets/scripts.b9182f88.js rename to abstra_statics/dist/assets/scripts.1b2e66c0.js index 588eb604ab..8101546755 100644 --- a/abstra_statics/dist/assets/scripts.b9182f88.js +++ b/abstra_statics/dist/assets/scripts.1b2e66c0.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.7d22a765.js";import{A as w}from"./record.c63163fa.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]="1c9e2bc6-7fe9-43f2-8acb-c019818ea9b7",a._sentryDebugIdIdentifier="sentry-dbid-1c9e2bc6-7fe9-43f2-8acb-c019818ea9b7")}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.b9182f88.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.d93c72db.js";import{A as w}from"./record.a553a696.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]="2ed5c84f-edc1-4a5f-b201-3e80b424f504",a._sentryDebugIdIdentifier="sentry-dbid-2ed5c84f-edc1-4a5f-b201-3e80b424f504")}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.1b2e66c0.js.map diff --git a/abstra_statics/dist/assets/string.042fe6bc.js b/abstra_statics/dist/assets/string.d10c3089.js similarity index 51% rename from abstra_statics/dist/assets/string.042fe6bc.js rename to abstra_statics/dist/assets/string.d10c3089.js index b71d5c6df1..482201f68a 100644 --- a/abstra_statics/dist/assets/string.042fe6bc.js +++ b/abstra_statics/dist/assets/string.d10c3089.js @@ -1,2 +1,2 @@ -import{N as l}from"./vue-router.7d22a765.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]="9d863c95-54b0-46c8-add8-7ba9bbd0b4bb",e._sentryDebugIdIdentifier="sentry-dbid-9d863c95-54b0-46c8-add8-7ba9bbd0b4bb")}catch{}})();function u(e){return l.string().email().safeParse(e).success}function f(e){return e.charAt(0).toUpperCase()+e.slice(1)}function b(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 g(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 p(e){try{return{valid:!0,parsed:JSON.parse(e)}}catch(a){return{valid:!1,message:a instanceof Error?a.message:"Unknown error"}}}export{g as a,f as c,u as i,b as n,p as v}; -//# sourceMappingURL=string.042fe6bc.js.map +import{N as l}from"./vue-router.d93c72db.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]="be0162bb-f8c7-4ad4-9ebe-4a97c595947e",e._sentryDebugIdIdentifier="sentry-dbid-be0162bb-f8c7-4ad4-9ebe-4a97c595947e")}catch{}})();function d(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,d as i,g as n,b as v}; +//# sourceMappingURL=string.d10c3089.js.map diff --git a/abstra_statics/dist/assets/tables.723282b3.js b/abstra_statics/dist/assets/tables.fd84686b.js similarity index 84% rename from abstra_statics/dist/assets/tables.723282b3.js rename to abstra_statics/dist/assets/tables.fd84686b.js index 0ecea52fcf..ece0f75eb8 100644 --- a/abstra_statics/dist/assets/tables.723282b3.js +++ b/abstra_statics/dist/assets/tables.fd84686b.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.6da513da.js";import{E as b}from"./record.c63163fa.js";import{n as g}from"./string.042fe6bc.js";import{N as o}from"./vue-router.7d22a765.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]="5dc08b03-c0ed-4efa-928b-2d3d11aab7f2",s._sentryDebugIdIdentifier="sentry-dbid-5dc08b03-c0ed-4efa-928b-2d3d11aab7f2")}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.723282b3.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.0306d327.js";import{E as b}from"./record.a553a696.js";import{n as g}from"./string.d10c3089.js";import{N as o}from"./vue-router.d93c72db.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]="9d5f4ee7-653a-4204-8552-42b80ba414a6",s._sentryDebugIdIdentifier="sentry-dbid-9d5f4ee7-653a-4204-8552-42b80ba414a6")}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,i,d,p,I,f){const m=await y.create({name:e,type:t,default:r,nullable:i,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 c=h;l(c,"fromDTO",e=>new h(e)),l(c,"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),i=await a.create({projectId:e},{name:r});return new u(i.table,i.columns.map(p=>c.fromDTO(p)))}static async get(e,t){const r=await a.get({projectId:e,tableId:t}),i=r.table,d=r.columns.map(p=>c.fromDTO({...p,projectId:i.projectId}));return new u(i,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 c.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,i,d){return a.selectRows({name:this.name,where:e,tableId:this.id,projectId:this.projectId,limit:r,offset:t,search:i,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.fd84686b.js.map diff --git a/abstra_statics/dist/assets/toggleHighContrast.5f5c4f15.js b/abstra_statics/dist/assets/toggleHighContrast.6c3d17d3.js similarity index 99% rename from abstra_statics/dist/assets/toggleHighContrast.5f5c4f15.js rename to abstra_statics/dist/assets/toggleHighContrast.6c3d17d3.js index a216c017b2..aeb1b048a3 100644 --- a/abstra_statics/dist/assets/toggleHighContrast.5f5c4f15.js +++ b/abstra_statics/dist/assets/toggleHighContrast.6c3d17d3.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.7d22a765.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]="b81daa1c-d938-4333-9614-d08e7e98c354",o._sentryDebugIdIdentifier="sentry-dbid-b81daa1c-d938-4333-9614-d08e7e98c354")}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.d93c72db.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]="c67b79c8-f431-4e64-8ef5-10de6cae8664",o._sentryDebugIdIdentifier="sentry-dbid-c67b79c8-f431-4e64-8ef5-10de6cae8664")}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.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAngleInterpolationDollar)});pe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagBracketInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAngleInterpolationBracket)});pe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagBracketInterpolationBracket)});pe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>ue(()=>import("./freemarker2.b25ffcab.js"),["assets/freemarker2.b25ffcab.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.4a3e9e5b.js"),["assets/handlebars.4a3e9e5b.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.8cfe67a7.js"),["assets/html.8cfe67a7.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.d062dcfe.js"),["assets/javascript.d062dcfe.js","assets/typescript.2dc6758c.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.1bcd4201.js"),["assets/liquid.1bcd4201.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.0ffed9b0.js"),["assets/python.0ffed9b0.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.29a87d87.js"),["assets/razor.29a87d87.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.2dc6758c.js"),["assets/typescript.2dc6758c.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.9941aaad.js"),["assets/xml.9941aaad.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css"])});pe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>ue(()=>import("./yaml.ff49e8df.js"),["assets/yaml.ff49e8df.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAngleInterpolationDollar)});pe({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagBracketInterpolationDollar)});pe({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAngleInterpolationBracket)});pe({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagBracketInterpolationBracket)});pe({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"]).then(o=>o.TagAutoInterpolationDollar)});pe({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>ue(()=>import("./freemarker2.03b5b8ef.js"),["assets/freemarker2.03b5b8ef.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.e37e6b4b.js"),["assets/handlebars.e37e6b4b.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.49fb5660.js"),["assets/html.49fb5660.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.a23f8305.js"),["assets/javascript.a23f8305.js","assets/typescript.898cd451.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.cf3f438c.js"),["assets/liquid.cf3f438c.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.5281c1a6.js"),["assets/python.5281c1a6.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.eb40ab27.js"),["assets/razor.eb40ab27.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.898cd451.js"),["assets/typescript.898cd451.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.3a15fd70.js"),["assets/xml.3a15fd70.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css"])});pe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>ue(()=>import("./yaml.198d903a.js"),["assets/yaml.198d903a.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.2ba75501.js"),["assets/cssMode.2ba75501.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.f94daa70.js"),["assets/cssMode.f94daa70.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.d2271e19.js"),["assets/htmlMode.d2271e19.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.d92f2dd9.js"),["assets/htmlMode.d92f2dd9.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.0bb47c6f.js"),["assets/jsonMode.0bb47c6f.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.aad6c091.js"),["assets/jsonMode.aad6c091.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.ec0dfdd8.js"),["assets/tsMode.ec0dfdd8.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.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.36d5b2ab.js"),["assets/tsMode.36d5b2ab.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.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.5f5c4f15.js.map +//# sourceMappingURL=toggleHighContrast.6c3d17d3.js.map diff --git a/abstra_statics/dist/assets/tsMode.ec0dfdd8.js b/abstra_statics/dist/assets/tsMode.36d5b2ab.js similarity index 98% rename from abstra_statics/dist/assets/tsMode.ec0dfdd8.js rename to abstra_statics/dist/assets/tsMode.36d5b2ab.js index 3f06edda38..b1d52fcf6d 100644 --- a/abstra_statics/dist/assets/tsMode.ec0dfdd8.js +++ b/abstra_statics/dist/assets/tsMode.36d5b2ab.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.5f5c4f15.js";import"./vue-router.7d22a765.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]="748c6c5c-29dc-47d3-9fa2-5f8219b8c50e",e._sentryDebugIdIdentifier="sentry-dbid-748c6c5c-29dc-47d3-9fa2-5f8219b8c50e")}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.6c3d17d3.js";import"./vue-router.d93c72db.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]="d653f5d4-a307-441d-9ad1-aed3a6c546df",e._sentryDebugIdIdentifier="sentry-dbid-d653f5d4-a307-441d-9ad1-aed3a6c546df")}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.ec0dfdd8.js.map +//# sourceMappingURL=tsMode.36d5b2ab.js.map diff --git a/abstra_statics/dist/assets/typescript.2dc6758c.js b/abstra_statics/dist/assets/typescript.898cd451.js similarity index 91% rename from abstra_statics/dist/assets/typescript.2dc6758c.js rename to abstra_statics/dist/assets/typescript.898cd451.js index 0a30c37887..aa3b84bae7 100644 --- a/abstra_statics/dist/assets/typescript.2dc6758c.js +++ b/abstra_statics/dist/assets/typescript.898cd451.js @@ -1,7 +1,7 @@ -import{m as c}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="11b552bc-f105-44a4-bc71-7127fe2c41de",t._sentryDebugIdIdentifier="sentry-dbid-11b552bc-f105-44a4-bc71-7127fe2c41de")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as a}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="a2a1675d-acf3-4091-b730-24a99377404b",t._sentryDebugIdIdentifier="sentry-dbid-a2a1675d-acf3-4091-b730-24a99377404b")}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 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.2dc6758c.js.map + *-----------------------------------------------------------------------------*/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.898cd451.js.map diff --git a/abstra_statics/dist/assets/url.396c837f.js b/abstra_statics/dist/assets/url.396c837f.js deleted file mode 100644 index 7bc8f6efc0..0000000000 --- a/abstra_statics/dist/assets/url.396c837f.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.7d22a765.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]="7a06de33-d7c3-4131-bb03-a73fc6d74eab",e._sentryDebugIdIdentifier="sentry-dbid-7a06de33-d7c3-4131-bb03-a73fc6d74eab")}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(([a,s])=>{t.searchParams.delete(a),n.set(a,s)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,o as m}; -//# sourceMappingURL=url.396c837f.js.map diff --git a/abstra_statics/dist/assets/url.8e8c3899.js b/abstra_statics/dist/assets/url.8e8c3899.js new file mode 100644 index 0000000000..2308e2e063 --- /dev/null +++ b/abstra_statics/dist/assets/url.8e8c3899.js @@ -0,0 +1,2 @@ +import"./vue-router.d93c72db.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]="4dcb2fcc-3d40-4b23-b711-5784cfb9ed5c",e._sentryDebugIdIdentifier="sentry-dbid-4dcb2fcc-3d40-4b23-b711-5784cfb9ed5c")}catch{}})();const d=e=>{try{return new URL(e),!0}catch{return!1}},b=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([c,s])=>{t.searchParams.delete(c),n.set(c,s)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,b as m}; +//# sourceMappingURL=url.8e8c3899.js.map diff --git a/abstra_statics/dist/assets/utils.6e13a992.js b/abstra_statics/dist/assets/utils.6e13a992.js deleted file mode 100644 index b31806b2f6..0000000000 --- a/abstra_statics/dist/assets/utils.6e13a992.js +++ /dev/null @@ -1,4 +0,0 @@ -import"./vue-router.7d22a765.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]="829b0ebb-5171-40d6-b82a-c4877b654e31",e._sentryDebugIdIdentifier="sentry-dbid-829b0ebb-5171-40d6-b82a-c4877b654e31")}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.6e13a992.js.map diff --git a/abstra_statics/dist/assets/utils.83debec2.js b/abstra_statics/dist/assets/utils.83debec2.js new file mode 100644 index 0000000000..86183e82d7 --- /dev/null +++ b/abstra_statics/dist/assets/utils.83debec2.js @@ -0,0 +1,4 @@ +import"./vue-router.d93c72db.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]="665d94fd-709e-49f4-9dc6-6b50c41c1ac2",e._sentryDebugIdIdentifier="sentry-dbid-665d94fd-709e-49f4-9dc6-6b50c41c1ac2")}catch{}})();const c=e=>{let n=e.columns.join(",")+` +`;e.rows.forEach(o=>{n+=o.join(","),n+=` +`});const d=document.createElement("a");d.href="data:text/csv;charset=utf-8,"+encodeURIComponent(n),d.target="_blank",d.download=`${e.fileName}.csv`,d.click()};export{c as d}; +//# sourceMappingURL=utils.83debec2.js.map diff --git a/abstra_statics/dist/assets/uuid.65957d70.js b/abstra_statics/dist/assets/uuid.65957d70.js deleted file mode 100644 index 2e4472191a..0000000000 --- a/abstra_statics/dist/assets/uuid.65957d70.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./vue-router.7d22a765.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]="98a034db-a26f-45b8-9209-0d1326810bd7",x._sentryDebugIdIdentifier="sentry-dbid-98a034db-a26f-45b8-9209-0d1326810bd7")}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.65957d70.js.map diff --git a/abstra_statics/dist/assets/uuid.848d284c.js b/abstra_statics/dist/assets/uuid.848d284c.js new file mode 100644 index 0000000000..f1484c9567 --- /dev/null +++ b/abstra_statics/dist/assets/uuid.848d284c.js @@ -0,0 +1,2 @@ +import"./vue-router.d93c72db.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]="72e833b8-0022-4404-8869-77583eb12966",x._sentryDebugIdIdentifier="sentry-dbid-72e833b8-0022-4404-8869-77583eb12966")}catch{}})();const r=()=>"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{r as u}; +//# sourceMappingURL=uuid.848d284c.js.map diff --git a/abstra_statics/dist/assets/validations.de16515c.js b/abstra_statics/dist/assets/validations.6e89473f.js similarity index 82% rename from abstra_statics/dist/assets/validations.de16515c.js rename to abstra_statics/dist/assets/validations.6e89473f.js index 70dce1e4a7..e6fc93c904 100644 --- a/abstra_statics/dist/assets/validations.de16515c.js +++ b/abstra_statics/dist/assets/validations.6e89473f.js @@ -1,2 +1,2 @@ -import{n as t,a as s}from"./string.042fe6bc.js";import"./vue-router.7d22a765.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]="b12ae8e9-65db-4f8d-822e-fab796f8251e",e._sentryDebugIdIdentifier="sentry-dbid-b12ae8e9-65db-4f8d-822e-fab796f8251e")}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.de16515c.js.map +import{n as t,a as s}from"./string.d10c3089.js";import"./vue-router.d93c72db.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]="65a15d3b-6b7d-4dc6-b43e-92bfffeedcf6",e._sentryDebugIdIdentifier="sentry-dbid-65a15d3b-6b7d-4dc6-b43e-92bfffeedcf6")}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.6e89473f.js.map diff --git a/abstra_statics/dist/assets/vue-quill.esm-bundler.41d9108d.js b/abstra_statics/dist/assets/vue-quill.esm-bundler.a18cce0a.js similarity index 99% rename from abstra_statics/dist/assets/vue-quill.esm-bundler.41d9108d.js rename to abstra_statics/dist/assets/vue-quill.esm-bundler.a18cce0a.js index 52ef10035b..adec5aeeac 100644 --- a/abstra_statics/dist/assets/vue-quill.esm-bundler.41d9108d.js +++ b/abstra_statics/dist/assets/vue-quill.esm-bundler.a18cce0a.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.7d22a765.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]="30033d05-e4b9-41d1-8b71-fdc4a20d836b",R._sentryDebugIdIdentifier="sentry-dbid-30033d05-e4b9-41d1-8b71-fdc4a20d836b")}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.d93c72db.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]="c66d73d4-beee-4d16-9f13-d34c113689d3",R._sentryDebugIdIdentifier="sentry-dbid-c66d73d4-beee-4d16-9f13-d34c113689d3")}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.41d9108d.js.map +//# sourceMappingURL=vue-quill.esm-bundler.a18cce0a.js.map diff --git a/abstra_statics/dist/assets/vue-router.7d22a765.js b/abstra_statics/dist/assets/vue-router.d93c72db.js similarity index 99% rename from abstra_statics/dist/assets/vue-router.7d22a765.js rename to abstra_statics/dist/assets/vue-router.d93c72db.js index 5cea510afd..4d12cfb973 100644 --- a/abstra_statics/dist/assets/vue-router.7d22a765.js +++ b/abstra_statics/dist/assets/vue-router.d93c72db.js @@ -1,4 +1,4 @@ -var nQ=Object.defineProperty;var rQ=(e,t,n)=>t in e?nQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var wn=(e,t,n)=>(rQ(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]="f6170d8c-a068-4ba5-beca-1f3a4f08f8cf",e._sentryDebugIdIdentifier="sentry-dbid-f6170d8c-a068-4ba5-beca-1f3a4f08f8cf")}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 o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const L8=Object.prototype.toString;function F8(e){switch(L8.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return $u(e,Error)}}function pf(e,t){return L8.call(e)===`[object ${t}]`}function Xw(e){return pf(e,"ErrorEvent")}function A2(e){return pf(e,"DOMError")}function iQ(e){return pf(e,"DOMException")}function pl(e){return pf(e,"String")}function Jw(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ex(e){return e===null||Jw(e)||typeof e!="object"&&typeof e!="function"}function Op(e){return pf(e,"Object")}function Tb(e){return typeof Event<"u"&&$u(e,Event)}function oQ(e){return typeof Element<"u"&&$u(e,Element)}function aQ(e){return pf(e,"RegExp")}function wb(e){return Boolean(e&&e.then&&typeof e.then=="function")}function sQ(e){return Op(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function lQ(e){return typeof e=="number"&&e!==e}function $u(e,t){try{return e instanceof t}catch{return!1}}function B8(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function sp(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function N2(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rcQ(e,r,n))}function uQ(e,t,n=250,r,i,o,l){if(!o.exception||!o.exception.values||!l||!$u(l.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=dQ(aC(e,t,i,l.originalException,r,o.exception.values,s,0),n))}function aC(e,t,n,r,i,o,l,s){if(o.length>=n+1)return o;let u=[...o];if($u(r[i],Error)){D2(l,s);const a=e(t,r[i]),c=u.length;M2(a,i,c,s),u=aC(e,t,n,r[i],i,[a,...u],a,c)}return Array.isArray(r.errors)&&r.errors.forEach((a,c)=>{if($u(a,Error)){D2(l,s);const d=e(t,a),p=u.length;M2(d,`errors[${c}]`,p,s),u=aC(e,t,n,a,i,[d,...u],d,p)}}),u}function D2(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function M2(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 dQ(e,t){return e.map(n=>(n.value&&(n.value=sp(n.value,t)),n))}function O_(e){return e&&e.Math==Math?e:void 0}const Kn=typeof globalThis=="object"&&O_(globalThis)||typeof window=="object"&&O_(window)||typeof self=="object"&&O_(self)||typeof global=="object"&&O_(global)||function(){return this}()||{};function tx(){return Kn}function U8(e,t,n){const r=n||Kn,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const nx=tx(),pQ=80;function H8(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let o=0,l=0;const s=" > ",u=s.length;let a;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||pQ;for(;n&&o++1&&l+i.length*u+a.length>=d));)i.push(a),l+=a.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function fQ(e,t){const n=e,r=[];let i,o,l,s,u;if(!n||!n.tagName)return"";if(nx.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const a=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(a&&a.length)a.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&pl(i))for(o=i.split(/\s+/),u=0;u"u"||__SENTRY_DEBUG__,hQ="Sentry Logger ",sC=["debug","info","warn","error","log","assert","trace"],mv={};function Ob(e){if(!("console"in Kn))return e();const t=Kn.console,n={},r=Object.keys(mv);r.forEach(i=>{const o=mv[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function _Q(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Kg?sC.forEach(n=>{t[n]=(...r)=>{e&&Ob(()=>{Kn.console[n](`${hQ}[${n}]:`,...r)})}}):sC.forEach(n=>{t[n]=()=>{}}),t}const zt=_Q(),vQ=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function bQ(e){return e==="http"||e==="https"}function Zg(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${l}`}function SQ(e){const t=vQ.exec(e);if(!t){Ob(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",o,l="",s]=t.slice(1);let u="",a=s;const c=a.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),a=c.pop()),a){const d=a.match(/^\d+/);d&&(a=d[0])}return V8({host:o,pass:i,path:u,projectId:a,port:l,protocol:n,publicKey:r})}function V8(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function yQ(e){if(!Kg)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(l=>e[l]?!1:(zt.error(`Invalid Sentry Dsn: ${l} missing`),!0))?!1:n.match(/^\d+$/)?bQ(r)?t&&isNaN(parseInt(t,10))?(zt.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(zt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(zt.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function EQ(e){const t=typeof e=="string"?SQ(e):V8(e);if(!(!t||!yQ(t)))return t}class us 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 yi(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&z8(i,r),e[t]=i}function Lu(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Kg&&zt.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function z8(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Lu(e,"__sentry_original__",t)}catch{}}function rx(e){return e.__sentry_original__}function CQ(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function G8(e){if(F8(e))return{message:e.message,name:e.name,stack:e.stack,...k2(e)};if(Tb(e)){const t={type:e.type,target:P2(e.target),currentTarget:P2(e.currentTarget),...k2(e)};return typeof CustomEvent<"u"&&$u(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function P2(e){try{return oQ(e)?H8(e):Object.prototype.toString.call(e)}catch{return""}}function k2(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 TQ(e,t=40){const n=Object.keys(G8(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return sp(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:sp(i,t)}return""}function sl(e){return lC(e,new Map)}function lC(e,t){if(wQ(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]=lC(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(lC(i,t))}),r}return e}function wQ(e){if(!Op(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const j8=50,$2=/\(error: (.*)\)/,L2=/captureMessage|captureException/;function Y8(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],o=n.split(` +var nQ=Object.defineProperty;var rQ=(e,t,n)=>t in e?nQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var wn=(e,t,n)=>(rQ(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]="20abd4d9-828f-4e50-85f6-ee44a8397cc4",e._sentryDebugIdIdentifier="sentry-dbid-20abd4d9-828f-4e50-85f6-ee44a8397cc4")}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 o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const L8=Object.prototype.toString;function F8(e){switch(L8.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return $u(e,Error)}}function pf(e,t){return L8.call(e)===`[object ${t}]`}function Xw(e){return pf(e,"ErrorEvent")}function A2(e){return pf(e,"DOMError")}function iQ(e){return pf(e,"DOMException")}function pl(e){return pf(e,"String")}function Jw(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ex(e){return e===null||Jw(e)||typeof e!="object"&&typeof e!="function"}function Op(e){return pf(e,"Object")}function Tb(e){return typeof Event<"u"&&$u(e,Event)}function oQ(e){return typeof Element<"u"&&$u(e,Element)}function aQ(e){return pf(e,"RegExp")}function wb(e){return Boolean(e&&e.then&&typeof e.then=="function")}function sQ(e){return Op(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function lQ(e){return typeof e=="number"&&e!==e}function $u(e,t){try{return e instanceof t}catch{return!1}}function B8(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function sp(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function N2(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rcQ(e,r,n))}function uQ(e,t,n=250,r,i,o,l){if(!o.exception||!o.exception.values||!l||!$u(l.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=dQ(aC(e,t,i,l.originalException,r,o.exception.values,s,0),n))}function aC(e,t,n,r,i,o,l,s){if(o.length>=n+1)return o;let u=[...o];if($u(r[i],Error)){D2(l,s);const a=e(t,r[i]),c=u.length;M2(a,i,c,s),u=aC(e,t,n,r[i],i,[a,...u],a,c)}return Array.isArray(r.errors)&&r.errors.forEach((a,c)=>{if($u(a,Error)){D2(l,s);const d=e(t,a),p=u.length;M2(d,`errors[${c}]`,p,s),u=aC(e,t,n,a,i,[d,...u],d,p)}}),u}function D2(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function M2(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 dQ(e,t){return e.map(n=>(n.value&&(n.value=sp(n.value,t)),n))}function O_(e){return e&&e.Math==Math?e:void 0}const Kn=typeof globalThis=="object"&&O_(globalThis)||typeof window=="object"&&O_(window)||typeof self=="object"&&O_(self)||typeof global=="object"&&O_(global)||function(){return this}()||{};function tx(){return Kn}function U8(e,t,n){const r=n||Kn,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const nx=tx(),pQ=80;function H8(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let o=0,l=0;const s=" > ",u=s.length;let a;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||pQ;for(;n&&o++1&&l+i.length*u+a.length>=d));)i.push(a),l+=a.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function fQ(e,t){const n=e,r=[];let i,o,l,s,u;if(!n||!n.tagName)return"";if(nx.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const a=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(a&&a.length)a.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&pl(i))for(o=i.split(/\s+/),u=0;u"u"||__SENTRY_DEBUG__,hQ="Sentry Logger ",sC=["debug","info","warn","error","log","assert","trace"],mv={};function Ob(e){if(!("console"in Kn))return e();const t=Kn.console,n={},r=Object.keys(mv);r.forEach(i=>{const o=mv[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function _Q(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Kg?sC.forEach(n=>{t[n]=(...r)=>{e&&Ob(()=>{Kn.console[n](`${hQ}[${n}]:`,...r)})}}):sC.forEach(n=>{t[n]=()=>{}}),t}const zt=_Q(),vQ=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function bQ(e){return e==="http"||e==="https"}function Zg(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:l,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${l}`}function SQ(e){const t=vQ.exec(e);if(!t){Ob(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",o,l="",s]=t.slice(1);let u="",a=s;const c=a.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),a=c.pop()),a){const d=a.match(/^\d+/);d&&(a=d[0])}return V8({host:o,pass:i,path:u,projectId:a,port:l,protocol:n,publicKey:r})}function V8(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function yQ(e){if(!Kg)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(l=>e[l]?!1:(zt.error(`Invalid Sentry Dsn: ${l} missing`),!0))?!1:n.match(/^\d+$/)?bQ(r)?t&&isNaN(parseInt(t,10))?(zt.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(zt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(zt.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function EQ(e){const t=typeof e=="string"?SQ(e):V8(e);if(!(!t||!yQ(t)))return t}class us 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 yi(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&z8(i,r),e[t]=i}function Lu(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Kg&&zt.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function z8(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Lu(e,"__sentry_original__",t)}catch{}}function rx(e){return e.__sentry_original__}function CQ(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function G8(e){if(F8(e))return{message:e.message,name:e.name,stack:e.stack,...k2(e)};if(Tb(e)){const t={type:e.type,target:P2(e.target),currentTarget:P2(e.currentTarget),...k2(e)};return typeof CustomEvent<"u"&&$u(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function P2(e){try{return oQ(e)?H8(e):Object.prototype.toString.call(e)}catch{return""}}function k2(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 TQ(e,t=40){const n=Object.keys(G8(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return sp(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:sp(i,t)}return""}function sl(e){return lC(e,new Map)}function lC(e,t){if(wQ(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]=lC(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(lC(i,t))}),r}return e}function wQ(e){if(!Op(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const j8=50,$2=/\(error: (.*)\)/,L2=/captureMessage|captureException/;function Y8(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],o=n.split(` `);for(let l=r;l1024)continue;const u=$2.test(s)?s.replace($2,"$1"):s;if(!u.match(/\S*Error: /)){for(const a of t){const c=a(u);if(c){i.push(c);break}}if(i.length>=j8)break}}return OQ(i)}}function xQ(e){return Array.isArray(e)?Y8(...e):e}function OQ(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),L2.test(t[t.length-1].function||"")&&(t.pop(),L2.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,j8).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const TE="";function xc(e){try{return!e||typeof e!="function"?TE:e.name||TE}catch{return TE}}const k0={},F2={};function ed(e,t){k0[e]=k0[e]||[],k0[e].push(t)}function td(e,t){F2[e]||(t(),F2[e]=!0)}function La(e,t){const n=e&&k0[e];if(!!n)for(const r of n)try{r(t)}catch(i){Kg&&zt.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${xc(r)} @@ -42,7 +42,7 @@ Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options Sentry.init({ replaysSessionSampleRate: ${a} })`),this._initialOptions.sessionSampleRate=a),typeof c=="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: ${c} })`),this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${dM}`:dM),this._isInitialized&&BD())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return pM}set _isInitialized(t){pM=t}setupOnce(){!BD()||(this._setup(),setTimeout(()=>this._initialize()))}start(){!this._replay||this._replay.start()}startBuffering(){!this._replay||this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):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._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const t=Tle(this._initialOptions);this._replay=new ic({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const n=Ka().getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Zb.__initStatic();function Tle(e){const t=Ka(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ms(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&og(()=>{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):(og(()=>{console.warn("SDK client is not available.")}),r)}function fM(e){return[...Cle,...e.map(t=>t.toLowerCase())]}var wle=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};wle.SENTRY_RELEASE={id:"691391b37b1de6b82d2a62890612ed890d9250a7"};var so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xle(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ole(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}const Ile=Object.prototype.toString;function Rle(e,t){return Ile.call(e)===`[object ${t}]`}function bF(e){return Rle(e,"Object")}function zx(e){return Boolean(e&&e.then&&typeof e.then=="function")}function W_(e){return e&&e.Math==Math?e:void 0}const pa=typeof globalThis=="object"&&W_(globalThis)||typeof window=="object"&&W_(window)||typeof self=="object"&&W_(self)||typeof global=="object"&&W_(global)||function(){return this}()||{};function SF(e,t,n){const r=n||pa,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Ale=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Nle="Sentry Logger ",mM=["debug","info","warn","error","log","assert","trace"],gM={};function uh(e){if(!("console"in pa))return e();const t=pa.console,n={},r=Object.keys(gM);r.forEach(i=>{const o=gM[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function Dle(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ale?mM.forEach(n=>{t[n]=(...r)=>{e&&uh(()=>{pa.console[n](`${Nle}[${n}]:`,...r)})}}):mM.forEach(n=>{t[n]=()=>{}}),t}const cl=Dle();function Su(e){return KC(e,new Map)}function KC(e,t){if(Mle(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]=KC(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(KC(i,t))}),r}return e}function Mle(e){if(!bF(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}function _s(){const e=pa,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function yF(e){return Array.isArray(e)?e:[e]}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={}));class oc{constructor(t){oc.prototype.__init.call(this),oc.prototype.__init2.call(this),oc.prototype.__init3.call(this),oc.prototype.__init4.call(this),this._state=Js.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new oc((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(l){i(l)}},o=>{if(!n)i(o);else try{r(n(o))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new oc((n,r)=>{let i,o;return this.then(l=>{o=!1,i=l,t&&t()},l=>{o=!0,i=l,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult(Js.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Js.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Js.PENDING){if(zx(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){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 EF=1e3;function Gx(){return Date.now()/EF}function Ple(){const{performance:e}=pa;if(!e||!e.now)return Gx;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/EF}const jx=Ple();(()=>{const{performance:e}=pa;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,o=i"u"||__SENTRY_DEBUG__,CF="production";function kle(){return SF("globalEventProcessors",()=>[])}function ZC(e,t,n,r=0){return new oc((i,o)=>{const l=e[r];if(t===null||typeof l!="function")i(t);else{const s=l({...t},n);U0&&l.id&&s===null&&cl.log(`Event processor "${l.id}" dropped event`),zx(s)?s.then(u=>ZC(e,u,n,r+1).then(i)).then(null,o):ZC(e,s,n,r+1).then(i).then(null,o)}})}function $le(e){const t=jx(),n={sid:_s(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Fle(n)};return e&&Qb(n,e),n}function Qb(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||jx(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:_s()),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 Lle(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Qb(e,n)}function Fle(e){return Su({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,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Ble=1;function Ule(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:l,tags:s,origin:u}=ug(e);return Su({data:r,op:i,parent_span_id:o,span_id:t,status:l,tags:s,trace_id:n,origin:u})}function ug(e){return Hle(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function Hle(e){return typeof e.getSpanJSON=="function"}function Vle(e){const{traceFlags:t}=e.spanContext();return Boolean(t&Ble)}function zle(e){if(!!e)return Gle(e)?{captureContext:e}:Yle(e)?{captureContext:e}:e}function Gle(e){return e instanceof xu||typeof e=="function"}const jle=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Yle(e){return Object.keys(e).some(t=>jle.includes(t))}function Wle(e,t){return Yx().captureException(e,zle(t))}function TF(){return Yx().getClient()}function qle(){return Yx().getScope()}function wF(e){return e.transaction}function Kle(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},l=Su({environment:r.environment||CF,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",l),l}function Zle(e){const t=TF();if(!t)return{};const n=Kle(ug(e).trace_id||"",t,qle()),r=wF(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:o,source:l}=r.metadata;o!=null&&(n.sample_rate=`${o}`);const s=ug(r);return l&&l!=="url"&&(n.transaction=s.description),n.sampled=String(Vle(r)),t.emit&&t.emit("createDsc",n),n}function Qle(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;Xle(e,t),r&&tce(e,r),nce(e,n),Jle(e,i),ece(e,o)}function Xle(e,t){const{extra:n,tags:r,user:i,contexts:o,level:l,transactionName:s}=t,u=Su(n);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});const a=Su(r);a&&Object.keys(a).length&&(e.tags={...a,...e.tags});const c=Su(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});const d=Su(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),l&&(e.level=l),s&&(e.transaction=s)}function Jle(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function ece(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function tce(e,t){e.contexts={trace:Ule(t),...e.contexts};const n=wF(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Zle(t),...e.sdkProcessingMetadata};const r=ug(n).description;r&&(e.tags={transaction:r,...e.tags})}}function nce(e,t){e.fingerprint=e.fingerprint?yF(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const rce=100;class xu{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=hM()}static clone(t){return t?t.clone():new xu}clone(){const t=new xu;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Qb(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._span;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;const n=typeof t=="function"?t(this):t;if(n instanceof xu){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(bF(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return 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=hM(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:rce;if(r<=0)return this;const i={timestamp:Gx(),...t},o=this._breadcrumbs;return o.push(i),this._breadcrumbs=o.length>r?o.slice(-r):o,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.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:i,_extra:o,_user:l,_level:s,_fingerprint:u,_eventProcessors:a,_propagationContext:c,_sdkProcessingMetadata:d,_transactionName:p,_span:f}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:i,extra:o,user:l,level:s,fingerprint:u||[],eventProcessors:a,propagationContext:c,sdkProcessingMetadata:d,transactionName:p,span:f}}applyToEvent(t,n={},r=[]){Qle(t,this.getScopeData());const i=[...r,...kle(),...this._eventProcessors];return ZC(i,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:_s();if(!this._client)return cl.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r&&r.event_id?r.event_id:_s();if(!this._client)return cl.warn("No client configured on scope - will not capture message!"),i;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:_s();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(cl.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function hM(){return{traceId:_s(),spanId:_s().substring(16)}}const ice="7.119.2",xF=parseFloat(ice),oce=100;class OF{constructor(t,n,r,i=xF){this._version=i;let o;n?o=n:(o=new xu,o.setClient(t));let l;r?l=r:(l=new xu,l.setClient(t)),this._stack=[{scope:o}],t&&this.bindClient(t),this._isolationScope=l}isOlderThan(t){return this._version(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:_s(),i=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:i,...n,event_id:r}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:_s(),o=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:_s();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:l=oce}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:Gx(),...t},a=o?uh(()=>o(u,n)):u;a!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",a,n),r.addBreadcrumb(a,l))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=_M(this);try{t(this)}finally{_M(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return U0&&cl.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return U0&&!r&&(this.getClient()?cl.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +Sentry.init({ replaysOnErrorSampleRate: ${c} })`),this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${dM}`:dM),this._isInitialized&&BD())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return pM}set _isInitialized(t){pM=t}setupOnce(){!BD()||(this._setup(),setTimeout(()=>this._initialize()))}start(){!this._replay||this._replay.start()}startBuffering(){!this._replay||this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):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._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const t=Tle(this._initialOptions);this._replay=new ic({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const n=Ka().getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Zb.__initStatic();function Tle(e){const t=Ka(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ms(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&og(()=>{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):(og(()=>{console.warn("SDK client is not available.")}),r)}function fM(e){return[...Cle,...e.map(t=>t.toLowerCase())]}var wle=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};wle.SENTRY_RELEASE={id:"78eb3b3290dd5beaba07662d5551bf264e2fe154"};var so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xle(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ole(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}const Ile=Object.prototype.toString;function Rle(e,t){return Ile.call(e)===`[object ${t}]`}function bF(e){return Rle(e,"Object")}function zx(e){return Boolean(e&&e.then&&typeof e.then=="function")}function W_(e){return e&&e.Math==Math?e:void 0}const pa=typeof globalThis=="object"&&W_(globalThis)||typeof window=="object"&&W_(window)||typeof self=="object"&&W_(self)||typeof global=="object"&&W_(global)||function(){return this}()||{};function SF(e,t,n){const r=n||pa,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const Ale=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Nle="Sentry Logger ",mM=["debug","info","warn","error","log","assert","trace"],gM={};function uh(e){if(!("console"in pa))return e();const t=pa.console,n={},r=Object.keys(gM);r.forEach(i=>{const o=gM[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function Dle(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ale?mM.forEach(n=>{t[n]=(...r)=>{e&&uh(()=>{pa.console[n](`${Nle}[${n}]:`,...r)})}}):mM.forEach(n=>{t[n]=()=>{}}),t}const cl=Dle();function Su(e){return KC(e,new Map)}function KC(e,t){if(Mle(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]=KC(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(KC(i,t))}),r}return e}function Mle(e){if(!bF(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}function _s(){const e=pa,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function yF(e){return Array.isArray(e)?e:[e]}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={}));class oc{constructor(t){oc.prototype.__init.call(this),oc.prototype.__init2.call(this),oc.prototype.__init3.call(this),oc.prototype.__init4.call(this),this._state=Js.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new oc((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(l){i(l)}},o=>{if(!n)i(o);else try{r(n(o))}catch(l){i(l)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new oc((n,r)=>{let i,o;return this.then(l=>{o=!1,i=l,t&&t()},l=>{o=!0,i=l,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult(Js.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Js.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Js.PENDING){if(zx(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){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 EF=1e3;function Gx(){return Date.now()/EF}function Ple(){const{performance:e}=pa;if(!e||!e.now)return Gx;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/EF}const jx=Ple();(()=>{const{performance:e}=pa;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,o=i"u"||__SENTRY_DEBUG__,CF="production";function kle(){return SF("globalEventProcessors",()=>[])}function ZC(e,t,n,r=0){return new oc((i,o)=>{const l=e[r];if(t===null||typeof l!="function")i(t);else{const s=l({...t},n);U0&&l.id&&s===null&&cl.log(`Event processor "${l.id}" dropped event`),zx(s)?s.then(u=>ZC(e,u,n,r+1).then(i)).then(null,o):ZC(e,s,n,r+1).then(i).then(null,o)}})}function $le(e){const t=jx(),n={sid:_s(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Fle(n)};return e&&Qb(n,e),n}function Qb(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||jx(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:_s()),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 Lle(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Qb(e,n)}function Fle(e){return Su({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,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Ble=1;function Ule(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:l,tags:s,origin:u}=ug(e);return Su({data:r,op:i,parent_span_id:o,span_id:t,status:l,tags:s,trace_id:n,origin:u})}function ug(e){return Hle(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function Hle(e){return typeof e.getSpanJSON=="function"}function Vle(e){const{traceFlags:t}=e.spanContext();return Boolean(t&Ble)}function zle(e){if(!!e)return Gle(e)?{captureContext:e}:Yle(e)?{captureContext:e}:e}function Gle(e){return e instanceof xu||typeof e=="function"}const jle=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Yle(e){return Object.keys(e).some(t=>jle.includes(t))}function Wle(e,t){return Yx().captureException(e,zle(t))}function TF(){return Yx().getClient()}function qle(){return Yx().getScope()}function wF(e){return e.transaction}function Kle(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},l=Su({environment:r.environment||CF,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",l),l}function Zle(e){const t=TF();if(!t)return{};const n=Kle(ug(e).trace_id||"",t,qle()),r=wF(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:o,source:l}=r.metadata;o!=null&&(n.sample_rate=`${o}`);const s=ug(r);return l&&l!=="url"&&(n.transaction=s.description),n.sampled=String(Vle(r)),t.emit&&t.emit("createDsc",n),n}function Qle(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;Xle(e,t),r&&tce(e,r),nce(e,n),Jle(e,i),ece(e,o)}function Xle(e,t){const{extra:n,tags:r,user:i,contexts:o,level:l,transactionName:s}=t,u=Su(n);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});const a=Su(r);a&&Object.keys(a).length&&(e.tags={...a,...e.tags});const c=Su(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});const d=Su(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),l&&(e.level=l),s&&(e.transaction=s)}function Jle(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function ece(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function tce(e,t){e.contexts={trace:Ule(t),...e.contexts};const n=wF(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Zle(t),...e.sdkProcessingMetadata};const r=ug(n).description;r&&(e.tags={transaction:r,...e.tags})}}function nce(e,t){e.fingerprint=e.fingerprint?yF(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const rce=100;class xu{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=hM()}static clone(t){return t?t.clone():new xu}clone(){const t=new xu;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Qb(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._span;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;const n=typeof t=="function"?t(this):t;if(n instanceof xu){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(bF(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return 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=hM(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:rce;if(r<=0)return this;const i={timestamp:Gx(),...t},o=this._breadcrumbs;return o.push(i),this._breadcrumbs=o.length>r?o.slice(-r):o,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.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:i,_extra:o,_user:l,_level:s,_fingerprint:u,_eventProcessors:a,_propagationContext:c,_sdkProcessingMetadata:d,_transactionName:p,_span:f}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:i,extra:o,user:l,level:s,fingerprint:u||[],eventProcessors:a,propagationContext:c,sdkProcessingMetadata:d,transactionName:p,span:f}}applyToEvent(t,n={},r=[]){Qle(t,this.getScopeData());const i=[...r,...kle(),...this._eventProcessors];return ZC(i,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:_s();if(!this._client)return cl.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r&&r.event_id?r.event_id:_s();if(!this._client)return cl.warn("No client configured on scope - will not capture message!"),i;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:_s();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(cl.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function hM(){return{traceId:_s(),spanId:_s().substring(16)}}const ice="7.119.2",xF=parseFloat(ice),oce=100;class OF{constructor(t,n,r,i=xF){this._version=i;let o;n?o=n:(o=new xu,o.setClient(t));let l;r?l=r:(l=new xu,l.setClient(t)),this._stack=[{scope:o}],t&&this.bindClient(t),this._isolationScope=l}isOlderThan(t){return this._version(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:_s(),i=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:i,...n,event_id:r}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:_s(),o=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:_s();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:l=oce}=i.getOptions&&i.getOptions()||{};if(l<=0)return;const u={timestamp:Gx(),...t},a=o?uh(()=>o(u,n)):u;a!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",a,n),r.addBreadcrumb(a,l))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=_M(this);try{t(this)}finally{_M(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return U0&&cl.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return U0&&!r&&(this.getClient()?cl.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):cl.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),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&&Lle(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o=CF}=r&&r.getOptions()||{},{userAgent:l}=pa.navigator||{},s=$le({release:i,environment:o,user:n.getUser(),...l&&{userAgent:l},...t}),u=n.getSession&&n.getSession();return u&&u.status==="ok"&&Qb(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)}_callExtensionMethod(t,...n){const i=Xb().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);U0&&cl.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Xb(){return pa.__SENTRY__=pa.__SENTRY__||{extensions:{},hub:void 0},pa}function _M(e){const t=Xb(),n=QC(t);return IF(t,e),n}function Yx(){const e=Xb();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return ace(e)}function ace(e=Xb()){return(!sce(e)||QC(e).isOlderThan(xF))&&IF(e,new OF),QC(e)}function sce(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function QC(e){return SF("hub",()=>new OF,e)}function IF(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function lce(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=TF(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const H0="sentry.source",XC="sentry.origin";function cce(e,t){return Object.assign(function(...r){return t(...r)},{id:e})}const RF=["activate","mount","update"],uce=/(?:^|[-_])(\w)/g,dce=e=>e.replace(uce,t=>t.toUpperCase()).replace(/[-_]/g,""),pce="",UE="",fce=(e,t)=>e.repeat?e.repeat(t):e,Mm=(e,t)=>{if(!e)return UE;if(e.$root===e)return pce;if(!e.$options)return UE;const n=e.$options;let r=n.name||n._componentTag;const i=n.__file;if(!r&&i){const o=i.match(/([^/\\]+)\.vue$/);o&&(r=o[1])}return(r?`<${dce(r)}>`:UE)+(i&&t!==!1?` at ${i}`:"")},mce=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` @@ -52,7 +52,7 @@ found in ${t.map((i,o)=>`${(o===0?"---> ":fce(" ",5+o*2))+(Array.isArray(i)?`${Mm(i[0])}... (${i[1]} recursive calls)`:Mm(i))}`).join(` `)}`}return` -(found in ${Mm(e)})`},gce=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(o,l,s)=>{const u=Mm(l,!1),a=l?mce(l):"",c={componentName:u,lifecycleHook:s,trace:a};if(t.attachProps&&l&&(l.$options&&l.$options.propsData?c.propsData=l.$options.propsData:l.$props&&(c.propsData=l.$props)),setTimeout(()=>{Wle(o,{captureContext:{contexts:{vue:c}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,o,l,s),t.logErrors){const d=typeof console<"u",p=`Error in ${s}: "${o&&o.toString()}"`;r?r.call(null,p,l,a):d&&!i&&uh(()=>{console.error(`[Vue warn]: ${p}${a}`)})}}},hce=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vM="ui.vue",_ce={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function vce(){return $c().getTransaction()}function bce(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}const Sce=e=>{const t=(e.hooks||[]).concat(RF).filter((r,i,o)=>o.indexOf(r)===i),n={};for(const r of t){const i=_ce[r];if(!i){hce&&cl.warn(`Unknown hook: ${r}`);continue}for(const o of i)n[o]=function(){const l=this.$root===this;l&&vC()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||X2({name:"Application Render",op:`${vM}.render`,origin:"auto.ui.vue"}));const s=Mm(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(s)>-1:e.trackComponents;if(!(!l&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},o==i[0]){if(this.$root&&this.$root.$_sentryRootSpan||vC()){const c=this.$_sentrySpans[r];c&&c.end(),this.$_sentrySpans[r]=X2({name:`Vue <${s}>`,op:`${vM}.${r}`,origin:"auto.ui.vue"})}}else{const a=this.$_sentrySpans[r];if(!a)return;a.end(),bce(this,jx(),e.timeout)}}}return n},yce=pa,Ece={Vue:yce.Vue,attachProps:!0,logErrors:!0,hooks:RF,timeout:2e3,trackComponents:!1},AF="Vue",Cce=(e={})=>({name:AF,setupOnce(){},setup(t){Tce(t,e)}}),NF=Cce;cce(AF,NF);function Tce(e,t){const n={...Ece,...e.getOptions(),...t};if(!n.Vue&&!n.app){uh(()=>{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}n.app?yF(n.app).forEach(i=>bM(i,n)):n.Vue&&bM(n.Vue,n)}const bM=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&uh(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),gce(e,t),lce(t)&&e.mixin(Sce({...t,...t.tracingOptions}))};function wce(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ig}],version:ig}},defaultIntegrations:[...v3(),NF()],...e};pre(t)}function xce(e,t={}){return(n,r=!0,i=!0)=>{r&&Wn&&Wn.location&&n({name:Wn.location.pathname,op:"pageload",attributes:{[XC]:"auto.pageload.vue",[H0]:"url"}}),Oce(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:i,instrumentPageLoad:r},n)}}function Oce(e,t,n){e.onError(r=>r6(r,{mechanism:{handled:!1}})),e.beforeEach((r,i,o)=>{const l=i.name==null&&i.matched.length===0,s={[XC]:"auto.navigation.vue"};for(const c of Object.keys(r.params))s[`params.${c}`]=r.params[c];for(const c of Object.keys(r.query)){const d=r.query[c];d&&(s[`query.${c}`]=d)}let u=r.path,a="url";if(r.name&&t.routeLabel!=="path"?(u=r.name.toString(),a="custom"):r.matched[0]&&r.matched[0].path&&(u=r.matched[0].path,a="route"),t.instrumentPageLoad&&l){const c=vce();c&&((ug(c).data||{})[H0]!=="custom"&&(c.updateName(u),c.setAttribute(H0,a)),c.setAttributes({...s,[XC]:"auto.pageload.vue"}))}t.instrumentNavigation&&!l&&(s[H0]=a,n({name:u,op:"navigation",attributes:s})),o&&o()})}const yXe=(e,t)=>{wce({app:e,dsn:"https://92a7a6b6bf4d455dab113338d8518956@o1317386.ingest.sentry.io/6570769",replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,integrations:[new nne({routingInstrumentation:xce(t)}),new Zb],enabled:!0,tracesSampleRate:1,release:"691391b37b1de6b82d2a62890612ed890d9250a7"})};class EXe{constructor(t,n,r=localStorage){wn(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 JC(e){this.message=e}JC.prototype=new Error,JC.prototype.name="InvalidCharacterError";var SM=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new JC("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,l="";r=t.charAt(o++);~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 Ice(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(SM(n).replace(/(.)/g,function(r,i){var o=i.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(t)}catch{return SM(t)}}function Dv(e){this.message=e}function CXe(e,t){if(typeof e!="string")throw new Dv("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(Ice(e.split(".")[n]))}catch(r){throw new Dv("Invalid token specified: "+r.message)}}Dv.prototype=new Error,Dv.prototype.name="InvalidTokenError";function Jb(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const or={},dp=[],Fa=()=>{},Rce=()=>!1,Ace=/^on[^a-z]/,dh=e=>Ace.test(e),Wx=e=>e.startsWith("onUpdate:"),gr=Object.assign,qx=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nce=Object.prototype.hasOwnProperty,$n=(e,t)=>Nce.call(e,t),bt=Array.isArray,pp=e=>yf(e)==="[object Map]",nd=e=>yf(e)==="[object Set]",yM=e=>yf(e)==="[object Date]",Dce=e=>yf(e)==="[object RegExp]",jt=e=>typeof e=="function",Or=e=>typeof e=="string",dg=e=>typeof e=="symbol",ar=e=>e!==null&&typeof e=="object",Kx=e=>ar(e)&&jt(e.then)&&jt(e.catch),DF=Object.prototype.toString,yf=e=>DF.call(e),Mce=e=>yf(e).slice(8,-1),MF=e=>yf(e)==="[object Object]",Zx=e=>Or(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pm=Jb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eS=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pce=/-(\w)/g,co=eS(e=>e.replace(Pce,(t,n)=>n?n.toUpperCase():"")),kce=/\B([A-Z])/g,ca=eS(e=>e.replace(kce,"-$1").toLowerCase()),ph=eS(e=>e.charAt(0).toUpperCase()+e.slice(1)),km=eS(e=>e?`on${ph(e)}`:""),$p=(e,t)=>!Object.is(e,t),fp=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Pv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kv=e=>{const t=Or(e)?Number(e):NaN;return isNaN(t)?e:t};let EM;const eT=()=>EM||(EM=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),$ce="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",Lce=Jb($ce);function Mi(e){if(bt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Bce);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Gt(e){let t="";if(Or(e))t=e;else if(bt(e))for(let n=0;nOc(n,t))}const Xt=e=>Or(e)?e:e==null?"":bt(e)||ar(e)&&(e.toString===DF||!jt(e.toString))?JSON.stringify(e,kF,2):String(e),kF=(e,t)=>t&&t.__v_isRef?kF(e,t.value):pp(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:nd(t)?{[`Set(${t.size})`]:[...t.values()]}:ar(t)&&!bt(t)&&!MF(t)?String(t):t;let Io;class Qx{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Io,!t&&Io&&(this.index=(Io.scopes||(Io.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Io;try{return Io=this,t()}finally{Io=n}}}on(){Io=this}off(){Io=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},FF=e=>(e.w&Ic)>0,BF=e=>(e.n&Ic)>0,Yce=({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(a)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":bt(e)?Zx(n)&&s.push(l.get("length")):(s.push(l.get(Ou)),pp(e)&&s.push(l.get(nT)));break;case"delete":bt(e)||(s.push(l.get(Ou)),pp(e)&&s.push(l.get(nT)));break;case"set":pp(e)&&s.push(l.get(Ou));break}if(s.length===1)s[0]&&rT(s[0]);else{const u=[];for(const a of s)a&&u.push(...a);rT(Jx(u))}}function rT(e,t){const n=bt(e)?e:[...e];for(const r of n)r.computed&&TM(r);for(const r of n)r.computed||TM(r)}function TM(e,t){(e!==Da||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Zce(e,t){var n;return(n=$v.get(e))==null?void 0:n.get(t)}const Qce=Jb("__proto__,__v_isRef,__isVue"),VF=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dg)),Xce=nS(),Jce=nS(!1,!0),eue=nS(!0),tue=nS(!0,!0),wM=nue();function nue(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ut(this);for(let o=0,l=this.length;o{e[t]=function(...n){Ef();const r=Ut(this)[t].apply(this,n);return Cf(),r}}),e}function rue(e){const t=Ut(this);return po(t,"has",e),t.hasOwnProperty(e)}function nS(e=!1,t=!1){return function(r,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&o===(e?t?KF:qF:t?WF:YF).get(r))return r;const l=bt(r);if(!e){if(l&&$n(wM,i))return Reflect.get(wM,i,o);if(i==="hasOwnProperty")return rue}const s=Reflect.get(r,i,o);return(dg(i)?VF.has(i):Qce(i))||(e||po(r,"get",i),t)?s:Wr(s)?l&&Zx(i)?s:s.value:ar(s)?e?tO(s):dn(s):s}}const iue=zF(),oue=zF(!0);function zF(e=!1){return function(n,r,i,o){let l=n[r];if(Vu(l)&&Wr(l)&&!Wr(i))return!1;if(!e&&(!pg(i)&&!Vu(i)&&(l=Ut(l),i=Ut(i)),!bt(n)&&Wr(l)&&!Wr(i)))return l.value=i,!0;const s=bt(n)&&Zx(r)?Number(r)e,rS=e=>Reflect.getPrototypeOf(e);function q_(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ut(e),o=Ut(t);n||(t!==o&&po(i,"get",t),po(i,"get",o));const{has:l}=rS(i),s=r?eO:n?iO:fg;if(l.call(i,t))return s(e.get(t));if(l.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function K_(e,t=!1){const n=this.__v_raw,r=Ut(n),i=Ut(e);return t||(e!==i&&po(r,"has",e),po(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Z_(e,t=!1){return e=e.__v_raw,!t&&po(Ut(e),"iterate",Ou),Reflect.get(e,"size",e)}function xM(e){e=Ut(e);const t=Ut(this);return rS(t).has.call(t,e)||(t.add(e),vl(t,"add",e,e)),this}function OM(e,t){t=Ut(t);const n=Ut(this),{has:r,get:i}=rS(n);let o=r.call(n,e);o||(e=Ut(e),o=r.call(n,e));const l=i.call(n,e);return n.set(e,t),o?$p(t,l)&&vl(n,"set",e,t):vl(n,"add",e,t),this}function IM(e){const t=Ut(this),{has:n,get:r}=rS(t);let i=n.call(t,e);i||(e=Ut(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&vl(t,"delete",e,void 0),o}function RM(){const e=Ut(this),t=e.size!==0,n=e.clear();return t&&vl(e,"clear",void 0,void 0),n}function Q_(e,t){return function(r,i){const o=this,l=o.__v_raw,s=Ut(l),u=t?eO:e?iO:fg;return!e&&po(s,"iterate",Ou),l.forEach((a,c)=>r.call(i,u(a),u(c),o))}}function X_(e,t,n){return function(...r){const i=this.__v_raw,o=Ut(i),l=pp(o),s=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,a=i[e](...r),c=n?eO:t?iO:fg;return!t&&po(o,"iterate",u?nT:Ou),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function jl(e){return function(...t){return e==="delete"?!1:this}}function due(){const e={get(o){return q_(this,o)},get size(){return Z_(this)},has:K_,add:xM,set:OM,delete:IM,clear:RM,forEach:Q_(!1,!1)},t={get(o){return q_(this,o,!1,!0)},get size(){return Z_(this)},has:K_,add:xM,set:OM,delete:IM,clear:RM,forEach:Q_(!1,!0)},n={get(o){return q_(this,o,!0)},get size(){return Z_(this,!0)},has(o){return K_.call(this,o,!0)},add:jl("add"),set:jl("set"),delete:jl("delete"),clear:jl("clear"),forEach:Q_(!0,!1)},r={get(o){return q_(this,o,!0,!0)},get size(){return Z_(this,!0)},has(o){return K_.call(this,o,!0)},add:jl("add"),set:jl("set"),delete:jl("delete"),clear:jl("clear"),forEach:Q_(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=X_(o,!1,!1),n[o]=X_(o,!0,!1),t[o]=X_(o,!1,!0),r[o]=X_(o,!0,!0)}),[e,n,t,r]}const[pue,fue,mue,gue]=due();function iS(e,t){const n=t?e?gue:mue:e?fue:pue;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get($n(n,i)&&i in r?n:r,i,o)}const hue={get:iS(!1,!1)},_ue={get:iS(!1,!0)},vue={get:iS(!0,!1)},bue={get:iS(!0,!0)},YF=new WeakMap,WF=new WeakMap,qF=new WeakMap,KF=new WeakMap;function Sue(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yue(e){return e.__v_skip||!Object.isExtensible(e)?0:Sue(Mce(e))}function dn(e){return Vu(e)?e:oS(e,!1,GF,hue,YF)}function ZF(e){return oS(e,!1,cue,_ue,WF)}function tO(e){return oS(e,!0,jF,vue,qF)}function Eue(e){return oS(e,!0,uue,bue,KF)}function oS(e,t,n,r,i){if(!ar(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const l=yue(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return i.set(e,s),s}function Iu(e){return Vu(e)?Iu(e.__v_raw):!!(e&&e.__v_isReactive)}function Vu(e){return!!(e&&e.__v_isReadonly)}function pg(e){return!!(e&&e.__v_isShallow)}function nO(e){return Iu(e)||Vu(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function rO(e){return Mv(e,"__v_skip",!0),e}const fg=e=>ar(e)?dn(e):e,iO=e=>ar(e)?tO(e):e;function oO(e){Sc&&Da&&(e=Ut(e),HF(e.dep||(e.dep=Jx())))}function aS(e,t){e=Ut(e);const n=e.dep;n&&rT(n)}function Wr(e){return!!(e&&e.__v_isRef===!0)}function Ie(e){return QF(e,!1)}function ke(e){return QF(e,!0)}function QF(e,t){return Wr(e)?e:new Cue(e,t)}class Cue{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:fg(t)}get value(){return oO(this),this._value}set value(t){const n=this.__v_isShallow||pg(t)||Vu(t);t=n?t:Ut(t),$p(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:fg(t),aS(this))}}function Tue(e){aS(e)}function We(e){return Wr(e)?e.value:e}function wue(e){return jt(e)?e():We(e)}const xue={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Wr(i)&&!Wr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function aO(e){return Iu(e)?e:new Proxy(e,xue)}class Oue{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>oO(this),()=>aS(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Iue(e){return new Oue(e)}function mp(e){const t=bt(e)?new Array(e.length):{};for(const n in e)t[n]=XF(e,n);return t}class Rue{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 Zce(Ut(this._object),this._key)}}class Aue{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xt(e,t,n){return Wr(e)?e:jt(e)?new Aue(e):ar(e)&&arguments.length>1?XF(e,t,n):Ie(e)}function XF(e,t,n){const r=e[t];return Wr(r)?r:new Rue(e,t,n)}class Nue{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 fh(t,()=>{this._dirty||(this._dirty=!0,aS(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ut(this);return oO(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Due(e,t,n=!1){let r,i;const o=jt(e);return o?(r=e,i=Fa):(r=e.get,i=e.set),new Nue(r,i,o||!i,n)}function Mue(e,...t){}function Pue(e,t){}function hl(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){rd(o,t,n)}return i}function $o(e,t,n,r){if(jt(e)){const o=hl(e,t,n,r);return o&&Kx(o)&&o.catch(l=>{rd(l,t,n)}),o}const i=[];for(let o=0;o>>1;gg(Ni[r])ds&&Ni.splice(t,1)}function lO(e){bt(e)?gp.push(...e):(!el||!el.includes(e,e.allowRecurse?pu+1:pu))&&gp.push(e),eB()}function AM(e,t=mg?ds+1:0){for(;tgg(n)-gg(r)),pu=0;pue.id==null?1/0:e.id,Fue=(e,t)=>{const n=gg(e)-gg(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function tB(e){iT=!1,mg=!0,Ni.sort(Fue);const t=Fa;try{for(ds=0;dsjd.emit(i,...o)),J_=[]):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(o=>{nB(o,t)}),setTimeout(()=>{jd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,J_=[])},3e3)):J_=[]}function Bue(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||or;let i=n;const o=t.startsWith("update:"),l=o&&t.slice(7);if(l&&l in r){const c=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[c]||or;p&&(i=n.map(f=>Or(f)?f.trim():f)),d&&(i=n.map(Pv))}let s,u=r[s=km(t)]||r[s=km(co(t))];!u&&o&&(u=r[s=km(ca(t))]),u&&$o(u,e,6,i);const a=r[s+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,$o(a,e,6,i)}}function rB(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let l={},s=!1;if(!jt(e)){const u=a=>{const c=rB(a,t,!0);c&&(s=!0,gr(l,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!s?(ar(e)&&r.set(e,null),null):(bt(o)?o.forEach(u=>l[u]=null):gr(l,o),ar(e)&&r.set(e,l),l)}function lS(e,t){return!e||!dh(t)?!1:(t=t.slice(2).replace(/Once$/,""),$n(e,t[0].toLowerCase()+t.slice(1))||$n(e,ca(t))||$n(e,t))}let fi=null,cS=null;function hg(e){const t=fi;return fi=e,cS=e&&e.type.__scopeId||null,t}function iB(e){cS=e}function oB(){cS=null}const Uue=e=>fn;function fn(e,t=fi,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&dT(-1);const o=hg(t);let l;try{l=e(...i)}finally{hg(o),r._d&&dT(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function V0(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[l],slots:s,attrs:u,emit:a,render:c,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=e;let h,v;const b=hg(e);try{if(n.shapeFlag&4){const y=i||r;h=No(c.call(y,y,d,o,f,p,g)),v=u}else{const y=t;h=No(y.length>1?y(o,{attrs:u,slots:s,emit:a}):y(o,null)),v=t.props?u:Vue(u)}}catch(y){Fm.length=0,rd(y,e,1),h=x(Ci)}let S=h;if(v&&m!==!1){const y=Object.keys(v),{shapeFlag:C}=S;y.length&&C&7&&(l&&y.some(Wx)&&(v=zue(v,l)),S=wi(S,v))}return n.dirs&&(S=wi(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),h=S,hg(b),h}function Hue(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||dh(n))&&((t||(t={}))[n]=e[n]);return t},zue=(e,t)=>{const n={};for(const r in e)(!Wx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Gue(e,t,n){const{props:r,children:i,component:o}=e,{props:l,children:s,patchFlag:u}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?NM(r,l,a):!!l;if(u&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense,jue={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,l,s,u,a){e==null?Wue(t,n,r,i,o,l,s,u,a):que(e,t,n,r,i,l,s,u,a)},hydrate:Kue,create:uO,normalize:Zue},Yue=jue;function _g(e,t){const n=e.props&&e.props[t];jt(n)&&n()}function Wue(e,t,n,r,i,o,l,s,u){const{p:a,o:{createElement:c}}=u,d=c("div"),p=e.suspense=uO(e,i,r,t,d,n,o,l,s,u);a(null,p.pendingBranch=e.ssContent,d,null,r,p,o,l),p.deps>0?(_g(e,"onPending"),_g(e,"onFallback"),a(null,e.ssFallback,t,n,r,null,o,l),hp(p,e.ssFallback)):p.resolve(!1,!0)}function que(e,t,n,r,i,o,l,s,{p:u,um:a,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,Ma(p,m)?(u(m,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0?d.resolve():h&&(u(g,f,n,r,i,null,o,l,s),hp(d,f))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=m):a(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),h?(u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0?d.resolve():(u(g,f,n,r,i,null,o,l,s),hp(d,f))):g&&Ma(p,g)?(u(g,p,n,r,i,d,o,l,s),d.resolve(!0)):(u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0&&d.resolve()));else if(g&&Ma(p,g))u(g,p,n,r,i,d,o,l,s),hp(d,p);else if(_g(t,"onPending"),d.pendingBranch=p,d.pendingId++,u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:S}=d;b>0?setTimeout(()=>{d.pendingId===S&&d.fallback(f)},b):b===0&&d.fallback(f)}}function uO(e,t,n,r,i,o,l,s,u,a,c=!1){const{p:d,m:p,um:f,n:g,o:{parentNode:m,remove:h}}=a;let v;const b=Que(e);b&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const S=e.props?kv(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,w=!1){const{vnode:T,activeBranch:O,pendingBranch:R,pendingId:N,effects:D,parentComponent:B,container:P}=y;if(y.isHydrating)y.isHydrating=!1;else if(!C){const L=O&&R.transition&&R.transition.mode==="out-in";L&&(O.transition.afterLeave=()=>{N===y.pendingId&&p(R,P,H,0)});let{anchor:H}=y;O&&(H=g(O),f(O,B,y,!0)),L||p(R,P,H,0)}hp(y,R),y.pendingBranch=null,y.isInFallback=!1;let $=y.parent,M=!1;for(;$;){if($.pendingBranch){$.effects.push(...D),M=!0;break}$=$.parent}M||lO(D),y.effects=[],b&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),_g(T,"onResolve")},fallback(C){if(!y.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:O,container:R,isSVG:N}=y;_g(w,"onFallback");const D=g(T),B=()=>{!y.isInFallback||(d(null,C,R,D,O,null,N,s,u),hp(y,C))},P=C.transition&&C.transition.mode==="out-in";P&&(T.transition.afterLeave=B),y.isInFallback=!0,f(T,O,null,!0),P||B()},move(C,w,T){y.activeBranch&&p(y.activeBranch,C,w,T),y.container=C},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(C,w){const T=!!y.pendingBranch;T&&y.deps++;const O=C.vnode.el;C.asyncDep.catch(R=>{rd(R,C,0)}).then(R=>{if(C.isUnmounted||y.isUnmounted||y.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;pT(C,R,!1),O&&(N.el=O);const D=!O&&C.subTree.el;w(C,N,m(O||C.subTree.el),O?null:g(C.subTree),y,l,u),D&&h(D),cO(C,N.el),T&&--y.deps===0&&y.resolve()})},unmount(C,w){y.isUnmounted=!0,y.activeBranch&&f(y.activeBranch,n,C,w),y.pendingBranch&&f(y.pendingBranch,n,C,w)}};return y}function Kue(e,t,n,r,i,o,l,s,u){const a=t.suspense=uO(t,r,n,e.parentNode,document.createElement("div"),null,i,o,l,s,!0),c=u(e,a.pendingBranch=t.ssContent,n,a,o,l);return a.deps===0&&a.resolve(!1,!0),c}function Zue(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=DM(r?n.default:n),e.ssFallback=r?DM(n.fallback):x(Ci)}function DM(e){let t;if(jt(e)){const n=Gu&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=lo,MB())}return bt(e)&&(e=Hue(e)),e=No(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sB(e,t){t&&t.pendingBranch?bt(e)?t.effects.push(...e):t.effects.push(e):lO(e)}function hp(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,cO(r,i))}function Que(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function It(e,t){return mh(e,null,t)}function lB(e,t){return mh(e,null,{flush:"post"})}function Xue(e,t){return mh(e,null,{flush:"sync"})}const e0={};function Ve(e,t,n){return mh(e,t,n)}function mh(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:l}=or){var s;const u=Xx()===((s=ei)==null?void 0:s.scope)?ei:null;let a,c=!1,d=!1;if(Wr(e)?(a=()=>e.value,c=pg(e)):Iu(e)?(a=()=>e,r=!0):bt(e)?(d=!0,c=e.some(y=>Iu(y)||pg(y)),a=()=>e.map(y=>{if(Wr(y))return y.value;if(Iu(y))return yu(y);if(jt(y))return hl(y,u,2)})):jt(e)?t?a=()=>hl(e,u,2):a=()=>{if(!(u&&u.isUnmounted))return p&&p(),$o(e,u,3,[f])}:a=Fa,t&&r){const y=a;a=()=>yu(y())}let p,f=y=>{p=b.onStop=()=>{hl(y,u,4)}},g;if(Fp)if(f=Fa,t?n&&$o(t,u,3,[a(),d?[]:void 0,f]):a(),i==="sync"){const y=VB();g=y.__watcherHandles||(y.__watcherHandles=[])}else return Fa;let m=d?new Array(e.length).fill(e0):e0;const h=()=>{if(!!b.active)if(t){const y=b.run();(r||c||(d?y.some((C,w)=>$p(C,m[w])):$p(y,m)))&&(p&&p(),$o(t,u,3,[y,m===e0?void 0:d&&m[0]===e0?[]:m,f]),m=y)}else b.run()};h.allowRecurse=!!t;let v;i==="sync"?v=h:i==="post"?v=()=>vi(h,u&&u.suspense):(h.pre=!0,u&&(h.id=u.uid),v=()=>sS(h));const b=new fh(a,v);t?n?h():m=b.run():i==="post"?vi(b.run.bind(b),u&&u.suspense):b.run();const S=()=>{b.stop(),u&&u.scope&&qx(u.scope.effects,b)};return g&&g.push(S),S}function Jue(e,t,n){const r=this.proxy,i=Or(e)?e.includes(".")?cB(r,e):()=>r[e]:e.bind(r,r);let o;jt(t)?o=t:(o=t.handler,n=t);const l=ei;Rc(this);const s=mh(i,o.bind(r),n);return l?Rc(l):yc(),s}function cB(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{yu(n,t)});else if(MF(e))for(const n in e)yu(e[n],t);return e}function Sr(e,t){const n=fi;if(n===null)return e;const r=mS(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Jt(()=>{e.isUnmounting=!0}),e}const ea=[Function,Array],pO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ea,onEnter:ea,onAfterEnter:ea,onEnterCancelled:ea,onBeforeLeave:ea,onLeave:ea,onAfterLeave:ea,onLeaveCancelled:ea,onBeforeAppear:ea,onAppear:ea,onAfterAppear:ea,onAppearCancelled:ea},ede={name:"BaseTransition",props:pO,setup(e,{slots:t}){const n=Er(),r=dO();let i;return()=>{const o=t.default&&uS(t.default(),!0);if(!o||!o.length)return;let l=o[0];if(o.length>1){for(const m of o)if(m.type!==Ci){l=m;break}}const s=Ut(e),{mode:u}=s;if(r.isLeaving)return HE(l);const a=MM(l);if(!a)return HE(l);const c=Lp(a,s,r,n);zu(a,c);const d=n.subTree,p=d&&MM(d);let f=!1;const{getTransitionKey:g}=a.type;if(g){const m=g();i===void 0?i=m:m!==i&&(i=m,f=!0)}if(p&&p.type!==Ci&&(!Ma(a,p)||f)){const m=Lp(p,s,r,n);if(zu(p,m),u==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},HE(l);u==="in-out"&&a.type!==Ci&&(m.delayLeave=(h,v,b)=>{const S=dB(r,p);S[String(p.key)]=p,h._leaveCb=()=>{v(),h._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return l}}},uB=ede;function dB(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 Lp(e,t,n,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:a,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:h,onAfterAppear:v,onAppearCancelled:b}=t,S=String(e.key),y=dB(n,e),C=(O,R)=>{O&&$o(O,r,9,R)},w=(O,R)=>{const N=R[1];C(O,R),bt(O)?O.every(D=>D.length<=1)&&N():O.length<=1&&N()},T={mode:o,persisted:l,beforeEnter(O){let R=s;if(!n.isMounted)if(i)R=m||s;else return;O._leaveCb&&O._leaveCb(!0);const N=y[S];N&&Ma(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(R,[O])},enter(O){let R=u,N=a,D=c;if(!n.isMounted)if(i)R=h||u,N=v||a,D=b||c;else return;let B=!1;const P=O._enterCb=$=>{B||(B=!0,$?C(D,[O]):C(N,[O]),T.delayedLeave&&T.delayedLeave(),O._enterCb=void 0)};R?w(R,[O,P]):P()},leave(O,R){const N=String(e.key);if(O._enterCb&&O._enterCb(!0),n.isUnmounting)return R();C(d,[O]);let D=!1;const B=O._leaveCb=P=>{D||(D=!0,R(),P?C(g,[O]):C(f,[O]),O._leaveCb=void 0,y[N]===e&&delete y[N])};y[N]=e,p?w(p,[O,B]):B()},clone(O){return Lp(O,t,n,r)}};return T}function HE(e){if(gh(e))return e=wi(e),e.children=null,e}function MM(e){return gh(e)?e.children?e.children[0]:void 0:e}function zu(e,t){e.shapeFlag&6&&e.component?zu(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 uS(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;ogr({name:e.name},t,{setup:e}))():e}const Ru=e=>!!e.type.__asyncLoader;function tde(e){jt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:l=!0,onError:s}=e;let u=null,a,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),a=g,g)))};return we({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const f=ei;if(a)return()=>VE(a,f);const g=b=>{u=null,rd(b,f,13,!r)};if(l&&f.suspense||Fp)return p().then(b=>()=>VE(b,f)).catch(b=>(g(b),()=>r?x(r,{error:b}):null));const m=Ie(!1),h=Ie(),v=Ie(!!i);return i&&setTimeout(()=>{v.value=!1},i),o!=null&&setTimeout(()=>{if(!m.value&&!h.value){const b=new Error(`Async component timed out after ${o}ms.`);g(b),h.value=b}},o),p().then(()=>{m.value=!0,f.parent&&gh(f.parent.vnode)&&sS(f.parent.update)}).catch(b=>{g(b),h.value=b}),()=>{if(m.value&&a)return VE(a,f);if(h.value&&r)return x(r,{error:h.value});if(n&&!v.value)return x(n)}}})}function VE(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,l=x(e,r,i);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const gh=e=>e.type.__isKeepAlive,nde={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Er(),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,o=new Set;let l=null;const s=n.suspense,{renderer:{p:u,m:a,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(b,S,y,C,w)=>{const T=b.component;a(b,S,y,0,s),u(T.vnode,b,S,y,T,s,C,b.slotScopeIds,w),vi(()=>{T.isDeactivated=!1,T.a&&fp(T.a);const O=b.props&&b.props.onVnodeMounted;O&&oo(O,T.parent,b)},s)},r.deactivate=b=>{const S=b.component;a(b,p,null,1,s),vi(()=>{S.da&&fp(S.da);const y=b.props&&b.props.onVnodeUnmounted;y&&oo(y,S.parent,b),S.isDeactivated=!0},s)};function f(b){zE(b),c(b,n,s,!0)}function g(b){i.forEach((S,y)=>{const C=mT(S.type);C&&(!b||!b(C))&&m(y)})}function m(b){const S=i.get(b);!l||!Ma(S,l)?f(S):l&&zE(l),i.delete(b),o.delete(b)}Ve(()=>[e.include,e.exclude],([b,S])=>{b&&g(y=>ym(b,y)),S&&g(y=>!ym(S,y))},{flush:"post",deep:!0});let h=null;const v=()=>{h!=null&&i.set(h,GE(n.subTree))};return _t(v),go(v),Jt(()=>{i.forEach(b=>{const{subTree:S,suspense:y}=n,C=GE(S);if(b.type===C.type&&b.key===C.key){zE(C);const w=C.component.da;w&&vi(w,y);return}f(b)})}),()=>{if(h=null,!t.default)return null;const b=t.default(),S=b[0];if(b.length>1)return l=null,b;if(!Kr(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return l=null,S;let y=GE(S);const C=y.type,w=mT(Ru(y)?y.type.__asyncResolved||{}:C),{include:T,exclude:O,max:R}=e;if(T&&(!w||!ym(T,w))||O&&w&&ym(O,w))return l=y,S;const N=y.key==null?C:y.key,D=i.get(N);return y.el&&(y=wi(y),S.shapeFlag&128&&(S.ssContent=y)),h=N,D?(y.el=D.el,y.component=D.component,y.transition&&zu(y,y.transition),y.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),R&&o.size>parseInt(R,10)&&m(o.values().next().value)),y.shapeFlag|=256,l=y,aB(S.type)?S:y}}},rde=nde;function ym(e,t){return bt(e)?e.some(n=>ym(n,t)):Or(e)?e.split(",").includes(t):Dce(e)?e.test(t):!1}function hh(e,t){pB(e,"a",t)}function fO(e,t){pB(e,"da",t)}function pB(e,t,n=ei){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(dS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)gh(i.parent.vnode)&&ide(r,t,n,i),i=i.parent}}function ide(e,t,n,r){const i=dS(t,e,r,!0);Li(()=>{qx(r[t],i)},n)}function zE(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function GE(e){return e.shapeFlag&128?e.ssContent:e}function dS(e,t,n=ei,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Ef(),Rc(n);const s=$o(t,n,e,l);return yc(),Cf(),s});return r?i.unshift(o):i.push(o),o}}const Ol=e=>(t,n=ei)=>(!Fp||e==="sp")&&dS(e,(...r)=>t(...r),n),pS=Ol("bm"),_t=Ol("m"),_h=Ol("bu"),go=Ol("u"),Jt=Ol("bum"),Li=Ol("um"),fB=Ol("sp"),mB=Ol("rtg"),gB=Ol("rtc");function hB(e,t=ei){dS("ec",e,t)}const mO="components",ode="directives";function _p(e,t){return gO(mO,e,!0,t)||e}const _B=Symbol.for("v-ndc");function Au(e){return Or(e)?gO(mO,e,!1)||e:e||_B}function Tf(e){return gO(ode,e)}function gO(e,t,n=!0,r=!1){const i=fi||ei;if(i){const o=i.type;if(e===mO){const s=mT(o,!1);if(s&&(s===t||s===co(t)||s===ph(co(t))))return o}const l=PM(i[e]||o[e],t)||PM(i.appContext[e],t);return!l&&r?o:l}}function PM(e,t){return e&&(e[t]||e[co(t)]||e[ph(co(t))])}function Pi(e,t,n,r){let i;const o=n&&n[r];if(bt(e)||Or(e)){i=new Array(e.length);for(let l=0,s=e.length;lt(l,s,void 0,o&&o[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function Ct(e,t,n={},r,i){if(fi.isCE||fi.parent&&Ru(fi.parent)&&fi.parent.isCE)return t!=="default"&&(n.name=t),x("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),oe();const l=o&&vB(o(n)),s=An(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"]),o&&o._c&&(o._d=!0),s}function vB(e){return e.some(t=>Kr(t)?!(t.type===Ci||t.type===tt&&!vB(t.children)):!0)?e:null}function bB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:km(r)]=e[r];return n}const oT=e=>e?LB(e)?mS(e)||e.proxy:oT(e.parent):null,$m=gr(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=>oT(e.parent),$root:e=>oT(e.root),$emit:e=>e.emit,$options:e=>_O(e),$forceUpdate:e=>e.f||(e.f=()=>sS(e.update)),$nextTick:e=>e.n||(e.n=sn.bind(e.proxy)),$watch:e=>Jue.bind(e)}),jE=(e,t)=>e!==or&&!e.__isScriptSetup&&$n(e,t),aT={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:l,type:s,appContext:u}=e;let a;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 o[t]}else{if(jE(r,t))return l[t]=1,r[t];if(i!==or&&$n(i,t))return l[t]=2,i[t];if((a=e.propsOptions[0])&&$n(a,t))return l[t]=3,o[t];if(n!==or&&$n(n,t))return l[t]=4,n[t];sT&&(l[t]=0)}}const c=$m[t];let d,p;if(c)return t==="$attrs"&&po(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==or&&$n(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,$n(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return jE(i,t)?(i[t]=n,!0):r!==or&&$n(r,t)?(r[t]=n,!0):$n(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},l){let s;return!!n[l]||e!==or&&$n(e,l)||jE(t,l)||(s=o[0])&&$n(s,l)||$n(r,l)||$n($m,l)||$n(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$n(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ade=gr({},aT,{get(e,t){if(t!==Symbol.unscopables)return aT.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Lce(t)}});function sde(){return null}function lde(){return null}function cde(e){}function ude(e){}function dde(){return null}function pde(){}function fde(e,t){return null}function mde(){return yB().slots}function SB(){return yB().attrs}function gde(e,t,n){const r=Er();if(n&&n.local){const i=Ie(e[t]);return Ve(()=>e[t],o=>i.value=o),Ve(i,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function yB(){const e=Er();return e.setupContext||(e.setupContext=UB(e))}function vg(e){return bt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hde(e,t){const n=vg(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?bt(i)||jt(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 _de(e,t){return!e||!t?e||t:bt(e)&&bt(t)?e.concat(t):gr({},vg(e),vg(t))}function vde(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function bde(e){const t=Er();let n=e();return yc(),Kx(n)&&(n=n.catch(r=>{throw Rc(t),r})),[n,()=>Rc(t)]}let sT=!0;function Sde(e){const t=_O(e),n=e.proxy,r=e.ctx;sT=!1,t.beforeCreate&&kM(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:s,provide:u,inject:a,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:g,activated:m,deactivated:h,beforeDestroy:v,beforeUnmount:b,destroyed:S,unmounted:y,render:C,renderTracked:w,renderTriggered:T,errorCaptured:O,serverPrefetch:R,expose:N,inheritAttrs:D,components:B,directives:P,filters:$}=t;if(a&&yde(a,r,null),l)for(const H in l){const U=l[H];jt(U)&&(r[H]=U.bind(n))}if(i){const H=i.call(n,n);ar(H)&&(e.data=dn(H))}if(sT=!0,o)for(const H in o){const U=o[H],j=jt(U)?U.bind(n,n):jt(U.get)?U.get.bind(n,n):Fa,G=!jt(U)&&jt(U.set)?U.set.bind(n):Fa,K=k({get:j,set:G});Object.defineProperty(r,H,{enumerable:!0,configurable:!0,get:()=>K.value,set:Q=>K.value=Q})}if(s)for(const H in s)EB(s[H],r,n,H);if(u){const H=jt(u)?u.call(n):u;Reflect.ownKeys(H).forEach(U=>{Dt(U,H[U])})}c&&kM(c,e,"c");function L(H,U){bt(U)?U.forEach(j=>H(j.bind(n))):U&&H(U.bind(n))}if(L(pS,d),L(_t,p),L(_h,f),L(go,g),L(hh,m),L(fO,h),L(hB,O),L(gB,w),L(mB,T),L(Jt,b),L(Li,y),L(fB,R),bt(N))if(N.length){const H=e.exposed||(e.exposed={});N.forEach(U=>{Object.defineProperty(H,U,{get:()=>n[U],set:j=>n[U]=j})})}else e.exposed||(e.exposed={});C&&e.render===Fa&&(e.render=C),D!=null&&(e.inheritAttrs=D),B&&(e.components=B),P&&(e.directives=P)}function yde(e,t,n=Fa){bt(e)&&(e=lT(e));for(const r in e){const i=e[r];let o;ar(i)?"default"in i?o=He(i.from||r,i.default,!0):o=He(i.from||r):o=He(i),Wr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function kM(e,t,n){$o(bt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function EB(e,t,n,r){const i=r.includes(".")?cB(n,r):()=>n[r];if(Or(e)){const o=t[e];jt(o)&&Ve(i,o)}else if(jt(e))Ve(i,e.bind(n));else if(ar(e))if(bt(e))e.forEach(o=>EB(o,t,n,r));else{const o=jt(e.handler)?e.handler.bind(n):t[e.handler];jt(o)&&Ve(i,o,e)}}function _O(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,s=o.get(t);let u;return s?u=s:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(a=>Fv(u,a,l,!0)),Fv(u,t,l)),ar(t)&&o.set(t,u),u}function Fv(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Fv(e,o,n,!0),i&&i.forEach(l=>Fv(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=Ede[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const Ede={data:$M,props:LM,emits:LM,methods:Em,computed:Em,beforeCreate:zi,created:zi,beforeMount:zi,mounted:zi,beforeUpdate:zi,updated:zi,beforeDestroy:zi,beforeUnmount:zi,destroyed:zi,unmounted:zi,activated:zi,deactivated:zi,errorCaptured:zi,serverPrefetch:zi,components:Em,directives:Em,watch:Tde,provide:$M,inject:Cde};function $M(e,t){return t?e?function(){return gr(jt(e)?e.call(this,this):e,jt(t)?t.call(this,this):t)}:t:e}function Cde(e,t){return Em(lT(e),lT(t))}function lT(e){if(bt(e)){const t={};for(let n=0;n1)return n&&jt(t)?t.call(r&&r.proxy):t}}function Ode(){return!!(ei||fi||bg)}function Ide(e,t,n,r=!1){const i={},o={};Mv(o,fS,1),e.propsDefaults=Object.create(null),TB(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:ZF(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Rde(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,s=Ut(i),[u]=e.propsOptions;let a=!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]=wB(d,t,!0);gr(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(!o&&!u)return ar(e)&&r.set(e,dp),dp;if(bt(o))for(let c=0;c-1,f[1]=m<0||g-1||$n(f,"default"))&&s.push(d)}}}const a=[l,s];return ar(e)&&r.set(e,a),a}function FM(e){return e[0]!=="$"}function BM(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function UM(e,t){return BM(e)===BM(t)}function HM(e,t){return bt(t)?t.findIndex(n=>UM(n,e)):jt(t)&&UM(t,e)?0:-1}const xB=e=>e[0]==="_"||e==="$stable",vO=e=>bt(e)?e.map(No):[No(e)],Ade=(e,t,n)=>{if(t._n)return t;const r=fn((...i)=>vO(t(...i)),n);return r._c=!1,r},OB=(e,t,n)=>{const r=e._ctx;for(const i in e){if(xB(i))continue;const o=e[i];if(jt(o))t[i]=Ade(i,o,r);else if(o!=null){const l=vO(o);t[i]=()=>l}}},IB=(e,t)=>{const n=vO(t);e.slots.default=()=>n},Nde=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ut(t),Mv(t,"_",n)):OB(t,e.slots={})}else e.slots={},t&&IB(e,t);Mv(e.slots,fS,1)},Dde=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,l=or;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:(gr(i,t),!n&&s===1&&delete i._):(o=!t.$stable,OB(t,i)),l=t}else t&&(IB(e,t),l={default:1});if(o)for(const s in i)!xB(s)&&!(s in l)&&delete i[s]};function Bv(e,t,n,r,i=!1){if(bt(e)){e.forEach((p,f)=>Bv(p,t&&(bt(t)?t[f]:t),n,r,i));return}if(Ru(r)&&!i)return;const o=r.shapeFlag&4?mS(r.component)||r.component.proxy:r.el,l=i?null:o,{i:s,r:u}=e,a=t&&t.r,c=s.refs===or?s.refs={}:s.refs,d=s.setupState;if(a!=null&&a!==u&&(Or(a)?(c[a]=null,$n(d,a)&&(d[a]=null)):Wr(a)&&(a.value=null)),jt(u))hl(u,s,12,[l,c]);else{const p=Or(u),f=Wr(u);if(p||f){const g=()=>{if(e.f){const m=p?$n(d,u)?d[u]:c[u]:u.value;i?bt(m)&&qx(m,o):bt(m)?m.includes(o)||m.push(o):p?(c[u]=[o],$n(d,u)&&(d[u]=c[u])):(u.value=[o],e.k&&(c[e.k]=u.value))}else p?(c[u]=l,$n(d,u)&&(d[u]=l)):f&&(u.value=l,e.k&&(c[e.k]=l))};l?(g.id=-1,vi(g,n)):g()}}}let Yl=!1;const t0=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",n0=e=>e.nodeType===8;function Mde(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:l,remove:s,insert:u,createComment:a}}=e,c=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),Lv(),b._vnode=v;return}Yl=!1,d(b.firstChild,v,null,null,null),Lv(),b._vnode=v,Yl&&console.error("Hydration completed but contains mismatches.")},d=(v,b,S,y,C,w=!1)=>{const T=n0(v)&&v.data==="[",O=()=>m(v,b,S,y,C,T),{type:R,ref:N,shapeFlag:D,patchFlag:B}=b;let P=v.nodeType;b.el=v,B===-2&&(w=!1,b.dynamicChildren=null);let $=null;switch(R){case za:P!==3?b.children===""?(u(b.el=i(""),l(v),v),$=v):$=O():(v.data!==b.children&&(Yl=!0,v.data=b.children),$=o(v));break;case Ci:P!==8||T?$=O():$=o(v);break;case Nu:if(T&&(v=o(v),P=v.nodeType),P===1||P===3){$=v;const M=!b.children.length;for(let L=0;L{w=w||!!b.dynamicChildren;const{type:T,props:O,patchFlag:R,shapeFlag:N,dirs:D}=b,B=T==="input"&&D||T==="option";if(B||R!==-1){if(D&&ss(b,null,S,"created"),O)if(B||!w||R&48)for(const $ in O)(B&&$.endsWith("value")||dh($)&&!Pm($))&&r(v,$,null,O[$],!1,void 0,S);else O.onClick&&r(v,"onClick",null,O.onClick,!1,void 0,S);let P;if((P=O&&O.onVnodeBeforeMount)&&oo(P,S,b),D&&ss(b,null,S,"beforeMount"),((P=O&&O.onVnodeMounted)||D)&&sB(()=>{P&&oo(P,S,b),D&&ss(b,null,S,"mounted")},y),N&16&&!(O&&(O.innerHTML||O.textContent))){let $=f(v.firstChild,b,v,S,y,C,w);for(;$;){Yl=!0;const M=$;$=$.nextSibling,s(M)}}else N&8&&v.textContent!==b.children&&(Yl=!0,v.textContent=b.children)}return v.nextSibling},f=(v,b,S,y,C,w,T)=>{T=T||!!b.dynamicChildren;const O=b.children,R=O.length;for(let N=0;N{const{slotScopeIds:T}=b;T&&(C=C?C.concat(T):T);const O=l(v),R=f(o(v),b,O,S,y,C,w);return R&&n0(R)&&R.data==="]"?o(b.anchor=R):(Yl=!0,u(b.anchor=a("]"),O,R),R)},m=(v,b,S,y,C,w)=>{if(Yl=!0,b.el=null,w){const R=h(v);for(;;){const N=o(v);if(N&&N!==R)s(N);else break}}const T=o(v),O=l(v);return s(v),n(null,b,O,T,S,y,t0(O),C),T},h=v=>{let b=0;for(;v;)if(v=o(v),v&&n0(v)&&(v.data==="["&&b++,v.data==="]")){if(b===0)return o(v);b--}return v};return[c,d]}const vi=sB;function RB(e){return NB(e)}function AB(e){return NB(e,Mde)}function NB(e,t){const n=eT();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:l,createText:s,createComment:u,setText:a,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=Fa,insertStaticContent:g}=e,m=(W,J,fe,_e=null,he=null,ye=null,Ne=!1,Oe=null,be=!!J.dynamicChildren)=>{if(W===J)return;W&&!Ma(W,J)&&(_e=se(W),Q(W,he,ye,!0),W=null),J.patchFlag===-2&&(be=!1,J.dynamicChildren=null);const{type:le,ref:Me,shapeFlag:De}=J;switch(le){case za:h(W,J,fe,_e);break;case Ci:v(W,J,fe,_e);break;case Nu:W==null&&b(J,fe,_e,Ne);break;case tt:B(W,J,fe,_e,he,ye,Ne,Oe,be);break;default:De&1?C(W,J,fe,_e,he,ye,Ne,Oe,be):De&6?P(W,J,fe,_e,he,ye,Ne,Oe,be):(De&64||De&128)&&le.process(W,J,fe,_e,he,ye,Ne,Oe,be,pe)}Me!=null&&he&&Bv(Me,W&&W.ref,ye,J||W,!J)},h=(W,J,fe,_e)=>{if(W==null)r(J.el=s(J.children),fe,_e);else{const he=J.el=W.el;J.children!==W.children&&a(he,J.children)}},v=(W,J,fe,_e)=>{W==null?r(J.el=u(J.children||""),fe,_e):J.el=W.el},b=(W,J,fe,_e)=>{[W.el,W.anchor]=g(W.children,J,fe,_e,W.el,W.anchor)},S=({el:W,anchor:J},fe,_e)=>{let he;for(;W&&W!==J;)he=p(W),r(W,fe,_e),W=he;r(J,fe,_e)},y=({el:W,anchor:J})=>{let fe;for(;W&&W!==J;)fe=p(W),i(W),W=fe;i(J)},C=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{Ne=Ne||J.type==="svg",W==null?w(J,fe,_e,he,ye,Ne,Oe,be):R(W,J,he,ye,Ne,Oe,be)},w=(W,J,fe,_e,he,ye,Ne,Oe)=>{let be,le;const{type:Me,props:De,shapeFlag:Ue,transition:Te,dirs:Se}=W;if(be=W.el=l(W.type,ye,De&&De.is,De),Ue&8?c(be,W.children):Ue&16&&O(W.children,be,null,_e,he,ye&&Me!=="foreignObject",Ne,Oe),Se&&ss(W,null,_e,"created"),T(be,W,W.scopeId,Ne,_e),De){for(const F in De)F!=="value"&&!Pm(F)&&o(be,F,null,De[F],ye,W.children,_e,he,ee);"value"in De&&o(be,"value",null,De.value),(le=De.onVnodeBeforeMount)&&oo(le,_e,W)}Se&&ss(W,null,_e,"beforeMount");const Y=(!he||he&&!he.pendingBranch)&&Te&&!Te.persisted;Y&&Te.beforeEnter(be),r(be,J,fe),((le=De&&De.onVnodeMounted)||Y||Se)&&vi(()=>{le&&oo(le,_e,W),Y&&Te.enter(be),Se&&ss(W,null,_e,"mounted")},he)},T=(W,J,fe,_e,he)=>{if(fe&&f(W,fe),_e)for(let ye=0;ye<_e.length;ye++)f(W,_e[ye]);if(he){let ye=he.subTree;if(J===ye){const Ne=he.vnode;T(W,Ne,Ne.scopeId,Ne.slotScopeIds,he.parent)}}},O=(W,J,fe,_e,he,ye,Ne,Oe,be=0)=>{for(let le=be;le{const Oe=J.el=W.el;let{patchFlag:be,dynamicChildren:le,dirs:Me}=J;be|=W.patchFlag&16;const De=W.props||or,Ue=J.props||or;let Te;fe&&nu(fe,!1),(Te=Ue.onVnodeBeforeUpdate)&&oo(Te,fe,J,W),Me&&ss(J,W,fe,"beforeUpdate"),fe&&nu(fe,!0);const Se=he&&J.type!=="foreignObject";if(le?N(W.dynamicChildren,le,Oe,fe,_e,Se,ye):Ne||U(W,J,Oe,null,fe,_e,Se,ye,!1),be>0){if(be&16)D(Oe,J,De,Ue,fe,_e,he);else if(be&2&&De.class!==Ue.class&&o(Oe,"class",null,Ue.class,he),be&4&&o(Oe,"style",De.style,Ue.style,he),be&8){const Y=J.dynamicProps;for(let F=0;F{Te&&oo(Te,fe,J,W),Me&&ss(J,W,fe,"updated")},_e)},N=(W,J,fe,_e,he,ye,Ne)=>{for(let Oe=0;Oe{if(fe!==_e){if(fe!==or)for(const Oe in fe)!Pm(Oe)&&!(Oe in _e)&&o(W,Oe,fe[Oe],null,Ne,J.children,he,ye,ee);for(const Oe in _e){if(Pm(Oe))continue;const be=_e[Oe],le=fe[Oe];be!==le&&Oe!=="value"&&o(W,Oe,le,be,Ne,J.children,he,ye,ee)}"value"in _e&&o(W,"value",fe.value,_e.value)}},B=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{const le=J.el=W?W.el:s(""),Me=J.anchor=W?W.anchor:s("");let{patchFlag:De,dynamicChildren:Ue,slotScopeIds:Te}=J;Te&&(Oe=Oe?Oe.concat(Te):Te),W==null?(r(le,fe,_e),r(Me,fe,_e),O(J.children,fe,Me,he,ye,Ne,Oe,be)):De>0&&De&64&&Ue&&W.dynamicChildren?(N(W.dynamicChildren,Ue,fe,he,ye,Ne,Oe),(J.key!=null||he&&J===he.subTree)&&bO(W,J,!0)):U(W,J,fe,Me,he,ye,Ne,Oe,be)},P=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{J.slotScopeIds=Oe,W==null?J.shapeFlag&512?he.ctx.activate(J,fe,_e,Ne,be):$(J,fe,_e,he,ye,Ne,be):M(W,J,be)},$=(W,J,fe,_e,he,ye,Ne)=>{const Oe=W.component=$B(W,_e,he);if(gh(W)&&(Oe.ctx.renderer=pe),FB(Oe),Oe.asyncDep){if(he&&he.registerDep(Oe,L),!W.el){const be=Oe.subTree=x(Ci);v(null,be,J,fe)}return}L(Oe,W,J,fe,he,ye,Ne)},M=(W,J,fe)=>{const _e=J.component=W.component;if(Gue(W,J,fe))if(_e.asyncDep&&!_e.asyncResolved){H(_e,J,fe);return}else _e.next=J,Lue(_e.update),_e.update();else J.el=W.el,_e.vnode=J},L=(W,J,fe,_e,he,ye,Ne)=>{const Oe=()=>{if(W.isMounted){let{next:Me,bu:De,u:Ue,parent:Te,vnode:Se}=W,Y=Me,F;nu(W,!1),Me?(Me.el=Se.el,H(W,Me,Ne)):Me=Se,De&&fp(De),(F=Me.props&&Me.props.onVnodeBeforeUpdate)&&oo(F,Te,Me,Se),nu(W,!0);const V=V0(W),te=W.subTree;W.subTree=V,m(te,V,d(te.el),se(te),W,he,ye),Me.el=V.el,Y===null&&cO(W,V.el),Ue&&vi(Ue,he),(F=Me.props&&Me.props.onVnodeUpdated)&&vi(()=>oo(F,Te,Me,Se),he)}else{let Me;const{el:De,props:Ue}=J,{bm:Te,m:Se,parent:Y}=W,F=Ru(J);if(nu(W,!1),Te&&fp(Te),!F&&(Me=Ue&&Ue.onVnodeBeforeMount)&&oo(Me,Y,J),nu(W,!0),De&&ge){const V=()=>{W.subTree=V0(W),ge(De,W.subTree,W,he,null)};F?J.type.__asyncLoader().then(()=>!W.isUnmounted&&V()):V()}else{const V=W.subTree=V0(W);m(null,V,fe,_e,W,he,ye),J.el=V.el}if(Se&&vi(Se,he),!F&&(Me=Ue&&Ue.onVnodeMounted)){const V=J;vi(()=>oo(Me,Y,V),he)}(J.shapeFlag&256||Y&&Ru(Y.vnode)&&Y.vnode.shapeFlag&256)&&W.a&&vi(W.a,he),W.isMounted=!0,J=fe=_e=null}},be=W.effect=new fh(Oe,()=>sS(le),W.scope),le=W.update=()=>be.run();le.id=W.uid,nu(W,!0),le()},H=(W,J,fe)=>{J.component=W;const _e=W.vnode.props;W.vnode=J,W.next=null,Rde(W,J.props,_e,fe),Dde(W,J.children,fe),Ef(),AM(),Cf()},U=(W,J,fe,_e,he,ye,Ne,Oe,be=!1)=>{const le=W&&W.children,Me=W?W.shapeFlag:0,De=J.children,{patchFlag:Ue,shapeFlag:Te}=J;if(Ue>0){if(Ue&128){G(le,De,fe,_e,he,ye,Ne,Oe,be);return}else if(Ue&256){j(le,De,fe,_e,he,ye,Ne,Oe,be);return}}Te&8?(Me&16&&ee(le,he,ye),De!==le&&c(fe,De)):Me&16?Te&16?G(le,De,fe,_e,he,ye,Ne,Oe,be):ee(le,he,ye,!0):(Me&8&&c(fe,""),Te&16&&O(De,fe,_e,he,ye,Ne,Oe,be))},j=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{W=W||dp,J=J||dp;const le=W.length,Me=J.length,De=Math.min(le,Me);let Ue;for(Ue=0;UeMe?ee(W,he,ye,!0,!1,De):O(J,fe,_e,he,ye,Ne,Oe,be,De)},G=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{let le=0;const Me=J.length;let De=W.length-1,Ue=Me-1;for(;le<=De&&le<=Ue;){const Te=W[le],Se=J[le]=be?ac(J[le]):No(J[le]);if(Ma(Te,Se))m(Te,Se,fe,null,he,ye,Ne,Oe,be);else break;le++}for(;le<=De&&le<=Ue;){const Te=W[De],Se=J[Ue]=be?ac(J[Ue]):No(J[Ue]);if(Ma(Te,Se))m(Te,Se,fe,null,he,ye,Ne,Oe,be);else break;De--,Ue--}if(le>De){if(le<=Ue){const Te=Ue+1,Se=TeUe)for(;le<=De;)Q(W[le],he,ye,!0),le++;else{const Te=le,Se=le,Y=new Map;for(le=Se;le<=Ue;le++){const Ze=J[le]=be?ac(J[le]):No(J[le]);Ze.key!=null&&Y.set(Ze.key,le)}let F,V=0;const te=Ue-Se+1;let re=!1,me=0;const Ee=new Array(te);for(le=0;le=te){Q(Ze,he,ye,!0);continue}let Ye;if(Ze.key!=null)Ye=Y.get(Ze.key);else for(F=Se;F<=Ue;F++)if(Ee[F-Se]===0&&Ma(Ze,J[F])){Ye=F;break}Ye===void 0?Q(Ze,he,ye,!0):(Ee[Ye-Se]=le+1,Ye>=me?me=Ye:re=!0,m(Ze,J[Ye],fe,null,he,ye,Ne,Oe,be),V++)}const je=re?Pde(Ee):dp;for(F=je.length-1,le=te-1;le>=0;le--){const Ze=Se+le,Ye=J[Ze],Je=Ze+1{const{el:ye,type:Ne,transition:Oe,children:be,shapeFlag:le}=W;if(le&6){K(W.component.subTree,J,fe,_e);return}if(le&128){W.suspense.move(J,fe,_e);return}if(le&64){Ne.move(W,J,fe,pe);return}if(Ne===tt){r(ye,J,fe);for(let De=0;DeOe.enter(ye),he);else{const{leave:De,delayLeave:Ue,afterLeave:Te}=Oe,Se=()=>r(ye,J,fe),Y=()=>{De(ye,()=>{Se(),Te&&Te()})};Ue?Ue(ye,Se,Y):Y()}else r(ye,J,fe)},Q=(W,J,fe,_e=!1,he=!1)=>{const{type:ye,props:Ne,ref:Oe,children:be,dynamicChildren:le,shapeFlag:Me,patchFlag:De,dirs:Ue}=W;if(Oe!=null&&Bv(Oe,null,fe,W,!0),Me&256){J.ctx.deactivate(W);return}const Te=Me&1&&Ue,Se=!Ru(W);let Y;if(Se&&(Y=Ne&&Ne.onVnodeBeforeUnmount)&&oo(Y,J,W),Me&6)q(W.component,fe,_e);else{if(Me&128){W.suspense.unmount(fe,_e);return}Te&&ss(W,null,J,"beforeUnmount"),Me&64?W.type.remove(W,J,fe,he,pe,_e):le&&(ye!==tt||De>0&&De&64)?ee(le,J,fe,!1,!0):(ye===tt&&De&384||!he&&Me&16)&&ee(be,J,fe),_e&&ne(W)}(Se&&(Y=Ne&&Ne.onVnodeUnmounted)||Te)&&vi(()=>{Y&&oo(Y,J,W),Te&&ss(W,null,J,"unmounted")},fe)},ne=W=>{const{type:J,el:fe,anchor:_e,transition:he}=W;if(J===tt){ae(fe,_e);return}if(J===Nu){y(W);return}const ye=()=>{i(fe),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:Ne,delayLeave:Oe}=he,be=()=>Ne(fe,ye);Oe?Oe(W.el,ye,be):be()}else ye()},ae=(W,J)=>{let fe;for(;W!==J;)fe=p(W),i(W),W=fe;i(J)},q=(W,J,fe)=>{const{bum:_e,scope:he,update:ye,subTree:Ne,um:Oe}=W;_e&&fp(_e),he.stop(),ye&&(ye.active=!1,Q(Ne,W,J,fe)),Oe&&vi(Oe,J),vi(()=>{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,fe,_e=!1,he=!1,ye=0)=>{for(let Ne=ye;NeW.shapeFlag&6?se(W.component.subTree):W.shapeFlag&128?W.suspense.next():p(W.anchor||W.el),ve=(W,J,fe)=>{W==null?J._vnode&&Q(J._vnode,null,null,!0):m(J._vnode||null,W,J,null,null,null,fe),AM(),Lv(),J._vnode=W},pe={p:m,um:Q,m:K,r:ne,mt:$,mc:O,pc:U,pbc:N,n:se,o:e};let xe,ge;return t&&([xe,ge]=t(pe)),{render:ve,hydrate:xe,createApp:xde(ve,xe)}}function nu({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bO(e,t,n=!1){const r=e.children,i=t.children;if(bt(r)&&bt(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}const kde=e=>e.__isTeleport,Lm=e=>e&&(e.disabled||e.disabled===""),VM=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uT=(e,t)=>{const n=e&&e.to;return Or(n)?t?t(n):null:n},$de={__isTeleport:!0,process(e,t,n,r,i,o,l,s,u,a){const{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:g,createText:m,createComment:h}}=a,v=Lm(t.props);let{shapeFlag:b,children:S,dynamicChildren:y}=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=uT(t.props,g),O=t.targetAnchor=m("");T&&(f(O,T),l=l||VM(T));const R=(N,D)=>{b&16&&c(S,N,D,i,o,l,s,u)};v?R(n,w):T&&R(T,O)}else{t.el=e.el;const C=t.anchor=e.anchor,w=t.target=e.target,T=t.targetAnchor=e.targetAnchor,O=Lm(e.props),R=O?n:w,N=O?C:T;if(l=l||VM(w),y?(p(e.dynamicChildren,y,R,i,o,l,s),bO(e,t,!0)):u||d(e,t,R,N,i,o,l,s,!1),v)O||r0(t,n,C,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=uT(t.props,g);D&&r0(t,D,null,a,0)}else O&&r0(t,w,T,a,1)}DB(t)},remove(e,t,n,r,{um:i,o:{remove:o}},l){const{shapeFlag:s,children:u,anchor:a,targetAnchor:c,target:d,props:p}=e;if(d&&o(c),(l||!Lm(p))&&(o(a),s&16))for(let f=0;f0?lo||dp:null,MB(),Gu>0&&lo&&lo.push(e),e}function de(e,t,n,r,i,o){return PB(Ce(e,t,n,r,i,o,!0))}function An(e,t,n,r,i){return PB(x(e,t,n,r,i,!0))}function Kr(e){return e?e.__v_isVNode===!0:!1}function Ma(e,t){return e.type===t.type&&e.key===t.key}function Fde(e){}const fS="__vInternal",kB=({key:e})=>e!=null?e:null,z0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Or(e)||Wr(e)||jt(e)?{i:fi,r:e,k:t,f:!!n}:e:null);function Ce(e,t=null,n=null,r=0,i=null,o=e===tt?0:1,l=!1,s=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kB(t),ref:t&&z0(t),scopeId:cS,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:fi};return s?(SO(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Or(n)?8:16),Gu>0&&!l&&lo&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&lo.push(u),u}const x=Bde;function Bde(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===_B)&&(e=Ci),Kr(e)){const s=wi(e,t,!0);return n&&SO(s,n),Gu>0&&!o&&lo&&(s.shapeFlag&6?lo[lo.indexOf(e)]=s:lo.push(s)),s.patchFlag|=-2,s}if(Wde(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:s,style:u}=t;s&&!Or(s)&&(t.class=Gt(s)),ar(u)&&(nO(u)&&!bt(u)&&(u=gr({},u)),t.style=Mi(u))}const l=Or(e)?1:aB(e)?128:kde(e)?64:ar(e)?4:jt(e)?2:0;return Ce(e,t,n,r,i,l,o,!0)}function oa(e){return e?nO(e)||fS in e?gr({},e):e:null}function wi(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:l}=e,s=t?Mn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&kB(s),ref:t&&t.ref?n&&i?bt(i)?i.concat(z0(t)):[i,z0(t)]:z0(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?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wi(e.ssContent),ssFallback:e.ssFallback&&wi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Jn(e=" ",t=0){return x(za,null,e,t)}function Ude(e,t){const n=x(Nu,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(oe(),An(Ci,null,e)):x(Ci,null,e)}function No(e){return e==null||typeof e=="boolean"?x(Ci):bt(e)?x(tt,null,e.slice()):typeof e=="object"?ac(e):x(za,null,String(e))}function ac(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wi(e)}function SO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(bt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),SO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(fS in t)?t._ctx=fi:i===3&&fi&&(fi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else jt(t)?(t={default:t,_ctx:fi},n=32):(t=String(t),r&64?(n=16,t=[Jn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nei||fi;let yO,Ad,zM="__VUE_INSTANCE_SETTERS__";(Ad=eT()[zM])||(Ad=eT()[zM]=[]),Ad.push(e=>ei=e),yO=e=>{Ad.length>1?Ad.forEach(t=>t(e)):Ad[0](e)};const Rc=e=>{yO(e),e.scope.on()},yc=()=>{ei&&ei.scope.off(),yO(null)};function LB(e){return e.vnode.shapeFlag&4}let Fp=!1;function FB(e,t=!1){Fp=t;const{props:n,children:r}=e.vnode,i=LB(e);Ide(e,n,i,t),Nde(e,r);const o=i?zde(e,t):void 0;return Fp=!1,o}function zde(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=rO(new Proxy(e.ctx,aT));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?UB(e):null;Rc(e),Ef();const o=hl(r,e,0,[e.props,i]);if(Cf(),yc(),Kx(o)){if(o.then(yc,yc),t)return o.then(l=>{pT(e,l,t)}).catch(l=>{rd(l,e,0)});e.asyncDep=o}else pT(e,o,t)}else BB(e,t)}function pT(e,t,n){jt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ar(t)&&(e.setupState=aO(t)),BB(e,n)}let Uv,fT;function Gde(e){Uv=e,fT=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,ade))}}const jde=()=>!Uv;function BB(e,t,n){const r=e.type;if(!e.render){if(!t&&Uv&&!r.render){const i=r.template||_O(e).template;if(i){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:s,compilerOptions:u}=r,a=gr(gr({isCustomElement:o,delimiters:s},l),u);r.render=Uv(i,a)}}e.render=r.render||Fa,fT&&fT(e)}Rc(e),Ef(),Sde(e),Cf(),yc()}function Yde(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return po(e,"get","$attrs"),t[n]}}))}function UB(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yde(e)},slots:e.slots,emit:e.emit,expose:t}}function mS(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(aO(rO(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $m)return $m[n](e)},has(t,n){return n in t||n in $m}}))}function mT(e,t=!0){return jt(e)?e.displayName||e.name:e.name||t&&e.__name}function Wde(e){return jt(e)&&"__vccOpts"in e}const k=(e,t)=>Due(e,t,Fp);function bl(e,t,n){const r=arguments.length;return r===2?ar(t)&&!bt(t)?Kr(t)?x(e,null,[t]):x(e,t):x(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kr(n)&&(n=[n]),x(e,t,n))}const HB=Symbol.for("v-scx"),VB=()=>He(HB);function qde(){}function Kde(e,t,n,r){const i=n[r];if(i&&zB(i,e))return i;const o=t();return o.memo=e.slice(),n[r]=o}function zB(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&lo&&lo.push(e),!0}const GB="3.3.4",Zde={createComponentInstance:$B,setupComponent:FB,renderComponentRoot:V0,setCurrentRenderingInstance:hg,isVNode:Kr,normalizeVNode:No},Qde=Zde,Xde=null,Jde=null,epe="http://www.w3.org/2000/svg",fu=typeof document<"u"?document:null,GM=fu&&fu.createElement("template"),tpe={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?fu.createElementNS(epe,e):fu.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>fu.createTextNode(e),createComment:e=>fu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{GM.innerHTML=r?`${e}`:e;const s=GM.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 npe(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 rpe(e,t,n){const r=e.style,i=Or(n);if(n&&!i){if(t&&!Or(t))for(const o in t)n[o]==null&&gT(r,o,"");for(const o in n)gT(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const jM=/\s*!important$/;function gT(e,t,n){if(bt(n))n.forEach(r=>gT(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ipe(e,t);jM.test(n)?e.setProperty(ca(r),n.replace(jM,""),"important"):e[r]=n}}const YM=["Webkit","Moz","ms"],YE={};function ipe(e,t){const n=YE[t];if(n)return n;let r=co(t);if(r!=="filter"&&r in e)return YE[t]=r;r=ph(r);for(let i=0;iWE||(upe.then(()=>WE=0),WE=Date.now());function ppe(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$o(fpe(r,n.value),t,5,[r])};return n.value=e,n.attached=dpe(),n}function fpe(e,t){if(bt(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 KM=/^on[a-z]/,mpe=(e,t,n,r,i=!1,o,l,s,u)=>{t==="class"?npe(e,r,i):t==="style"?rpe(e,n,r):dh(t)?Wx(t)||lpe(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gpe(e,t,r,i))?ape(e,t,r,o,l,s,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ope(e,t,r,i))};function gpe(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&KM.test(t)&&jt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||KM.test(t)&&Or(n)?!1:t in e}function jB(e,t){const n=we(e);class r extends gS{constructor(o){super(n,o,t)}}return r.def=n,r}const hpe=e=>jB(e,a9),_pe=typeof HTMLElement<"u"?HTMLElement:class{};class gS extends _pe{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||(Sl(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:o,styles:l}=r;let s;if(o&&!bt(o))for(const u in o){const a=o[u];(a===Number||a&&a.type===Number)&&(u in this._props&&(this._props[u]=kv(this._props[u])),(s||(s=Object.create(null)))[co(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=bt(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(co))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=co(t);this._numberProps&&this._numberProps[r]&&(n=kv(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(ca(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ca(t),n+""):n||this.removeAttribute(ca(t))))}_update(){Sl(this._createVNode(),this.shadowRoot)}_createVNode(){const t=x(this._def,gr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,l)=>{this.dispatchEvent(new CustomEvent(o,{detail:l}))};n.emit=(o,...l)=>{r(o,l),ca(o)!==o&&r(ca(o),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof gS){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 vpe(e="$style"){{const t=Er();if(!t)return or;const n=t.type.__cssModules;if(!n)return or;const r=n[e];return r||or}}function bpe(e){const t=Er();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>_T(o,i))},r=()=>{const i=e(t.proxy);hT(t.subTree,i),n(i)};lB(r),_t(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Li(()=>i.disconnect())})}function hT(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hT(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_T(e.el,t);else if(e.type===tt)e.children.forEach(n=>hT(n,t));else if(e.type===Nu){let{el:n,anchor:r}=e;for(;n&&(_T(n,t),n!==r);)n=n.nextSibling}}function _T(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Wl="transition",im="animation",xi=(e,{slots:t})=>bl(uB,WB(e),t);xi.displayName="Transition";const YB={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},Spe=xi.props=gr({},pO,YB),ru=(e,t=[])=>{bt(e)?e.forEach(n=>n(...t)):e&&e(...t)},ZM=e=>e?bt(e)?e.some(t=>t.length>1):e.length>1:!1;function WB(e){const t={};for(const B in e)B in YB||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:a=l,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=ype(i),m=g&&g[0],h=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:S,onLeave:y,onLeaveCancelled:C,onBeforeAppear:w=v,onAppear:T=b,onAppearCancelled:O=S}=t,R=(B,P,$)=>{Zl(B,P?c:s),Zl(B,P?a:l),$&&$()},N=(B,P)=>{B._isLeaving=!1,Zl(B,d),Zl(B,f),Zl(B,p),P&&P()},D=B=>(P,$)=>{const M=B?T:b,L=()=>R(P,B,$);ru(M,[P,L]),QM(()=>{Zl(P,B?u:o),qs(P,B?c:s),ZM(M)||XM(P,r,m,L)})};return gr(t,{onBeforeEnter(B){ru(v,[B]),qs(B,o),qs(B,l)},onBeforeAppear(B){ru(w,[B]),qs(B,u),qs(B,a)},onEnter:D(!1),onAppear:D(!0),onLeave(B,P){B._isLeaving=!0;const $=()=>N(B,P);qs(B,d),KB(),qs(B,p),QM(()=>{!B._isLeaving||(Zl(B,d),qs(B,f),ZM(y)||XM(B,r,h,$))}),ru(y,[B,$])},onEnterCancelled(B){R(B,!1),ru(S,[B])},onAppearCancelled(B){R(B,!0),ru(O,[B])},onLeaveCancelled(B){N(B),ru(C,[B])}})}function ype(e){if(e==null)return null;if(ar(e))return[qE(e.enter),qE(e.leave)];{const t=qE(e);return[t,t]}}function qE(e){return kv(e)}function qs(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 QM(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Epe=0;function XM(e,t,n,r){const i=e._endId=++Epe,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:l,timeout:s,propCount:u}=qB(e,t);if(!l)return r();const a=l+"end";let c=0;const d=()=>{e.removeEventListener(a,p),o()},p=f=>{f.target===e&&++c>=u&&d()};setTimeout(()=>{c(n[g]||"").split(", "),i=r(`${Wl}Delay`),o=r(`${Wl}Duration`),l=JM(i,o),s=r(`${im}Delay`),u=r(`${im}Duration`),a=JM(s,u);let c=null,d=0,p=0;t===Wl?l>0&&(c=Wl,d=l,p=o.length):t===im?a>0&&(c=im,d=a,p=u.length):(d=Math.max(l,a),c=d>0?l>a?Wl:im:null,p=c?c===Wl?o.length:u.length:0);const f=c===Wl&&/\b(transform|all)(,|$)/.test(r(`${Wl}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function JM(e,t){for(;e.lengtheP(n)+eP(e[r])))}function eP(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function KB(){return document.body.offsetHeight}const ZB=new WeakMap,QB=new WeakMap,XB={name:"TransitionGroup",props:gr({},Spe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Er(),r=dO();let i,o;return go(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Ope(i[0].el,n.vnode.el,l))return;i.forEach(Tpe),i.forEach(wpe);const s=i.filter(xpe);KB(),s.forEach(u=>{const a=u.el,c=a.style;qs(a,l),c.transform=c.webkitTransform=c.transitionDuration="";const d=a._moveCb=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",d),a._moveCb=null,Zl(a,l))};a.addEventListener("transitionend",d)})}),()=>{const l=Ut(e),s=WB(l);let u=l.tag||tt;i=o,o=t.default?uS(t.default()):[];for(let a=0;adelete e.mode;XB.props;const bh=XB;function Tpe(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function wpe(e){QB.set(e,e.el.getBoundingClientRect())}function xpe(e){const t=ZB.get(e),n=QB.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function Ope(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:o}=qB(r);return i.removeChild(r),o}const Ac=e=>{const t=e.props["onUpdate:modelValue"]||!1;return bt(t)?n=>fp(t,n):t};function Ipe(e){e.target.composing=!0}function tP(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ju={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=Ac(i);const o=r||i.props&&i.props.type==="number";ol(e,t?"change":"input",l=>{if(l.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Pv(s)),e._assign(s)}),n&&ol(e,"change",()=>{e.value=e.value.trim()}),t||(ol(e,"compositionstart",Ipe),ol(e,"compositionend",tP),ol(e,"change",tP))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e._assign=Ac(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Pv(e.value)===t))return;const l=t==null?"":t;e.value!==l&&(e.value=l)}},EO={deep:!0,created(e,t,n){e._assign=Ac(n),ol(e,"change",()=>{const r=e._modelValue,i=Bp(e),o=e.checked,l=e._assign;if(bt(r)){const s=tS(r,i),u=s!==-1;if(o&&!u)l(r.concat(i));else if(!o&&u){const a=[...r];a.splice(s,1),l(a)}}else if(nd(r)){const s=new Set(r);o?s.add(i):s.delete(i),l(s)}else l(e9(e,o))})},mounted:nP,beforeUpdate(e,t,n){e._assign=Ac(n),nP(e,t,n)}};function nP(e,{value:t,oldValue:n},r){e._modelValue=t,bt(t)?e.checked=tS(t,r.props.value)>-1:nd(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Oc(t,e9(e,!0)))}const CO={created(e,{value:t},n){e.checked=Oc(t,n.props.value),e._assign=Ac(n),ol(e,"change",()=>{e._assign(Bp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Ac(r),t!==n&&(e.checked=Oc(t,r.props.value))}},JB={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=nd(t);ol(e,"change",()=>{const o=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?Pv(Bp(l)):Bp(l));e._assign(e.multiple?i?new Set(o):o:o[0])}),e._assign=Ac(r)},mounted(e,{value:t}){rP(e,t)},beforeUpdate(e,t,n){e._assign=Ac(n)},updated(e,{value:t}){rP(e,t)}};function rP(e,t){const n=e.multiple;if(!(n&&!bt(t)&&!nd(t))){for(let r=0,i=e.options.length;r-1:o.selected=t.has(l);else if(Oc(Bp(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Bp(e){return"_value"in e?e._value:e.value}function e9(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const t9={created(e,t,n){i0(e,t,n,null,"created")},mounted(e,t,n){i0(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){i0(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){i0(e,t,n,r,"updated")}};function n9(e,t){switch(e){case"SELECT":return JB;case"TEXTAREA":return ju;default:switch(t){case"checkbox":return EO;case"radio":return CO;default:return ju}}}function i0(e,t,n,r,i){const l=n9(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function Rpe(){ju.getSSRProps=({value:e})=>({value:e}),CO.getSSRProps=({value:e},t)=>{if(t.props&&Oc(t.props.value,e))return{checked:!0}},EO.getSSRProps=({value:e},t)=>{if(bt(e)){if(t.props&&tS(e,t.props.value)>-1)return{checked:!0}}else if(nd(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},t9.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=n9(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ape=["ctrl","shift","alt","meta"],Npe={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)=>Ape.some(n=>e[`${n}Key`]&&!t.includes(n))},Sg=(e,t)=>(n,...r)=>{for(let i=0;in=>{if(!("key"in n))return;const r=ca(n.key);if(t.some(i=>i===r||Dpe[i]===r))return e(n)},Bo={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):om(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),om(e,!0),r.enter(e)):r.leave(e,()=>{om(e,!1)}):om(e,t))},beforeUnmount(e,{value:t}){om(e,t)}};function om(e,t){e.style.display=t?e._vod:"none"}function Mpe(){Bo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const r9=gr({patchProp:mpe},tpe);let Bm,iP=!1;function i9(){return Bm||(Bm=RB(r9))}function o9(){return Bm=iP?Bm:AB(r9),iP=!0,Bm}const Sl=(...e)=>{i9().render(...e)},a9=(...e)=>{o9().hydrate(...e)},s9=(...e)=>{const t=i9().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=l9(r);if(!i)return;const o=t._component;!jt(o)&&!o.render&&!o.template&&(o.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},Ppe=(...e)=>{const t=o9().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=l9(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function l9(e){return Or(e)?document.querySelector(e):e}let oP=!1;const kpe=()=>{oP||(oP=!0,Rpe(),Mpe())},$pe=()=>{},Lpe=Object.freeze(Object.defineProperty({__proto__:null,compile:$pe,EffectScope:Qx,ReactiveEffect:fh,customRef:Iue,effect:qce,effectScope:jce,getCurrentScope:Xx,isProxy:nO,isReactive:Iu,isReadonly:Vu,isRef:Wr,isShallow:pg,markRaw:rO,onScopeDispose:LF,proxyRefs:aO,reactive:dn,readonly:tO,ref:Ie,shallowReactive:ZF,shallowReadonly:Eue,shallowRef:ke,stop:Kce,toRaw:Ut,toRef:xt,toRefs:mp,toValue:wue,triggerRef:Tue,unref:We,camelize:co,capitalize:ph,normalizeClass:Gt,normalizeProps:ia,normalizeStyle:Mi,toDisplayString:Xt,toHandlerKey:km,BaseTransition:uB,BaseTransitionPropsValidators:pO,Comment:Ci,Fragment:tt,KeepAlive:rde,Static:Nu,Suspense:Yue,Teleport:vh,Text:za,assertNumber:Pue,callWithAsyncErrorHandling:$o,callWithErrorHandling:hl,cloneVNode:wi,compatUtils:Jde,computed:k,createBlock:An,createCommentVNode:ft,createElementBlock:de,createElementVNode:Ce,createHydrationRenderer:AB,createPropsRestProxy:vde,createRenderer:RB,createSlots:hO,createStaticVNode:Ude,createTextVNode:Jn,createVNode:x,defineAsyncComponent:tde,defineComponent:we,defineEmits:lde,defineExpose:cde,defineModel:pde,defineOptions:ude,defineProps:sde,defineSlots:dde,get devtools(){return jd},getCurrentInstance:Er,getTransitionRawChildren:uS,guardReactiveProps:oa,h:bl,handleError:rd,hasInjectionContext:Ode,initCustomFormatter:qde,inject:He,isMemoSame:zB,isRuntimeOnly:jde,isVNode:Kr,mergeDefaults:hde,mergeModels:_de,mergeProps:Mn,nextTick:sn,onActivated:hh,onBeforeMount:pS,onBeforeUnmount:Jt,onBeforeUpdate:_h,onDeactivated:fO,onErrorCaptured:hB,onMounted:_t,onRenderTracked:gB,onRenderTriggered:mB,onServerPrefetch:fB,onUnmounted:Li,onUpdated:go,openBlock:oe,popScopeId:oB,provide:Dt,pushScopeId:iB,queuePostFlushCb:lO,registerRuntimeCompiler:Gde,renderList:Pi,renderSlot:Ct,resolveComponent:_p,resolveDirective:Tf,resolveDynamicComponent:Au,resolveFilter:Xde,resolveTransitionHooks:Lp,setBlockTracking:dT,setDevtoolsHook:nB,setTransitionHooks:zu,ssrContextKey:HB,ssrUtils:Qde,toHandlers:bB,transformVNodeArgs:Fde,useAttrs:SB,useModel:gde,useSSRContext:VB,useSlots:mde,useTransitionState:dO,version:GB,warn:Mue,watch:Ve,watchEffect:It,watchPostEffect:lB,watchSyncEffect:Xue,withAsyncContext:bde,withCtx:fn,withDefaults:fde,withDirectives:Sr,withMemo:Kde,withScopeId:Uue,Transition:xi,TransitionGroup:bh,VueElement:gS,createApp:s9,createSSRApp:Ppe,defineCustomElement:jB,defineSSRCustomElement:hpe,hydrate:a9,initDirectivesForSSR:kpe,render:Sl,useCssModule:vpe,useCssVars:bpe,vModelCheckbox:EO,vModelDynamic:t9,vModelRadio:CO,vModelSelect:JB,vModelText:ju,vShow:Bo,withKeys:TO,withModifiers:Sg},Symbol.toStringTag,{value:"Module"}));var Un;(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 o={};for(const l of i)o[l]=l;return o},e.getValidEnumValues=i=>{const o=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),l={};for(const s of o)l[s]=i[s];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.push(l);return o},e.find=(i,o)=>{for(const l of i)if(o(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,o=" | "){return i.map(l=>typeof l=="string"?`'${l}'`:l).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(Un||(Un={}));var vT;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(vT||(vT={}));const mt=Un.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),uc=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}},at=Un.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"]),Fpe=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Ba 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(o){return o.message},r={_errors:[]},i=o=>{for(const l of o.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()}}Ba.create=e=>new Ba(e);const yg=(e,t)=>{let n;switch(e.code){case at.invalid_type:e.received===mt.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case at.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Un.jsonStringifyReplacer)}`;break;case at.unrecognized_keys:n=`Unrecognized key(s) in object: ${Un.joinValues(e.keys,", ")}`;break;case at.invalid_union:n="Invalid input";break;case at.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Un.joinValues(e.options)}`;break;case at.invalid_enum_value:n=`Invalid enum value. Expected ${Un.joinValues(e.options)}, received '${e.received}'`;break;case at.invalid_arguments:n="Invalid function arguments";break;case at.invalid_return_type:n="Invalid function return type";break;case at.invalid_date:n="Invalid date";break;case at.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}"`:Un.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case at.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 at.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 at.custom:n="Invalid input";break;case at.invalid_intersection_types:n="Intersection results could not be merged";break;case at.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case at.not_finite:n="Number must be finite";break;default:n=t.defaultError,Un.assertNever(e)}return{message:n}};let c9=yg;function Bpe(e){c9=e}function Hv(){return c9}const Vv=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],l={...i,path:o};let s="";const u=r.filter(a=>!!a).slice().reverse();for(const a of u)s=a(l,{data:t,defaultError:s}).message;return{...i,path:o,message:i.message||s}},Upe=[];function ht(e,t){const n=Vv({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,Hv(),yg].filter(r=>!!r)});e.common.issues.push(n)}class ki{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 on;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 ki.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:o,value:l}=i;if(o.status==="aborted"||l.status==="aborted")return on;o.status==="dirty"&&t.dirty(),l.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof l.value<"u"||i.alwaysSet)&&(r[o.value]=l.value)}return{status:t.value,value:r}}}const on=Object.freeze({status:"aborted"}),u9=e=>({status:"dirty",value:e}),Ki=e=>({status:"valid",value:e}),bT=e=>e.status==="aborted",ST=e=>e.status==="dirty",Eg=e=>e.status==="valid",zv=e=>typeof Promise<"u"&&e instanceof Promise;var Rt;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Rt||(Rt={}));class Ss{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 aP=(e,t)=>{if(Eg(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 Ba(e.common.issues);return this._error=n,this._error}}};function cn(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 mn{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 uc(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:uc(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new ki,ctx:{common:t.parent.common,data:t.data,parsedType:uc(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(zv(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:uc(t)},o=this._parseSync({data:t,path:i.path,parent:i});return aP(i,o)}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:uc(t)},i=this._parse({data:t,path:r.path,parent:r}),o=await(zv(i)?i:Promise.resolve(i));return aP(r,o)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,o)=>{const l=t(i),s=()=>o.addIssue({code:at.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 Ga({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return _l.create(this,this._def)}nullable(){return qu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ua.create(this,this._def)}promise(){return Hp.create(this,this._def)}or(t){return xg.create([this,t],this._def)}and(t){return Og.create(this,t,this._def)}transform(t){return new Ga({...cn(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Dg({...cn(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new p9({typeName:Lt.ZodBranded,type:this,...cn(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Wv({...cn(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 Sh.create(this,t)}readonly(){return Kv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Hpe=/^c[^\s-]{8,}$/i,Vpe=/^[a-z][a-z0-9]*$/,zpe=/^[0-9A-HJKMNP-TV-Z]{26}$/,Gpe=/^[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,jpe=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Ype="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let KE;const Wpe=/^(((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}))$/,qpe=/^(([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})))$/,Kpe=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 Zpe(e,t){return!!((t==="v4"||!t)&&Wpe.test(e)||(t==="v6"||!t)&&qpe.test(e))}class $a extends mn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==mt.string){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.string,received:o.parsedType}),on}const r=new ki;let i;for(const o of this._def.checks)if(o.kind==="min")t.data.lengtho.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:at.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind==="length"){const l=t.data.length>o.value,s=t.data.lengtht.test(i),{validation:n,code:at.invalid_string,...Rt.errToObj(r)})}_addCheck(t){return new $a({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Rt.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Rt.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Rt.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Rt.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Rt.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Rt.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Rt.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Rt.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,...Rt.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Rt.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Rt.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Rt.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Rt.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Rt.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Rt.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Rt.errToObj(n)})}nonempty(t){return this.min(1,Rt.errToObj(t))}trim(){return new $a({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new $a({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new $a({...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 $a({checks:[],typeName:Lt.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...cn(e)})};function Qpe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,o=parseInt(e.toFixed(i).replace(".","")),l=parseInt(t.toFixed(i).replace(".",""));return o%l/Math.pow(10,i)}class Nc extends mn{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 o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.number,received:o.parsedType}),on}let r;const i=new ki;for(const o of this._def.checks)o.kind==="int"?Un.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:at.invalid_type,expected:"integer",received:"float",message:o.message}),i.dirty()):o.kind==="min"?(o.inclusive?t.datao.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="multipleOf"?Qpe(t.data,o.value)!==0&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_finite,message:o.message}),i.dirty()):Un.assertNever(o);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Rt.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Rt.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Rt.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Rt.toString(n))}setLimit(t,n,r,i){return new Nc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Rt.toString(i)}]})}_addCheck(t){return new Nc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Rt.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Rt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Rt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Rt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Rt.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Rt.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Rt.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Rt.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Rt.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"&&Un.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 Nc({checks:[],typeName:Lt.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...cn(e)});class Dc extends mn{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 o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.bigint,received:o.parsedType}),on}let r;const i=new ki;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?t.datao.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):Un.assertNever(o);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Rt.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Rt.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Rt.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Rt.toString(n))}setLimit(t,n,r,i){return new Dc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Rt.toString(i)}]})}_addCheck(t){return new Dc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Rt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Rt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Rt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Rt.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Rt.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 Dc({checks:[],typeName:Lt.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...cn(e)})};class Cg extends mn{_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:at.invalid_type,expected:mt.boolean,received:r.parsedType}),on}return Ki(t.data)}}Cg.create=e=>new Cg({typeName:Lt.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...cn(e)});class Yu extends mn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==mt.date){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.date,received:o.parsedType}),on}if(isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_date}),on}const r=new ki;let i;for(const o of this._def.checks)o.kind==="min"?t.data.getTime()o.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:at.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),r.dirty()):Un.assertNever(o);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Yu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Rt.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Rt.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 Yu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Lt.ZodDate,...cn(e)});class Gv extends mn{_parse(t){if(this._getType(t)!==mt.symbol){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.symbol,received:r.parsedType}),on}return Ki(t.data)}}Gv.create=e=>new Gv({typeName:Lt.ZodSymbol,...cn(e)});class Tg extends mn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.undefined,received:r.parsedType}),on}return Ki(t.data)}}Tg.create=e=>new Tg({typeName:Lt.ZodUndefined,...cn(e)});class wg extends mn{_parse(t){if(this._getType(t)!==mt.null){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.null,received:r.parsedType}),on}return Ki(t.data)}}wg.create=e=>new wg({typeName:Lt.ZodNull,...cn(e)});class Up extends mn{constructor(){super(...arguments),this._any=!0}_parse(t){return Ki(t.data)}}Up.create=e=>new Up({typeName:Lt.ZodAny,...cn(e)});class Du extends mn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Ki(t.data)}}Du.create=e=>new Du({typeName:Lt.ZodUnknown,...cn(e)});class yl extends mn{_parse(t){const n=this._getOrReturnCtx(t);return ht(n,{code:at.invalid_type,expected:mt.never,received:n.parsedType}),on}}yl.create=e=>new yl({typeName:Lt.ZodNever,...cn(e)});class jv extends mn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.void,received:r.parsedType}),on}return Ki(t.data)}}jv.create=e=>new jv({typeName:Lt.ZodVoid,...cn(e)});class Ua extends mn{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==mt.array)return ht(n,{code:at.invalid_type,expected:mt.array,received:n.parsedType}),on;if(i.exactLength!==null){const l=n.data.length>i.exactLength.value,s=n.data.lengthi.maxLength.value&&(ht(n,{code:at.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 Ss(n,l,n.path,s)))).then(l=>ki.mergeArray(r,l));const o=[...n.data].map((l,s)=>i.type._parseSync(new Ss(n,l,n.path,s)));return ki.mergeArray(r,o)}get element(){return this._def.type}min(t,n){return new Ua({...this._def,minLength:{value:t,message:Rt.toString(n)}})}max(t,n){return new Ua({...this._def,maxLength:{value:t,message:Rt.toString(n)}})}length(t,n){return new Ua({...this._def,exactLength:{value:t,message:Rt.toString(n)}})}nonempty(t){return this.min(1,t)}}Ua.create=(e,t)=>new Ua({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...cn(t)});function Yd(e){if(e instanceof Ar){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=_l.create(Yd(r))}return new Ar({...e._def,shape:()=>t})}else return e instanceof Ua?new Ua({...e._def,type:Yd(e.element)}):e instanceof _l?_l.create(Yd(e.unwrap())):e instanceof qu?qu.create(Yd(e.unwrap())):e instanceof ys?ys.create(e.items.map(t=>Yd(t))):e}class Ar extends mn{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=Un.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==mt.object){const a=this._getOrReturnCtx(t);return ht(a,{code:at.invalid_type,expected:mt.object,received:a.parsedType}),on}const{status:r,ctx:i}=this._processInputParams(t),{shape:o,keys:l}=this._getCached(),s=[];if(!(this._def.catchall instanceof yl&&this._def.unknownKeys==="strip"))for(const a in i.data)l.includes(a)||s.push(a);const u=[];for(const a of l){const c=o[a],d=i.data[a];u.push({key:{status:"valid",value:a},value:c._parse(new Ss(i,d,i.path,a)),alwaysSet:a in i.data})}if(this._def.catchall instanceof yl){const a=this._def.unknownKeys;if(a==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(a==="strict")s.length>0&&(ht(i,{code:at.unrecognized_keys,keys:s}),r.dirty());else if(a!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const a=this._def.catchall;for(const c of s){const d=i.data[c];u.push({key:{status:"valid",value:c},value:a._parse(new Ss(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const a=[];for(const c of u){const d=await c.key;a.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return a}).then(a=>ki.mergeObjectSync(r,a)):ki.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return Rt.errToObj,new Ar({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o,l,s;const u=(l=(o=(i=this._def).errorMap)===null||o===void 0?void 0:o.call(i,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=Rt.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new Ar({...this._def,unknownKeys:"strip"})}passthrough(){return new Ar({...this._def,unknownKeys:"passthrough"})}extend(t){return new Ar({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Ar({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 Ar({...this._def,catchall:t})}pick(t){const n={};return Un.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Ar({...this._def,shape:()=>n})}omit(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Ar({...this._def,shape:()=>n})}deepPartial(){return Yd(this)}partial(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new Ar({...this._def,shape:()=>n})}required(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let o=this.shape[r];for(;o instanceof _l;)o=o._def.innerType;n[r]=o}}),new Ar({...this._def,shape:()=>n})}keyof(){return d9(Un.objectKeys(this.shape))}}Ar.create=(e,t)=>new Ar({shape:()=>e,unknownKeys:"strip",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});Ar.strictCreate=(e,t)=>new Ar({shape:()=>e,unknownKeys:"strict",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});Ar.lazycreate=(e,t)=>new Ar({shape:e,unknownKeys:"strip",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});class xg extends mn{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(o){for(const s of o)if(s.result.status==="valid")return s.result;for(const s of o)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(s=>new Ba(s.ctx.common.issues));return ht(n,{code:at.invalid_union,unionErrors:l}),on}if(n.common.async)return Promise.all(r.map(async o=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(i);{let o;const l=[];for(const u of r){const a={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:a});if(c.status==="valid")return c;c.status==="dirty"&&!o&&(o={result:c,ctx:a}),a.common.issues.length&&l.push(a.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const s=l.map(u=>new Ba(u));return ht(n,{code:at.invalid_union,unionErrors:s}),on}}get options(){return this._def.options}}xg.create=(e,t)=>new xg({options:e,typeName:Lt.ZodUnion,...cn(t)});const G0=e=>e instanceof Rg?G0(e.schema):e instanceof Ga?G0(e.innerType()):e instanceof Ag?[e.value]:e instanceof Mc?e.options:e instanceof Ng?Object.keys(e.enum):e instanceof Dg?G0(e._def.innerType):e instanceof Tg?[void 0]:e instanceof wg?[null]:null;class hS extends mn{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.object)return ht(n,{code:at.invalid_type,expected:mt.object,received:n.parsedType}),on;const r=this.discriminator,i=n.data[r],o=this.optionsMap.get(i);return o?n.common.async?o._parseAsync({data:n.data,path:n.path,parent:n}):o._parseSync({data:n.data,path:n.path,parent:n}):(ht(n,{code:at.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),on)}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 o of n){const l=G0(o.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,o)}}return new hS({typeName:Lt.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...cn(r)})}}function yT(e,t){const n=uc(e),r=uc(t);if(e===t)return{valid:!0,data:e};if(n===mt.object&&r===mt.object){const i=Un.objectKeys(t),o=Un.objectKeys(e).filter(s=>i.indexOf(s)!==-1),l={...e,...t};for(const s of o){const u=yT(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 o=0;o{if(bT(o)||bT(l))return on;const s=yT(o.value,l.value);return s.valid?((ST(o)||ST(l))&&n.dirty(),{status:n.value,value:s.data}):(ht(r,{code:at.invalid_intersection_types}),on)};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(([o,l])=>i(o,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}))}}Og.create=(e,t,n)=>new Og({left:e,right:t,typeName:Lt.ZodIntersection,...cn(n)});class ys extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.array)return ht(r,{code:at.invalid_type,expected:mt.array,received:r.parsedType}),on;if(r.data.lengththis._def.items.length&&(ht(r,{code:at.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const o=[...r.data].map((l,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new Ss(r,l,r.path,s)):null}).filter(l=>!!l);return r.common.async?Promise.all(o).then(l=>ki.mergeArray(n,l)):ki.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new ys({...this._def,rest:t})}}ys.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ys({items:e,typeName:Lt.ZodTuple,rest:null,...cn(t)})};class Ig extends mn{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:at.invalid_type,expected:mt.object,received:r.parsedType}),on;const i=[],o=this._def.keyType,l=this._def.valueType;for(const s in r.data)i.push({key:o._parse(new Ss(r,s,r.path,s)),value:l._parse(new Ss(r,r.data[s],r.path,s))});return r.common.async?ki.mergeObjectAsync(n,i):ki.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof mn?new Ig({keyType:t,valueType:n,typeName:Lt.ZodRecord,...cn(r)}):new Ig({keyType:$a.create(),valueType:t,typeName:Lt.ZodRecord,...cn(n)})}}class Yv extends mn{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:at.invalid_type,expected:mt.map,received:r.parsedType}),on;const i=this._def.keyType,o=this._def.valueType,l=[...r.data.entries()].map(([s,u],a)=>({key:i._parse(new Ss(r,s,r.path,[a,"key"])),value:o._parse(new Ss(r,u,r.path,[a,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of l){const a=await u.key,c=await u.value;if(a.status==="aborted"||c.status==="aborted")return on;(a.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(a.value,c.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const u of l){const a=u.key,c=u.value;if(a.status==="aborted"||c.status==="aborted")return on;(a.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(a.value,c.value)}return{status:n.value,value:s}}}}Yv.create=(e,t,n)=>new Yv({valueType:t,keyType:e,typeName:Lt.ZodMap,...cn(n)});class Wu extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.set)return ht(r,{code:at.invalid_type,expected:mt.set,received:r.parsedType}),on;const i=this._def;i.minSize!==null&&r.data.sizei.maxSize.value&&(ht(r,{code:at.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const o=this._def.valueType;function l(u){const a=new Set;for(const c of u){if(c.status==="aborted")return on;c.status==="dirty"&&n.dirty(),a.add(c.value)}return{status:n.value,value:a}}const s=[...r.data.values()].map((u,a)=>o._parse(new Ss(r,u,r.path,a)));return r.common.async?Promise.all(s).then(u=>l(u)):l(s)}min(t,n){return new Wu({...this._def,minSize:{value:t,message:Rt.toString(n)}})}max(t,n){return new Wu({...this._def,maxSize:{value:t,message:Rt.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Wu.create=(e,t)=>new Wu({valueType:e,minSize:null,maxSize:null,typeName:Lt.ZodSet,...cn(t)});class vp extends mn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.function)return ht(n,{code:at.invalid_type,expected:mt.function,received:n.parsedType}),on;function r(s,u){return Vv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hv(),yg].filter(a=>!!a),issueData:{code:at.invalid_arguments,argumentsError:u}})}function i(s,u){return Vv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hv(),yg].filter(a=>!!a),issueData:{code:at.invalid_return_type,returnTypeError:u}})}const o={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof Hp){const s=this;return Ki(async function(...u){const a=new Ba([]),c=await s._def.args.parseAsync(u,o).catch(f=>{throw a.addIssue(r(u,f)),a}),d=await Reflect.apply(l,this,c);return await s._def.returns._def.type.parseAsync(d,o).catch(f=>{throw a.addIssue(i(d,f)),a})})}else{const s=this;return Ki(function(...u){const a=s._def.args.safeParse(u,o);if(!a.success)throw new Ba([r(u,a.error)]);const c=Reflect.apply(l,this,a.data),d=s._def.returns.safeParse(c,o);if(!d.success)throw new Ba([i(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new vp({...this._def,args:ys.create(t).rest(Du.create())})}returns(t){return new vp({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new vp({args:t||ys.create([]).rest(Du.create()),returns:n||Du.create(),typeName:Lt.ZodFunction,...cn(r)})}}class Rg extends mn{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})}}Rg.create=(e,t)=>new Rg({getter:e,typeName:Lt.ZodLazy,...cn(t)});class Ag extends mn{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ht(n,{received:n.data,code:at.invalid_literal,expected:this._def.value}),on}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ag.create=(e,t)=>new Ag({value:e,typeName:Lt.ZodLiteral,...cn(t)});function d9(e,t){return new Mc({values:e,typeName:Lt.ZodEnum,...cn(t)})}class Mc extends mn{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{expected:Un.joinValues(r),received:n.parsedType,code:at.invalid_type}),on}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{received:n.data,code:at.invalid_enum_value,options:r}),on}return Ki(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 Mc.create(t)}exclude(t){return Mc.create(this.options.filter(n=>!t.includes(n)))}}Mc.create=d9;class Ng extends mn{_parse(t){const n=Un.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==mt.string&&r.parsedType!==mt.number){const i=Un.objectValues(n);return ht(r,{expected:Un.joinValues(i),received:r.parsedType,code:at.invalid_type}),on}if(n.indexOf(t.data)===-1){const i=Un.objectValues(n);return ht(r,{received:r.data,code:at.invalid_enum_value,options:i}),on}return Ki(t.data)}get enum(){return this._def.values}}Ng.create=(e,t)=>new Ng({values:e,typeName:Lt.ZodNativeEnum,...cn(t)});class Hp extends mn{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:at.invalid_type,expected:mt.promise,received:n.parsedType}),on;const r=n.parsedType===mt.promise?n.data:Promise.resolve(n.data);return Ki(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Hp.create=(e,t)=>new Hp({type:e,typeName:Lt.ZodPromise,...cn(t)});class Ga extends mn{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,o={addIssue:l=>{ht(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const l=i.transform(r.data,o);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,o);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"?on:(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"?on:(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(!Eg(l))return l;const s=i.transform(l.value,o);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=>Eg(l)?Promise.resolve(i.transform(l.value,o)).then(s=>({status:n.value,value:s})):l);Un.assertNever(i)}}Ga.create=(e,t,n)=>new Ga({schema:e,typeName:Lt.ZodEffects,effect:t,...cn(n)});Ga.createWithPreprocess=(e,t,n)=>new Ga({schema:t,effect:{type:"preprocess",transform:e},typeName:Lt.ZodEffects,...cn(n)});class _l extends mn{_parse(t){return this._getType(t)===mt.undefined?Ki(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}_l.create=(e,t)=>new _l({innerType:e,typeName:Lt.ZodOptional,...cn(t)});class qu extends mn{_parse(t){return this._getType(t)===mt.null?Ki(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}qu.create=(e,t)=>new qu({innerType:e,typeName:Lt.ZodNullable,...cn(t)});class Dg extends mn{_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}}Dg.create=(e,t)=>new Dg({innerType:e,typeName:Lt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...cn(t)});class Wv extends mn{_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 zv(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ba(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Ba(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Wv.create=(e,t)=>new Wv({innerType:e,typeName:Lt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...cn(t)});class qv extends mn{_parse(t){if(this._getType(t)!==mt.nan){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.nan,received:r.parsedType}),on}return{status:"valid",value:t.data}}}qv.create=e=>new qv({typeName:Lt.ZodNaN,...cn(e)});const Xpe=Symbol("zod_brand");class p9 extends mn{_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 Sh extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?on:o.status==="dirty"?(n.dirty(),u9(o.value)):this._def.out._parseAsync({data:o.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?on: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 Sh({in:t,out:n,typeName:Lt.ZodPipeline})}}class Kv extends mn{_parse(t){const n=this._def.innerType._parse(t);return Eg(n)&&(n.value=Object.freeze(n.value)),n}}Kv.create=(e,t)=>new Kv({innerType:e,typeName:Lt.ZodReadonly,...cn(t)});const f9=(e,t={},n)=>e?Up.create().superRefine((r,i)=>{var o,l;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,u=(l=(o=s.fatal)!==null&&o!==void 0?o:n)!==null&&l!==void 0?l:!0,a=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...a,fatal:u})}}):Up.create(),Jpe={object:Ar.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 efe=(e,t={message:`Input not instance of ${e.name}`})=>f9(n=>n instanceof e,t),m9=$a.create,g9=Nc.create,tfe=qv.create,nfe=Dc.create,h9=Cg.create,rfe=Yu.create,ife=Gv.create,ofe=Tg.create,afe=wg.create,sfe=Up.create,lfe=Du.create,cfe=yl.create,ufe=jv.create,dfe=Ua.create,pfe=Ar.create,ffe=Ar.strictCreate,mfe=xg.create,gfe=hS.create,hfe=Og.create,_fe=ys.create,vfe=Ig.create,bfe=Yv.create,Sfe=Wu.create,yfe=vp.create,Efe=Rg.create,Cfe=Ag.create,Tfe=Mc.create,wfe=Ng.create,xfe=Hp.create,sP=Ga.create,Ofe=_l.create,Ife=qu.create,Rfe=Ga.createWithPreprocess,Afe=Sh.create,Nfe=()=>m9().optional(),Dfe=()=>g9().optional(),Mfe=()=>h9().optional(),Pfe={string:e=>$a.create({...e,coerce:!0}),number:e=>Nc.create({...e,coerce:!0}),boolean:e=>Cg.create({...e,coerce:!0}),bigint:e=>Dc.create({...e,coerce:!0}),date:e=>Yu.create({...e,coerce:!0})},kfe=on;var TXe=Object.freeze({__proto__:null,defaultErrorMap:yg,setErrorMap:Bpe,getErrorMap:Hv,makeIssue:Vv,EMPTY_PATH:Upe,addIssueToContext:ht,ParseStatus:ki,INVALID:on,DIRTY:u9,OK:Ki,isAborted:bT,isDirty:ST,isValid:Eg,isAsync:zv,get util(){return Un},get objectUtil(){return vT},ZodParsedType:mt,getParsedType:uc,ZodType:mn,ZodString:$a,ZodNumber:Nc,ZodBigInt:Dc,ZodBoolean:Cg,ZodDate:Yu,ZodSymbol:Gv,ZodUndefined:Tg,ZodNull:wg,ZodAny:Up,ZodUnknown:Du,ZodNever:yl,ZodVoid:jv,ZodArray:Ua,ZodObject:Ar,ZodUnion:xg,ZodDiscriminatedUnion:hS,ZodIntersection:Og,ZodTuple:ys,ZodRecord:Ig,ZodMap:Yv,ZodSet:Wu,ZodFunction:vp,ZodLazy:Rg,ZodLiteral:Ag,ZodEnum:Mc,ZodNativeEnum:Ng,ZodPromise:Hp,ZodEffects:Ga,ZodTransformer:Ga,ZodOptional:_l,ZodNullable:qu,ZodDefault:Dg,ZodCatch:Wv,ZodNaN:qv,BRAND:Xpe,ZodBranded:p9,ZodPipeline:Sh,ZodReadonly:Kv,custom:f9,Schema:mn,ZodSchema:mn,late:Jpe,get ZodFirstPartyTypeKind(){return Lt},coerce:Pfe,any:sfe,array:dfe,bigint:nfe,boolean:h9,date:rfe,discriminatedUnion:gfe,effect:sP,enum:Tfe,function:yfe,instanceof:efe,intersection:hfe,lazy:Efe,literal:Cfe,map:bfe,nan:tfe,nativeEnum:wfe,never:cfe,null:afe,nullable:Ife,number:g9,object:pfe,oboolean:Mfe,onumber:Dfe,optional:Ofe,ostring:Nfe,pipeline:Afe,preprocess:Rfe,promise:xfe,record:vfe,set:Sfe,strictObject:ffe,string:m9,symbol:ife,transformer:sP,tuple:_fe,undefined:ofe,union:mfe,unknown:lfe,void:ufe,NEVER:kfe,ZodIssueCode:at,quotelessJson:Fpe,ZodError:Ba});const wXe=(e,t)=>{Object.keys(t).forEach(n=>{e.component(n,t[n])})},aa=class{static init(){aa.createContainer(),aa.addStylesheetToDocument()}static createContainer(){aa.toastContainer=document.createElement("div"),Object.assign(aa.toastContainer.style,$fe),document.body.appendChild(aa.toastContainer)}static addStylesheetToDocument(){const t=document.createElement("style");t.innerHTML=Lfe,document.head.appendChild(t)}static info(t,n=1e4){aa.showMessage(t,n)}static error(t,n=1e4){aa.showMessage(t,n,{"background-color":"#ffaaaa","font-family":"monospace",color:"#000000"})}static showMessage(t,n,r={}){if(!aa.toastContainer)throw new Error("Toast not initialized");if(!t.trim())return;const i=aa.makeToastMessageElement(t);Object.assign(i.style,r),aa.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 ZE=aa;wn(ZE,"toastContainer",null);const $fe={position:"fixed",bottom:"10px",right:"0",left:"0",display:"flex",flexDirection:"column",alignItems:"center"},Lfe=` +(found in ${Mm(e)})`},gce=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(o,l,s)=>{const u=Mm(l,!1),a=l?mce(l):"",c={componentName:u,lifecycleHook:s,trace:a};if(t.attachProps&&l&&(l.$options&&l.$options.propsData?c.propsData=l.$options.propsData:l.$props&&(c.propsData=l.$props)),setTimeout(()=>{Wle(o,{captureContext:{contexts:{vue:c}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,o,l,s),t.logErrors){const d=typeof console<"u",p=`Error in ${s}: "${o&&o.toString()}"`;r?r.call(null,p,l,a):d&&!i&&uh(()=>{console.error(`[Vue warn]: ${p}${a}`)})}}},hce=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vM="ui.vue",_ce={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function vce(){return $c().getTransaction()}function bce(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}const Sce=e=>{const t=(e.hooks||[]).concat(RF).filter((r,i,o)=>o.indexOf(r)===i),n={};for(const r of t){const i=_ce[r];if(!i){hce&&cl.warn(`Unknown hook: ${r}`);continue}for(const o of i)n[o]=function(){const l=this.$root===this;l&&vC()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||X2({name:"Application Render",op:`${vM}.render`,origin:"auto.ui.vue"}));const s=Mm(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(s)>-1:e.trackComponents;if(!(!l&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},o==i[0]){if(this.$root&&this.$root.$_sentryRootSpan||vC()){const c=this.$_sentrySpans[r];c&&c.end(),this.$_sentrySpans[r]=X2({name:`Vue <${s}>`,op:`${vM}.${r}`,origin:"auto.ui.vue"})}}else{const a=this.$_sentrySpans[r];if(!a)return;a.end(),bce(this,jx(),e.timeout)}}}return n},yce=pa,Ece={Vue:yce.Vue,attachProps:!0,logErrors:!0,hooks:RF,timeout:2e3,trackComponents:!1},AF="Vue",Cce=(e={})=>({name:AF,setupOnce(){},setup(t){Tce(t,e)}}),NF=Cce;cce(AF,NF);function Tce(e,t){const n={...Ece,...e.getOptions(),...t};if(!n.Vue&&!n.app){uh(()=>{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}n.app?yF(n.app).forEach(i=>bM(i,n)):n.Vue&&bM(n.Vue,n)}const bM=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&uh(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),gce(e,t),lce(t)&&e.mixin(Sce({...t,...t.tracingOptions}))};function wce(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ig}],version:ig}},defaultIntegrations:[...v3(),NF()],...e};pre(t)}function xce(e,t={}){return(n,r=!0,i=!0)=>{r&&Wn&&Wn.location&&n({name:Wn.location.pathname,op:"pageload",attributes:{[XC]:"auto.pageload.vue",[H0]:"url"}}),Oce(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:i,instrumentPageLoad:r},n)}}function Oce(e,t,n){e.onError(r=>r6(r,{mechanism:{handled:!1}})),e.beforeEach((r,i,o)=>{const l=i.name==null&&i.matched.length===0,s={[XC]:"auto.navigation.vue"};for(const c of Object.keys(r.params))s[`params.${c}`]=r.params[c];for(const c of Object.keys(r.query)){const d=r.query[c];d&&(s[`query.${c}`]=d)}let u=r.path,a="url";if(r.name&&t.routeLabel!=="path"?(u=r.name.toString(),a="custom"):r.matched[0]&&r.matched[0].path&&(u=r.matched[0].path,a="route"),t.instrumentPageLoad&&l){const c=vce();c&&((ug(c).data||{})[H0]!=="custom"&&(c.updateName(u),c.setAttribute(H0,a)),c.setAttributes({...s,[XC]:"auto.pageload.vue"}))}t.instrumentNavigation&&!l&&(s[H0]=a,n({name:u,op:"navigation",attributes:s})),o&&o()})}const yXe=(e,t)=>{wce({app:e,dsn:"https://92a7a6b6bf4d455dab113338d8518956@o1317386.ingest.sentry.io/6570769",replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,integrations:[new nne({routingInstrumentation:xce(t)}),new Zb],enabled:!0,tracesSampleRate:1,release:"78eb3b3290dd5beaba07662d5551bf264e2fe154"})};class EXe{constructor(t,n,r=localStorage){wn(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 JC(e){this.message=e}JC.prototype=new Error,JC.prototype.name="InvalidCharacterError";var SM=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new JC("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,l="";r=t.charAt(o++);~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 Ice(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(SM(n).replace(/(.)/g,function(r,i){var o=i.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(t)}catch{return SM(t)}}function Dv(e){this.message=e}function CXe(e,t){if(typeof e!="string")throw new Dv("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(Ice(e.split(".")[n]))}catch(r){throw new Dv("Invalid token specified: "+r.message)}}Dv.prototype=new Error,Dv.prototype.name="InvalidTokenError";function Jb(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const or={},dp=[],Fa=()=>{},Rce=()=>!1,Ace=/^on[^a-z]/,dh=e=>Ace.test(e),Wx=e=>e.startsWith("onUpdate:"),gr=Object.assign,qx=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nce=Object.prototype.hasOwnProperty,$n=(e,t)=>Nce.call(e,t),bt=Array.isArray,pp=e=>yf(e)==="[object Map]",nd=e=>yf(e)==="[object Set]",yM=e=>yf(e)==="[object Date]",Dce=e=>yf(e)==="[object RegExp]",jt=e=>typeof e=="function",Or=e=>typeof e=="string",dg=e=>typeof e=="symbol",ar=e=>e!==null&&typeof e=="object",Kx=e=>ar(e)&&jt(e.then)&&jt(e.catch),DF=Object.prototype.toString,yf=e=>DF.call(e),Mce=e=>yf(e).slice(8,-1),MF=e=>yf(e)==="[object Object]",Zx=e=>Or(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pm=Jb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),eS=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pce=/-(\w)/g,co=eS(e=>e.replace(Pce,(t,n)=>n?n.toUpperCase():"")),kce=/\B([A-Z])/g,ca=eS(e=>e.replace(kce,"-$1").toLowerCase()),ph=eS(e=>e.charAt(0).toUpperCase()+e.slice(1)),km=eS(e=>e?`on${ph(e)}`:""),$p=(e,t)=>!Object.is(e,t),fp=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Pv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kv=e=>{const t=Or(e)?Number(e):NaN;return isNaN(t)?e:t};let EM;const eT=()=>EM||(EM=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),$ce="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",Lce=Jb($ce);function Mi(e){if(bt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Bce);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Gt(e){let t="";if(Or(e))t=e;else if(bt(e))for(let n=0;nOc(n,t))}const Xt=e=>Or(e)?e:e==null?"":bt(e)||ar(e)&&(e.toString===DF||!jt(e.toString))?JSON.stringify(e,kF,2):String(e),kF=(e,t)=>t&&t.__v_isRef?kF(e,t.value):pp(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:nd(t)?{[`Set(${t.size})`]:[...t.values()]}:ar(t)&&!bt(t)&&!MF(t)?String(t):t;let Io;class Qx{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Io,!t&&Io&&(this.index=(Io.scopes||(Io.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Io;try{return Io=this,t()}finally{Io=n}}}on(){Io=this}off(){Io=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},FF=e=>(e.w&Ic)>0,BF=e=>(e.n&Ic)>0,Yce=({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(a)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":bt(e)?Zx(n)&&s.push(l.get("length")):(s.push(l.get(Ou)),pp(e)&&s.push(l.get(nT)));break;case"delete":bt(e)||(s.push(l.get(Ou)),pp(e)&&s.push(l.get(nT)));break;case"set":pp(e)&&s.push(l.get(Ou));break}if(s.length===1)s[0]&&rT(s[0]);else{const u=[];for(const a of s)a&&u.push(...a);rT(Jx(u))}}function rT(e,t){const n=bt(e)?e:[...e];for(const r of n)r.computed&&TM(r);for(const r of n)r.computed||TM(r)}function TM(e,t){(e!==Da||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Zce(e,t){var n;return(n=$v.get(e))==null?void 0:n.get(t)}const Qce=Jb("__proto__,__v_isRef,__isVue"),VF=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dg)),Xce=nS(),Jce=nS(!1,!0),eue=nS(!0),tue=nS(!0,!0),wM=nue();function nue(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ut(this);for(let o=0,l=this.length;o{e[t]=function(...n){Ef();const r=Ut(this)[t].apply(this,n);return Cf(),r}}),e}function rue(e){const t=Ut(this);return po(t,"has",e),t.hasOwnProperty(e)}function nS(e=!1,t=!1){return function(r,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&o===(e?t?KF:qF:t?WF:YF).get(r))return r;const l=bt(r);if(!e){if(l&&$n(wM,i))return Reflect.get(wM,i,o);if(i==="hasOwnProperty")return rue}const s=Reflect.get(r,i,o);return(dg(i)?VF.has(i):Qce(i))||(e||po(r,"get",i),t)?s:Wr(s)?l&&Zx(i)?s:s.value:ar(s)?e?tO(s):dn(s):s}}const iue=zF(),oue=zF(!0);function zF(e=!1){return function(n,r,i,o){let l=n[r];if(Vu(l)&&Wr(l)&&!Wr(i))return!1;if(!e&&(!pg(i)&&!Vu(i)&&(l=Ut(l),i=Ut(i)),!bt(n)&&Wr(l)&&!Wr(i)))return l.value=i,!0;const s=bt(n)&&Zx(r)?Number(r)e,rS=e=>Reflect.getPrototypeOf(e);function q_(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ut(e),o=Ut(t);n||(t!==o&&po(i,"get",t),po(i,"get",o));const{has:l}=rS(i),s=r?eO:n?iO:fg;if(l.call(i,t))return s(e.get(t));if(l.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function K_(e,t=!1){const n=this.__v_raw,r=Ut(n),i=Ut(e);return t||(e!==i&&po(r,"has",e),po(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Z_(e,t=!1){return e=e.__v_raw,!t&&po(Ut(e),"iterate",Ou),Reflect.get(e,"size",e)}function xM(e){e=Ut(e);const t=Ut(this);return rS(t).has.call(t,e)||(t.add(e),vl(t,"add",e,e)),this}function OM(e,t){t=Ut(t);const n=Ut(this),{has:r,get:i}=rS(n);let o=r.call(n,e);o||(e=Ut(e),o=r.call(n,e));const l=i.call(n,e);return n.set(e,t),o?$p(t,l)&&vl(n,"set",e,t):vl(n,"add",e,t),this}function IM(e){const t=Ut(this),{has:n,get:r}=rS(t);let i=n.call(t,e);i||(e=Ut(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&vl(t,"delete",e,void 0),o}function RM(){const e=Ut(this),t=e.size!==0,n=e.clear();return t&&vl(e,"clear",void 0,void 0),n}function Q_(e,t){return function(r,i){const o=this,l=o.__v_raw,s=Ut(l),u=t?eO:e?iO:fg;return!e&&po(s,"iterate",Ou),l.forEach((a,c)=>r.call(i,u(a),u(c),o))}}function X_(e,t,n){return function(...r){const i=this.__v_raw,o=Ut(i),l=pp(o),s=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,a=i[e](...r),c=n?eO:t?iO:fg;return!t&&po(o,"iterate",u?nT:Ou),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function jl(e){return function(...t){return e==="delete"?!1:this}}function due(){const e={get(o){return q_(this,o)},get size(){return Z_(this)},has:K_,add:xM,set:OM,delete:IM,clear:RM,forEach:Q_(!1,!1)},t={get(o){return q_(this,o,!1,!0)},get size(){return Z_(this)},has:K_,add:xM,set:OM,delete:IM,clear:RM,forEach:Q_(!1,!0)},n={get(o){return q_(this,o,!0)},get size(){return Z_(this,!0)},has(o){return K_.call(this,o,!0)},add:jl("add"),set:jl("set"),delete:jl("delete"),clear:jl("clear"),forEach:Q_(!0,!1)},r={get(o){return q_(this,o,!0,!0)},get size(){return Z_(this,!0)},has(o){return K_.call(this,o,!0)},add:jl("add"),set:jl("set"),delete:jl("delete"),clear:jl("clear"),forEach:Q_(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=X_(o,!1,!1),n[o]=X_(o,!0,!1),t[o]=X_(o,!1,!0),r[o]=X_(o,!0,!0)}),[e,n,t,r]}const[pue,fue,mue,gue]=due();function iS(e,t){const n=t?e?gue:mue:e?fue:pue;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get($n(n,i)&&i in r?n:r,i,o)}const hue={get:iS(!1,!1)},_ue={get:iS(!1,!0)},vue={get:iS(!0,!1)},bue={get:iS(!0,!0)},YF=new WeakMap,WF=new WeakMap,qF=new WeakMap,KF=new WeakMap;function Sue(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yue(e){return e.__v_skip||!Object.isExtensible(e)?0:Sue(Mce(e))}function dn(e){return Vu(e)?e:oS(e,!1,GF,hue,YF)}function ZF(e){return oS(e,!1,cue,_ue,WF)}function tO(e){return oS(e,!0,jF,vue,qF)}function Eue(e){return oS(e,!0,uue,bue,KF)}function oS(e,t,n,r,i){if(!ar(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const l=yue(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return i.set(e,s),s}function Iu(e){return Vu(e)?Iu(e.__v_raw):!!(e&&e.__v_isReactive)}function Vu(e){return!!(e&&e.__v_isReadonly)}function pg(e){return!!(e&&e.__v_isShallow)}function nO(e){return Iu(e)||Vu(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function rO(e){return Mv(e,"__v_skip",!0),e}const fg=e=>ar(e)?dn(e):e,iO=e=>ar(e)?tO(e):e;function oO(e){Sc&&Da&&(e=Ut(e),HF(e.dep||(e.dep=Jx())))}function aS(e,t){e=Ut(e);const n=e.dep;n&&rT(n)}function Wr(e){return!!(e&&e.__v_isRef===!0)}function Ie(e){return QF(e,!1)}function ke(e){return QF(e,!0)}function QF(e,t){return Wr(e)?e:new Cue(e,t)}class Cue{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:fg(t)}get value(){return oO(this),this._value}set value(t){const n=this.__v_isShallow||pg(t)||Vu(t);t=n?t:Ut(t),$p(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:fg(t),aS(this))}}function Tue(e){aS(e)}function We(e){return Wr(e)?e.value:e}function wue(e){return jt(e)?e():We(e)}const xue={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Wr(i)&&!Wr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function aO(e){return Iu(e)?e:new Proxy(e,xue)}class Oue{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>oO(this),()=>aS(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Iue(e){return new Oue(e)}function mp(e){const t=bt(e)?new Array(e.length):{};for(const n in e)t[n]=XF(e,n);return t}class Rue{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 Zce(Ut(this._object),this._key)}}class Aue{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xt(e,t,n){return Wr(e)?e:jt(e)?new Aue(e):ar(e)&&arguments.length>1?XF(e,t,n):Ie(e)}function XF(e,t,n){const r=e[t];return Wr(r)?r:new Rue(e,t,n)}class Nue{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 fh(t,()=>{this._dirty||(this._dirty=!0,aS(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ut(this);return oO(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Due(e,t,n=!1){let r,i;const o=jt(e);return o?(r=e,i=Fa):(r=e.get,i=e.set),new Nue(r,i,o||!i,n)}function Mue(e,...t){}function Pue(e,t){}function hl(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){rd(o,t,n)}return i}function $o(e,t,n,r){if(jt(e)){const o=hl(e,t,n,r);return o&&Kx(o)&&o.catch(l=>{rd(l,t,n)}),o}const i=[];for(let o=0;o>>1;gg(Ni[r])ds&&Ni.splice(t,1)}function lO(e){bt(e)?gp.push(...e):(!el||!el.includes(e,e.allowRecurse?pu+1:pu))&&gp.push(e),eB()}function AM(e,t=mg?ds+1:0){for(;tgg(n)-gg(r)),pu=0;pue.id==null?1/0:e.id,Fue=(e,t)=>{const n=gg(e)-gg(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function tB(e){iT=!1,mg=!0,Ni.sort(Fue);const t=Fa;try{for(ds=0;dsjd.emit(i,...o)),J_=[]):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(o=>{nB(o,t)}),setTimeout(()=>{jd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,J_=[])},3e3)):J_=[]}function Bue(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||or;let i=n;const o=t.startsWith("update:"),l=o&&t.slice(7);if(l&&l in r){const c=`${l==="modelValue"?"model":l}Modifiers`,{number:d,trim:p}=r[c]||or;p&&(i=n.map(f=>Or(f)?f.trim():f)),d&&(i=n.map(Pv))}let s,u=r[s=km(t)]||r[s=km(co(t))];!u&&o&&(u=r[s=km(ca(t))]),u&&$o(u,e,6,i);const a=r[s+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,$o(a,e,6,i)}}function rB(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let l={},s=!1;if(!jt(e)){const u=a=>{const c=rB(a,t,!0);c&&(s=!0,gr(l,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!s?(ar(e)&&r.set(e,null),null):(bt(o)?o.forEach(u=>l[u]=null):gr(l,o),ar(e)&&r.set(e,l),l)}function lS(e,t){return!e||!dh(t)?!1:(t=t.slice(2).replace(/Once$/,""),$n(e,t[0].toLowerCase()+t.slice(1))||$n(e,ca(t))||$n(e,t))}let fi=null,cS=null;function hg(e){const t=fi;return fi=e,cS=e&&e.type.__scopeId||null,t}function iB(e){cS=e}function oB(){cS=null}const Uue=e=>fn;function fn(e,t=fi,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&dT(-1);const o=hg(t);let l;try{l=e(...i)}finally{hg(o),r._d&&dT(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function V0(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[l],slots:s,attrs:u,emit:a,render:c,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=e;let h,v;const b=hg(e);try{if(n.shapeFlag&4){const y=i||r;h=No(c.call(y,y,d,o,f,p,g)),v=u}else{const y=t;h=No(y.length>1?y(o,{attrs:u,slots:s,emit:a}):y(o,null)),v=t.props?u:Vue(u)}}catch(y){Fm.length=0,rd(y,e,1),h=x(Ci)}let S=h;if(v&&m!==!1){const y=Object.keys(v),{shapeFlag:C}=S;y.length&&C&7&&(l&&y.some(Wx)&&(v=zue(v,l)),S=wi(S,v))}return n.dirs&&(S=wi(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),h=S,hg(b),h}function Hue(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||dh(n))&&((t||(t={}))[n]=e[n]);return t},zue=(e,t)=>{const n={};for(const r in e)(!Wx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Gue(e,t,n){const{props:r,children:i,component:o}=e,{props:l,children:s,patchFlag:u}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?NM(r,l,a):!!l;if(u&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense,jue={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,l,s,u,a){e==null?Wue(t,n,r,i,o,l,s,u,a):que(e,t,n,r,i,l,s,u,a)},hydrate:Kue,create:uO,normalize:Zue},Yue=jue;function _g(e,t){const n=e.props&&e.props[t];jt(n)&&n()}function Wue(e,t,n,r,i,o,l,s,u){const{p:a,o:{createElement:c}}=u,d=c("div"),p=e.suspense=uO(e,i,r,t,d,n,o,l,s,u);a(null,p.pendingBranch=e.ssContent,d,null,r,p,o,l),p.deps>0?(_g(e,"onPending"),_g(e,"onFallback"),a(null,e.ssFallback,t,n,r,null,o,l),hp(p,e.ssFallback)):p.resolve(!1,!0)}function que(e,t,n,r,i,o,l,s,{p:u,um:a,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,Ma(p,m)?(u(m,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0?d.resolve():h&&(u(g,f,n,r,i,null,o,l,s),hp(d,f))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=m):a(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),h?(u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0?d.resolve():(u(g,f,n,r,i,null,o,l,s),hp(d,f))):g&&Ma(p,g)?(u(g,p,n,r,i,d,o,l,s),d.resolve(!0)):(u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0&&d.resolve()));else if(g&&Ma(p,g))u(g,p,n,r,i,d,o,l,s),hp(d,p);else if(_g(t,"onPending"),d.pendingBranch=p,d.pendingId++,u(null,p,d.hiddenContainer,null,i,d,o,l,s),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:S}=d;b>0?setTimeout(()=>{d.pendingId===S&&d.fallback(f)},b):b===0&&d.fallback(f)}}function uO(e,t,n,r,i,o,l,s,u,a,c=!1){const{p:d,m:p,um:f,n:g,o:{parentNode:m,remove:h}}=a;let v;const b=Que(e);b&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const S=e.props?kv(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:l,container:r,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,w=!1){const{vnode:T,activeBranch:O,pendingBranch:R,pendingId:N,effects:D,parentComponent:B,container:P}=y;if(y.isHydrating)y.isHydrating=!1;else if(!C){const L=O&&R.transition&&R.transition.mode==="out-in";L&&(O.transition.afterLeave=()=>{N===y.pendingId&&p(R,P,H,0)});let{anchor:H}=y;O&&(H=g(O),f(O,B,y,!0)),L||p(R,P,H,0)}hp(y,R),y.pendingBranch=null,y.isInFallback=!1;let $=y.parent,M=!1;for(;$;){if($.pendingBranch){$.effects.push(...D),M=!0;break}$=$.parent}M||lO(D),y.effects=[],b&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),_g(T,"onResolve")},fallback(C){if(!y.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:O,container:R,isSVG:N}=y;_g(w,"onFallback");const D=g(T),B=()=>{!y.isInFallback||(d(null,C,R,D,O,null,N,s,u),hp(y,C))},P=C.transition&&C.transition.mode==="out-in";P&&(T.transition.afterLeave=B),y.isInFallback=!0,f(T,O,null,!0),P||B()},move(C,w,T){y.activeBranch&&p(y.activeBranch,C,w,T),y.container=C},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(C,w){const T=!!y.pendingBranch;T&&y.deps++;const O=C.vnode.el;C.asyncDep.catch(R=>{rd(R,C,0)}).then(R=>{if(C.isUnmounted||y.isUnmounted||y.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;pT(C,R,!1),O&&(N.el=O);const D=!O&&C.subTree.el;w(C,N,m(O||C.subTree.el),O?null:g(C.subTree),y,l,u),D&&h(D),cO(C,N.el),T&&--y.deps===0&&y.resolve()})},unmount(C,w){y.isUnmounted=!0,y.activeBranch&&f(y.activeBranch,n,C,w),y.pendingBranch&&f(y.pendingBranch,n,C,w)}};return y}function Kue(e,t,n,r,i,o,l,s,u){const a=t.suspense=uO(t,r,n,e.parentNode,document.createElement("div"),null,i,o,l,s,!0),c=u(e,a.pendingBranch=t.ssContent,n,a,o,l);return a.deps===0&&a.resolve(!1,!0),c}function Zue(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=DM(r?n.default:n),e.ssFallback=r?DM(n.fallback):x(Ci)}function DM(e){let t;if(jt(e)){const n=Gu&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=lo,MB())}return bt(e)&&(e=Hue(e)),e=No(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sB(e,t){t&&t.pendingBranch?bt(e)?t.effects.push(...e):t.effects.push(e):lO(e)}function hp(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,cO(r,i))}function Que(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function It(e,t){return mh(e,null,t)}function lB(e,t){return mh(e,null,{flush:"post"})}function Xue(e,t){return mh(e,null,{flush:"sync"})}const e0={};function Ve(e,t,n){return mh(e,t,n)}function mh(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:l}=or){var s;const u=Xx()===((s=ei)==null?void 0:s.scope)?ei:null;let a,c=!1,d=!1;if(Wr(e)?(a=()=>e.value,c=pg(e)):Iu(e)?(a=()=>e,r=!0):bt(e)?(d=!0,c=e.some(y=>Iu(y)||pg(y)),a=()=>e.map(y=>{if(Wr(y))return y.value;if(Iu(y))return yu(y);if(jt(y))return hl(y,u,2)})):jt(e)?t?a=()=>hl(e,u,2):a=()=>{if(!(u&&u.isUnmounted))return p&&p(),$o(e,u,3,[f])}:a=Fa,t&&r){const y=a;a=()=>yu(y())}let p,f=y=>{p=b.onStop=()=>{hl(y,u,4)}},g;if(Fp)if(f=Fa,t?n&&$o(t,u,3,[a(),d?[]:void 0,f]):a(),i==="sync"){const y=VB();g=y.__watcherHandles||(y.__watcherHandles=[])}else return Fa;let m=d?new Array(e.length).fill(e0):e0;const h=()=>{if(!!b.active)if(t){const y=b.run();(r||c||(d?y.some((C,w)=>$p(C,m[w])):$p(y,m)))&&(p&&p(),$o(t,u,3,[y,m===e0?void 0:d&&m[0]===e0?[]:m,f]),m=y)}else b.run()};h.allowRecurse=!!t;let v;i==="sync"?v=h:i==="post"?v=()=>vi(h,u&&u.suspense):(h.pre=!0,u&&(h.id=u.uid),v=()=>sS(h));const b=new fh(a,v);t?n?h():m=b.run():i==="post"?vi(b.run.bind(b),u&&u.suspense):b.run();const S=()=>{b.stop(),u&&u.scope&&qx(u.scope.effects,b)};return g&&g.push(S),S}function Jue(e,t,n){const r=this.proxy,i=Or(e)?e.includes(".")?cB(r,e):()=>r[e]:e.bind(r,r);let o;jt(t)?o=t:(o=t.handler,n=t);const l=ei;Rc(this);const s=mh(i,o.bind(r),n);return l?Rc(l):yc(),s}function cB(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{yu(n,t)});else if(MF(e))for(const n in e)yu(e[n],t);return e}function Sr(e,t){const n=fi;if(n===null)return e;const r=mS(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Jt(()=>{e.isUnmounting=!0}),e}const ea=[Function,Array],pO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ea,onEnter:ea,onAfterEnter:ea,onEnterCancelled:ea,onBeforeLeave:ea,onLeave:ea,onAfterLeave:ea,onLeaveCancelled:ea,onBeforeAppear:ea,onAppear:ea,onAfterAppear:ea,onAppearCancelled:ea},ede={name:"BaseTransition",props:pO,setup(e,{slots:t}){const n=Er(),r=dO();let i;return()=>{const o=t.default&&uS(t.default(),!0);if(!o||!o.length)return;let l=o[0];if(o.length>1){for(const m of o)if(m.type!==Ci){l=m;break}}const s=Ut(e),{mode:u}=s;if(r.isLeaving)return HE(l);const a=MM(l);if(!a)return HE(l);const c=Lp(a,s,r,n);zu(a,c);const d=n.subTree,p=d&&MM(d);let f=!1;const{getTransitionKey:g}=a.type;if(g){const m=g();i===void 0?i=m:m!==i&&(i=m,f=!0)}if(p&&p.type!==Ci&&(!Ma(a,p)||f)){const m=Lp(p,s,r,n);if(zu(p,m),u==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},HE(l);u==="in-out"&&a.type!==Ci&&(m.delayLeave=(h,v,b)=>{const S=dB(r,p);S[String(p.key)]=p,h._leaveCb=()=>{v(),h._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return l}}},uB=ede;function dB(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 Lp(e,t,n,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:a,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:h,onAfterAppear:v,onAppearCancelled:b}=t,S=String(e.key),y=dB(n,e),C=(O,R)=>{O&&$o(O,r,9,R)},w=(O,R)=>{const N=R[1];C(O,R),bt(O)?O.every(D=>D.length<=1)&&N():O.length<=1&&N()},T={mode:o,persisted:l,beforeEnter(O){let R=s;if(!n.isMounted)if(i)R=m||s;else return;O._leaveCb&&O._leaveCb(!0);const N=y[S];N&&Ma(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(R,[O])},enter(O){let R=u,N=a,D=c;if(!n.isMounted)if(i)R=h||u,N=v||a,D=b||c;else return;let B=!1;const P=O._enterCb=$=>{B||(B=!0,$?C(D,[O]):C(N,[O]),T.delayedLeave&&T.delayedLeave(),O._enterCb=void 0)};R?w(R,[O,P]):P()},leave(O,R){const N=String(e.key);if(O._enterCb&&O._enterCb(!0),n.isUnmounting)return R();C(d,[O]);let D=!1;const B=O._leaveCb=P=>{D||(D=!0,R(),P?C(g,[O]):C(f,[O]),O._leaveCb=void 0,y[N]===e&&delete y[N])};y[N]=e,p?w(p,[O,B]):B()},clone(O){return Lp(O,t,n,r)}};return T}function HE(e){if(gh(e))return e=wi(e),e.children=null,e}function MM(e){return gh(e)?e.children?e.children[0]:void 0:e}function zu(e,t){e.shapeFlag&6&&e.component?zu(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 uS(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;ogr({name:e.name},t,{setup:e}))():e}const Ru=e=>!!e.type.__asyncLoader;function tde(e){jt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:l=!0,onError:s}=e;let u=null,a,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),a=g,g)))};return we({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const f=ei;if(a)return()=>VE(a,f);const g=b=>{u=null,rd(b,f,13,!r)};if(l&&f.suspense||Fp)return p().then(b=>()=>VE(b,f)).catch(b=>(g(b),()=>r?x(r,{error:b}):null));const m=Ie(!1),h=Ie(),v=Ie(!!i);return i&&setTimeout(()=>{v.value=!1},i),o!=null&&setTimeout(()=>{if(!m.value&&!h.value){const b=new Error(`Async component timed out after ${o}ms.`);g(b),h.value=b}},o),p().then(()=>{m.value=!0,f.parent&&gh(f.parent.vnode)&&sS(f.parent.update)}).catch(b=>{g(b),h.value=b}),()=>{if(m.value&&a)return VE(a,f);if(h.value&&r)return x(r,{error:h.value});if(n&&!v.value)return x(n)}}})}function VE(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,l=x(e,r,i);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const gh=e=>e.type.__isKeepAlive,nde={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Er(),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,o=new Set;let l=null;const s=n.suspense,{renderer:{p:u,m:a,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(b,S,y,C,w)=>{const T=b.component;a(b,S,y,0,s),u(T.vnode,b,S,y,T,s,C,b.slotScopeIds,w),vi(()=>{T.isDeactivated=!1,T.a&&fp(T.a);const O=b.props&&b.props.onVnodeMounted;O&&oo(O,T.parent,b)},s)},r.deactivate=b=>{const S=b.component;a(b,p,null,1,s),vi(()=>{S.da&&fp(S.da);const y=b.props&&b.props.onVnodeUnmounted;y&&oo(y,S.parent,b),S.isDeactivated=!0},s)};function f(b){zE(b),c(b,n,s,!0)}function g(b){i.forEach((S,y)=>{const C=mT(S.type);C&&(!b||!b(C))&&m(y)})}function m(b){const S=i.get(b);!l||!Ma(S,l)?f(S):l&&zE(l),i.delete(b),o.delete(b)}Ve(()=>[e.include,e.exclude],([b,S])=>{b&&g(y=>ym(b,y)),S&&g(y=>!ym(S,y))},{flush:"post",deep:!0});let h=null;const v=()=>{h!=null&&i.set(h,GE(n.subTree))};return _t(v),go(v),Jt(()=>{i.forEach(b=>{const{subTree:S,suspense:y}=n,C=GE(S);if(b.type===C.type&&b.key===C.key){zE(C);const w=C.component.da;w&&vi(w,y);return}f(b)})}),()=>{if(h=null,!t.default)return null;const b=t.default(),S=b[0];if(b.length>1)return l=null,b;if(!Kr(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return l=null,S;let y=GE(S);const C=y.type,w=mT(Ru(y)?y.type.__asyncResolved||{}:C),{include:T,exclude:O,max:R}=e;if(T&&(!w||!ym(T,w))||O&&w&&ym(O,w))return l=y,S;const N=y.key==null?C:y.key,D=i.get(N);return y.el&&(y=wi(y),S.shapeFlag&128&&(S.ssContent=y)),h=N,D?(y.el=D.el,y.component=D.component,y.transition&&zu(y,y.transition),y.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),R&&o.size>parseInt(R,10)&&m(o.values().next().value)),y.shapeFlag|=256,l=y,aB(S.type)?S:y}}},rde=nde;function ym(e,t){return bt(e)?e.some(n=>ym(n,t)):Or(e)?e.split(",").includes(t):Dce(e)?e.test(t):!1}function hh(e,t){pB(e,"a",t)}function fO(e,t){pB(e,"da",t)}function pB(e,t,n=ei){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(dS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)gh(i.parent.vnode)&&ide(r,t,n,i),i=i.parent}}function ide(e,t,n,r){const i=dS(t,e,r,!0);Li(()=>{qx(r[t],i)},n)}function zE(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function GE(e){return e.shapeFlag&128?e.ssContent:e}function dS(e,t,n=ei,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Ef(),Rc(n);const s=$o(t,n,e,l);return yc(),Cf(),s});return r?i.unshift(o):i.push(o),o}}const Ol=e=>(t,n=ei)=>(!Fp||e==="sp")&&dS(e,(...r)=>t(...r),n),pS=Ol("bm"),_t=Ol("m"),_h=Ol("bu"),go=Ol("u"),Jt=Ol("bum"),Li=Ol("um"),fB=Ol("sp"),mB=Ol("rtg"),gB=Ol("rtc");function hB(e,t=ei){dS("ec",e,t)}const mO="components",ode="directives";function _p(e,t){return gO(mO,e,!0,t)||e}const _B=Symbol.for("v-ndc");function Au(e){return Or(e)?gO(mO,e,!1)||e:e||_B}function Tf(e){return gO(ode,e)}function gO(e,t,n=!0,r=!1){const i=fi||ei;if(i){const o=i.type;if(e===mO){const s=mT(o,!1);if(s&&(s===t||s===co(t)||s===ph(co(t))))return o}const l=PM(i[e]||o[e],t)||PM(i.appContext[e],t);return!l&&r?o:l}}function PM(e,t){return e&&(e[t]||e[co(t)]||e[ph(co(t))])}function Pi(e,t,n,r){let i;const o=n&&n[r];if(bt(e)||Or(e)){i=new Array(e.length);for(let l=0,s=e.length;lt(l,s,void 0,o&&o[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function Ct(e,t,n={},r,i){if(fi.isCE||fi.parent&&Ru(fi.parent)&&fi.parent.isCE)return t!=="default"&&(n.name=t),x("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),oe();const l=o&&vB(o(n)),s=An(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"]),o&&o._c&&(o._d=!0),s}function vB(e){return e.some(t=>Kr(t)?!(t.type===Ci||t.type===tt&&!vB(t.children)):!0)?e:null}function bB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:km(r)]=e[r];return n}const oT=e=>e?LB(e)?mS(e)||e.proxy:oT(e.parent):null,$m=gr(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=>oT(e.parent),$root:e=>oT(e.root),$emit:e=>e.emit,$options:e=>_O(e),$forceUpdate:e=>e.f||(e.f=()=>sS(e.update)),$nextTick:e=>e.n||(e.n=sn.bind(e.proxy)),$watch:e=>Jue.bind(e)}),jE=(e,t)=>e!==or&&!e.__isScriptSetup&&$n(e,t),aT={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:l,type:s,appContext:u}=e;let a;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 o[t]}else{if(jE(r,t))return l[t]=1,r[t];if(i!==or&&$n(i,t))return l[t]=2,i[t];if((a=e.propsOptions[0])&&$n(a,t))return l[t]=3,o[t];if(n!==or&&$n(n,t))return l[t]=4,n[t];sT&&(l[t]=0)}}const c=$m[t];let d,p;if(c)return t==="$attrs"&&po(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==or&&$n(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,$n(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return jE(i,t)?(i[t]=n,!0):r!==or&&$n(r,t)?(r[t]=n,!0):$n(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},l){let s;return!!n[l]||e!==or&&$n(e,l)||jE(t,l)||(s=o[0])&&$n(s,l)||$n(r,l)||$n($m,l)||$n(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$n(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ade=gr({},aT,{get(e,t){if(t!==Symbol.unscopables)return aT.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Lce(t)}});function sde(){return null}function lde(){return null}function cde(e){}function ude(e){}function dde(){return null}function pde(){}function fde(e,t){return null}function mde(){return yB().slots}function SB(){return yB().attrs}function gde(e,t,n){const r=Er();if(n&&n.local){const i=Ie(e[t]);return Ve(()=>e[t],o=>i.value=o),Ve(i,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function yB(){const e=Er();return e.setupContext||(e.setupContext=UB(e))}function vg(e){return bt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hde(e,t){const n=vg(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?bt(i)||jt(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 _de(e,t){return!e||!t?e||t:bt(e)&&bt(t)?e.concat(t):gr({},vg(e),vg(t))}function vde(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function bde(e){const t=Er();let n=e();return yc(),Kx(n)&&(n=n.catch(r=>{throw Rc(t),r})),[n,()=>Rc(t)]}let sT=!0;function Sde(e){const t=_O(e),n=e.proxy,r=e.ctx;sT=!1,t.beforeCreate&&kM(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:s,provide:u,inject:a,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:g,activated:m,deactivated:h,beforeDestroy:v,beforeUnmount:b,destroyed:S,unmounted:y,render:C,renderTracked:w,renderTriggered:T,errorCaptured:O,serverPrefetch:R,expose:N,inheritAttrs:D,components:B,directives:P,filters:$}=t;if(a&&yde(a,r,null),l)for(const H in l){const U=l[H];jt(U)&&(r[H]=U.bind(n))}if(i){const H=i.call(n,n);ar(H)&&(e.data=dn(H))}if(sT=!0,o)for(const H in o){const U=o[H],j=jt(U)?U.bind(n,n):jt(U.get)?U.get.bind(n,n):Fa,G=!jt(U)&&jt(U.set)?U.set.bind(n):Fa,K=k({get:j,set:G});Object.defineProperty(r,H,{enumerable:!0,configurable:!0,get:()=>K.value,set:Q=>K.value=Q})}if(s)for(const H in s)EB(s[H],r,n,H);if(u){const H=jt(u)?u.call(n):u;Reflect.ownKeys(H).forEach(U=>{Dt(U,H[U])})}c&&kM(c,e,"c");function L(H,U){bt(U)?U.forEach(j=>H(j.bind(n))):U&&H(U.bind(n))}if(L(pS,d),L(_t,p),L(_h,f),L(go,g),L(hh,m),L(fO,h),L(hB,O),L(gB,w),L(mB,T),L(Jt,b),L(Li,y),L(fB,R),bt(N))if(N.length){const H=e.exposed||(e.exposed={});N.forEach(U=>{Object.defineProperty(H,U,{get:()=>n[U],set:j=>n[U]=j})})}else e.exposed||(e.exposed={});C&&e.render===Fa&&(e.render=C),D!=null&&(e.inheritAttrs=D),B&&(e.components=B),P&&(e.directives=P)}function yde(e,t,n=Fa){bt(e)&&(e=lT(e));for(const r in e){const i=e[r];let o;ar(i)?"default"in i?o=He(i.from||r,i.default,!0):o=He(i.from||r):o=He(i),Wr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function kM(e,t,n){$o(bt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function EB(e,t,n,r){const i=r.includes(".")?cB(n,r):()=>n[r];if(Or(e)){const o=t[e];jt(o)&&Ve(i,o)}else if(jt(e))Ve(i,e.bind(n));else if(ar(e))if(bt(e))e.forEach(o=>EB(o,t,n,r));else{const o=jt(e.handler)?e.handler.bind(n):t[e.handler];jt(o)&&Ve(i,o,e)}}function _O(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,s=o.get(t);let u;return s?u=s:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(a=>Fv(u,a,l,!0)),Fv(u,t,l)),ar(t)&&o.set(t,u),u}function Fv(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Fv(e,o,n,!0),i&&i.forEach(l=>Fv(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=Ede[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const Ede={data:$M,props:LM,emits:LM,methods:Em,computed:Em,beforeCreate:zi,created:zi,beforeMount:zi,mounted:zi,beforeUpdate:zi,updated:zi,beforeDestroy:zi,beforeUnmount:zi,destroyed:zi,unmounted:zi,activated:zi,deactivated:zi,errorCaptured:zi,serverPrefetch:zi,components:Em,directives:Em,watch:Tde,provide:$M,inject:Cde};function $M(e,t){return t?e?function(){return gr(jt(e)?e.call(this,this):e,jt(t)?t.call(this,this):t)}:t:e}function Cde(e,t){return Em(lT(e),lT(t))}function lT(e){if(bt(e)){const t={};for(let n=0;n1)return n&&jt(t)?t.call(r&&r.proxy):t}}function Ode(){return!!(ei||fi||bg)}function Ide(e,t,n,r=!1){const i={},o={};Mv(o,fS,1),e.propsDefaults=Object.create(null),TB(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:ZF(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Rde(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,s=Ut(i),[u]=e.propsOptions;let a=!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]=wB(d,t,!0);gr(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(!o&&!u)return ar(e)&&r.set(e,dp),dp;if(bt(o))for(let c=0;c-1,f[1]=m<0||g-1||$n(f,"default"))&&s.push(d)}}}const a=[l,s];return ar(e)&&r.set(e,a),a}function FM(e){return e[0]!=="$"}function BM(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function UM(e,t){return BM(e)===BM(t)}function HM(e,t){return bt(t)?t.findIndex(n=>UM(n,e)):jt(t)&&UM(t,e)?0:-1}const xB=e=>e[0]==="_"||e==="$stable",vO=e=>bt(e)?e.map(No):[No(e)],Ade=(e,t,n)=>{if(t._n)return t;const r=fn((...i)=>vO(t(...i)),n);return r._c=!1,r},OB=(e,t,n)=>{const r=e._ctx;for(const i in e){if(xB(i))continue;const o=e[i];if(jt(o))t[i]=Ade(i,o,r);else if(o!=null){const l=vO(o);t[i]=()=>l}}},IB=(e,t)=>{const n=vO(t);e.slots.default=()=>n},Nde=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ut(t),Mv(t,"_",n)):OB(t,e.slots={})}else e.slots={},t&&IB(e,t);Mv(e.slots,fS,1)},Dde=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,l=or;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:(gr(i,t),!n&&s===1&&delete i._):(o=!t.$stable,OB(t,i)),l=t}else t&&(IB(e,t),l={default:1});if(o)for(const s in i)!xB(s)&&!(s in l)&&delete i[s]};function Bv(e,t,n,r,i=!1){if(bt(e)){e.forEach((p,f)=>Bv(p,t&&(bt(t)?t[f]:t),n,r,i));return}if(Ru(r)&&!i)return;const o=r.shapeFlag&4?mS(r.component)||r.component.proxy:r.el,l=i?null:o,{i:s,r:u}=e,a=t&&t.r,c=s.refs===or?s.refs={}:s.refs,d=s.setupState;if(a!=null&&a!==u&&(Or(a)?(c[a]=null,$n(d,a)&&(d[a]=null)):Wr(a)&&(a.value=null)),jt(u))hl(u,s,12,[l,c]);else{const p=Or(u),f=Wr(u);if(p||f){const g=()=>{if(e.f){const m=p?$n(d,u)?d[u]:c[u]:u.value;i?bt(m)&&qx(m,o):bt(m)?m.includes(o)||m.push(o):p?(c[u]=[o],$n(d,u)&&(d[u]=c[u])):(u.value=[o],e.k&&(c[e.k]=u.value))}else p?(c[u]=l,$n(d,u)&&(d[u]=l)):f&&(u.value=l,e.k&&(c[e.k]=l))};l?(g.id=-1,vi(g,n)):g()}}}let Yl=!1;const t0=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",n0=e=>e.nodeType===8;function Mde(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:l,remove:s,insert:u,createComment:a}}=e,c=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),Lv(),b._vnode=v;return}Yl=!1,d(b.firstChild,v,null,null,null),Lv(),b._vnode=v,Yl&&console.error("Hydration completed but contains mismatches.")},d=(v,b,S,y,C,w=!1)=>{const T=n0(v)&&v.data==="[",O=()=>m(v,b,S,y,C,T),{type:R,ref:N,shapeFlag:D,patchFlag:B}=b;let P=v.nodeType;b.el=v,B===-2&&(w=!1,b.dynamicChildren=null);let $=null;switch(R){case za:P!==3?b.children===""?(u(b.el=i(""),l(v),v),$=v):$=O():(v.data!==b.children&&(Yl=!0,v.data=b.children),$=o(v));break;case Ci:P!==8||T?$=O():$=o(v);break;case Nu:if(T&&(v=o(v),P=v.nodeType),P===1||P===3){$=v;const M=!b.children.length;for(let L=0;L{w=w||!!b.dynamicChildren;const{type:T,props:O,patchFlag:R,shapeFlag:N,dirs:D}=b,B=T==="input"&&D||T==="option";if(B||R!==-1){if(D&&ss(b,null,S,"created"),O)if(B||!w||R&48)for(const $ in O)(B&&$.endsWith("value")||dh($)&&!Pm($))&&r(v,$,null,O[$],!1,void 0,S);else O.onClick&&r(v,"onClick",null,O.onClick,!1,void 0,S);let P;if((P=O&&O.onVnodeBeforeMount)&&oo(P,S,b),D&&ss(b,null,S,"beforeMount"),((P=O&&O.onVnodeMounted)||D)&&sB(()=>{P&&oo(P,S,b),D&&ss(b,null,S,"mounted")},y),N&16&&!(O&&(O.innerHTML||O.textContent))){let $=f(v.firstChild,b,v,S,y,C,w);for(;$;){Yl=!0;const M=$;$=$.nextSibling,s(M)}}else N&8&&v.textContent!==b.children&&(Yl=!0,v.textContent=b.children)}return v.nextSibling},f=(v,b,S,y,C,w,T)=>{T=T||!!b.dynamicChildren;const O=b.children,R=O.length;for(let N=0;N{const{slotScopeIds:T}=b;T&&(C=C?C.concat(T):T);const O=l(v),R=f(o(v),b,O,S,y,C,w);return R&&n0(R)&&R.data==="]"?o(b.anchor=R):(Yl=!0,u(b.anchor=a("]"),O,R),R)},m=(v,b,S,y,C,w)=>{if(Yl=!0,b.el=null,w){const R=h(v);for(;;){const N=o(v);if(N&&N!==R)s(N);else break}}const T=o(v),O=l(v);return s(v),n(null,b,O,T,S,y,t0(O),C),T},h=v=>{let b=0;for(;v;)if(v=o(v),v&&n0(v)&&(v.data==="["&&b++,v.data==="]")){if(b===0)return o(v);b--}return v};return[c,d]}const vi=sB;function RB(e){return NB(e)}function AB(e){return NB(e,Mde)}function NB(e,t){const n=eT();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:l,createText:s,createComment:u,setText:a,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=Fa,insertStaticContent:g}=e,m=(W,J,fe,_e=null,he=null,ye=null,Ne=!1,Oe=null,be=!!J.dynamicChildren)=>{if(W===J)return;W&&!Ma(W,J)&&(_e=se(W),Q(W,he,ye,!0),W=null),J.patchFlag===-2&&(be=!1,J.dynamicChildren=null);const{type:le,ref:Me,shapeFlag:De}=J;switch(le){case za:h(W,J,fe,_e);break;case Ci:v(W,J,fe,_e);break;case Nu:W==null&&b(J,fe,_e,Ne);break;case tt:B(W,J,fe,_e,he,ye,Ne,Oe,be);break;default:De&1?C(W,J,fe,_e,he,ye,Ne,Oe,be):De&6?P(W,J,fe,_e,he,ye,Ne,Oe,be):(De&64||De&128)&&le.process(W,J,fe,_e,he,ye,Ne,Oe,be,pe)}Me!=null&&he&&Bv(Me,W&&W.ref,ye,J||W,!J)},h=(W,J,fe,_e)=>{if(W==null)r(J.el=s(J.children),fe,_e);else{const he=J.el=W.el;J.children!==W.children&&a(he,J.children)}},v=(W,J,fe,_e)=>{W==null?r(J.el=u(J.children||""),fe,_e):J.el=W.el},b=(W,J,fe,_e)=>{[W.el,W.anchor]=g(W.children,J,fe,_e,W.el,W.anchor)},S=({el:W,anchor:J},fe,_e)=>{let he;for(;W&&W!==J;)he=p(W),r(W,fe,_e),W=he;r(J,fe,_e)},y=({el:W,anchor:J})=>{let fe;for(;W&&W!==J;)fe=p(W),i(W),W=fe;i(J)},C=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{Ne=Ne||J.type==="svg",W==null?w(J,fe,_e,he,ye,Ne,Oe,be):R(W,J,he,ye,Ne,Oe,be)},w=(W,J,fe,_e,he,ye,Ne,Oe)=>{let be,le;const{type:Me,props:De,shapeFlag:Ue,transition:Te,dirs:Se}=W;if(be=W.el=l(W.type,ye,De&&De.is,De),Ue&8?c(be,W.children):Ue&16&&O(W.children,be,null,_e,he,ye&&Me!=="foreignObject",Ne,Oe),Se&&ss(W,null,_e,"created"),T(be,W,W.scopeId,Ne,_e),De){for(const F in De)F!=="value"&&!Pm(F)&&o(be,F,null,De[F],ye,W.children,_e,he,ee);"value"in De&&o(be,"value",null,De.value),(le=De.onVnodeBeforeMount)&&oo(le,_e,W)}Se&&ss(W,null,_e,"beforeMount");const Y=(!he||he&&!he.pendingBranch)&&Te&&!Te.persisted;Y&&Te.beforeEnter(be),r(be,J,fe),((le=De&&De.onVnodeMounted)||Y||Se)&&vi(()=>{le&&oo(le,_e,W),Y&&Te.enter(be),Se&&ss(W,null,_e,"mounted")},he)},T=(W,J,fe,_e,he)=>{if(fe&&f(W,fe),_e)for(let ye=0;ye<_e.length;ye++)f(W,_e[ye]);if(he){let ye=he.subTree;if(J===ye){const Ne=he.vnode;T(W,Ne,Ne.scopeId,Ne.slotScopeIds,he.parent)}}},O=(W,J,fe,_e,he,ye,Ne,Oe,be=0)=>{for(let le=be;le{const Oe=J.el=W.el;let{patchFlag:be,dynamicChildren:le,dirs:Me}=J;be|=W.patchFlag&16;const De=W.props||or,Ue=J.props||or;let Te;fe&&nu(fe,!1),(Te=Ue.onVnodeBeforeUpdate)&&oo(Te,fe,J,W),Me&&ss(J,W,fe,"beforeUpdate"),fe&&nu(fe,!0);const Se=he&&J.type!=="foreignObject";if(le?N(W.dynamicChildren,le,Oe,fe,_e,Se,ye):Ne||U(W,J,Oe,null,fe,_e,Se,ye,!1),be>0){if(be&16)D(Oe,J,De,Ue,fe,_e,he);else if(be&2&&De.class!==Ue.class&&o(Oe,"class",null,Ue.class,he),be&4&&o(Oe,"style",De.style,Ue.style,he),be&8){const Y=J.dynamicProps;for(let F=0;F{Te&&oo(Te,fe,J,W),Me&&ss(J,W,fe,"updated")},_e)},N=(W,J,fe,_e,he,ye,Ne)=>{for(let Oe=0;Oe{if(fe!==_e){if(fe!==or)for(const Oe in fe)!Pm(Oe)&&!(Oe in _e)&&o(W,Oe,fe[Oe],null,Ne,J.children,he,ye,ee);for(const Oe in _e){if(Pm(Oe))continue;const be=_e[Oe],le=fe[Oe];be!==le&&Oe!=="value"&&o(W,Oe,le,be,Ne,J.children,he,ye,ee)}"value"in _e&&o(W,"value",fe.value,_e.value)}},B=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{const le=J.el=W?W.el:s(""),Me=J.anchor=W?W.anchor:s("");let{patchFlag:De,dynamicChildren:Ue,slotScopeIds:Te}=J;Te&&(Oe=Oe?Oe.concat(Te):Te),W==null?(r(le,fe,_e),r(Me,fe,_e),O(J.children,fe,Me,he,ye,Ne,Oe,be)):De>0&&De&64&&Ue&&W.dynamicChildren?(N(W.dynamicChildren,Ue,fe,he,ye,Ne,Oe),(J.key!=null||he&&J===he.subTree)&&bO(W,J,!0)):U(W,J,fe,Me,he,ye,Ne,Oe,be)},P=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{J.slotScopeIds=Oe,W==null?J.shapeFlag&512?he.ctx.activate(J,fe,_e,Ne,be):$(J,fe,_e,he,ye,Ne,be):M(W,J,be)},$=(W,J,fe,_e,he,ye,Ne)=>{const Oe=W.component=$B(W,_e,he);if(gh(W)&&(Oe.ctx.renderer=pe),FB(Oe),Oe.asyncDep){if(he&&he.registerDep(Oe,L),!W.el){const be=Oe.subTree=x(Ci);v(null,be,J,fe)}return}L(Oe,W,J,fe,he,ye,Ne)},M=(W,J,fe)=>{const _e=J.component=W.component;if(Gue(W,J,fe))if(_e.asyncDep&&!_e.asyncResolved){H(_e,J,fe);return}else _e.next=J,Lue(_e.update),_e.update();else J.el=W.el,_e.vnode=J},L=(W,J,fe,_e,he,ye,Ne)=>{const Oe=()=>{if(W.isMounted){let{next:Me,bu:De,u:Ue,parent:Te,vnode:Se}=W,Y=Me,F;nu(W,!1),Me?(Me.el=Se.el,H(W,Me,Ne)):Me=Se,De&&fp(De),(F=Me.props&&Me.props.onVnodeBeforeUpdate)&&oo(F,Te,Me,Se),nu(W,!0);const V=V0(W),te=W.subTree;W.subTree=V,m(te,V,d(te.el),se(te),W,he,ye),Me.el=V.el,Y===null&&cO(W,V.el),Ue&&vi(Ue,he),(F=Me.props&&Me.props.onVnodeUpdated)&&vi(()=>oo(F,Te,Me,Se),he)}else{let Me;const{el:De,props:Ue}=J,{bm:Te,m:Se,parent:Y}=W,F=Ru(J);if(nu(W,!1),Te&&fp(Te),!F&&(Me=Ue&&Ue.onVnodeBeforeMount)&&oo(Me,Y,J),nu(W,!0),De&&ge){const V=()=>{W.subTree=V0(W),ge(De,W.subTree,W,he,null)};F?J.type.__asyncLoader().then(()=>!W.isUnmounted&&V()):V()}else{const V=W.subTree=V0(W);m(null,V,fe,_e,W,he,ye),J.el=V.el}if(Se&&vi(Se,he),!F&&(Me=Ue&&Ue.onVnodeMounted)){const V=J;vi(()=>oo(Me,Y,V),he)}(J.shapeFlag&256||Y&&Ru(Y.vnode)&&Y.vnode.shapeFlag&256)&&W.a&&vi(W.a,he),W.isMounted=!0,J=fe=_e=null}},be=W.effect=new fh(Oe,()=>sS(le),W.scope),le=W.update=()=>be.run();le.id=W.uid,nu(W,!0),le()},H=(W,J,fe)=>{J.component=W;const _e=W.vnode.props;W.vnode=J,W.next=null,Rde(W,J.props,_e,fe),Dde(W,J.children,fe),Ef(),AM(),Cf()},U=(W,J,fe,_e,he,ye,Ne,Oe,be=!1)=>{const le=W&&W.children,Me=W?W.shapeFlag:0,De=J.children,{patchFlag:Ue,shapeFlag:Te}=J;if(Ue>0){if(Ue&128){G(le,De,fe,_e,he,ye,Ne,Oe,be);return}else if(Ue&256){j(le,De,fe,_e,he,ye,Ne,Oe,be);return}}Te&8?(Me&16&&ee(le,he,ye),De!==le&&c(fe,De)):Me&16?Te&16?G(le,De,fe,_e,he,ye,Ne,Oe,be):ee(le,he,ye,!0):(Me&8&&c(fe,""),Te&16&&O(De,fe,_e,he,ye,Ne,Oe,be))},j=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{W=W||dp,J=J||dp;const le=W.length,Me=J.length,De=Math.min(le,Me);let Ue;for(Ue=0;UeMe?ee(W,he,ye,!0,!1,De):O(J,fe,_e,he,ye,Ne,Oe,be,De)},G=(W,J,fe,_e,he,ye,Ne,Oe,be)=>{let le=0;const Me=J.length;let De=W.length-1,Ue=Me-1;for(;le<=De&&le<=Ue;){const Te=W[le],Se=J[le]=be?ac(J[le]):No(J[le]);if(Ma(Te,Se))m(Te,Se,fe,null,he,ye,Ne,Oe,be);else break;le++}for(;le<=De&&le<=Ue;){const Te=W[De],Se=J[Ue]=be?ac(J[Ue]):No(J[Ue]);if(Ma(Te,Se))m(Te,Se,fe,null,he,ye,Ne,Oe,be);else break;De--,Ue--}if(le>De){if(le<=Ue){const Te=Ue+1,Se=TeUe)for(;le<=De;)Q(W[le],he,ye,!0),le++;else{const Te=le,Se=le,Y=new Map;for(le=Se;le<=Ue;le++){const Ze=J[le]=be?ac(J[le]):No(J[le]);Ze.key!=null&&Y.set(Ze.key,le)}let F,V=0;const te=Ue-Se+1;let re=!1,me=0;const Ee=new Array(te);for(le=0;le=te){Q(Ze,he,ye,!0);continue}let Ye;if(Ze.key!=null)Ye=Y.get(Ze.key);else for(F=Se;F<=Ue;F++)if(Ee[F-Se]===0&&Ma(Ze,J[F])){Ye=F;break}Ye===void 0?Q(Ze,he,ye,!0):(Ee[Ye-Se]=le+1,Ye>=me?me=Ye:re=!0,m(Ze,J[Ye],fe,null,he,ye,Ne,Oe,be),V++)}const je=re?Pde(Ee):dp;for(F=je.length-1,le=te-1;le>=0;le--){const Ze=Se+le,Ye=J[Ze],Je=Ze+1{const{el:ye,type:Ne,transition:Oe,children:be,shapeFlag:le}=W;if(le&6){K(W.component.subTree,J,fe,_e);return}if(le&128){W.suspense.move(J,fe,_e);return}if(le&64){Ne.move(W,J,fe,pe);return}if(Ne===tt){r(ye,J,fe);for(let De=0;DeOe.enter(ye),he);else{const{leave:De,delayLeave:Ue,afterLeave:Te}=Oe,Se=()=>r(ye,J,fe),Y=()=>{De(ye,()=>{Se(),Te&&Te()})};Ue?Ue(ye,Se,Y):Y()}else r(ye,J,fe)},Q=(W,J,fe,_e=!1,he=!1)=>{const{type:ye,props:Ne,ref:Oe,children:be,dynamicChildren:le,shapeFlag:Me,patchFlag:De,dirs:Ue}=W;if(Oe!=null&&Bv(Oe,null,fe,W,!0),Me&256){J.ctx.deactivate(W);return}const Te=Me&1&&Ue,Se=!Ru(W);let Y;if(Se&&(Y=Ne&&Ne.onVnodeBeforeUnmount)&&oo(Y,J,W),Me&6)q(W.component,fe,_e);else{if(Me&128){W.suspense.unmount(fe,_e);return}Te&&ss(W,null,J,"beforeUnmount"),Me&64?W.type.remove(W,J,fe,he,pe,_e):le&&(ye!==tt||De>0&&De&64)?ee(le,J,fe,!1,!0):(ye===tt&&De&384||!he&&Me&16)&&ee(be,J,fe),_e&&ne(W)}(Se&&(Y=Ne&&Ne.onVnodeUnmounted)||Te)&&vi(()=>{Y&&oo(Y,J,W),Te&&ss(W,null,J,"unmounted")},fe)},ne=W=>{const{type:J,el:fe,anchor:_e,transition:he}=W;if(J===tt){ae(fe,_e);return}if(J===Nu){y(W);return}const ye=()=>{i(fe),he&&!he.persisted&&he.afterLeave&&he.afterLeave()};if(W.shapeFlag&1&&he&&!he.persisted){const{leave:Ne,delayLeave:Oe}=he,be=()=>Ne(fe,ye);Oe?Oe(W.el,ye,be):be()}else ye()},ae=(W,J)=>{let fe;for(;W!==J;)fe=p(W),i(W),W=fe;i(J)},q=(W,J,fe)=>{const{bum:_e,scope:he,update:ye,subTree:Ne,um:Oe}=W;_e&&fp(_e),he.stop(),ye&&(ye.active=!1,Q(Ne,W,J,fe)),Oe&&vi(Oe,J),vi(()=>{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,fe,_e=!1,he=!1,ye=0)=>{for(let Ne=ye;NeW.shapeFlag&6?se(W.component.subTree):W.shapeFlag&128?W.suspense.next():p(W.anchor||W.el),ve=(W,J,fe)=>{W==null?J._vnode&&Q(J._vnode,null,null,!0):m(J._vnode||null,W,J,null,null,null,fe),AM(),Lv(),J._vnode=W},pe={p:m,um:Q,m:K,r:ne,mt:$,mc:O,pc:U,pbc:N,n:se,o:e};let xe,ge;return t&&([xe,ge]=t(pe)),{render:ve,hydrate:xe,createApp:xde(ve,xe)}}function nu({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bO(e,t,n=!1){const r=e.children,i=t.children;if(bt(r)&&bt(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}const kde=e=>e.__isTeleport,Lm=e=>e&&(e.disabled||e.disabled===""),VM=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uT=(e,t)=>{const n=e&&e.to;return Or(n)?t?t(n):null:n},$de={__isTeleport:!0,process(e,t,n,r,i,o,l,s,u,a){const{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:g,createText:m,createComment:h}}=a,v=Lm(t.props);let{shapeFlag:b,children:S,dynamicChildren:y}=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=uT(t.props,g),O=t.targetAnchor=m("");T&&(f(O,T),l=l||VM(T));const R=(N,D)=>{b&16&&c(S,N,D,i,o,l,s,u)};v?R(n,w):T&&R(T,O)}else{t.el=e.el;const C=t.anchor=e.anchor,w=t.target=e.target,T=t.targetAnchor=e.targetAnchor,O=Lm(e.props),R=O?n:w,N=O?C:T;if(l=l||VM(w),y?(p(e.dynamicChildren,y,R,i,o,l,s),bO(e,t,!0)):u||d(e,t,R,N,i,o,l,s,!1),v)O||r0(t,n,C,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=uT(t.props,g);D&&r0(t,D,null,a,0)}else O&&r0(t,w,T,a,1)}DB(t)},remove(e,t,n,r,{um:i,o:{remove:o}},l){const{shapeFlag:s,children:u,anchor:a,targetAnchor:c,target:d,props:p}=e;if(d&&o(c),(l||!Lm(p))&&(o(a),s&16))for(let f=0;f0?lo||dp:null,MB(),Gu>0&&lo&&lo.push(e),e}function de(e,t,n,r,i,o){return PB(Ce(e,t,n,r,i,o,!0))}function An(e,t,n,r,i){return PB(x(e,t,n,r,i,!0))}function Kr(e){return e?e.__v_isVNode===!0:!1}function Ma(e,t){return e.type===t.type&&e.key===t.key}function Fde(e){}const fS="__vInternal",kB=({key:e})=>e!=null?e:null,z0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Or(e)||Wr(e)||jt(e)?{i:fi,r:e,k:t,f:!!n}:e:null);function Ce(e,t=null,n=null,r=0,i=null,o=e===tt?0:1,l=!1,s=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kB(t),ref:t&&z0(t),scopeId:cS,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:fi};return s?(SO(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Or(n)?8:16),Gu>0&&!l&&lo&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&lo.push(u),u}const x=Bde;function Bde(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===_B)&&(e=Ci),Kr(e)){const s=wi(e,t,!0);return n&&SO(s,n),Gu>0&&!o&&lo&&(s.shapeFlag&6?lo[lo.indexOf(e)]=s:lo.push(s)),s.patchFlag|=-2,s}if(Wde(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:s,style:u}=t;s&&!Or(s)&&(t.class=Gt(s)),ar(u)&&(nO(u)&&!bt(u)&&(u=gr({},u)),t.style=Mi(u))}const l=Or(e)?1:aB(e)?128:kde(e)?64:ar(e)?4:jt(e)?2:0;return Ce(e,t,n,r,i,l,o,!0)}function oa(e){return e?nO(e)||fS in e?gr({},e):e:null}function wi(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:l}=e,s=t?Mn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&kB(s),ref:t&&t.ref?n&&i?bt(i)?i.concat(z0(t)):[i,z0(t)]:z0(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?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wi(e.ssContent),ssFallback:e.ssFallback&&wi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Jn(e=" ",t=0){return x(za,null,e,t)}function Ude(e,t){const n=x(Nu,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(oe(),An(Ci,null,e)):x(Ci,null,e)}function No(e){return e==null||typeof e=="boolean"?x(Ci):bt(e)?x(tt,null,e.slice()):typeof e=="object"?ac(e):x(za,null,String(e))}function ac(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wi(e)}function SO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(bt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),SO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(fS in t)?t._ctx=fi:i===3&&fi&&(fi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else jt(t)?(t={default:t,_ctx:fi},n=32):(t=String(t),r&64?(n=16,t=[Jn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nei||fi;let yO,Ad,zM="__VUE_INSTANCE_SETTERS__";(Ad=eT()[zM])||(Ad=eT()[zM]=[]),Ad.push(e=>ei=e),yO=e=>{Ad.length>1?Ad.forEach(t=>t(e)):Ad[0](e)};const Rc=e=>{yO(e),e.scope.on()},yc=()=>{ei&&ei.scope.off(),yO(null)};function LB(e){return e.vnode.shapeFlag&4}let Fp=!1;function FB(e,t=!1){Fp=t;const{props:n,children:r}=e.vnode,i=LB(e);Ide(e,n,i,t),Nde(e,r);const o=i?zde(e,t):void 0;return Fp=!1,o}function zde(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=rO(new Proxy(e.ctx,aT));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?UB(e):null;Rc(e),Ef();const o=hl(r,e,0,[e.props,i]);if(Cf(),yc(),Kx(o)){if(o.then(yc,yc),t)return o.then(l=>{pT(e,l,t)}).catch(l=>{rd(l,e,0)});e.asyncDep=o}else pT(e,o,t)}else BB(e,t)}function pT(e,t,n){jt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ar(t)&&(e.setupState=aO(t)),BB(e,n)}let Uv,fT;function Gde(e){Uv=e,fT=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,ade))}}const jde=()=>!Uv;function BB(e,t,n){const r=e.type;if(!e.render){if(!t&&Uv&&!r.render){const i=r.template||_O(e).template;if(i){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:s,compilerOptions:u}=r,a=gr(gr({isCustomElement:o,delimiters:s},l),u);r.render=Uv(i,a)}}e.render=r.render||Fa,fT&&fT(e)}Rc(e),Ef(),Sde(e),Cf(),yc()}function Yde(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return po(e,"get","$attrs"),t[n]}}))}function UB(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yde(e)},slots:e.slots,emit:e.emit,expose:t}}function mS(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(aO(rO(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $m)return $m[n](e)},has(t,n){return n in t||n in $m}}))}function mT(e,t=!0){return jt(e)?e.displayName||e.name:e.name||t&&e.__name}function Wde(e){return jt(e)&&"__vccOpts"in e}const k=(e,t)=>Due(e,t,Fp);function bl(e,t,n){const r=arguments.length;return r===2?ar(t)&&!bt(t)?Kr(t)?x(e,null,[t]):x(e,t):x(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kr(n)&&(n=[n]),x(e,t,n))}const HB=Symbol.for("v-scx"),VB=()=>He(HB);function qde(){}function Kde(e,t,n,r){const i=n[r];if(i&&zB(i,e))return i;const o=t();return o.memo=e.slice(),n[r]=o}function zB(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&lo&&lo.push(e),!0}const GB="3.3.4",Zde={createComponentInstance:$B,setupComponent:FB,renderComponentRoot:V0,setCurrentRenderingInstance:hg,isVNode:Kr,normalizeVNode:No},Qde=Zde,Xde=null,Jde=null,epe="http://www.w3.org/2000/svg",fu=typeof document<"u"?document:null,GM=fu&&fu.createElement("template"),tpe={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?fu.createElementNS(epe,e):fu.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>fu.createTextNode(e),createComment:e=>fu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{GM.innerHTML=r?`${e}`:e;const s=GM.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 npe(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 rpe(e,t,n){const r=e.style,i=Or(n);if(n&&!i){if(t&&!Or(t))for(const o in t)n[o]==null&&gT(r,o,"");for(const o in n)gT(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const jM=/\s*!important$/;function gT(e,t,n){if(bt(n))n.forEach(r=>gT(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ipe(e,t);jM.test(n)?e.setProperty(ca(r),n.replace(jM,""),"important"):e[r]=n}}const YM=["Webkit","Moz","ms"],YE={};function ipe(e,t){const n=YE[t];if(n)return n;let r=co(t);if(r!=="filter"&&r in e)return YE[t]=r;r=ph(r);for(let i=0;iWE||(upe.then(()=>WE=0),WE=Date.now());function ppe(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$o(fpe(r,n.value),t,5,[r])};return n.value=e,n.attached=dpe(),n}function fpe(e,t){if(bt(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 KM=/^on[a-z]/,mpe=(e,t,n,r,i=!1,o,l,s,u)=>{t==="class"?npe(e,r,i):t==="style"?rpe(e,n,r):dh(t)?Wx(t)||lpe(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gpe(e,t,r,i))?ape(e,t,r,o,l,s,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ope(e,t,r,i))};function gpe(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&KM.test(t)&&jt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||KM.test(t)&&Or(n)?!1:t in e}function jB(e,t){const n=we(e);class r extends gS{constructor(o){super(n,o,t)}}return r.def=n,r}const hpe=e=>jB(e,a9),_pe=typeof HTMLElement<"u"?HTMLElement:class{};class gS extends _pe{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||(Sl(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:o,styles:l}=r;let s;if(o&&!bt(o))for(const u in o){const a=o[u];(a===Number||a&&a.type===Number)&&(u in this._props&&(this._props[u]=kv(this._props[u])),(s||(s=Object.create(null)))[co(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=bt(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(co))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=co(t);this._numberProps&&this._numberProps[r]&&(n=kv(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(ca(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ca(t),n+""):n||this.removeAttribute(ca(t))))}_update(){Sl(this._createVNode(),this.shadowRoot)}_createVNode(){const t=x(this._def,gr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,l)=>{this.dispatchEvent(new CustomEvent(o,{detail:l}))};n.emit=(o,...l)=>{r(o,l),ca(o)!==o&&r(ca(o),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof gS){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 vpe(e="$style"){{const t=Er();if(!t)return or;const n=t.type.__cssModules;if(!n)return or;const r=n[e];return r||or}}function bpe(e){const t=Er();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>_T(o,i))},r=()=>{const i=e(t.proxy);hT(t.subTree,i),n(i)};lB(r),_t(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Li(()=>i.disconnect())})}function hT(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hT(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_T(e.el,t);else if(e.type===tt)e.children.forEach(n=>hT(n,t));else if(e.type===Nu){let{el:n,anchor:r}=e;for(;n&&(_T(n,t),n!==r);)n=n.nextSibling}}function _T(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Wl="transition",im="animation",xi=(e,{slots:t})=>bl(uB,WB(e),t);xi.displayName="Transition";const YB={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},Spe=xi.props=gr({},pO,YB),ru=(e,t=[])=>{bt(e)?e.forEach(n=>n(...t)):e&&e(...t)},ZM=e=>e?bt(e)?e.some(t=>t.length>1):e.length>1:!1;function WB(e){const t={};for(const B in e)B in YB||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:a=l,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=ype(i),m=g&&g[0],h=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:S,onLeave:y,onLeaveCancelled:C,onBeforeAppear:w=v,onAppear:T=b,onAppearCancelled:O=S}=t,R=(B,P,$)=>{Zl(B,P?c:s),Zl(B,P?a:l),$&&$()},N=(B,P)=>{B._isLeaving=!1,Zl(B,d),Zl(B,f),Zl(B,p),P&&P()},D=B=>(P,$)=>{const M=B?T:b,L=()=>R(P,B,$);ru(M,[P,L]),QM(()=>{Zl(P,B?u:o),qs(P,B?c:s),ZM(M)||XM(P,r,m,L)})};return gr(t,{onBeforeEnter(B){ru(v,[B]),qs(B,o),qs(B,l)},onBeforeAppear(B){ru(w,[B]),qs(B,u),qs(B,a)},onEnter:D(!1),onAppear:D(!0),onLeave(B,P){B._isLeaving=!0;const $=()=>N(B,P);qs(B,d),KB(),qs(B,p),QM(()=>{!B._isLeaving||(Zl(B,d),qs(B,f),ZM(y)||XM(B,r,h,$))}),ru(y,[B,$])},onEnterCancelled(B){R(B,!1),ru(S,[B])},onAppearCancelled(B){R(B,!0),ru(O,[B])},onLeaveCancelled(B){N(B),ru(C,[B])}})}function ype(e){if(e==null)return null;if(ar(e))return[qE(e.enter),qE(e.leave)];{const t=qE(e);return[t,t]}}function qE(e){return kv(e)}function qs(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 QM(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Epe=0;function XM(e,t,n,r){const i=e._endId=++Epe,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:l,timeout:s,propCount:u}=qB(e,t);if(!l)return r();const a=l+"end";let c=0;const d=()=>{e.removeEventListener(a,p),o()},p=f=>{f.target===e&&++c>=u&&d()};setTimeout(()=>{c(n[g]||"").split(", "),i=r(`${Wl}Delay`),o=r(`${Wl}Duration`),l=JM(i,o),s=r(`${im}Delay`),u=r(`${im}Duration`),a=JM(s,u);let c=null,d=0,p=0;t===Wl?l>0&&(c=Wl,d=l,p=o.length):t===im?a>0&&(c=im,d=a,p=u.length):(d=Math.max(l,a),c=d>0?l>a?Wl:im:null,p=c?c===Wl?o.length:u.length:0);const f=c===Wl&&/\b(transform|all)(,|$)/.test(r(`${Wl}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function JM(e,t){for(;e.lengtheP(n)+eP(e[r])))}function eP(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function KB(){return document.body.offsetHeight}const ZB=new WeakMap,QB=new WeakMap,XB={name:"TransitionGroup",props:gr({},Spe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Er(),r=dO();let i,o;return go(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Ope(i[0].el,n.vnode.el,l))return;i.forEach(Tpe),i.forEach(wpe);const s=i.filter(xpe);KB(),s.forEach(u=>{const a=u.el,c=a.style;qs(a,l),c.transform=c.webkitTransform=c.transitionDuration="";const d=a._moveCb=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",d),a._moveCb=null,Zl(a,l))};a.addEventListener("transitionend",d)})}),()=>{const l=Ut(e),s=WB(l);let u=l.tag||tt;i=o,o=t.default?uS(t.default()):[];for(let a=0;adelete e.mode;XB.props;const bh=XB;function Tpe(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function wpe(e){QB.set(e,e.el.getBoundingClientRect())}function xpe(e){const t=ZB.get(e),n=QB.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function Ope(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:o}=qB(r);return i.removeChild(r),o}const Ac=e=>{const t=e.props["onUpdate:modelValue"]||!1;return bt(t)?n=>fp(t,n):t};function Ipe(e){e.target.composing=!0}function tP(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ju={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=Ac(i);const o=r||i.props&&i.props.type==="number";ol(e,t?"change":"input",l=>{if(l.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Pv(s)),e._assign(s)}),n&&ol(e,"change",()=>{e.value=e.value.trim()}),t||(ol(e,"compositionstart",Ipe),ol(e,"compositionend",tP),ol(e,"change",tP))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e._assign=Ac(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Pv(e.value)===t))return;const l=t==null?"":t;e.value!==l&&(e.value=l)}},EO={deep:!0,created(e,t,n){e._assign=Ac(n),ol(e,"change",()=>{const r=e._modelValue,i=Bp(e),o=e.checked,l=e._assign;if(bt(r)){const s=tS(r,i),u=s!==-1;if(o&&!u)l(r.concat(i));else if(!o&&u){const a=[...r];a.splice(s,1),l(a)}}else if(nd(r)){const s=new Set(r);o?s.add(i):s.delete(i),l(s)}else l(e9(e,o))})},mounted:nP,beforeUpdate(e,t,n){e._assign=Ac(n),nP(e,t,n)}};function nP(e,{value:t,oldValue:n},r){e._modelValue=t,bt(t)?e.checked=tS(t,r.props.value)>-1:nd(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Oc(t,e9(e,!0)))}const CO={created(e,{value:t},n){e.checked=Oc(t,n.props.value),e._assign=Ac(n),ol(e,"change",()=>{e._assign(Bp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Ac(r),t!==n&&(e.checked=Oc(t,r.props.value))}},JB={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=nd(t);ol(e,"change",()=>{const o=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?Pv(Bp(l)):Bp(l));e._assign(e.multiple?i?new Set(o):o:o[0])}),e._assign=Ac(r)},mounted(e,{value:t}){rP(e,t)},beforeUpdate(e,t,n){e._assign=Ac(n)},updated(e,{value:t}){rP(e,t)}};function rP(e,t){const n=e.multiple;if(!(n&&!bt(t)&&!nd(t))){for(let r=0,i=e.options.length;r-1:o.selected=t.has(l);else if(Oc(Bp(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Bp(e){return"_value"in e?e._value:e.value}function e9(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const t9={created(e,t,n){i0(e,t,n,null,"created")},mounted(e,t,n){i0(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){i0(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){i0(e,t,n,r,"updated")}};function n9(e,t){switch(e){case"SELECT":return JB;case"TEXTAREA":return ju;default:switch(t){case"checkbox":return EO;case"radio":return CO;default:return ju}}}function i0(e,t,n,r,i){const l=n9(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function Rpe(){ju.getSSRProps=({value:e})=>({value:e}),CO.getSSRProps=({value:e},t)=>{if(t.props&&Oc(t.props.value,e))return{checked:!0}},EO.getSSRProps=({value:e},t)=>{if(bt(e)){if(t.props&&tS(e,t.props.value)>-1)return{checked:!0}}else if(nd(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},t9.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=n9(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ape=["ctrl","shift","alt","meta"],Npe={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)=>Ape.some(n=>e[`${n}Key`]&&!t.includes(n))},Sg=(e,t)=>(n,...r)=>{for(let i=0;in=>{if(!("key"in n))return;const r=ca(n.key);if(t.some(i=>i===r||Dpe[i]===r))return e(n)},Bo={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):om(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),om(e,!0),r.enter(e)):r.leave(e,()=>{om(e,!1)}):om(e,t))},beforeUnmount(e,{value:t}){om(e,t)}};function om(e,t){e.style.display=t?e._vod:"none"}function Mpe(){Bo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const r9=gr({patchProp:mpe},tpe);let Bm,iP=!1;function i9(){return Bm||(Bm=RB(r9))}function o9(){return Bm=iP?Bm:AB(r9),iP=!0,Bm}const Sl=(...e)=>{i9().render(...e)},a9=(...e)=>{o9().hydrate(...e)},s9=(...e)=>{const t=i9().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=l9(r);if(!i)return;const o=t._component;!jt(o)&&!o.render&&!o.template&&(o.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},Ppe=(...e)=>{const t=o9().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=l9(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function l9(e){return Or(e)?document.querySelector(e):e}let oP=!1;const kpe=()=>{oP||(oP=!0,Rpe(),Mpe())},$pe=()=>{},Lpe=Object.freeze(Object.defineProperty({__proto__:null,compile:$pe,EffectScope:Qx,ReactiveEffect:fh,customRef:Iue,effect:qce,effectScope:jce,getCurrentScope:Xx,isProxy:nO,isReactive:Iu,isReadonly:Vu,isRef:Wr,isShallow:pg,markRaw:rO,onScopeDispose:LF,proxyRefs:aO,reactive:dn,readonly:tO,ref:Ie,shallowReactive:ZF,shallowReadonly:Eue,shallowRef:ke,stop:Kce,toRaw:Ut,toRef:xt,toRefs:mp,toValue:wue,triggerRef:Tue,unref:We,camelize:co,capitalize:ph,normalizeClass:Gt,normalizeProps:ia,normalizeStyle:Mi,toDisplayString:Xt,toHandlerKey:km,BaseTransition:uB,BaseTransitionPropsValidators:pO,Comment:Ci,Fragment:tt,KeepAlive:rde,Static:Nu,Suspense:Yue,Teleport:vh,Text:za,assertNumber:Pue,callWithAsyncErrorHandling:$o,callWithErrorHandling:hl,cloneVNode:wi,compatUtils:Jde,computed:k,createBlock:An,createCommentVNode:ft,createElementBlock:de,createElementVNode:Ce,createHydrationRenderer:AB,createPropsRestProxy:vde,createRenderer:RB,createSlots:hO,createStaticVNode:Ude,createTextVNode:Jn,createVNode:x,defineAsyncComponent:tde,defineComponent:we,defineEmits:lde,defineExpose:cde,defineModel:pde,defineOptions:ude,defineProps:sde,defineSlots:dde,get devtools(){return jd},getCurrentInstance:Er,getTransitionRawChildren:uS,guardReactiveProps:oa,h:bl,handleError:rd,hasInjectionContext:Ode,initCustomFormatter:qde,inject:He,isMemoSame:zB,isRuntimeOnly:jde,isVNode:Kr,mergeDefaults:hde,mergeModels:_de,mergeProps:Mn,nextTick:sn,onActivated:hh,onBeforeMount:pS,onBeforeUnmount:Jt,onBeforeUpdate:_h,onDeactivated:fO,onErrorCaptured:hB,onMounted:_t,onRenderTracked:gB,onRenderTriggered:mB,onServerPrefetch:fB,onUnmounted:Li,onUpdated:go,openBlock:oe,popScopeId:oB,provide:Dt,pushScopeId:iB,queuePostFlushCb:lO,registerRuntimeCompiler:Gde,renderList:Pi,renderSlot:Ct,resolveComponent:_p,resolveDirective:Tf,resolveDynamicComponent:Au,resolveFilter:Xde,resolveTransitionHooks:Lp,setBlockTracking:dT,setDevtoolsHook:nB,setTransitionHooks:zu,ssrContextKey:HB,ssrUtils:Qde,toHandlers:bB,transformVNodeArgs:Fde,useAttrs:SB,useModel:gde,useSSRContext:VB,useSlots:mde,useTransitionState:dO,version:GB,warn:Mue,watch:Ve,watchEffect:It,watchPostEffect:lB,watchSyncEffect:Xue,withAsyncContext:bde,withCtx:fn,withDefaults:fde,withDirectives:Sr,withMemo:Kde,withScopeId:Uue,Transition:xi,TransitionGroup:bh,VueElement:gS,createApp:s9,createSSRApp:Ppe,defineCustomElement:jB,defineSSRCustomElement:hpe,hydrate:a9,initDirectivesForSSR:kpe,render:Sl,useCssModule:vpe,useCssVars:bpe,vModelCheckbox:EO,vModelDynamic:t9,vModelRadio:CO,vModelSelect:JB,vModelText:ju,vShow:Bo,withKeys:TO,withModifiers:Sg},Symbol.toStringTag,{value:"Module"}));var Un;(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 o={};for(const l of i)o[l]=l;return o},e.getValidEnumValues=i=>{const o=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),l={};for(const s of o)l[s]=i[s];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.push(l);return o},e.find=(i,o)=>{for(const l of i)if(o(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,o=" | "){return i.map(l=>typeof l=="string"?`'${l}'`:l).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(Un||(Un={}));var vT;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(vT||(vT={}));const mt=Un.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),uc=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}},at=Un.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"]),Fpe=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Ba 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(o){return o.message},r={_errors:[]},i=o=>{for(const l of o.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()}}Ba.create=e=>new Ba(e);const yg=(e,t)=>{let n;switch(e.code){case at.invalid_type:e.received===mt.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case at.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Un.jsonStringifyReplacer)}`;break;case at.unrecognized_keys:n=`Unrecognized key(s) in object: ${Un.joinValues(e.keys,", ")}`;break;case at.invalid_union:n="Invalid input";break;case at.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Un.joinValues(e.options)}`;break;case at.invalid_enum_value:n=`Invalid enum value. Expected ${Un.joinValues(e.options)}, received '${e.received}'`;break;case at.invalid_arguments:n="Invalid function arguments";break;case at.invalid_return_type:n="Invalid function return type";break;case at.invalid_date:n="Invalid date";break;case at.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}"`:Un.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case at.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 at.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 at.custom:n="Invalid input";break;case at.invalid_intersection_types:n="Intersection results could not be merged";break;case at.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case at.not_finite:n="Number must be finite";break;default:n=t.defaultError,Un.assertNever(e)}return{message:n}};let c9=yg;function Bpe(e){c9=e}function Hv(){return c9}const Vv=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],l={...i,path:o};let s="";const u=r.filter(a=>!!a).slice().reverse();for(const a of u)s=a(l,{data:t,defaultError:s}).message;return{...i,path:o,message:i.message||s}},Upe=[];function ht(e,t){const n=Vv({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,Hv(),yg].filter(r=>!!r)});e.common.issues.push(n)}class ki{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 on;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 ki.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:o,value:l}=i;if(o.status==="aborted"||l.status==="aborted")return on;o.status==="dirty"&&t.dirty(),l.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof l.value<"u"||i.alwaysSet)&&(r[o.value]=l.value)}return{status:t.value,value:r}}}const on=Object.freeze({status:"aborted"}),u9=e=>({status:"dirty",value:e}),Ki=e=>({status:"valid",value:e}),bT=e=>e.status==="aborted",ST=e=>e.status==="dirty",Eg=e=>e.status==="valid",zv=e=>typeof Promise<"u"&&e instanceof Promise;var Rt;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Rt||(Rt={}));class Ss{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 aP=(e,t)=>{if(Eg(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 Ba(e.common.issues);return this._error=n,this._error}}};function cn(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 mn{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 uc(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:uc(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new ki,ctx:{common:t.parent.common,data:t.data,parsedType:uc(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(zv(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:uc(t)},o=this._parseSync({data:t,path:i.path,parent:i});return aP(i,o)}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:uc(t)},i=this._parse({data:t,path:r.path,parent:r}),o=await(zv(i)?i:Promise.resolve(i));return aP(r,o)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,o)=>{const l=t(i),s=()=>o.addIssue({code:at.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 Ga({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return _l.create(this,this._def)}nullable(){return qu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ua.create(this,this._def)}promise(){return Hp.create(this,this._def)}or(t){return xg.create([this,t],this._def)}and(t){return Og.create(this,t,this._def)}transform(t){return new Ga({...cn(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Dg({...cn(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new p9({typeName:Lt.ZodBranded,type:this,...cn(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Wv({...cn(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 Sh.create(this,t)}readonly(){return Kv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Hpe=/^c[^\s-]{8,}$/i,Vpe=/^[a-z][a-z0-9]*$/,zpe=/^[0-9A-HJKMNP-TV-Z]{26}$/,Gpe=/^[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,jpe=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Ype="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let KE;const Wpe=/^(((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}))$/,qpe=/^(([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})))$/,Kpe=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 Zpe(e,t){return!!((t==="v4"||!t)&&Wpe.test(e)||(t==="v6"||!t)&&qpe.test(e))}class $a extends mn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==mt.string){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.string,received:o.parsedType}),on}const r=new ki;let i;for(const o of this._def.checks)if(o.kind==="min")t.data.lengtho.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:at.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind==="length"){const l=t.data.length>o.value,s=t.data.lengtht.test(i),{validation:n,code:at.invalid_string,...Rt.errToObj(r)})}_addCheck(t){return new $a({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Rt.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Rt.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Rt.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Rt.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Rt.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Rt.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Rt.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Rt.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,...Rt.errToObj(t==null?void 0:t.message)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Rt.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Rt.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Rt.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Rt.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Rt.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Rt.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Rt.errToObj(n)})}nonempty(t){return this.min(1,Rt.errToObj(t))}trim(){return new $a({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new $a({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new $a({...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 $a({checks:[],typeName:Lt.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...cn(e)})};function Qpe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,o=parseInt(e.toFixed(i).replace(".","")),l=parseInt(t.toFixed(i).replace(".",""));return o%l/Math.pow(10,i)}class Nc extends mn{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 o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.number,received:o.parsedType}),on}let r;const i=new ki;for(const o of this._def.checks)o.kind==="int"?Un.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:at.invalid_type,expected:"integer",received:"float",message:o.message}),i.dirty()):o.kind==="min"?(o.inclusive?t.datao.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="multipleOf"?Qpe(t.data,o.value)!==0&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_finite,message:o.message}),i.dirty()):Un.assertNever(o);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Rt.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Rt.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Rt.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Rt.toString(n))}setLimit(t,n,r,i){return new Nc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Rt.toString(i)}]})}_addCheck(t){return new Nc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Rt.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Rt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Rt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Rt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Rt.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Rt.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Rt.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Rt.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Rt.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"&&Un.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 Nc({checks:[],typeName:Lt.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...cn(e)});class Dc extends mn{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 o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.bigint,received:o.parsedType}),on}let r;const i=new ki;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?t.datao.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ht(r,{code:at.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):Un.assertNever(o);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Rt.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Rt.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Rt.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Rt.toString(n))}setLimit(t,n,r,i){return new Dc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Rt.toString(i)}]})}_addCheck(t){return new Dc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Rt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Rt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Rt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Rt.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Rt.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 Dc({checks:[],typeName:Lt.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...cn(e)})};class Cg extends mn{_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:at.invalid_type,expected:mt.boolean,received:r.parsedType}),on}return Ki(t.data)}}Cg.create=e=>new Cg({typeName:Lt.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...cn(e)});class Yu extends mn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==mt.date){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_type,expected:mt.date,received:o.parsedType}),on}if(isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return ht(o,{code:at.invalid_date}),on}const r=new ki;let i;for(const o of this._def.checks)o.kind==="min"?t.data.getTime()o.value&&(i=this._getOrReturnCtx(t,i),ht(i,{code:at.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),r.dirty()):Un.assertNever(o);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Yu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Rt.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Rt.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 Yu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Lt.ZodDate,...cn(e)});class Gv extends mn{_parse(t){if(this._getType(t)!==mt.symbol){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.symbol,received:r.parsedType}),on}return Ki(t.data)}}Gv.create=e=>new Gv({typeName:Lt.ZodSymbol,...cn(e)});class Tg extends mn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.undefined,received:r.parsedType}),on}return Ki(t.data)}}Tg.create=e=>new Tg({typeName:Lt.ZodUndefined,...cn(e)});class wg extends mn{_parse(t){if(this._getType(t)!==mt.null){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.null,received:r.parsedType}),on}return Ki(t.data)}}wg.create=e=>new wg({typeName:Lt.ZodNull,...cn(e)});class Up extends mn{constructor(){super(...arguments),this._any=!0}_parse(t){return Ki(t.data)}}Up.create=e=>new Up({typeName:Lt.ZodAny,...cn(e)});class Du extends mn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Ki(t.data)}}Du.create=e=>new Du({typeName:Lt.ZodUnknown,...cn(e)});class yl extends mn{_parse(t){const n=this._getOrReturnCtx(t);return ht(n,{code:at.invalid_type,expected:mt.never,received:n.parsedType}),on}}yl.create=e=>new yl({typeName:Lt.ZodNever,...cn(e)});class jv extends mn{_parse(t){if(this._getType(t)!==mt.undefined){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.void,received:r.parsedType}),on}return Ki(t.data)}}jv.create=e=>new jv({typeName:Lt.ZodVoid,...cn(e)});class Ua extends mn{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==mt.array)return ht(n,{code:at.invalid_type,expected:mt.array,received:n.parsedType}),on;if(i.exactLength!==null){const l=n.data.length>i.exactLength.value,s=n.data.lengthi.maxLength.value&&(ht(n,{code:at.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 Ss(n,l,n.path,s)))).then(l=>ki.mergeArray(r,l));const o=[...n.data].map((l,s)=>i.type._parseSync(new Ss(n,l,n.path,s)));return ki.mergeArray(r,o)}get element(){return this._def.type}min(t,n){return new Ua({...this._def,minLength:{value:t,message:Rt.toString(n)}})}max(t,n){return new Ua({...this._def,maxLength:{value:t,message:Rt.toString(n)}})}length(t,n){return new Ua({...this._def,exactLength:{value:t,message:Rt.toString(n)}})}nonempty(t){return this.min(1,t)}}Ua.create=(e,t)=>new Ua({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...cn(t)});function Yd(e){if(e instanceof Ar){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=_l.create(Yd(r))}return new Ar({...e._def,shape:()=>t})}else return e instanceof Ua?new Ua({...e._def,type:Yd(e.element)}):e instanceof _l?_l.create(Yd(e.unwrap())):e instanceof qu?qu.create(Yd(e.unwrap())):e instanceof ys?ys.create(e.items.map(t=>Yd(t))):e}class Ar extends mn{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=Un.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==mt.object){const a=this._getOrReturnCtx(t);return ht(a,{code:at.invalid_type,expected:mt.object,received:a.parsedType}),on}const{status:r,ctx:i}=this._processInputParams(t),{shape:o,keys:l}=this._getCached(),s=[];if(!(this._def.catchall instanceof yl&&this._def.unknownKeys==="strip"))for(const a in i.data)l.includes(a)||s.push(a);const u=[];for(const a of l){const c=o[a],d=i.data[a];u.push({key:{status:"valid",value:a},value:c._parse(new Ss(i,d,i.path,a)),alwaysSet:a in i.data})}if(this._def.catchall instanceof yl){const a=this._def.unknownKeys;if(a==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(a==="strict")s.length>0&&(ht(i,{code:at.unrecognized_keys,keys:s}),r.dirty());else if(a!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const a=this._def.catchall;for(const c of s){const d=i.data[c];u.push({key:{status:"valid",value:c},value:a._parse(new Ss(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const a=[];for(const c of u){const d=await c.key;a.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return a}).then(a=>ki.mergeObjectSync(r,a)):ki.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return Rt.errToObj,new Ar({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o,l,s;const u=(l=(o=(i=this._def).errorMap)===null||o===void 0?void 0:o.call(i,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=Rt.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new Ar({...this._def,unknownKeys:"strip"})}passthrough(){return new Ar({...this._def,unknownKeys:"passthrough"})}extend(t){return new Ar({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Ar({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 Ar({...this._def,catchall:t})}pick(t){const n={};return Un.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Ar({...this._def,shape:()=>n})}omit(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Ar({...this._def,shape:()=>n})}deepPartial(){return Yd(this)}partial(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}),new Ar({...this._def,shape:()=>n})}required(t){const n={};return Un.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let o=this.shape[r];for(;o instanceof _l;)o=o._def.innerType;n[r]=o}}),new Ar({...this._def,shape:()=>n})}keyof(){return d9(Un.objectKeys(this.shape))}}Ar.create=(e,t)=>new Ar({shape:()=>e,unknownKeys:"strip",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});Ar.strictCreate=(e,t)=>new Ar({shape:()=>e,unknownKeys:"strict",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});Ar.lazycreate=(e,t)=>new Ar({shape:e,unknownKeys:"strip",catchall:yl.create(),typeName:Lt.ZodObject,...cn(t)});class xg extends mn{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(o){for(const s of o)if(s.result.status==="valid")return s.result;for(const s of o)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const l=o.map(s=>new Ba(s.ctx.common.issues));return ht(n,{code:at.invalid_union,unionErrors:l}),on}if(n.common.async)return Promise.all(r.map(async o=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(i);{let o;const l=[];for(const u of r){const a={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:a});if(c.status==="valid")return c;c.status==="dirty"&&!o&&(o={result:c,ctx:a}),a.common.issues.length&&l.push(a.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const s=l.map(u=>new Ba(u));return ht(n,{code:at.invalid_union,unionErrors:s}),on}}get options(){return this._def.options}}xg.create=(e,t)=>new xg({options:e,typeName:Lt.ZodUnion,...cn(t)});const G0=e=>e instanceof Rg?G0(e.schema):e instanceof Ga?G0(e.innerType()):e instanceof Ag?[e.value]:e instanceof Mc?e.options:e instanceof Ng?Object.keys(e.enum):e instanceof Dg?G0(e._def.innerType):e instanceof Tg?[void 0]:e instanceof wg?[null]:null;class hS extends mn{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.object)return ht(n,{code:at.invalid_type,expected:mt.object,received:n.parsedType}),on;const r=this.discriminator,i=n.data[r],o=this.optionsMap.get(i);return o?n.common.async?o._parseAsync({data:n.data,path:n.path,parent:n}):o._parseSync({data:n.data,path:n.path,parent:n}):(ht(n,{code:at.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),on)}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 o of n){const l=G0(o.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,o)}}return new hS({typeName:Lt.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...cn(r)})}}function yT(e,t){const n=uc(e),r=uc(t);if(e===t)return{valid:!0,data:e};if(n===mt.object&&r===mt.object){const i=Un.objectKeys(t),o=Un.objectKeys(e).filter(s=>i.indexOf(s)!==-1),l={...e,...t};for(const s of o){const u=yT(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 o=0;o{if(bT(o)||bT(l))return on;const s=yT(o.value,l.value);return s.valid?((ST(o)||ST(l))&&n.dirty(),{status:n.value,value:s.data}):(ht(r,{code:at.invalid_intersection_types}),on)};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(([o,l])=>i(o,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}))}}Og.create=(e,t,n)=>new Og({left:e,right:t,typeName:Lt.ZodIntersection,...cn(n)});class ys extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.array)return ht(r,{code:at.invalid_type,expected:mt.array,received:r.parsedType}),on;if(r.data.lengththis._def.items.length&&(ht(r,{code:at.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const o=[...r.data].map((l,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new Ss(r,l,r.path,s)):null}).filter(l=>!!l);return r.common.async?Promise.all(o).then(l=>ki.mergeArray(n,l)):ki.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new ys({...this._def,rest:t})}}ys.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ys({items:e,typeName:Lt.ZodTuple,rest:null,...cn(t)})};class Ig extends mn{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:at.invalid_type,expected:mt.object,received:r.parsedType}),on;const i=[],o=this._def.keyType,l=this._def.valueType;for(const s in r.data)i.push({key:o._parse(new Ss(r,s,r.path,s)),value:l._parse(new Ss(r,r.data[s],r.path,s))});return r.common.async?ki.mergeObjectAsync(n,i):ki.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof mn?new Ig({keyType:t,valueType:n,typeName:Lt.ZodRecord,...cn(r)}):new Ig({keyType:$a.create(),valueType:t,typeName:Lt.ZodRecord,...cn(n)})}}class Yv extends mn{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:at.invalid_type,expected:mt.map,received:r.parsedType}),on;const i=this._def.keyType,o=this._def.valueType,l=[...r.data.entries()].map(([s,u],a)=>({key:i._parse(new Ss(r,s,r.path,[a,"key"])),value:o._parse(new Ss(r,u,r.path,[a,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of l){const a=await u.key,c=await u.value;if(a.status==="aborted"||c.status==="aborted")return on;(a.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(a.value,c.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const u of l){const a=u.key,c=u.value;if(a.status==="aborted"||c.status==="aborted")return on;(a.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(a.value,c.value)}return{status:n.value,value:s}}}}Yv.create=(e,t,n)=>new Yv({valueType:t,keyType:e,typeName:Lt.ZodMap,...cn(n)});class Wu extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==mt.set)return ht(r,{code:at.invalid_type,expected:mt.set,received:r.parsedType}),on;const i=this._def;i.minSize!==null&&r.data.sizei.maxSize.value&&(ht(r,{code:at.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const o=this._def.valueType;function l(u){const a=new Set;for(const c of u){if(c.status==="aborted")return on;c.status==="dirty"&&n.dirty(),a.add(c.value)}return{status:n.value,value:a}}const s=[...r.data.values()].map((u,a)=>o._parse(new Ss(r,u,r.path,a)));return r.common.async?Promise.all(s).then(u=>l(u)):l(s)}min(t,n){return new Wu({...this._def,minSize:{value:t,message:Rt.toString(n)}})}max(t,n){return new Wu({...this._def,maxSize:{value:t,message:Rt.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Wu.create=(e,t)=>new Wu({valueType:e,minSize:null,maxSize:null,typeName:Lt.ZodSet,...cn(t)});class vp extends mn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==mt.function)return ht(n,{code:at.invalid_type,expected:mt.function,received:n.parsedType}),on;function r(s,u){return Vv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hv(),yg].filter(a=>!!a),issueData:{code:at.invalid_arguments,argumentsError:u}})}function i(s,u){return Vv({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hv(),yg].filter(a=>!!a),issueData:{code:at.invalid_return_type,returnTypeError:u}})}const o={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof Hp){const s=this;return Ki(async function(...u){const a=new Ba([]),c=await s._def.args.parseAsync(u,o).catch(f=>{throw a.addIssue(r(u,f)),a}),d=await Reflect.apply(l,this,c);return await s._def.returns._def.type.parseAsync(d,o).catch(f=>{throw a.addIssue(i(d,f)),a})})}else{const s=this;return Ki(function(...u){const a=s._def.args.safeParse(u,o);if(!a.success)throw new Ba([r(u,a.error)]);const c=Reflect.apply(l,this,a.data),d=s._def.returns.safeParse(c,o);if(!d.success)throw new Ba([i(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new vp({...this._def,args:ys.create(t).rest(Du.create())})}returns(t){return new vp({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new vp({args:t||ys.create([]).rest(Du.create()),returns:n||Du.create(),typeName:Lt.ZodFunction,...cn(r)})}}class Rg extends mn{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})}}Rg.create=(e,t)=>new Rg({getter:e,typeName:Lt.ZodLazy,...cn(t)});class Ag extends mn{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ht(n,{received:n.data,code:at.invalid_literal,expected:this._def.value}),on}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ag.create=(e,t)=>new Ag({value:e,typeName:Lt.ZodLiteral,...cn(t)});function d9(e,t){return new Mc({values:e,typeName:Lt.ZodEnum,...cn(t)})}class Mc extends mn{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{expected:Un.joinValues(r),received:n.parsedType,code:at.invalid_type}),on}if(this._def.values.indexOf(t.data)===-1){const n=this._getOrReturnCtx(t),r=this._def.values;return ht(n,{received:n.data,code:at.invalid_enum_value,options:r}),on}return Ki(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 Mc.create(t)}exclude(t){return Mc.create(this.options.filter(n=>!t.includes(n)))}}Mc.create=d9;class Ng extends mn{_parse(t){const n=Un.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==mt.string&&r.parsedType!==mt.number){const i=Un.objectValues(n);return ht(r,{expected:Un.joinValues(i),received:r.parsedType,code:at.invalid_type}),on}if(n.indexOf(t.data)===-1){const i=Un.objectValues(n);return ht(r,{received:r.data,code:at.invalid_enum_value,options:i}),on}return Ki(t.data)}get enum(){return this._def.values}}Ng.create=(e,t)=>new Ng({values:e,typeName:Lt.ZodNativeEnum,...cn(t)});class Hp extends mn{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:at.invalid_type,expected:mt.promise,received:n.parsedType}),on;const r=n.parsedType===mt.promise?n.data:Promise.resolve(n.data);return Ki(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Hp.create=(e,t)=>new Hp({type:e,typeName:Lt.ZodPromise,...cn(t)});class Ga extends mn{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,o={addIssue:l=>{ht(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const l=i.transform(r.data,o);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,o);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"?on:(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"?on:(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(!Eg(l))return l;const s=i.transform(l.value,o);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=>Eg(l)?Promise.resolve(i.transform(l.value,o)).then(s=>({status:n.value,value:s})):l);Un.assertNever(i)}}Ga.create=(e,t,n)=>new Ga({schema:e,typeName:Lt.ZodEffects,effect:t,...cn(n)});Ga.createWithPreprocess=(e,t,n)=>new Ga({schema:t,effect:{type:"preprocess",transform:e},typeName:Lt.ZodEffects,...cn(n)});class _l extends mn{_parse(t){return this._getType(t)===mt.undefined?Ki(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}_l.create=(e,t)=>new _l({innerType:e,typeName:Lt.ZodOptional,...cn(t)});class qu extends mn{_parse(t){return this._getType(t)===mt.null?Ki(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}qu.create=(e,t)=>new qu({innerType:e,typeName:Lt.ZodNullable,...cn(t)});class Dg extends mn{_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}}Dg.create=(e,t)=>new Dg({innerType:e,typeName:Lt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...cn(t)});class Wv extends mn{_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 zv(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ba(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Ba(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Wv.create=(e,t)=>new Wv({innerType:e,typeName:Lt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...cn(t)});class qv extends mn{_parse(t){if(this._getType(t)!==mt.nan){const r=this._getOrReturnCtx(t);return ht(r,{code:at.invalid_type,expected:mt.nan,received:r.parsedType}),on}return{status:"valid",value:t.data}}}qv.create=e=>new qv({typeName:Lt.ZodNaN,...cn(e)});const Xpe=Symbol("zod_brand");class p9 extends mn{_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 Sh extends mn{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?on:o.status==="dirty"?(n.dirty(),u9(o.value)):this._def.out._parseAsync({data:o.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?on: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 Sh({in:t,out:n,typeName:Lt.ZodPipeline})}}class Kv extends mn{_parse(t){const n=this._def.innerType._parse(t);return Eg(n)&&(n.value=Object.freeze(n.value)),n}}Kv.create=(e,t)=>new Kv({innerType:e,typeName:Lt.ZodReadonly,...cn(t)});const f9=(e,t={},n)=>e?Up.create().superRefine((r,i)=>{var o,l;if(!e(r)){const s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,u=(l=(o=s.fatal)!==null&&o!==void 0?o:n)!==null&&l!==void 0?l:!0,a=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...a,fatal:u})}}):Up.create(),Jpe={object:Ar.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 efe=(e,t={message:`Input not instance of ${e.name}`})=>f9(n=>n instanceof e,t),m9=$a.create,g9=Nc.create,tfe=qv.create,nfe=Dc.create,h9=Cg.create,rfe=Yu.create,ife=Gv.create,ofe=Tg.create,afe=wg.create,sfe=Up.create,lfe=Du.create,cfe=yl.create,ufe=jv.create,dfe=Ua.create,pfe=Ar.create,ffe=Ar.strictCreate,mfe=xg.create,gfe=hS.create,hfe=Og.create,_fe=ys.create,vfe=Ig.create,bfe=Yv.create,Sfe=Wu.create,yfe=vp.create,Efe=Rg.create,Cfe=Ag.create,Tfe=Mc.create,wfe=Ng.create,xfe=Hp.create,sP=Ga.create,Ofe=_l.create,Ife=qu.create,Rfe=Ga.createWithPreprocess,Afe=Sh.create,Nfe=()=>m9().optional(),Dfe=()=>g9().optional(),Mfe=()=>h9().optional(),Pfe={string:e=>$a.create({...e,coerce:!0}),number:e=>Nc.create({...e,coerce:!0}),boolean:e=>Cg.create({...e,coerce:!0}),bigint:e=>Dc.create({...e,coerce:!0}),date:e=>Yu.create({...e,coerce:!0})},kfe=on;var TXe=Object.freeze({__proto__:null,defaultErrorMap:yg,setErrorMap:Bpe,getErrorMap:Hv,makeIssue:Vv,EMPTY_PATH:Upe,addIssueToContext:ht,ParseStatus:ki,INVALID:on,DIRTY:u9,OK:Ki,isAborted:bT,isDirty:ST,isValid:Eg,isAsync:zv,get util(){return Un},get objectUtil(){return vT},ZodParsedType:mt,getParsedType:uc,ZodType:mn,ZodString:$a,ZodNumber:Nc,ZodBigInt:Dc,ZodBoolean:Cg,ZodDate:Yu,ZodSymbol:Gv,ZodUndefined:Tg,ZodNull:wg,ZodAny:Up,ZodUnknown:Du,ZodNever:yl,ZodVoid:jv,ZodArray:Ua,ZodObject:Ar,ZodUnion:xg,ZodDiscriminatedUnion:hS,ZodIntersection:Og,ZodTuple:ys,ZodRecord:Ig,ZodMap:Yv,ZodSet:Wu,ZodFunction:vp,ZodLazy:Rg,ZodLiteral:Ag,ZodEnum:Mc,ZodNativeEnum:Ng,ZodPromise:Hp,ZodEffects:Ga,ZodTransformer:Ga,ZodOptional:_l,ZodNullable:qu,ZodDefault:Dg,ZodCatch:Wv,ZodNaN:qv,BRAND:Xpe,ZodBranded:p9,ZodPipeline:Sh,ZodReadonly:Kv,custom:f9,Schema:mn,ZodSchema:mn,late:Jpe,get ZodFirstPartyTypeKind(){return Lt},coerce:Pfe,any:sfe,array:dfe,bigint:nfe,boolean:h9,date:rfe,discriminatedUnion:gfe,effect:sP,enum:Tfe,function:yfe,instanceof:efe,intersection:hfe,lazy:Efe,literal:Cfe,map:bfe,nan:tfe,nativeEnum:wfe,never:cfe,null:afe,nullable:Ife,number:g9,object:pfe,oboolean:Mfe,onumber:Dfe,optional:Ofe,ostring:Nfe,pipeline:Afe,preprocess:Rfe,promise:xfe,record:vfe,set:Sfe,strictObject:ffe,string:m9,symbol:ife,transformer:sP,tuple:_fe,undefined:ofe,union:mfe,unknown:lfe,void:ufe,NEVER:kfe,ZodIssueCode:at,quotelessJson:Fpe,ZodError:Ba});const wXe=(e,t)=>{Object.keys(t).forEach(n=>{e.component(n,t[n])})},aa=class{static init(){aa.createContainer(),aa.addStylesheetToDocument()}static createContainer(){aa.toastContainer=document.createElement("div"),Object.assign(aa.toastContainer.style,$fe),document.body.appendChild(aa.toastContainer)}static addStylesheetToDocument(){const t=document.createElement("style");t.innerHTML=Lfe,document.head.appendChild(t)}static info(t,n=1e4){aa.showMessage(t,n)}static error(t,n=1e4){aa.showMessage(t,n,{"background-color":"#ffaaaa","font-family":"monospace",color:"#000000"})}static showMessage(t,n,r={}){if(!aa.toastContainer)throw new Error("Toast not initialized");if(!t.trim())return;const i=aa.makeToastMessageElement(t);Object.assign(i.style,r),aa.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 ZE=aa;wn(ZE,"toastContainer",null);const $fe={position:"fixed",bottom:"10px",right:"0",left:"0",display:"flex",flexDirection:"column",alignItems:"center"},Lfe=` .abstra-toast-message { padding: 15px; margin-top: 5px; @@ -559,7 +559,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{color:e.colorTextDisabled}}}}}},I6e=O6e,R6e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o}=e,l=`${t}-list-item`,s=`${l}-actions`,u=`${l}-action`,a=Math.round(i*o);return{[`${t}-wrapper`]:{[`${t}-list`]:I(I({},Ku()),{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`]:I(I({},Cl),{padding:`0 ${e.paddingXS}px`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{[u]:{opacity:0},[`${u}${n}-btn-sm`]:{height:a,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:'""'}}})}}},A6e=R6e,G4=new Yt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),j4=new Yt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),N6e=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:G4},[`${n}-leave`]:{animationName:j4}}},G4,j4]},D6e=N6e,M6e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,o=`${t}-list`,l=`${o}-item`;return{[`${t}-wrapper`]:{[`${o}${o}-picture, ${o}${o}-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`]:I(I({},Cl),{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}}}}}},P6e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,o=`${t}-list`,l=`${o}-item`,s=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:I(I({},Ku()),{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}},[`${o}${o}-picture-card`]:{[`${o}-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 Cn(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}}})}},k6e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},$6e=k6e,L6e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:I(I({},Pn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},F6e=Ln("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:o}=e,l=Math.round(n*r),s=Wt(e,{uploadThumbnailSize:t*2,uploadProgressOffset:l/2+i,uploadPicCardSize:o*2.55});return[L6e(s),I6e(s),M6e(s),P6e(s),A6e(s),D6e(s),$6e(s),YS(s)]});var B6e=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(l){l(o)})}return new(n||(n=Promise))(function(o,l){function s(c){try{a(r.next(c))}catch(d){l(d)}}function u(c){try{a(r.throw(c))}catch(d){l(d)}}function a(c){c.done?o(c.value):i(c.value).then(s,u)}a((r=r.apply(e,t||[])).next())})},U6e=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 D;return(D=u.value)!==null&&D!==void 0?D:d.value}),[f,g]=ti(e.defaultFileList||[],{value:xt(e,"fileList"),postState:D=>{const B=Date.now();return(D!=null?D:[]).map((P,$)=>(!P.uid&&!Object.isFrozen(P)&&(P.uid=`__AUTO__${B}_${$}__`),P))}}),m=Ie("drop"),h=Ie(null);_t(()=>{Br(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),Br(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),Br(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const v=(D,B,P)=>{var $,M;let L=[...B];e.maxCount===1?L=L.slice(-1):e.maxCount&&(L=L.slice(0,e.maxCount)),g(L);const H={file:D,fileList:L};P&&(H.event=P),($=e["onUpdate:fileList"])===null||$===void 0||$.call(e,H.fileList),(M=e.onChange)===null||M===void 0||M.call(e,H),o.onFieldChange()},b=(D,B)=>B6e(this,void 0,void 0,function*(){const{beforeUpload:P,transformFile:$}=e;let M=D;if(P){const L=yield P(D,B);if(L===!1)return!1;if(delete D[xm],L===xm)return Object.defineProperty(D,xm,{value:!0,configurable:!0}),!1;typeof L=="object"&&L&&(M=L)}return $&&(M=yield $(M)),M}),S=D=>{const B=D.filter(M=>!M.file[xm]);if(!B.length)return;const P=B.map(M=>D0(M.file));let $=[...f.value];P.forEach(M=>{$=M0(M,$)}),P.forEach((M,L)=>{let H=M;if(B[L].parsedFile)M.status="uploading";else{const{originFileObj:U}=M;let j;try{j=new File([U],U.name,{type:U.type})}catch{j=new Blob([U],{type:U.type}),j.name=U.name,j.lastModifiedDate=new Date,j.lastModified=new Date().getTime()}j.uid=M.uid,H=j}v(H,$)})},y=(D,B,P)=>{try{typeof D=="string"&&(D=JSON.parse(D))}catch{}if(!Q1(B,f.value))return;const $=D0(B);$.status="done",$.percent=100,$.response=D,$.xhr=P;const M=M0($,f.value);v($,M)},C=(D,B)=>{if(!Q1(B,f.value))return;const P=D0(B);P.status="uploading",P.percent=D.percent;const $=M0(P,f.value);v(P,$,D)},w=(D,B,P)=>{if(!Q1(P,f.value))return;const $=D0(P);$.error=D,$.response=B,$.status="error";const M=M0($,f.value);v($,M)},T=D=>{let B;const P=e.onRemove||e.remove;Promise.resolve(typeof P=="function"?P(D):P).then($=>{var M,L;if($===!1)return;const H=g6e(D,f.value);H&&(B=I(I({},D),{status:"removed"}),(M=f.value)===null||M===void 0||M.forEach(U=>{const j=B.uid!==void 0?"uid":"name";U[j]===B[j]&&!Object.isFrozen(U)&&(U.status="removed")}),(L=h.value)===null||L===void 0||L.abort(B),v(B,H))})},O=D=>{var B;m.value=D.type,D.type==="drop"&&((B=e.onDrop)===null||B===void 0||B.call(e,D))};i({onBatchStart:S,onSuccess:y,onProgress:C,onError:w,fileList:f,upload:h});const[R]=Za("Upload",ga.Upload,k(()=>e.locale)),N=(D,B)=>{const{removeIcon:P,previewIcon:$,downloadIcon:M,previewFile:L,onPreview:H,onDownload:U,isImageUrl:j,progress:G,itemRender:K,iconRender:Q,showUploadList:ne}=e,{showDownloadIcon:ae,showPreviewIcon:q,showRemoveIcon:ee}=typeof ne=="boolean"?{}:ne;return ne?x(x6e,{prefixCls:l.value,listType:e.listType,items:f.value,previewFile:L,onPreview:H,onDownload:U,onRemove:T,showRemoveIcon:!p.value&&ee,showPreviewIcon:q,showDownloadIcon:ae,removeIcon:P,previewIcon:$,downloadIcon:M,iconRender:Q,locale:R.value,isImageUrl:j,progress:G,itemRender:K,appendActionVisible:B,appendAction:D},I({},n)):D==null?void 0:D()};return()=>{var D,B,P;const{listType:$,type:M}=e,{class:L,style:H}=r,U=U6e(r,["class","style"]),j=I(I(I({onBatchStart:S,onError:w,onProgress:C,onSuccess:y},U),e),{id:(D=e.id)!==null&&D!==void 0?D:o.id.value,prefixCls:l.value,beforeUpload:b,onChange:void 0,disabled:p.value});delete j.remove,(!n.default||p.value)&&delete j.id;const G={[`${l.value}-rtl`]:s.value==="rtl"};if(M==="drag"){const ae=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 a(x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,L,c.value)}),[x("div",{class:ae,onDrop:O,onDragover:O,onDragleave:O,style:r.style},[x(B4,Z(Z({},j),{},{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-${$}`]:!0,[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"}),Q=li((P=n.default)===null||P===void 0?void 0:P.call(n)),ne=ae=>x("div",{class:K,style:ae},[x(B4,Z(Z({},j),{},{ref:h}),n)]);return a($==="picture-card"?x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,`${l.value}-picture-card-wrapper`,G,r.class,c.value)}),[N(ne,!!(Q&&Q.length))]):x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,r.class,c.value)}),[ne(Q&&Q.length?void 0:{display:"none"}),N()]))}}});var Y4=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,o=Y4(e,["height"]),{style:l}=r,s=Y4(r,["style"]),u=I(I(I({},o),s),{type:"drag",style:I(I({},l),{height:typeof i=="number"?`${i}px`:i})});return x(uv,u,n)}}}),H6e=dv,kG=I(uv,{Dragger:dv,LIST_IGNORE:xm,install(e){return e.component(uv.name,uv),e.component(dv.name,dv),e}});var V6e={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 z6e=V6e;var G6e={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 j6e=G6e;var Y6e={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 W6e=Y6e;var q6e={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 K6e=q6e,$G=["wrap","nowrap","wrap-reverse"],LG=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],FG=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Z6e=(e,t)=>{const n={};return $G.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},Q6e=(e,t)=>{const n={};return FG.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},X6e=(e,t)=>{const n={};return LG.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function J6e(e,t){return Fe(I(I(I({},Z6e(e,t)),Q6e(e,t)),X6e(e,t)))}const e3e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},t3e=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},n3e=e=>{const{componentCls:t}=e,n={};return $G.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},r3e=e=>{const{componentCls:t}=e,n={};return FG.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},i3e=e=>{const{componentCls:t}=e,n={};return LG.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},o3e=Ln("Flex",e=>{const t=Wt(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[e3e(t),t3e(t),n3e(t),r3e(t),i3e(t)]});function W4(e){return["small","middle","large"].includes(e)}const a3e=()=>({prefixCls:Bt(),vertical:nt(),wrap:Bt(),justify:Bt(),align:Bt(),flex:rn([Number,String]),gap:rn([Number,String]),component:wr()});var s3e=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,J6e(l.value,e),{[`${l.value}-rtl`]:o.value==="rtl",[`${l.value}-gap-${e.gap}`]:W4(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=s3e(e,["flex","gap","component"]),m={};return d&&(m.flex=d),p&&!W4(p)&&(m.gap=`${p}px`),s(x(f,Z({class:[r.class,a.value],style:[r.style,m]},kn(g,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),c3e=ba(l3e),u3e=["width","height","fill","transform"],d3e={key:0},p3e=Ce("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),f3e=[p3e],m3e={key:1},g3e=Ce("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),h3e=Ce("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),_3e=[g3e,h3e],v3e={key:2},b3e=Ce("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),S3e=[b3e],y3e={key:3},E3e=Ce("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),C3e=[E3e],T3e={key:4},w3e=Ce("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),x3e=[w3e],O3e={key:5},I3e=Ce("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),R3e=[I3e],A3e={name:"PhAperture"},N3e=we({...A3e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",d3e,f3e)):l.value==="duotone"?(oe(),de("g",m3e,_3e)):l.value==="fill"?(oe(),de("g",v3e,S3e)):l.value==="light"?(oe(),de("g",y3e,C3e)):l.value==="regular"?(oe(),de("g",T3e,x3e)):l.value==="thin"?(oe(),de("g",O3e,R3e)):ft("",!0)],16,u3e))}}),D3e=["width","height","fill","transform"],M3e={key:0},P3e=Ce("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),k3e=[P3e],$3e={key:1},L3e=Ce("path",{d:"M200,112l-72,72L56,112Z",opacity:"0.2"},null,-1),F3e=Ce("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),B3e=[L3e,F3e],U3e={key:2},H3e=Ce("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),V3e=[H3e],z3e={key:3},G3e=Ce("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),j3e=[G3e],Y3e={key:4},W3e=Ce("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),q3e=[W3e],K3e={key:5},Z3e=Ce("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),Q3e=[Z3e],X3e={name:"PhArrowLineDown"},J3e=we({...X3e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",M3e,k3e)):l.value==="duotone"?(oe(),de("g",$3e,B3e)):l.value==="fill"?(oe(),de("g",U3e,V3e)):l.value==="light"?(oe(),de("g",z3e,j3e)):l.value==="regular"?(oe(),de("g",Y3e,q3e)):l.value==="thin"?(oe(),de("g",K3e,Q3e)):ft("",!0)],16,D3e))}}),eFe=["width","height","fill","transform"],tFe={key:0},nFe=Ce("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),rFe=[nFe],iFe={key:1},oFe=Ce("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),aFe=Ce("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),sFe=[oFe,aFe],lFe={key:2},cFe=Ce("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),uFe=[cFe],dFe={key:3},pFe=Ce("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),fFe=[pFe],mFe={key:4},gFe=Ce("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),hFe=[gFe],_Fe={key:5},vFe=Ce("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),bFe=[vFe],SFe={name:"PhCamera"},yFe=we({...SFe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",tFe,rFe)):l.value==="duotone"?(oe(),de("g",iFe,sFe)):l.value==="fill"?(oe(),de("g",lFe,uFe)):l.value==="light"?(oe(),de("g",dFe,fFe)):l.value==="regular"?(oe(),de("g",mFe,hFe)):l.value==="thin"?(oe(),de("g",_Fe,bFe)):ft("",!0)],16,eFe))}}),EFe=["width","height","fill","transform"],CFe={key:0},TFe=Ce("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),wFe=[TFe],xFe={key:1},OFe=Ce("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),IFe=Ce("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),RFe=[OFe,IFe],AFe={key:2},NFe=Ce("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),DFe=[NFe],MFe={key:3},PFe=Ce("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),kFe=[PFe],$Fe={key:4},LFe=Ce("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),FFe=[LFe],BFe={key:5},UFe=Ce("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),HFe=[UFe],VFe={name:"PhCameraRotate"},zFe=we({...VFe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",CFe,wFe)):l.value==="duotone"?(oe(),de("g",xFe,RFe)):l.value==="fill"?(oe(),de("g",AFe,DFe)):l.value==="light"?(oe(),de("g",MFe,kFe)):l.value==="regular"?(oe(),de("g",$Fe,FFe)):l.value==="thin"?(oe(),de("g",BFe,HFe)):ft("",!0)],16,EFe))}}),GFe=["width","height","fill","transform"],jFe={key:0},YFe=Ce("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),WFe=[YFe],qFe={key:1},KFe=Ce("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),ZFe=Ce("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),QFe=[KFe,ZFe],XFe={key:2},JFe=Ce("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),eBe=[JFe],tBe={key:3},nBe=Ce("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),rBe=[nBe],iBe={key:4},oBe=Ce("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),aBe=[oBe],sBe={key:5},lBe=Ce("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),cBe=[lBe],uBe={name:"PhCheck"},dBe=we({...uBe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",jFe,WFe)):l.value==="duotone"?(oe(),de("g",qFe,QFe)):l.value==="fill"?(oe(),de("g",XFe,eBe)):l.value==="light"?(oe(),de("g",tBe,rBe)):l.value==="regular"?(oe(),de("g",iBe,aBe)):l.value==="thin"?(oe(),de("g",sBe,cBe)):ft("",!0)],16,GFe))}}),pBe=["width","height","fill","transform"],fBe={key:0},mBe=Ce("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),gBe=[mBe],hBe={key:1},_Be=Ce("path",{d:"M240,128l-48,40H64L16,128,64,88H192Z",opacity:"0.2"},null,-1),vBe=Ce("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),bBe=[_Be,vBe],SBe={key:2},yBe=Ce("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),EBe=[yBe],CBe={key:3},TBe=Ce("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),wBe=[TBe],xBe={key:4},OBe=Ce("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),IBe=[OBe],RBe={key:5},ABe=Ce("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),NBe=[ABe],DBe={name:"PhCode"},MBe=we({...DBe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",fBe,gBe)):l.value==="duotone"?(oe(),de("g",hBe,bBe)):l.value==="fill"?(oe(),de("g",SBe,EBe)):l.value==="light"?(oe(),de("g",CBe,wBe)):l.value==="regular"?(oe(),de("g",xBe,IBe)):l.value==="thin"?(oe(),de("g",RBe,NBe)):ft("",!0)],16,pBe))}}),PBe=["width","height","fill","transform"],kBe={key:0},$Be=Ce("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),LBe=[$Be],FBe={key:1},BBe=Ce("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),UBe=Ce("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),HBe=[BBe,UBe],VBe={key:2},zBe=Ce("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),GBe=[zBe],jBe={key:3},YBe=Ce("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),WBe=[YBe],qBe={key:4},KBe=Ce("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),ZBe=[KBe],QBe={key:5},XBe=Ce("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),JBe=[XBe],e9e={name:"PhDotsSix"},t9e=we({...e9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",kBe,LBe)):l.value==="duotone"?(oe(),de("g",FBe,HBe)):l.value==="fill"?(oe(),de("g",VBe,GBe)):l.value==="light"?(oe(),de("g",jBe,WBe)):l.value==="regular"?(oe(),de("g",qBe,ZBe)):l.value==="thin"?(oe(),de("g",QBe,JBe)):ft("",!0)],16,PBe))}}),n9e=["width","height","fill","transform"],r9e={key:0},i9e=Ce("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),o9e=[i9e],a9e={key:1},s9e=Ce("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),l9e=Ce("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),c9e=[s9e,l9e],u9e={key:2},d9e=Ce("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),p9e=[d9e],f9e={key:3},m9e=Ce("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),g9e=[m9e],h9e={key:4},_9e=Ce("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),v9e=[_9e],b9e={key:5},S9e=Ce("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),y9e=[S9e],E9e={name:"PhDownload"},C9e=we({...E9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",r9e,o9e)):l.value==="duotone"?(oe(),de("g",a9e,c9e)):l.value==="fill"?(oe(),de("g",u9e,p9e)):l.value==="light"?(oe(),de("g",f9e,g9e)):l.value==="regular"?(oe(),de("g",h9e,v9e)):l.value==="thin"?(oe(),de("g",b9e,y9e)):ft("",!0)],16,n9e))}}),T9e=["width","height","fill","transform"],w9e={key:0},x9e=Ce("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),O9e=[x9e],I9e={key:1},R9e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),A9e=Ce("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),N9e=[R9e,A9e],D9e={key:2},M9e=Ce("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),P9e=[M9e],k9e={key:3},$9e=Ce("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),L9e=[$9e],F9e={key:4},B9e=Ce("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),U9e=[B9e],H9e={key:5},V9e=Ce("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),z9e=[V9e],G9e={name:"PhFileArchive"},j9e=we({...G9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",w9e,O9e)):l.value==="duotone"?(oe(),de("g",I9e,N9e)):l.value==="fill"?(oe(),de("g",D9e,P9e)):l.value==="light"?(oe(),de("g",k9e,L9e)):l.value==="regular"?(oe(),de("g",F9e,U9e)):l.value==="thin"?(oe(),de("g",H9e,z9e)):ft("",!0)],16,T9e))}}),Y9e=["width","height","fill","transform"],W9e={key:0},q9e=Ce("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),K9e=[q9e],Z9e={key:1},Q9e=Ce("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),X9e=Ce("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),J9e=[Q9e,X9e],e5e={key:2},t5e=Ce("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),n5e=[t5e],r5e={key:3},i5e=Ce("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),o5e=[i5e],a5e={key:4},s5e=Ce("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),l5e=[s5e],c5e={key:5},u5e=Ce("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),d5e=[u5e],p5e={name:"PhFileCloud"},f5e=we({...p5e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",W9e,K9e)):l.value==="duotone"?(oe(),de("g",Z9e,J9e)):l.value==="fill"?(oe(),de("g",e5e,n5e)):l.value==="light"?(oe(),de("g",r5e,o5e)):l.value==="regular"?(oe(),de("g",a5e,l5e)):l.value==="thin"?(oe(),de("g",c5e,d5e)):ft("",!0)],16,Y9e))}}),m5e=["width","height","fill","transform"],g5e={key:0},h5e=Ce("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),_5e=[h5e],v5e={key:1},b5e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),S5e=Ce("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),y5e=[b5e,S5e],E5e={key:2},C5e=Ce("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),T5e=[C5e],w5e={key:3},x5e=Ce("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),O5e=[x5e],I5e={key:4},R5e=Ce("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),A5e=[R5e],N5e={key:5},D5e=Ce("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),M5e=[D5e],P5e={name:"PhFileDoc"},k5e=we({...P5e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",g5e,_5e)):l.value==="duotone"?(oe(),de("g",v5e,y5e)):l.value==="fill"?(oe(),de("g",E5e,T5e)):l.value==="light"?(oe(),de("g",w5e,O5e)):l.value==="regular"?(oe(),de("g",I5e,A5e)):l.value==="thin"?(oe(),de("g",N5e,M5e)):ft("",!0)],16,m5e))}}),$5e=["width","height","fill","transform"],L5e={key:0},F5e=Ce("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),B5e=[F5e],U5e={key:1},H5e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),V5e=Ce("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),z5e=[H5e,V5e],G5e={key:2},j5e=Ce("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),Y5e=[j5e],W5e={key:3},q5e=Ce("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),K5e=[q5e],Z5e={key:4},Q5e=Ce("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),X5e=[Q5e],J5e={key:5},eUe=Ce("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),tUe=[eUe],nUe={name:"PhFilePdf"},rUe=we({...nUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",L5e,B5e)):l.value==="duotone"?(oe(),de("g",U5e,z5e)):l.value==="fill"?(oe(),de("g",G5e,Y5e)):l.value==="light"?(oe(),de("g",W5e,K5e)):l.value==="regular"?(oe(),de("g",Z5e,X5e)):l.value==="thin"?(oe(),de("g",J5e,tUe)):ft("",!0)],16,$5e))}}),iUe=["width","height","fill","transform"],oUe={key:0},aUe=Ce("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),sUe=[aUe],lUe={key:1},cUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),uUe=Ce("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),dUe=[cUe,uUe],pUe={key:2},fUe=Ce("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),mUe=[fUe],gUe={key:3},hUe=Ce("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),_Ue=[hUe],vUe={key:4},bUe=Ce("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),SUe=[bUe],yUe={key:5},EUe=Ce("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),CUe=[EUe],TUe={name:"PhFilePpt"},wUe=we({...TUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",oUe,sUe)):l.value==="duotone"?(oe(),de("g",lUe,dUe)):l.value==="fill"?(oe(),de("g",pUe,mUe)):l.value==="light"?(oe(),de("g",gUe,_Ue)):l.value==="regular"?(oe(),de("g",vUe,SUe)):l.value==="thin"?(oe(),de("g",yUe,CUe)):ft("",!0)],16,iUe))}}),xUe=["width","height","fill","transform"],OUe={key:0},IUe=Ce("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),RUe=[IUe],AUe={key:1},NUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),DUe=Ce("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),MUe=[NUe,DUe],PUe={key:2},kUe=Ce("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),$Ue=[kUe],LUe={key:3},FUe=Ce("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),BUe=[FUe],UUe={key:4},HUe=Ce("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),VUe=[HUe],zUe={key:5},GUe=Ce("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),jUe=[GUe],YUe={name:"PhFileText"},WUe=we({...YUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",OUe,RUe)):l.value==="duotone"?(oe(),de("g",AUe,MUe)):l.value==="fill"?(oe(),de("g",PUe,$Ue)):l.value==="light"?(oe(),de("g",LUe,BUe)):l.value==="regular"?(oe(),de("g",UUe,VUe)):l.value==="thin"?(oe(),de("g",zUe,jUe)):ft("",!0)],16,xUe))}}),qUe=["width","height","fill","transform"],KUe={key:0},ZUe=Ce("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),QUe=[ZUe],XUe={key:1},JUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),eHe=Ce("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),tHe=[JUe,eHe],nHe={key:2},rHe=Ce("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),iHe=[rHe],oHe={key:3},aHe=Ce("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),sHe=[aHe],lHe={key:4},cHe=Ce("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),uHe=[cHe],dHe={key:5},pHe=Ce("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),fHe=[pHe],mHe={name:"PhFileXls"},gHe=we({...mHe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",KUe,QUe)):l.value==="duotone"?(oe(),de("g",XUe,tHe)):l.value==="fill"?(oe(),de("g",nHe,iHe)):l.value==="light"?(oe(),de("g",oHe,sHe)):l.value==="regular"?(oe(),de("g",lHe,uHe)):l.value==="thin"?(oe(),de("g",dHe,fHe)):ft("",!0)],16,qUe))}}),hHe=["width","height","fill","transform"],_He={key:0},vHe=Ce("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),bHe=[vHe],SHe={key:1},yHe=Ce("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),EHe=Ce("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),CHe=[yHe,EHe],THe={key:2},wHe=Ce("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),xHe=[wHe],OHe={key:3},IHe=Ce("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),RHe=[IHe],AHe={key:4},NHe=Ce("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),DHe=[NHe],MHe={key:5},PHe=Ce("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),kHe=[PHe],$He={name:"PhImage"},LHe=we({...$He,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",_He,bHe)):l.value==="duotone"?(oe(),de("g",SHe,CHe)):l.value==="fill"?(oe(),de("g",THe,xHe)):l.value==="light"?(oe(),de("g",OHe,RHe)):l.value==="regular"?(oe(),de("g",AHe,DHe)):l.value==="thin"?(oe(),de("g",MHe,kHe)):ft("",!0)],16,hHe))}}),FHe=["width","height","fill","transform"],BHe={key:0},UHe=Ce("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),HHe=[UHe],VHe={key:1},zHe=Ce("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),GHe=Ce("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),jHe=[zHe,GHe],YHe={key:2},WHe=Ce("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),qHe=[WHe],KHe={key:3},ZHe=Ce("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),QHe=[ZHe],XHe={key:4},JHe=Ce("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),eVe=[JHe],tVe={key:5},nVe=Ce("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),rVe=[nVe],iVe={name:"PhImages"},oVe=we({...iVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",BHe,HHe)):l.value==="duotone"?(oe(),de("g",VHe,jHe)):l.value==="fill"?(oe(),de("g",YHe,qHe)):l.value==="light"?(oe(),de("g",KHe,QHe)):l.value==="regular"?(oe(),de("g",XHe,eVe)):l.value==="thin"?(oe(),de("g",tVe,rVe)):ft("",!0)],16,FHe))}}),aVe=["width","height","fill","transform"],sVe={key:0},lVe=Ce("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),cVe=[lVe],uVe={key:1},dVe=Ce("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),pVe=Ce("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),fVe=[dVe,pVe],mVe={key:2},gVe=Ce("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),hVe=[gVe],_Ve={key:3},vVe=Ce("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),bVe=[vVe],SVe={key:4},yVe=Ce("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),EVe=[yVe],CVe={key:5},TVe=Ce("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),wVe=[TVe],xVe={name:"PhInfo"},OVe=we({...xVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",sVe,cVe)):l.value==="duotone"?(oe(),de("g",uVe,fVe)):l.value==="fill"?(oe(),de("g",mVe,hVe)):l.value==="light"?(oe(),de("g",_Ve,bVe)):l.value==="regular"?(oe(),de("g",SVe,EVe)):l.value==="thin"?(oe(),de("g",CVe,wVe)):ft("",!0)],16,aVe))}}),IVe=["width","height","fill","transform"],RVe={key:0},AVe=Ce("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),NVe=[AVe],DVe={key:1},MVe=Ce("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),PVe=Ce("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),kVe=[MVe,PVe],$Ve={key:2},LVe=Ce("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),FVe=[LVe],BVe={key:3},UVe=Ce("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),HVe=[UVe],VVe={key:4},zVe=Ce("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),GVe=[zVe],jVe={key:5},YVe=Ce("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),WVe=[YVe],qVe={name:"PhMonitorPlay"},KVe=we({...qVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",RVe,NVe)):l.value==="duotone"?(oe(),de("g",DVe,kVe)):l.value==="fill"?(oe(),de("g",$Ve,FVe)):l.value==="light"?(oe(),de("g",BVe,HVe)):l.value==="regular"?(oe(),de("g",VVe,GVe)):l.value==="thin"?(oe(),de("g",jVe,WVe)):ft("",!0)],16,IVe))}}),ZVe=["width","height","fill","transform"],QVe={key:0},XVe=Ce("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),JVe=[XVe],eze={key:1},tze=Ce("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),nze=Ce("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),rze=[tze,nze],ize={key:2},oze=Ce("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),aze=[oze],sze={key:3},lze=Ce("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),cze=[lze],uze={key:4},dze=Ce("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),pze=[dze],fze={key:5},mze=Ce("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),gze=[mze],hze={name:"PhPause"},_ze=we({...hze,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",QVe,JVe)):l.value==="duotone"?(oe(),de("g",eze,rze)):l.value==="fill"?(oe(),de("g",ize,aze)):l.value==="light"?(oe(),de("g",sze,cze)):l.value==="regular"?(oe(),de("g",uze,pze)):l.value==="thin"?(oe(),de("g",fze,gze)):ft("",!0)],16,ZVe))}}),vze=["width","height","fill","transform"],bze={key:0},Sze=Ce("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),yze=[Sze],Eze={key:1},Cze=Ce("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),Tze=Ce("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),wze=[Cze,Tze],xze={key:2},Oze=Ce("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),Ize=[Oze],Rze={key:3},Aze=Ce("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),Nze=[Aze],Dze={key:4},Mze=Ce("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),Pze=[Mze],kze={key:5},$ze=Ce("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),Lze=[$ze],Fze={name:"PhPlay"},Bze=we({...Fze,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",bze,yze)):l.value==="duotone"?(oe(),de("g",Eze,wze)):l.value==="fill"?(oe(),de("g",xze,Ize)):l.value==="light"?(oe(),de("g",Rze,Nze)):l.value==="regular"?(oe(),de("g",Dze,Pze)):l.value==="thin"?(oe(),de("g",kze,Lze)):ft("",!0)],16,vze))}}),Uze=["width","height","fill","transform"],Hze={key:0},Vze=Ce("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),zze=[Vze],Gze={key:1},jze=Ce("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),Yze=Ce("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),Wze=[jze,Yze],qze={key:2},Kze=Ce("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),Zze=[Kze],Qze={key:3},Xze=Ce("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),Jze=[Xze],eGe={key:4},tGe=Ce("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),nGe=[tGe],rGe={key:5},iGe=Ce("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),oGe=[iGe],aGe={name:"PhTrash"},sGe=we({...aGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",Hze,zze)):l.value==="duotone"?(oe(),de("g",Gze,Wze)):l.value==="fill"?(oe(),de("g",qze,Zze)):l.value==="light"?(oe(),de("g",Qze,Jze)):l.value==="regular"?(oe(),de("g",eGe,nGe)):l.value==="thin"?(oe(),de("g",rGe,oGe)):ft("",!0)],16,Uze))}}),lGe=["width","height","fill","transform"],cGe={key:0},uGe=Ce("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),dGe=[uGe],pGe={key:1},fGe=Ce("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),mGe=Ce("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),gGe=[fGe,mGe],hGe={key:2},_Ge=Ce("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),vGe=[_Ge],bGe={key:3},SGe=Ce("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),yGe=[SGe],EGe={key:4},CGe=Ce("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),TGe=[CGe],wGe={key:5},xGe=Ce("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),OGe=[xGe],IGe={name:"PhUploadSimple"},RGe=we({...IGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",cGe,dGe)):l.value==="duotone"?(oe(),de("g",pGe,gGe)):l.value==="fill"?(oe(),de("g",hGe,vGe)):l.value==="light"?(oe(),de("g",bGe,yGe)):l.value==="regular"?(oe(),de("g",EGe,TGe)):l.value==="thin"?(oe(),de("g",wGe,OGe)):ft("",!0)],16,lGe))}}),AGe=["width","height","fill","transform"],NGe={key:0},DGe=Ce("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),MGe=[DGe],PGe={key:1},kGe=Ce("path",{d:"M208,96v64H48V96Z",opacity:"0.2"},null,-1),$Ge=Ce("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),LGe=[kGe,$Ge],FGe={key:2},BGe=Ce("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),UGe=[BGe],HGe={key:3},VGe=Ce("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),zGe=[VGe],GGe={key:4},jGe=Ce("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),YGe=[jGe],WGe={key:5},qGe=Ce("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),KGe=[qGe],ZGe={name:"PhWaveform"},QGe=we({...ZGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",NGe,MGe)):l.value==="duotone"?(oe(),de("g",PGe,LGe)):l.value==="fill"?(oe(),de("g",FGe,UGe)):l.value==="light"?(oe(),de("g",HGe,zGe)):l.value==="regular"?(oe(),de("g",GGe,YGe)):l.value==="thin"?(oe(),de("g",WGe,KGe)):ft("",!0)],16,AGe))}}),XGe=["width","height","fill","transform"],JGe={key:0},e7e=Ce("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),t7e=[e7e],n7e={key:1},r7e=Ce("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),i7e=Ce("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),o7e=[r7e,i7e],a7e={key:2},s7e=Ce("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),l7e=[s7e],c7e={key:3},u7e=Ce("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),d7e=[u7e],p7e={key:4},f7e=Ce("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),m7e=[f7e],g7e={key:5},h7e=Ce("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),_7e=[h7e],v7e={name:"PhX"},b7e=we({...v7e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",JGe,t7e)):l.value==="duotone"?(oe(),de("g",n7e,o7e)):l.value==="fill"?(oe(),de("g",a7e,l7e)):l.value==="light"?(oe(),de("g",c7e,d7e)):l.value==="regular"?(oe(),de("g",p7e,m7e)):l.value==="thin"?(oe(),de("g",g7e,_7e)):ft("",!0)],16,XGe))}}),S7e={key:0,class:"label"},y7e={key:0},E7e=we({__name:"Label",props:{label:{},required:{type:Boolean},hint:{}},setup(e){return(t,n)=>t.label?(oe(),de("h3",S7e,[Jn(Xt(t.label)+" ",1),t.required?(oe(),de("span",y7e," * ")):ft("",!0),t.hint?(oe(),An(We(Va),{key:1,class:"hint",title:t.hint},{default:fn(()=>[x(We(OVe),{size:"16px",height:"100%"})]),_:1},8,["title"])):ft("",!0)])):ft("",!0)}});const Fn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Hn=Fn(E7e,[["__scopeId","data-v-16be3530"]]),C7e={class:"appointment-input"},T7e={style:{position:"relative","min-width":"200px","min-height":"200px",height:"100%","overflow-y":"auto"}},w7e={style:{display:"flex","flex-direction":"column",position:"absolute",top:"0",bottom:"0",left:"0",right:"0",gap:"4px"}},x7e=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e;function r(m){return ir(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 o=i(),l=Ie(o),s=k(()=>{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=k(()=>{const{min:m,max:h}=n.userProps.slots.reduce((v,b)=>{const S=ir(b.start).startOf("day"),y=ir(b.end).startOf("day");return(!v.min||S.isBefore(v.min))&&(v.min=S),(!v.max||y.isAfter(v.max))&&(v.max=y),v},{min:null,max:null});return[m,h.add(1,"day")]});function a(m){const h=m.month(),v=m.year(),b=n.userProps.slots.find(S=>{const y=ir(S.begin);return y.month()===h&&y.year()===v});return ir((b==null?void 0:b.begin)||m)}const c=Ie(!1);function d(m){if(c.value){c.value=!1;return}l.value=m}function p(m){c.value=!0;const h=ir(m);l.value=a(h)}function f(m){t("update:value",m)}function g(m){return!n.userProps.slots.some(h=>m.isSame(ir(h.begin),"day"))}return(m,h)=>(oe(),de(tt,null,[x(Hn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ce("div",C7e,[x(We(FRe),{value:l.value,"disabled-date":g,fullscreen:!1,"valid-range":u.value,"default-value":We(o),onSelect:d,onPanelChange:p},null,8,["value","valid-range","default-value"]),s.value.length>0?(oe(),An(We(c3e),{key:0,vertical:"",gap:"small"},{default:fn(()=>[x(We(iA),{level:4},{default:fn(()=>[Jn("Available slots")]),_:1}),Ce("div",T7e,[Ce("div",w7e,[(oe(!0),de(tt,null,Pi(s.value,({slot:v,idx:b})=>(oe(),An(We(br),{key:b,type:b===m.userProps.value?"primary":"default",onClick:S=>f(b)},{default:fn(()=>[Jn(Xt(We(ir)(v.begin).format("hh:mm A"))+" - "+Xt(We(ir)(v.end).format("hh:mm A")),1)]),_:2},1032,["type","onClick"]))),128))])])]),_:1})):(oe(),An(We(pc),{key:1,description:"No slots available"}))])],64))}});const O7e=Fn(x7e,[["__scopeId","data-v-6d1cdd29"]]),I7e={class:"container"},R7e=we({__name:"FileIcon",props:{ctrl:{},file:{},size:{}},setup(e){return(t,n)=>(oe(),de("div",I7e,[(oe(),An(Au(t.ctrl.iconPreview(t.file)),{size:t.size},null,8,["size"]))]))}});const BG=Fn(R7e,[["__scopeId","data-v-27e5e807"]]),A7e="modulepreload",N7e=function(e){return"/"+e},q4={},gy=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=N7e(o),o in q4)return;q4[o]=!0;const l=o.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===o&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const a=document.createElement("link");if(a.rel=l?"stylesheet":A7e,l||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),l)return new Promise((c,d)=>{a.addEventListener("load",c),a.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},D7e={key:0},M7e=Ce("p",null,"Unsupported file type",-1),P7e=[M7e],k7e=["src"],$7e={key:2,style:{width:"100%",height:"auto"},controls:"",preload:"metadata"},L7e=["src","type"],F7e={key:3,style:{width:"100%"},controls:"",preload:"metadata"},B7e=["src","type"],U7e=["src","type"],H7e={key:5},UG=we({__name:"Preview",props:{ctrl:{}},setup(e){const t=e,n=Ie({hasPreview:!1,filename:"",src:"",previewType:"",file:t.ctrl.state.value.file}),r=Ie();Ve(t.ctrl.state,async()=>{const o=t.ctrl.state.value.file;if(n.value.file=o,n.value.hasPreview=t.ctrl.hasPreview(o),n.value.filename=t.ctrl.fileName(o),n.value.src=t.ctrl.fileSrc(o),n.value.previewType=t.ctrl.typeof(o.type),n.value.previewType==="Code"||n.value.previewType==="Text"){const l=await t.ctrl.fetchTextContent(o);i(r.value,l)}});const i=async(o,l,s)=>{(await gy(()=>import("./editor.main.f8ec4351.js"),["assets/editor.main.f8ec4351.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(o,{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(o,l)=>o.ctrl.state.value.open?(oe(),An(We(Lo),{key:0,open:!0,title:n.value.filename,onCancel:o.ctrl.close,style:{"max-width":"80dvw","min-width":"40dvw",height:"auto"}},{footer:fn(()=>[]),default:fn(()=>[n.value.hasPreview?n.value.previewType==="Image"?(oe(),de("img",{key:1,style:{width:"100%"},src:n.value.src},null,8,k7e)):n.value.previewType==="Video"?(oe(),de("video",$7e,[Ce("source",{src:n.value.src,type:n.value.file.type},null,8,L7e)])):n.value.previewType==="Audio"?(oe(),de("audio",F7e,[Ce("source",{src:n.value.src,type:n.value.file.type},null,8,B7e)])):n.value.previewType==="PDF"?(oe(),de("embed",{key:4,style:{width:"100%","min-height":"60dvh"},src:n.value.src,type:n.value.file.type},null,8,U7e)):n.value.previewType==="Text"||n.value.previewType==="Code"?(oe(),de("div",H7e,[Ce("div",{ref_key:"editor",ref:r,style:{width:"100%","min-height":"40dvh"}},null,512)])):ft("",!0):(oe(),de("div",D7e,P7e))]),_:1},8,["title","onCancel"])):ft("",!0)}}),V7e=["Text","Image","Code","PDF","Video","Audio"];function z7e(e){return V7e.includes(e)}const G7e={Text:WUe,Image:LHe,Code:MBe,PDF:rUe,Video:KVe,Audio:QGe,Archive:j9e,Document:k5e,Presentation:wUe,Spreadsheet:gHe,Unknown:f5e};class HG{constructor(){wn(this,"state");wn(this,"open",t=>{this.state.value={open:!0,file:t}});wn(this,"close",()=>{this.state.value.open=!1});wn(this,"hasPreview",t=>{const n=this.typeof(t.type);if(!z7e(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||"")!==""}});wn(this,"fileName",t=>(t==null?void 0:t.name)||"");wn(this,"fileSrc",t=>t==null?void 0:t.response[0]);wn(this,"fileThumbnail",t=>this.hasPreview(t)?this.fileSrc(t):"");wn(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"});wn(this,"handlePreview",t=>{this.hasPreview(t)&&this.open(t)});wn(this,"fetchTextContent",async t=>{const n=this.fileSrc(t);return await(await window.fetch(n)).text()});wn(this,"iconPreview",t=>{const n=this.typeof(t.type);return G7e[n]});this.state=Ie({open:!1,file:{uid:"",name:"",status:"done",response:[],url:"",type:"",size:0}})}}const j7e=[{key:"en",value:"English"},{key:"pt",value:"Portuguese"},{key:"es",value:"Spanish"},{key:"de",value:"German"},{key:"fr",value:"French"},{key:"hi",value:"Hindi"}],P0={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}`})},Y7e="en";class W7e{getBrowserLocale(){return navigator.language.split(/[-_]/)[0]}getSupportedLocale(t){return j7e.includes(t)?t:Y7e}translate(t,n=null,...r){if(!(t in P0))throw new Error(`Missing translation for key ${t} in locale ${n}`);if(n==null){const i=this.getBrowserLocale(),o=Mo.getSupportedLocale(i);return P0[t](...r)[o]}return P0[t](...r)[n]}translateIfFound(t,n,...r){return t in P0?this.translate(t,n,...r):t}}const Mo=new W7e,X1={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:"*"},q7e=e=>{const t=e==null?void 0:e.replace(".","");return t in X1?X1[t]:X1.unknown};class VG{constructor(t,n,r,i,o,l,s,u){wn(this,"initialFileList",()=>this.value.map(t=>{const n=new File([],t);return{uid:t,name:t.split("/").pop()||t,status:"done",response:[t],url:t,type:q7e(t.split(".").pop()),size:n.size}}).map(t=>({...t,thumbUrl:this.thumbnail(t)})));wn(this,"emitValue",t=>{this.value=t,this.emit("update:value",t)});wn(this,"emitErrors",t=>{this.emit("update:errors",t)});wn(this,"handleReject",()=>{var n;const t=((n=this.acceptedFormats)==null?void 0:n.join(", "))||"*";this.emitErrors([Mo.translate("i18n_upload_area_rejected_file_extension",this.locale,{formats:t})])});wn(this,"beforeUpload",t=>this.maxFileSize&&t.size&&t.size/1024/1024>this.maxFileSize?(this.emitErrors([Mo.translate("i18n_upload_max_size_excided",this.locale,{fileName:t.name,maxSize:this.maxFileSize})]),kG.LIST_IGNORE):!0);wn(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=>i.response[0])||[];this.emitValue(r),t.file.status==="error"&&this.emitErrors([Mo.translate("i18n_upload_failed",this.locale,{fileName:t.file.name})])});this.emit=t,this.value=n,this.thumbnail=r,this.locale=i,this.acceptedFormats=o,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 K7e=we({__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=Ie(null),o=new HG,l=new VG(n,r.value,o.fileThumbnail,r.locale,r.acceptedFormats,r.acceptedMimeTypes,r.maxFileSize,r.multiple),s=Ie(l.initialFileList()),u=k(()=>r.multiple||s.value.length===0);return t({uploadRef:i}),(a,c)=>(oe(),de(tt,null,[x(We(kG),{ref_key:"uploadRef",ref:i,capture:a.capture,fileList:s.value,"onUpdate:fileList":c[0]||(c[0]=d=>s.value=d),accept:We(l).accept,action:We(l).action,method:We(l).method,"max-count":We(l).maxCount,headers:We(l).headers,progress:We(l).progress,"before-upload":We(l).beforeUpload,onChange:We(l).handleChange,onReject:We(l).handleReject,onPreview:We(o).handlePreview,multiple:a.multiple,disabled:a.disabled,"show-upload-list":!0,"list-type":"picture-card"},{iconRender:fn(({file:d})=>[x(BG,{file:d,ctrl:We(o),size:20},null,8,["file","ctrl"])]),default:fn(()=>[u.value?Ct(a.$slots,"ui",{key:0},void 0,!0):ft("",!0)]),_:3},8,["capture","fileList","accept","action","method","max-count","headers","progress","before-upload","onChange","onReject","onPreview","multiple","disabled"]),x(UG,{ctrl:We(o)},null,8,["ctrl"])],64))}});const zG=Fn(K7e,[["__scopeId","data-v-441daa1d"]]);var GG={},hy={};hy.byteLength=X7e;hy.toByteArray=eje;hy.fromByteArray=rje;var ps=[],la=[],Z7e=typeof Uint8Array<"u"?Uint8Array:Array,J1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fd=0,Q7e=J1.length;Fd0)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 X7e(e){var t=jG(e),n=t[0],r=t[1];return(n+r)*3/4-r}function J7e(e,t,n){return(t+n)*3/4-n}function eje(e){var t,n=jG(e),r=n[0],i=n[1],o=new Z7e(J7e(e,r,i)),l=0,s=i>0?r-4:r,u;for(u=0;u>16&255,o[l++]=t>>8&255,o[l++]=t&255;return i===2&&(t=la[e.charCodeAt(u)]<<2|la[e.charCodeAt(u+1)]>>4,o[l++]=t&255),i===1&&(t=la[e.charCodeAt(u)]<<10|la[e.charCodeAt(u+1)]<<4|la[e.charCodeAt(u+2)]>>2,o[l++]=t>>8&255,o[l++]=t&255),o}function tje(e){return ps[e>>18&63]+ps[e>>12&63]+ps[e>>6&63]+ps[e&63]}function nje(e,t,n){for(var r,i=[],o=t;os?s:l+o));return r===1?(t=e[n-1],i.push(ps[t>>2]+ps[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(ps[t>>10]+ps[t>>4&63]+ps[t<<2&63]+"=")),i.join("")}var cA={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */cA.read=function(e,t,n,r,i){var o,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,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=o*256+e[t+d],d+=p,c-=8);for(l=o&(1<<-c)-1,o>>=-c,c+=r;c>0;l=l*256+e[t+d],d+=p,c-=8);if(o===0)o=1-a;else{if(o===u)return l?NaN:(f?-1:1)*(1/0);l=l+Math.pow(2,r),o=o-a}return(f?-1:1)*l*Math.pow(2,o-r)};cA.write=function(e,t,n,r,i,o){var l,s,u,a=o*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-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,a-=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:'""'}}})}}},A6e=R6e,G4=new Yt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),j4=new Yt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),N6e=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:G4},[`${n}-leave`]:{animationName:j4}}},G4,j4]},D6e=N6e,M6e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,o=`${t}-list`,l=`${o}-item`;return{[`${t}-wrapper`]:{[`${o}${o}-picture, ${o}${o}-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`]:I(I({},Cl),{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}}}}}},P6e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,o=`${t}-list`,l=`${o}-item`,s=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:I(I({},Ku()),{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}},[`${o}${o}-picture-card`]:{[`${o}-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 Cn(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}}})}},k6e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},$6e=k6e,L6e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:I(I({},Pn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},F6e=Ln("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:o}=e,l=Math.round(n*r),s=Wt(e,{uploadThumbnailSize:t*2,uploadProgressOffset:l/2+i,uploadPicCardSize:o*2.55});return[L6e(s),I6e(s),M6e(s),P6e(s),A6e(s),D6e(s),$6e(s),YS(s)]});var B6e=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(l){l(o)})}return new(n||(n=Promise))(function(o,l){function s(c){try{a(r.next(c))}catch(d){l(d)}}function u(c){try{a(r.throw(c))}catch(d){l(d)}}function a(c){c.done?o(c.value):i(c.value).then(s,u)}a((r=r.apply(e,t||[])).next())})},U6e=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 D;return(D=u.value)!==null&&D!==void 0?D:d.value}),[f,g]=ti(e.defaultFileList||[],{value:xt(e,"fileList"),postState:D=>{const B=Date.now();return(D!=null?D:[]).map((P,$)=>(!P.uid&&!Object.isFrozen(P)&&(P.uid=`__AUTO__${B}_${$}__`),P))}}),m=Ie("drop"),h=Ie(null);_t(()=>{Br(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),Br(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),Br(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const v=(D,B,P)=>{var $,M;let L=[...B];e.maxCount===1?L=L.slice(-1):e.maxCount&&(L=L.slice(0,e.maxCount)),g(L);const H={file:D,fileList:L};P&&(H.event=P),($=e["onUpdate:fileList"])===null||$===void 0||$.call(e,H.fileList),(M=e.onChange)===null||M===void 0||M.call(e,H),o.onFieldChange()},b=(D,B)=>B6e(this,void 0,void 0,function*(){const{beforeUpload:P,transformFile:$}=e;let M=D;if(P){const L=yield P(D,B);if(L===!1)return!1;if(delete D[xm],L===xm)return Object.defineProperty(D,xm,{value:!0,configurable:!0}),!1;typeof L=="object"&&L&&(M=L)}return $&&(M=yield $(M)),M}),S=D=>{const B=D.filter(M=>!M.file[xm]);if(!B.length)return;const P=B.map(M=>D0(M.file));let $=[...f.value];P.forEach(M=>{$=M0(M,$)}),P.forEach((M,L)=>{let H=M;if(B[L].parsedFile)M.status="uploading";else{const{originFileObj:U}=M;let j;try{j=new File([U],U.name,{type:U.type})}catch{j=new Blob([U],{type:U.type}),j.name=U.name,j.lastModifiedDate=new Date,j.lastModified=new Date().getTime()}j.uid=M.uid,H=j}v(H,$)})},y=(D,B,P)=>{try{typeof D=="string"&&(D=JSON.parse(D))}catch{}if(!Q1(B,f.value))return;const $=D0(B);$.status="done",$.percent=100,$.response=D,$.xhr=P;const M=M0($,f.value);v($,M)},C=(D,B)=>{if(!Q1(B,f.value))return;const P=D0(B);P.status="uploading",P.percent=D.percent;const $=M0(P,f.value);v(P,$,D)},w=(D,B,P)=>{if(!Q1(P,f.value))return;const $=D0(P);$.error=D,$.response=B,$.status="error";const M=M0($,f.value);v($,M)},T=D=>{let B;const P=e.onRemove||e.remove;Promise.resolve(typeof P=="function"?P(D):P).then($=>{var M,L;if($===!1)return;const H=g6e(D,f.value);H&&(B=I(I({},D),{status:"removed"}),(M=f.value)===null||M===void 0||M.forEach(U=>{const j=B.uid!==void 0?"uid":"name";U[j]===B[j]&&!Object.isFrozen(U)&&(U.status="removed")}),(L=h.value)===null||L===void 0||L.abort(B),v(B,H))})},O=D=>{var B;m.value=D.type,D.type==="drop"&&((B=e.onDrop)===null||B===void 0||B.call(e,D))};i({onBatchStart:S,onSuccess:y,onProgress:C,onError:w,fileList:f,upload:h});const[R]=Za("Upload",ga.Upload,k(()=>e.locale)),N=(D,B)=>{const{removeIcon:P,previewIcon:$,downloadIcon:M,previewFile:L,onPreview:H,onDownload:U,isImageUrl:j,progress:G,itemRender:K,iconRender:Q,showUploadList:ne}=e,{showDownloadIcon:ae,showPreviewIcon:q,showRemoveIcon:ee}=typeof ne=="boolean"?{}:ne;return ne?x(x6e,{prefixCls:l.value,listType:e.listType,items:f.value,previewFile:L,onPreview:H,onDownload:U,onRemove:T,showRemoveIcon:!p.value&&ee,showPreviewIcon:q,showDownloadIcon:ae,removeIcon:P,previewIcon:$,downloadIcon:M,iconRender:Q,locale:R.value,isImageUrl:j,progress:G,itemRender:K,appendActionVisible:B,appendAction:D},I({},n)):D==null?void 0:D()};return()=>{var D,B,P;const{listType:$,type:M}=e,{class:L,style:H}=r,U=U6e(r,["class","style"]),j=I(I(I({onBatchStart:S,onError:w,onProgress:C,onSuccess:y},U),e),{id:(D=e.id)!==null&&D!==void 0?D:o.id.value,prefixCls:l.value,beforeUpload:b,onChange:void 0,disabled:p.value});delete j.remove,(!n.default||p.value)&&delete j.id;const G={[`${l.value}-rtl`]:s.value==="rtl"};if(M==="drag"){const ae=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 a(x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,L,c.value)}),[x("div",{class:ae,onDrop:O,onDragover:O,onDragleave:O,style:r.style},[x(B4,Z(Z({},j),{},{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-${$}`]:!0,[`${l.value}-disabled`]:p.value,[`${l.value}-rtl`]:s.value==="rtl"}),Q=li((P=n.default)===null||P===void 0?void 0:P.call(n)),ne=ae=>x("div",{class:K,style:ae},[x(B4,Z(Z({},j),{},{ref:h}),n)]);return a($==="picture-card"?x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,`${l.value}-picture-card-wrapper`,G,r.class,c.value)}),[N(ne,!!(Q&&Q.length))]):x("span",Z(Z({},r),{},{class:Fe(`${l.value}-wrapper`,G,r.class,c.value)}),[ne(Q&&Q.length?void 0:{display:"none"}),N()]))}}});var Y4=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,o=Y4(e,["height"]),{style:l}=r,s=Y4(r,["style"]),u=I(I(I({},o),s),{type:"drag",style:I(I({},l),{height:typeof i=="number"?`${i}px`:i})});return x(uv,u,n)}}}),H6e=dv,kG=I(uv,{Dragger:dv,LIST_IGNORE:xm,install(e){return e.component(uv.name,uv),e.component(dv.name,dv),e}});var V6e={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 z6e=V6e;var G6e={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 j6e=G6e;var Y6e={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 W6e=Y6e;var q6e={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 K6e=q6e,$G=["wrap","nowrap","wrap-reverse"],LG=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],FG=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],Z6e=(e,t)=>{const n={};return $G.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},Q6e=(e,t)=>{const n={};return FG.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},X6e=(e,t)=>{const n={};return LG.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function J6e(e,t){return Fe(I(I(I({},Z6e(e,t)),Q6e(e,t)),X6e(e,t)))}const e3e=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},t3e=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},n3e=e=>{const{componentCls:t}=e,n={};return $G.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},r3e=e=>{const{componentCls:t}=e,n={};return FG.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},i3e=e=>{const{componentCls:t}=e,n={};return LG.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},o3e=Ln("Flex",e=>{const t=Wt(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[e3e(t),t3e(t),n3e(t),r3e(t),i3e(t)]});function W4(e){return["small","middle","large"].includes(e)}const a3e=()=>({prefixCls:Bt(),vertical:nt(),wrap:Bt(),justify:Bt(),align:Bt(),flex:rn([Number,String]),gap:rn([Number,String]),component:wr()});var s3e=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,J6e(l.value,e),{[`${l.value}-rtl`]:o.value==="rtl",[`${l.value}-gap-${e.gap}`]:W4(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=s3e(e,["flex","gap","component"]),m={};return d&&(m.flex=d),p&&!W4(p)&&(m.gap=`${p}px`),s(x(f,Z({class:[r.class,a.value],style:[r.style,m]},kn(g,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),c3e=ba(l3e),u3e=["width","height","fill","transform"],d3e={key:0},p3e=Ce("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),f3e=[p3e],m3e={key:1},g3e=Ce("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),h3e=Ce("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),_3e=[g3e,h3e],v3e={key:2},b3e=Ce("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),S3e=[b3e],y3e={key:3},E3e=Ce("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),C3e=[E3e],T3e={key:4},w3e=Ce("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),x3e=[w3e],O3e={key:5},I3e=Ce("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),R3e=[I3e],A3e={name:"PhAperture"},N3e=we({...A3e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",d3e,f3e)):l.value==="duotone"?(oe(),de("g",m3e,_3e)):l.value==="fill"?(oe(),de("g",v3e,S3e)):l.value==="light"?(oe(),de("g",y3e,C3e)):l.value==="regular"?(oe(),de("g",T3e,x3e)):l.value==="thin"?(oe(),de("g",O3e,R3e)):ft("",!0)],16,u3e))}}),D3e=["width","height","fill","transform"],M3e={key:0},P3e=Ce("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),k3e=[P3e],$3e={key:1},L3e=Ce("path",{d:"M200,112l-72,72L56,112Z",opacity:"0.2"},null,-1),F3e=Ce("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),B3e=[L3e,F3e],U3e={key:2},H3e=Ce("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),V3e=[H3e],z3e={key:3},G3e=Ce("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),j3e=[G3e],Y3e={key:4},W3e=Ce("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),q3e=[W3e],K3e={key:5},Z3e=Ce("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),Q3e=[Z3e],X3e={name:"PhArrowLineDown"},J3e=we({...X3e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",M3e,k3e)):l.value==="duotone"?(oe(),de("g",$3e,B3e)):l.value==="fill"?(oe(),de("g",U3e,V3e)):l.value==="light"?(oe(),de("g",z3e,j3e)):l.value==="regular"?(oe(),de("g",Y3e,q3e)):l.value==="thin"?(oe(),de("g",K3e,Q3e)):ft("",!0)],16,D3e))}}),eFe=["width","height","fill","transform"],tFe={key:0},nFe=Ce("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),rFe=[nFe],iFe={key:1},oFe=Ce("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),aFe=Ce("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),sFe=[oFe,aFe],lFe={key:2},cFe=Ce("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),uFe=[cFe],dFe={key:3},pFe=Ce("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),fFe=[pFe],mFe={key:4},gFe=Ce("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),hFe=[gFe],_Fe={key:5},vFe=Ce("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),bFe=[vFe],SFe={name:"PhCamera"},yFe=we({...SFe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",tFe,rFe)):l.value==="duotone"?(oe(),de("g",iFe,sFe)):l.value==="fill"?(oe(),de("g",lFe,uFe)):l.value==="light"?(oe(),de("g",dFe,fFe)):l.value==="regular"?(oe(),de("g",mFe,hFe)):l.value==="thin"?(oe(),de("g",_Fe,bFe)):ft("",!0)],16,eFe))}}),EFe=["width","height","fill","transform"],CFe={key:0},TFe=Ce("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),wFe=[TFe],xFe={key:1},OFe=Ce("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),IFe=Ce("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),RFe=[OFe,IFe],AFe={key:2},NFe=Ce("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),DFe=[NFe],MFe={key:3},PFe=Ce("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),kFe=[PFe],$Fe={key:4},LFe=Ce("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),FFe=[LFe],BFe={key:5},UFe=Ce("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),HFe=[UFe],VFe={name:"PhCameraRotate"},zFe=we({...VFe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",CFe,wFe)):l.value==="duotone"?(oe(),de("g",xFe,RFe)):l.value==="fill"?(oe(),de("g",AFe,DFe)):l.value==="light"?(oe(),de("g",MFe,kFe)):l.value==="regular"?(oe(),de("g",$Fe,FFe)):l.value==="thin"?(oe(),de("g",BFe,HFe)):ft("",!0)],16,EFe))}}),GFe=["width","height","fill","transform"],jFe={key:0},YFe=Ce("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),WFe=[YFe],qFe={key:1},KFe=Ce("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),ZFe=Ce("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),QFe=[KFe,ZFe],XFe={key:2},JFe=Ce("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),eBe=[JFe],tBe={key:3},nBe=Ce("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),rBe=[nBe],iBe={key:4},oBe=Ce("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),aBe=[oBe],sBe={key:5},lBe=Ce("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),cBe=[lBe],uBe={name:"PhCheck"},dBe=we({...uBe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",jFe,WFe)):l.value==="duotone"?(oe(),de("g",qFe,QFe)):l.value==="fill"?(oe(),de("g",XFe,eBe)):l.value==="light"?(oe(),de("g",tBe,rBe)):l.value==="regular"?(oe(),de("g",iBe,aBe)):l.value==="thin"?(oe(),de("g",sBe,cBe)):ft("",!0)],16,GFe))}}),pBe=["width","height","fill","transform"],fBe={key:0},mBe=Ce("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),gBe=[mBe],hBe={key:1},_Be=Ce("path",{d:"M240,128l-48,40H64L16,128,64,88H192Z",opacity:"0.2"},null,-1),vBe=Ce("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),bBe=[_Be,vBe],SBe={key:2},yBe=Ce("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),EBe=[yBe],CBe={key:3},TBe=Ce("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),wBe=[TBe],xBe={key:4},OBe=Ce("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),IBe=[OBe],RBe={key:5},ABe=Ce("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),NBe=[ABe],DBe={name:"PhCode"},MBe=we({...DBe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",fBe,gBe)):l.value==="duotone"?(oe(),de("g",hBe,bBe)):l.value==="fill"?(oe(),de("g",SBe,EBe)):l.value==="light"?(oe(),de("g",CBe,wBe)):l.value==="regular"?(oe(),de("g",xBe,IBe)):l.value==="thin"?(oe(),de("g",RBe,NBe)):ft("",!0)],16,pBe))}}),PBe=["width","height","fill","transform"],kBe={key:0},$Be=Ce("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),LBe=[$Be],FBe={key:1},BBe=Ce("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),UBe=Ce("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),HBe=[BBe,UBe],VBe={key:2},zBe=Ce("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),GBe=[zBe],jBe={key:3},YBe=Ce("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),WBe=[YBe],qBe={key:4},KBe=Ce("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),ZBe=[KBe],QBe={key:5},XBe=Ce("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),JBe=[XBe],e9e={name:"PhDotsSix"},t9e=we({...e9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",kBe,LBe)):l.value==="duotone"?(oe(),de("g",FBe,HBe)):l.value==="fill"?(oe(),de("g",VBe,GBe)):l.value==="light"?(oe(),de("g",jBe,WBe)):l.value==="regular"?(oe(),de("g",qBe,ZBe)):l.value==="thin"?(oe(),de("g",QBe,JBe)):ft("",!0)],16,PBe))}}),n9e=["width","height","fill","transform"],r9e={key:0},i9e=Ce("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),o9e=[i9e],a9e={key:1},s9e=Ce("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),l9e=Ce("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),c9e=[s9e,l9e],u9e={key:2},d9e=Ce("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),p9e=[d9e],f9e={key:3},m9e=Ce("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),g9e=[m9e],h9e={key:4},_9e=Ce("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),v9e=[_9e],b9e={key:5},S9e=Ce("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),y9e=[S9e],E9e={name:"PhDownload"},C9e=we({...E9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",r9e,o9e)):l.value==="duotone"?(oe(),de("g",a9e,c9e)):l.value==="fill"?(oe(),de("g",u9e,p9e)):l.value==="light"?(oe(),de("g",f9e,g9e)):l.value==="regular"?(oe(),de("g",h9e,v9e)):l.value==="thin"?(oe(),de("g",b9e,y9e)):ft("",!0)],16,n9e))}}),T9e=["width","height","fill","transform"],w9e={key:0},x9e=Ce("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),O9e=[x9e],I9e={key:1},R9e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),A9e=Ce("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),N9e=[R9e,A9e],D9e={key:2},M9e=Ce("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),P9e=[M9e],k9e={key:3},$9e=Ce("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),L9e=[$9e],F9e={key:4},B9e=Ce("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),U9e=[B9e],H9e={key:5},V9e=Ce("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),z9e=[V9e],G9e={name:"PhFileArchive"},j9e=we({...G9e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",w9e,O9e)):l.value==="duotone"?(oe(),de("g",I9e,N9e)):l.value==="fill"?(oe(),de("g",D9e,P9e)):l.value==="light"?(oe(),de("g",k9e,L9e)):l.value==="regular"?(oe(),de("g",F9e,U9e)):l.value==="thin"?(oe(),de("g",H9e,z9e)):ft("",!0)],16,T9e))}}),Y9e=["width","height","fill","transform"],W9e={key:0},q9e=Ce("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),K9e=[q9e],Z9e={key:1},Q9e=Ce("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),X9e=Ce("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),J9e=[Q9e,X9e],e5e={key:2},t5e=Ce("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),n5e=[t5e],r5e={key:3},i5e=Ce("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),o5e=[i5e],a5e={key:4},s5e=Ce("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),l5e=[s5e],c5e={key:5},u5e=Ce("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),d5e=[u5e],p5e={name:"PhFileCloud"},f5e=we({...p5e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",W9e,K9e)):l.value==="duotone"?(oe(),de("g",Z9e,J9e)):l.value==="fill"?(oe(),de("g",e5e,n5e)):l.value==="light"?(oe(),de("g",r5e,o5e)):l.value==="regular"?(oe(),de("g",a5e,l5e)):l.value==="thin"?(oe(),de("g",c5e,d5e)):ft("",!0)],16,Y9e))}}),m5e=["width","height","fill","transform"],g5e={key:0},h5e=Ce("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),_5e=[h5e],v5e={key:1},b5e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),S5e=Ce("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),y5e=[b5e,S5e],E5e={key:2},C5e=Ce("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),T5e=[C5e],w5e={key:3},x5e=Ce("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),O5e=[x5e],I5e={key:4},R5e=Ce("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),A5e=[R5e],N5e={key:5},D5e=Ce("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),M5e=[D5e],P5e={name:"PhFileDoc"},k5e=we({...P5e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",g5e,_5e)):l.value==="duotone"?(oe(),de("g",v5e,y5e)):l.value==="fill"?(oe(),de("g",E5e,T5e)):l.value==="light"?(oe(),de("g",w5e,O5e)):l.value==="regular"?(oe(),de("g",I5e,A5e)):l.value==="thin"?(oe(),de("g",N5e,M5e)):ft("",!0)],16,m5e))}}),$5e=["width","height","fill","transform"],L5e={key:0},F5e=Ce("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),B5e=[F5e],U5e={key:1},H5e=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),V5e=Ce("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),z5e=[H5e,V5e],G5e={key:2},j5e=Ce("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),Y5e=[j5e],W5e={key:3},q5e=Ce("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),K5e=[q5e],Z5e={key:4},Q5e=Ce("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),X5e=[Q5e],J5e={key:5},eUe=Ce("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),tUe=[eUe],nUe={name:"PhFilePdf"},rUe=we({...nUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",L5e,B5e)):l.value==="duotone"?(oe(),de("g",U5e,z5e)):l.value==="fill"?(oe(),de("g",G5e,Y5e)):l.value==="light"?(oe(),de("g",W5e,K5e)):l.value==="regular"?(oe(),de("g",Z5e,X5e)):l.value==="thin"?(oe(),de("g",J5e,tUe)):ft("",!0)],16,$5e))}}),iUe=["width","height","fill","transform"],oUe={key:0},aUe=Ce("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),sUe=[aUe],lUe={key:1},cUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),uUe=Ce("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),dUe=[cUe,uUe],pUe={key:2},fUe=Ce("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),mUe=[fUe],gUe={key:3},hUe=Ce("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),_Ue=[hUe],vUe={key:4},bUe=Ce("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),SUe=[bUe],yUe={key:5},EUe=Ce("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),CUe=[EUe],TUe={name:"PhFilePpt"},wUe=we({...TUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",oUe,sUe)):l.value==="duotone"?(oe(),de("g",lUe,dUe)):l.value==="fill"?(oe(),de("g",pUe,mUe)):l.value==="light"?(oe(),de("g",gUe,_Ue)):l.value==="regular"?(oe(),de("g",vUe,SUe)):l.value==="thin"?(oe(),de("g",yUe,CUe)):ft("",!0)],16,iUe))}}),xUe=["width","height","fill","transform"],OUe={key:0},IUe=Ce("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),RUe=[IUe],AUe={key:1},NUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),DUe=Ce("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),MUe=[NUe,DUe],PUe={key:2},kUe=Ce("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),$Ue=[kUe],LUe={key:3},FUe=Ce("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),BUe=[FUe],UUe={key:4},HUe=Ce("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),VUe=[HUe],zUe={key:5},GUe=Ce("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),jUe=[GUe],YUe={name:"PhFileText"},WUe=we({...YUe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",OUe,RUe)):l.value==="duotone"?(oe(),de("g",AUe,MUe)):l.value==="fill"?(oe(),de("g",PUe,$Ue)):l.value==="light"?(oe(),de("g",LUe,BUe)):l.value==="regular"?(oe(),de("g",UUe,VUe)):l.value==="thin"?(oe(),de("g",zUe,jUe)):ft("",!0)],16,xUe))}}),qUe=["width","height","fill","transform"],KUe={key:0},ZUe=Ce("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),QUe=[ZUe],XUe={key:1},JUe=Ce("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),eHe=Ce("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),tHe=[JUe,eHe],nHe={key:2},rHe=Ce("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),iHe=[rHe],oHe={key:3},aHe=Ce("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),sHe=[aHe],lHe={key:4},cHe=Ce("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),uHe=[cHe],dHe={key:5},pHe=Ce("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),fHe=[pHe],mHe={name:"PhFileXls"},gHe=we({...mHe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",KUe,QUe)):l.value==="duotone"?(oe(),de("g",XUe,tHe)):l.value==="fill"?(oe(),de("g",nHe,iHe)):l.value==="light"?(oe(),de("g",oHe,sHe)):l.value==="regular"?(oe(),de("g",lHe,uHe)):l.value==="thin"?(oe(),de("g",dHe,fHe)):ft("",!0)],16,qUe))}}),hHe=["width","height","fill","transform"],_He={key:0},vHe=Ce("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),bHe=[vHe],SHe={key:1},yHe=Ce("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),EHe=Ce("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),CHe=[yHe,EHe],THe={key:2},wHe=Ce("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),xHe=[wHe],OHe={key:3},IHe=Ce("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),RHe=[IHe],AHe={key:4},NHe=Ce("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),DHe=[NHe],MHe={key:5},PHe=Ce("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),kHe=[PHe],$He={name:"PhImage"},LHe=we({...$He,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",_He,bHe)):l.value==="duotone"?(oe(),de("g",SHe,CHe)):l.value==="fill"?(oe(),de("g",THe,xHe)):l.value==="light"?(oe(),de("g",OHe,RHe)):l.value==="regular"?(oe(),de("g",AHe,DHe)):l.value==="thin"?(oe(),de("g",MHe,kHe)):ft("",!0)],16,hHe))}}),FHe=["width","height","fill","transform"],BHe={key:0},UHe=Ce("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),HHe=[UHe],VHe={key:1},zHe=Ce("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),GHe=Ce("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),jHe=[zHe,GHe],YHe={key:2},WHe=Ce("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),qHe=[WHe],KHe={key:3},ZHe=Ce("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),QHe=[ZHe],XHe={key:4},JHe=Ce("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),eVe=[JHe],tVe={key:5},nVe=Ce("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),rVe=[nVe],iVe={name:"PhImages"},oVe=we({...iVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",BHe,HHe)):l.value==="duotone"?(oe(),de("g",VHe,jHe)):l.value==="fill"?(oe(),de("g",YHe,qHe)):l.value==="light"?(oe(),de("g",KHe,QHe)):l.value==="regular"?(oe(),de("g",XHe,eVe)):l.value==="thin"?(oe(),de("g",tVe,rVe)):ft("",!0)],16,FHe))}}),aVe=["width","height","fill","transform"],sVe={key:0},lVe=Ce("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),cVe=[lVe],uVe={key:1},dVe=Ce("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),pVe=Ce("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),fVe=[dVe,pVe],mVe={key:2},gVe=Ce("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),hVe=[gVe],_Ve={key:3},vVe=Ce("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),bVe=[vVe],SVe={key:4},yVe=Ce("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),EVe=[yVe],CVe={key:5},TVe=Ce("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),wVe=[TVe],xVe={name:"PhInfo"},OVe=we({...xVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",sVe,cVe)):l.value==="duotone"?(oe(),de("g",uVe,fVe)):l.value==="fill"?(oe(),de("g",mVe,hVe)):l.value==="light"?(oe(),de("g",_Ve,bVe)):l.value==="regular"?(oe(),de("g",SVe,EVe)):l.value==="thin"?(oe(),de("g",CVe,wVe)):ft("",!0)],16,aVe))}}),IVe=["width","height","fill","transform"],RVe={key:0},AVe=Ce("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),NVe=[AVe],DVe={key:1},MVe=Ce("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),PVe=Ce("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),kVe=[MVe,PVe],$Ve={key:2},LVe=Ce("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),FVe=[LVe],BVe={key:3},UVe=Ce("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),HVe=[UVe],VVe={key:4},zVe=Ce("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),GVe=[zVe],jVe={key:5},YVe=Ce("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),WVe=[YVe],qVe={name:"PhMonitorPlay"},KVe=we({...qVe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",RVe,NVe)):l.value==="duotone"?(oe(),de("g",DVe,kVe)):l.value==="fill"?(oe(),de("g",$Ve,FVe)):l.value==="light"?(oe(),de("g",BVe,HVe)):l.value==="regular"?(oe(),de("g",VVe,GVe)):l.value==="thin"?(oe(),de("g",jVe,WVe)):ft("",!0)],16,IVe))}}),ZVe=["width","height","fill","transform"],QVe={key:0},XVe=Ce("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),JVe=[XVe],eze={key:1},tze=Ce("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),nze=Ce("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),rze=[tze,nze],ize={key:2},oze=Ce("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),aze=[oze],sze={key:3},lze=Ce("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),cze=[lze],uze={key:4},dze=Ce("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),pze=[dze],fze={key:5},mze=Ce("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),gze=[mze],hze={name:"PhPause"},_ze=we({...hze,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",QVe,JVe)):l.value==="duotone"?(oe(),de("g",eze,rze)):l.value==="fill"?(oe(),de("g",ize,aze)):l.value==="light"?(oe(),de("g",sze,cze)):l.value==="regular"?(oe(),de("g",uze,pze)):l.value==="thin"?(oe(),de("g",fze,gze)):ft("",!0)],16,ZVe))}}),vze=["width","height","fill","transform"],bze={key:0},Sze=Ce("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),yze=[Sze],Eze={key:1},Cze=Ce("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),Tze=Ce("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),wze=[Cze,Tze],xze={key:2},Oze=Ce("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),Ize=[Oze],Rze={key:3},Aze=Ce("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),Nze=[Aze],Dze={key:4},Mze=Ce("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),Pze=[Mze],kze={key:5},$ze=Ce("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),Lze=[$ze],Fze={name:"PhPlay"},Bze=we({...Fze,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",bze,yze)):l.value==="duotone"?(oe(),de("g",Eze,wze)):l.value==="fill"?(oe(),de("g",xze,Ize)):l.value==="light"?(oe(),de("g",Rze,Nze)):l.value==="regular"?(oe(),de("g",Dze,Pze)):l.value==="thin"?(oe(),de("g",kze,Lze)):ft("",!0)],16,vze))}}),Uze=["width","height","fill","transform"],Hze={key:0},Vze=Ce("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),zze=[Vze],Gze={key:1},jze=Ce("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),Yze=Ce("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),Wze=[jze,Yze],qze={key:2},Kze=Ce("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),Zze=[Kze],Qze={key:3},Xze=Ce("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),Jze=[Xze],eGe={key:4},tGe=Ce("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),nGe=[tGe],rGe={key:5},iGe=Ce("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),oGe=[iGe],aGe={name:"PhTrash"},sGe=we({...aGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",Hze,zze)):l.value==="duotone"?(oe(),de("g",Gze,Wze)):l.value==="fill"?(oe(),de("g",qze,Zze)):l.value==="light"?(oe(),de("g",Qze,Jze)):l.value==="regular"?(oe(),de("g",eGe,nGe)):l.value==="thin"?(oe(),de("g",rGe,oGe)):ft("",!0)],16,Uze))}}),lGe=["width","height","fill","transform"],cGe={key:0},uGe=Ce("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),dGe=[uGe],pGe={key:1},fGe=Ce("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),mGe=Ce("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),gGe=[fGe,mGe],hGe={key:2},_Ge=Ce("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),vGe=[_Ge],bGe={key:3},SGe=Ce("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),yGe=[SGe],EGe={key:4},CGe=Ce("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),TGe=[CGe],wGe={key:5},xGe=Ce("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),OGe=[xGe],IGe={name:"PhUploadSimple"},RGe=we({...IGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",cGe,dGe)):l.value==="duotone"?(oe(),de("g",pGe,gGe)):l.value==="fill"?(oe(),de("g",hGe,vGe)):l.value==="light"?(oe(),de("g",bGe,yGe)):l.value==="regular"?(oe(),de("g",EGe,TGe)):l.value==="thin"?(oe(),de("g",wGe,OGe)):ft("",!0)],16,lGe))}}),AGe=["width","height","fill","transform"],NGe={key:0},DGe=Ce("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),MGe=[DGe],PGe={key:1},kGe=Ce("path",{d:"M208,96v64H48V96Z",opacity:"0.2"},null,-1),$Ge=Ce("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),LGe=[kGe,$Ge],FGe={key:2},BGe=Ce("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),UGe=[BGe],HGe={key:3},VGe=Ce("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),zGe=[VGe],GGe={key:4},jGe=Ce("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),YGe=[jGe],WGe={key:5},qGe=Ce("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),KGe=[qGe],ZGe={name:"PhWaveform"},QGe=we({...ZGe,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",NGe,MGe)):l.value==="duotone"?(oe(),de("g",PGe,LGe)):l.value==="fill"?(oe(),de("g",FGe,UGe)):l.value==="light"?(oe(),de("g",HGe,zGe)):l.value==="regular"?(oe(),de("g",GGe,YGe)):l.value==="thin"?(oe(),de("g",WGe,KGe)):ft("",!0)],16,AGe))}}),XGe=["width","height","fill","transform"],JGe={key:0},e7e=Ce("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),t7e=[e7e],n7e={key:1},r7e=Ce("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),i7e=Ce("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),o7e=[r7e,i7e],a7e={key:2},s7e=Ce("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),l7e=[s7e],c7e={key:3},u7e=Ce("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),d7e=[u7e],p7e={key:4},f7e=Ce("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),m7e=[f7e],g7e={key:5},h7e=Ce("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),_7e=[h7e],v7e={name:"PhX"},b7e=we({...v7e,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"),o=He("mirrored",!1),l=k(()=>{var c;return(c=t.weight)!=null?c:n}),s=k(()=>{var c;return(c=t.size)!=null?c:r}),u=k(()=>{var c;return(c=t.color)!=null?c:i}),a=k(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:o?"scale(-1, 1)":void 0);return(c,d)=>(oe(),de("svg",Mn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:s.value,height:s.value,fill:u.value,transform:a.value},c.$attrs),[Ct(c.$slots,"default"),l.value==="bold"?(oe(),de("g",JGe,t7e)):l.value==="duotone"?(oe(),de("g",n7e,o7e)):l.value==="fill"?(oe(),de("g",a7e,l7e)):l.value==="light"?(oe(),de("g",c7e,d7e)):l.value==="regular"?(oe(),de("g",p7e,m7e)):l.value==="thin"?(oe(),de("g",g7e,_7e)):ft("",!0)],16,XGe))}}),S7e={key:0,class:"label"},y7e={key:0},E7e=we({__name:"Label",props:{label:{},required:{type:Boolean},hint:{}},setup(e){return(t,n)=>t.label?(oe(),de("h3",S7e,[Jn(Xt(t.label)+" ",1),t.required?(oe(),de("span",y7e," * ")):ft("",!0),t.hint?(oe(),An(We(Va),{key:1,class:"hint",title:t.hint},{default:fn(()=>[x(We(OVe),{size:"16px",height:"100%"})]),_:1},8,["title"])):ft("",!0)])):ft("",!0)}});const Fn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Hn=Fn(E7e,[["__scopeId","data-v-16be3530"]]),C7e={class:"appointment-input"},T7e={style:{position:"relative","min-width":"200px","min-height":"200px",height:"100%","overflow-y":"auto"}},w7e={style:{display:"flex","flex-direction":"column",position:"absolute",top:"0",bottom:"0",left:"0",right:"0",gap:"4px"}},x7e=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e;function r(m){return ir(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 o=i(),l=Ie(o),s=k(()=>{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=k(()=>{const{min:m,max:h}=n.userProps.slots.reduce((v,b)=>{const S=ir(b.start).startOf("day"),y=ir(b.end).startOf("day");return(!v.min||S.isBefore(v.min))&&(v.min=S),(!v.max||y.isAfter(v.max))&&(v.max=y),v},{min:null,max:null});return[m,h.add(1,"day")]});function a(m){const h=m.month(),v=m.year(),b=n.userProps.slots.find(S=>{const y=ir(S.begin);return y.month()===h&&y.year()===v});return ir((b==null?void 0:b.begin)||m)}const c=Ie(!1);function d(m){if(c.value){c.value=!1;return}l.value=m}function p(m){c.value=!0;const h=ir(m);l.value=a(h)}function f(m){t("update:value",m)}function g(m){return!n.userProps.slots.some(h=>m.isSame(ir(h.begin),"day"))}return(m,h)=>(oe(),de(tt,null,[x(Hn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ce("div",C7e,[x(We(FRe),{value:l.value,"disabled-date":g,fullscreen:!1,"valid-range":u.value,"default-value":We(o),onSelect:d,onPanelChange:p},null,8,["value","valid-range","default-value"]),s.value.length>0?(oe(),An(We(c3e),{key:0,vertical:"",gap:"small"},{default:fn(()=>[x(We(iA),{level:4},{default:fn(()=>[Jn("Available slots")]),_:1}),Ce("div",T7e,[Ce("div",w7e,[(oe(!0),de(tt,null,Pi(s.value,({slot:v,idx:b})=>(oe(),An(We(br),{key:b,type:b===m.userProps.value?"primary":"default",onClick:S=>f(b)},{default:fn(()=>[Jn(Xt(We(ir)(v.begin).format("hh:mm A"))+" - "+Xt(We(ir)(v.end).format("hh:mm A")),1)]),_:2},1032,["type","onClick"]))),128))])])]),_:1})):(oe(),An(We(pc),{key:1,description:"No slots available"}))])],64))}});const O7e=Fn(x7e,[["__scopeId","data-v-6d1cdd29"]]),I7e={class:"container"},R7e=we({__name:"FileIcon",props:{ctrl:{},file:{},size:{}},setup(e){return(t,n)=>(oe(),de("div",I7e,[(oe(),An(Au(t.ctrl.iconPreview(t.file)),{size:t.size},null,8,["size"]))]))}});const BG=Fn(R7e,[["__scopeId","data-v-27e5e807"]]),A7e="modulepreload",N7e=function(e){return"/"+e},q4={},gy=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=N7e(o),o in q4)return;q4[o]=!0;const l=o.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===o&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const a=document.createElement("link");if(a.rel=l?"stylesheet":A7e,l||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),l)return new Promise((c,d)=>{a.addEventListener("load",c),a.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},D7e={key:0},M7e=Ce("p",null,"Unsupported file type",-1),P7e=[M7e],k7e=["src"],$7e={key:2,style:{width:"100%",height:"auto"},controls:"",preload:"metadata"},L7e=["src","type"],F7e={key:3,style:{width:"100%"},controls:"",preload:"metadata"},B7e=["src","type"],U7e=["src","type"],H7e={key:5},UG=we({__name:"Preview",props:{ctrl:{}},setup(e){const t=e,n=Ie({hasPreview:!1,filename:"",src:"",previewType:"",file:t.ctrl.state.value.file}),r=Ie();Ve(t.ctrl.state,async()=>{const o=t.ctrl.state.value.file;if(n.value.file=o,n.value.hasPreview=t.ctrl.hasPreview(o),n.value.filename=t.ctrl.fileName(o),n.value.src=t.ctrl.fileSrc(o),n.value.previewType=t.ctrl.typeof(o.type),n.value.previewType==="Code"||n.value.previewType==="Text"){const l=await t.ctrl.fetchTextContent(o);i(r.value,l)}});const i=async(o,l,s)=>{(await gy(()=>import("./editor.main.562bb0ec.js"),["assets/editor.main.562bb0ec.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(o,{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(o,l)=>o.ctrl.state.value.open?(oe(),An(We(Lo),{key:0,open:!0,title:n.value.filename,onCancel:o.ctrl.close,style:{"max-width":"80dvw","min-width":"40dvw",height:"auto"}},{footer:fn(()=>[]),default:fn(()=>[n.value.hasPreview?n.value.previewType==="Image"?(oe(),de("img",{key:1,style:{width:"100%"},src:n.value.src},null,8,k7e)):n.value.previewType==="Video"?(oe(),de("video",$7e,[Ce("source",{src:n.value.src,type:n.value.file.type},null,8,L7e)])):n.value.previewType==="Audio"?(oe(),de("audio",F7e,[Ce("source",{src:n.value.src,type:n.value.file.type},null,8,B7e)])):n.value.previewType==="PDF"?(oe(),de("embed",{key:4,style:{width:"100%","min-height":"60dvh"},src:n.value.src,type:n.value.file.type},null,8,U7e)):n.value.previewType==="Text"||n.value.previewType==="Code"?(oe(),de("div",H7e,[Ce("div",{ref_key:"editor",ref:r,style:{width:"100%","min-height":"40dvh"}},null,512)])):ft("",!0):(oe(),de("div",D7e,P7e))]),_:1},8,["title","onCancel"])):ft("",!0)}}),V7e=["Text","Image","Code","PDF","Video","Audio"];function z7e(e){return V7e.includes(e)}const G7e={Text:WUe,Image:LHe,Code:MBe,PDF:rUe,Video:KVe,Audio:QGe,Archive:j9e,Document:k5e,Presentation:wUe,Spreadsheet:gHe,Unknown:f5e};class HG{constructor(){wn(this,"state");wn(this,"open",t=>{this.state.value={open:!0,file:t}});wn(this,"close",()=>{this.state.value.open=!1});wn(this,"hasPreview",t=>{const n=this.typeof(t.type);if(!z7e(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||"")!==""}});wn(this,"fileName",t=>(t==null?void 0:t.name)||"");wn(this,"fileSrc",t=>t==null?void 0:t.response[0]);wn(this,"fileThumbnail",t=>this.hasPreview(t)?this.fileSrc(t):"");wn(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"});wn(this,"handlePreview",t=>{this.hasPreview(t)&&this.open(t)});wn(this,"fetchTextContent",async t=>{const n=this.fileSrc(t);return await(await window.fetch(n)).text()});wn(this,"iconPreview",t=>{const n=this.typeof(t.type);return G7e[n]});this.state=Ie({open:!1,file:{uid:"",name:"",status:"done",response:[],url:"",type:"",size:0}})}}const j7e=[{key:"en",value:"English"},{key:"pt",value:"Portuguese"},{key:"es",value:"Spanish"},{key:"de",value:"German"},{key:"fr",value:"French"},{key:"hi",value:"Hindi"}],P0={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}`})},Y7e="en";class W7e{getBrowserLocale(){return navigator.language.split(/[-_]/)[0]}getSupportedLocale(t){return j7e.includes(t)?t:Y7e}translate(t,n=null,...r){if(!(t in P0))throw new Error(`Missing translation for key ${t} in locale ${n}`);if(n==null){const i=this.getBrowserLocale(),o=Mo.getSupportedLocale(i);return P0[t](...r)[o]}return P0[t](...r)[n]}translateIfFound(t,n,...r){return t in P0?this.translate(t,n,...r):t}}const Mo=new W7e,X1={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:"*"},q7e=e=>{const t=e==null?void 0:e.replace(".","");return t in X1?X1[t]:X1.unknown};class VG{constructor(t,n,r,i,o,l,s,u){wn(this,"initialFileList",()=>this.value.map(t=>{const n=new File([],t);return{uid:t,name:t.split("/").pop()||t,status:"done",response:[t],url:t,type:q7e(t.split(".").pop()),size:n.size}}).map(t=>({...t,thumbUrl:this.thumbnail(t)})));wn(this,"emitValue",t=>{this.value=t,this.emit("update:value",t)});wn(this,"emitErrors",t=>{this.emit("update:errors",t)});wn(this,"handleReject",()=>{var n;const t=((n=this.acceptedFormats)==null?void 0:n.join(", "))||"*";this.emitErrors([Mo.translate("i18n_upload_area_rejected_file_extension",this.locale,{formats:t})])});wn(this,"beforeUpload",t=>this.maxFileSize&&t.size&&t.size/1024/1024>this.maxFileSize?(this.emitErrors([Mo.translate("i18n_upload_max_size_excided",this.locale,{fileName:t.name,maxSize:this.maxFileSize})]),kG.LIST_IGNORE):!0);wn(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=>i.response[0])||[];this.emitValue(r),t.file.status==="error"&&this.emitErrors([Mo.translate("i18n_upload_failed",this.locale,{fileName:t.file.name})])});this.emit=t,this.value=n,this.thumbnail=r,this.locale=i,this.acceptedFormats=o,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 K7e=we({__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=Ie(null),o=new HG,l=new VG(n,r.value,o.fileThumbnail,r.locale,r.acceptedFormats,r.acceptedMimeTypes,r.maxFileSize,r.multiple),s=Ie(l.initialFileList()),u=k(()=>r.multiple||s.value.length===0);return t({uploadRef:i}),(a,c)=>(oe(),de(tt,null,[x(We(kG),{ref_key:"uploadRef",ref:i,capture:a.capture,fileList:s.value,"onUpdate:fileList":c[0]||(c[0]=d=>s.value=d),accept:We(l).accept,action:We(l).action,method:We(l).method,"max-count":We(l).maxCount,headers:We(l).headers,progress:We(l).progress,"before-upload":We(l).beforeUpload,onChange:We(l).handleChange,onReject:We(l).handleReject,onPreview:We(o).handlePreview,multiple:a.multiple,disabled:a.disabled,"show-upload-list":!0,"list-type":"picture-card"},{iconRender:fn(({file:d})=>[x(BG,{file:d,ctrl:We(o),size:20},null,8,["file","ctrl"])]),default:fn(()=>[u.value?Ct(a.$slots,"ui",{key:0},void 0,!0):ft("",!0)]),_:3},8,["capture","fileList","accept","action","method","max-count","headers","progress","before-upload","onChange","onReject","onPreview","multiple","disabled"]),x(UG,{ctrl:We(o)},null,8,["ctrl"])],64))}});const zG=Fn(K7e,[["__scopeId","data-v-441daa1d"]]);var GG={},hy={};hy.byteLength=X7e;hy.toByteArray=eje;hy.fromByteArray=rje;var ps=[],la=[],Z7e=typeof Uint8Array<"u"?Uint8Array:Array,J1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fd=0,Q7e=J1.length;Fd0)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 X7e(e){var t=jG(e),n=t[0],r=t[1];return(n+r)*3/4-r}function J7e(e,t,n){return(t+n)*3/4-n}function eje(e){var t,n=jG(e),r=n[0],i=n[1],o=new Z7e(J7e(e,r,i)),l=0,s=i>0?r-4:r,u;for(u=0;u>16&255,o[l++]=t>>8&255,o[l++]=t&255;return i===2&&(t=la[e.charCodeAt(u)]<<2|la[e.charCodeAt(u+1)]>>4,o[l++]=t&255),i===1&&(t=la[e.charCodeAt(u)]<<10|la[e.charCodeAt(u+1)]<<4|la[e.charCodeAt(u+2)]>>2,o[l++]=t>>8&255,o[l++]=t&255),o}function tje(e){return ps[e>>18&63]+ps[e>>12&63]+ps[e>>6&63]+ps[e&63]}function nje(e,t,n){for(var r,i=[],o=t;os?s:l+o));return r===1?(t=e[n-1],i.push(ps[t>>2]+ps[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(ps[t>>10]+ps[t>>4&63]+ps[t<<2&63]+"=")),i.join("")}var cA={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */cA.read=function(e,t,n,r,i){var o,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,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=o*256+e[t+d],d+=p,c-=8);for(l=o&(1<<-c)-1,o>>=-c,c+=r;c>0;l=l*256+e[t+d],d+=p,c-=8);if(o===0)o=1-a;else{if(o===u)return l?NaN:(f?-1:1)*(1/0);l=l+Math.pow(2,r),o=o-a}return(f?-1:1)*l*Math.pow(2,o-r)};cA.write=function(e,t,n,r,i,o){var l,s,u,a=o*8-i-1,c=(1<>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-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,a-=8);e[n+f-g]|=m*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -590,7 +590,7 @@ __p += '`),Rn&&(et+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+et+`return __p -}`;var pn=O2(function(){return Gn(ue,Et+"return "+et).apply(n,Re)});if(pn.source=et,fE(pn))throw pn;return pn}function cZ(_){return Yn(_).toLowerCase()}function uZ(_){return Yn(_).toUpperCase()}function dZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return $A(_);if(!_||!(E=yo(E)))return _;var z=Ta(_),X=Ta(E),ue=LA(z,X),Re=FA(z,X)+1;return zl(z,ue,Re).join("")}function pZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return _.slice(0,UA(_)+1);if(!_||!(E=yo(E)))return _;var z=Ta(_),X=FA(z,Ta(E))+1;return zl(z,0,X).join("")}function fZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return _.replace(ce,"");if(!_||!(E=yo(E)))return _;var z=Ta(_),X=LA(z,Ta(E));return zl(z,X).join("")}function mZ(_,E){var A=N,z=D;if(Rr(E)){var X="separator"in E?E.separator:X;A="length"in E?un(E.length):A,z="omission"in E?yo(E.omission):z}_=Yn(_);var ue=_.length;if(hd(_)){var Re=Ta(_);ue=Re.length}if(A>=ue)return _;var Pe=A-_d(z);if(Pe<1)return z;var Be=Re?zl(Re,0,Pe).join(""):_.slice(0,Pe);if(X===n)return Be+z;if(Re&&(Pe+=Be.length-Pe),mE(X)){if(_.slice(Pe).search(X)){var Qe,Xe=Be;for(X.global||(X=Ay(X.source,Yn(vn.exec(X))+"g")),X.lastIndex=0;Qe=X.exec(Xe);)var et=Qe.index;Be=Be.slice(0,et===n?Pe:et)}}else if(_.indexOf(yo(X),Pe)!=Pe){var dt=Be.lastIndexOf(X);dt>-1&&(Be=Be.slice(0,dt))}return Be+z}function gZ(_){return _=Yn(_),_&&Vn.test(_)?_.replace(pt,G7):_}var hZ=Td(function(_,E,A){return _+(A?" ":"")+E.toUpperCase()}),_E=IN("toUpperCase");function x2(_,E,A){return _=Yn(_),E=A?n:E,E===n?B7(_)?W7(_):A7(_):_.match(E)||[]}var O2=gn(function(_,E){try{return bo(_,n,E)}catch(A){return fE(A)?A:new tn(A)}}),_Z=Fs(function(_,E){return Wo(E,function(A){A=ns(A),$s(_,A,dE(_[A],_))}),_});function vZ(_){var E=_==null?0:_.length,A=Nt();return _=E?Tr(_,function(z){if(typeof z[1]!="function")throw new qo(l);return[A(z[0]),z[1]]}):[],gn(function(z){for(var X=-1;++XU)return[];var A=K,z=Ii(_,K);E=Nt(E),_-=K;for(var X=Oy(z,E);++A<_;)E(A);return X}function BZ(_){return an(_)?Tr(_,ns):Eo(_)?[_]:Ji(qN(Yn(_)))}function UZ(_){var E=++Q7;return Yn(_)+E}var HZ=f_(function(_,E){return _+E},0),VZ=Jy("ceil"),zZ=f_(function(_,E){return _/E},1),GZ=Jy("floor");function jZ(_){return _&&_.length?a_(_,no,Fy):n}function YZ(_,E){return _&&_.length?a_(_,Nt(E,2),Fy):n}function WZ(_){return PA(_,no)}function qZ(_,E){return PA(_,Nt(E,2))}function KZ(_){return _&&_.length?a_(_,no,Vy):n}function ZZ(_,E){return _&&_.length?a_(_,Nt(E,2),Vy):n}var QZ=f_(function(_,E){return _*E},1),XZ=Jy("round"),JZ=f_(function(_,E){return _-E},0);function eQ(_){return _&&_.length?xy(_,no):0}function tQ(_,E){return _&&_.length?xy(_,Nt(E,2)):0}return ie.after=Cq,ie.ary=o2,ie.assign=uK,ie.assignIn=b2,ie.assignInWith=x_,ie.assignWith=dK,ie.at=pK,ie.before=a2,ie.bind=dE,ie.bindAll=_Z,ie.bindKey=s2,ie.castArray=kq,ie.chain=n2,ie.chunk=GY,ie.compact=jY,ie.concat=YY,ie.cond=vZ,ie.conforms=bZ,ie.constant=vE,ie.countBy=eq,ie.create=fK,ie.curry=l2,ie.curryRight=c2,ie.debounce=u2,ie.defaults=mK,ie.defaultsDeep=gK,ie.defer=Tq,ie.delay=wq,ie.difference=WY,ie.differenceBy=qY,ie.differenceWith=KY,ie.drop=ZY,ie.dropRight=QY,ie.dropRightWhile=XY,ie.dropWhile=JY,ie.fill=eW,ie.filter=nq,ie.flatMap=oq,ie.flatMapDeep=aq,ie.flatMapDepth=sq,ie.flatten=XN,ie.flattenDeep=tW,ie.flattenDepth=nW,ie.flip=xq,ie.flow=yZ,ie.flowRight=EZ,ie.fromPairs=rW,ie.functions=EK,ie.functionsIn=CK,ie.groupBy=lq,ie.initial=oW,ie.intersection=aW,ie.intersectionBy=sW,ie.intersectionWith=lW,ie.invert=wK,ie.invertBy=xK,ie.invokeMap=uq,ie.iteratee=bE,ie.keyBy=dq,ie.keys=di,ie.keysIn=to,ie.map=S_,ie.mapKeys=IK,ie.mapValues=RK,ie.matches=CZ,ie.matchesProperty=TZ,ie.memoize=E_,ie.merge=AK,ie.mergeWith=S2,ie.method=wZ,ie.methodOf=xZ,ie.mixin=SE,ie.negate=C_,ie.nthArg=IZ,ie.omit=NK,ie.omitBy=DK,ie.once=Oq,ie.orderBy=pq,ie.over=RZ,ie.overArgs=Iq,ie.overEvery=AZ,ie.overSome=NZ,ie.partial=pE,ie.partialRight=d2,ie.partition=fq,ie.pick=MK,ie.pickBy=y2,ie.property=I2,ie.propertyOf=DZ,ie.pull=pW,ie.pullAll=e2,ie.pullAllBy=fW,ie.pullAllWith=mW,ie.pullAt=gW,ie.range=MZ,ie.rangeRight=PZ,ie.rearg=Rq,ie.reject=hq,ie.remove=hW,ie.rest=Aq,ie.reverse=cE,ie.sampleSize=vq,ie.set=kK,ie.setWith=$K,ie.shuffle=bq,ie.slice=_W,ie.sortBy=Eq,ie.sortedUniq=TW,ie.sortedUniqBy=wW,ie.split=oZ,ie.spread=Nq,ie.tail=xW,ie.take=OW,ie.takeRight=IW,ie.takeRightWhile=RW,ie.takeWhile=AW,ie.tap=jW,ie.throttle=Dq,ie.thru=b_,ie.toArray=h2,ie.toPairs=E2,ie.toPairsIn=C2,ie.toPath=BZ,ie.toPlainObject=v2,ie.transform=LK,ie.unary=Mq,ie.union=NW,ie.unionBy=DW,ie.unionWith=MW,ie.uniq=PW,ie.uniqBy=kW,ie.uniqWith=$W,ie.unset=FK,ie.unzip=uE,ie.unzipWith=t2,ie.update=BK,ie.updateWith=UK,ie.values=Od,ie.valuesIn=HK,ie.without=LW,ie.words=x2,ie.wrap=Pq,ie.xor=FW,ie.xorBy=BW,ie.xorWith=UW,ie.zip=HW,ie.zipObject=VW,ie.zipObjectDeep=zW,ie.zipWith=GW,ie.entries=E2,ie.entriesIn=C2,ie.extend=b2,ie.extendWith=x_,SE(ie,ie),ie.add=HZ,ie.attempt=O2,ie.camelCase=jK,ie.capitalize=T2,ie.ceil=VZ,ie.clamp=VK,ie.clone=$q,ie.cloneDeep=Fq,ie.cloneDeepWith=Bq,ie.cloneWith=Lq,ie.conformsTo=Uq,ie.deburr=w2,ie.defaultTo=SZ,ie.divide=zZ,ie.endsWith=YK,ie.eq=xa,ie.escape=WK,ie.escapeRegExp=qK,ie.every=tq,ie.find=rq,ie.findIndex=ZN,ie.findKey=hK,ie.findLast=iq,ie.findLastIndex=QN,ie.findLastKey=_K,ie.floor=GZ,ie.forEach=r2,ie.forEachRight=i2,ie.forIn=vK,ie.forInRight=bK,ie.forOwn=SK,ie.forOwnRight=yK,ie.get=gE,ie.gt=Hq,ie.gte=Vq,ie.has=TK,ie.hasIn=hE,ie.head=JN,ie.identity=no,ie.includes=cq,ie.indexOf=iW,ie.inRange=zK,ie.invoke=OK,ie.isArguments=tu,ie.isArray=an,ie.isArrayBuffer=zq,ie.isArrayLike=eo,ie.isArrayLikeObject=jr,ie.isBoolean=Gq,ie.isBuffer=Gl,ie.isDate=jq,ie.isElement=Yq,ie.isEmpty=Wq,ie.isEqual=qq,ie.isEqualWith=Kq,ie.isError=fE,ie.isFinite=Zq,ie.isFunction=Us,ie.isInteger=p2,ie.isLength=T_,ie.isMap=f2,ie.isMatch=Qq,ie.isMatchWith=Xq,ie.isNaN=Jq,ie.isNative=eK,ie.isNil=nK,ie.isNull=tK,ie.isNumber=m2,ie.isObject=Rr,ie.isObjectLike=kr,ie.isPlainObject=Qf,ie.isRegExp=mE,ie.isSafeInteger=rK,ie.isSet=g2,ie.isString=w_,ie.isSymbol=Eo,ie.isTypedArray=xd,ie.isUndefined=iK,ie.isWeakMap=oK,ie.isWeakSet=aK,ie.join=cW,ie.kebabCase=KK,ie.last=Xo,ie.lastIndexOf=uW,ie.lowerCase=ZK,ie.lowerFirst=QK,ie.lt=sK,ie.lte=lK,ie.max=jZ,ie.maxBy=YZ,ie.mean=WZ,ie.meanBy=qZ,ie.min=KZ,ie.minBy=ZZ,ie.stubArray=EE,ie.stubFalse=CE,ie.stubObject=kZ,ie.stubString=$Z,ie.stubTrue=LZ,ie.multiply=QZ,ie.nth=dW,ie.noConflict=OZ,ie.noop=yE,ie.now=y_,ie.pad=XK,ie.padEnd=JK,ie.padStart=eZ,ie.parseInt=tZ,ie.random=GK,ie.reduce=mq,ie.reduceRight=gq,ie.repeat=nZ,ie.replace=rZ,ie.result=PK,ie.round=XZ,ie.runInContext=$e,ie.sample=_q,ie.size=Sq,ie.snakeCase=iZ,ie.some=yq,ie.sortedIndex=vW,ie.sortedIndexBy=bW,ie.sortedIndexOf=SW,ie.sortedLastIndex=yW,ie.sortedLastIndexBy=EW,ie.sortedLastIndexOf=CW,ie.startCase=aZ,ie.startsWith=sZ,ie.subtract=JZ,ie.sum=eQ,ie.sumBy=tQ,ie.template=lZ,ie.times=FZ,ie.toFinite=Hs,ie.toInteger=un,ie.toLength=_2,ie.toLower=cZ,ie.toNumber=Jo,ie.toSafeInteger=cK,ie.toString=Yn,ie.toUpper=uZ,ie.trim=dZ,ie.trimEnd=pZ,ie.trimStart=fZ,ie.truncate=mZ,ie.unescape=gZ,ie.uniqueId=UZ,ie.upperCase=hZ,ie.upperFirst=_E,ie.each=r2,ie.eachRight=i2,ie.first=JN,SE(ie,function(){var _={};return es(ie,function(E,A){Qn.call(ie.prototype,A)||(_[A]=E)}),_}(),{chain:!1}),ie.VERSION=r,Wo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(_){ie[_].placeholder=ie}),Wo(["drop","take"],function(_,E){Tn.prototype[_]=function(A){A=A===n?1:ii(un(A),0);var z=this.__filtered__&&!E?new Tn(this):this.clone();return z.__filtered__?z.__takeCount__=Ii(A,z.__takeCount__):z.__views__.push({size:Ii(A,K),type:_+(z.__dir__<0?"Right":"")}),z},Tn.prototype[_+"Right"]=function(A){return this.reverse()[_](A).reverse()}}),Wo(["filter","map","takeWhile"],function(_,E){var A=E+1,z=A==$||A==L;Tn.prototype[_]=function(X){var ue=this.clone();return ue.__iteratees__.push({iteratee:Nt(X,3),type:A}),ue.__filtered__=ue.__filtered__||z,ue}}),Wo(["head","last"],function(_,E){var A="take"+(E?"Right":"");Tn.prototype[_]=function(){return this[A](1).value()[0]}}),Wo(["initial","tail"],function(_,E){var A="drop"+(E?"":"Right");Tn.prototype[_]=function(){return this.__filtered__?new Tn(this):this[A](1)}}),Tn.prototype.compact=function(){return this.filter(no)},Tn.prototype.find=function(_){return this.filter(_).head()},Tn.prototype.findLast=function(_){return this.reverse().find(_)},Tn.prototype.invokeMap=gn(function(_,E){return typeof _=="function"?new Tn(this):this.map(function(A){return jf(A,_,E)})}),Tn.prototype.reject=function(_){return this.filter(C_(Nt(_)))},Tn.prototype.slice=function(_,E){_=un(_);var A=this;return A.__filtered__&&(_>0||E<0)?new Tn(A):(_<0?A=A.takeRight(-_):_&&(A=A.drop(_)),E!==n&&(E=un(E),A=E<0?A.dropRight(-E):A.take(E-_)),A)},Tn.prototype.takeRightWhile=function(_){return this.reverse().takeWhile(_).reverse()},Tn.prototype.toArray=function(){return this.take(K)},es(Tn.prototype,function(_,E){var A=/^(?:filter|find|map|reject)|While$/.test(E),z=/^(?:head|last)$/.test(E),X=ie[z?"take"+(E=="last"?"Right":""):E],ue=z||/^find/.test(E);!X||(ie.prototype[E]=function(){var Re=this.__wrapped__,Pe=z?[1]:arguments,Be=Re instanceof Tn,Qe=Pe[0],Xe=Be||an(Re),et=function(En){var Rn=X.apply(ie,Ll([En],Pe));return z&&dt?Rn[0]:Rn};Xe&&A&&typeof Qe=="function"&&Qe.length!=1&&(Be=Xe=!1);var dt=this.__chain__,Et=!!this.__actions__.length,Pt=ue&&!dt,pn=Be&&!Et;if(!ue&&Xe){Re=pn?Re:new Tn(this);var kt=_.apply(Re,Pe);return kt.__actions__.push({func:b_,args:[et],thisArg:n}),new Ko(kt,dt)}return Pt&&pn?_.apply(this,Pe):(kt=this.thru(et),Pt?z?kt.value()[0]:kt.value():kt)})}),Wo(["pop","push","shift","sort","splice","unshift"],function(_){var E=jh[_],A=/^(?:push|sort|unshift)$/.test(_)?"tap":"thru",z=/^(?:pop|shift)$/.test(_);ie.prototype[_]=function(){var X=arguments;if(z&&!this.__chain__){var ue=this.value();return E.apply(an(ue)?ue:[],X)}return this[A](function(Re){return E.apply(an(Re)?Re:[],X)})}}),es(Tn.prototype,function(_,E){var A=ie[E];if(A){var z=A.name+"";Qn.call(yd,z)||(yd[z]=[]),yd[z].push({name:E,func:A})}}),yd[p_(n,v).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=gj,Tn.prototype.reverse=hj,Tn.prototype.value=_j,ie.prototype.at=YW,ie.prototype.chain=WW,ie.prototype.commit=qW,ie.prototype.next=KW,ie.prototype.plant=QW,ie.prototype.reverse=XW,ie.prototype.toJSON=ie.prototype.valueOf=ie.prototype.value=JW,ie.prototype.first=ie.prototype.head,Ff&&(ie.prototype[Ff]=ZW),ie},vd=q7();Wc?((Wc.exports=vd)._=vd,by._=vd):hi._=vd}).call(so)})(Fo,Fo.exports);const BXe=Fo.exports,uje={class:"search"},dje=["active","onClick"],pje={key:0,class:"image-container"},fje=["src"],mje={class:"text-container"},gje={key:0,class:"extra"},hje={key:0,class:"left"},_je={key:1,class:"right"},vje={key:1,class:"card-title"},bje={key:2,class:"card-subtitle"},Sje={key:3,class:"card-description"},yje=we({__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 Fo.exports.isEqual(Fo.exports.omit(f,["image"]),Fo.exports.omit(g,["image"]))}const i=k(()=>{var f;return(f=n.userProps.options)!=null?f:[]}),o=k(()=>{var f;return(f=n.userProps.searchable)!=null?f:!1}),l=Ie(""),s=Ie(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 a(f){return s.value.some(g=>r(g,f))}function c(f){a(f)?s.value=s.value.filter(m=>!r(m,f)):s.value=[...s.value,f]}function d(f){a(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 Ve(()=>n.value,()=>{s.value=n.value}),(f,g)=>{var m;return oe(),de("div",{class:"cards-input",style:Mi({"--grid-columns":(m=f.userProps.columns)!=null?m:2})},[x(Hn,{label:f.userProps.label,required:!!f.userProps.required,hint:f.userProps.hint},null,8,["label","required","hint"]),Ce("div",uje,[o.value?Sr((oe(),de("input",{key:0,"onUpdate:modelValue":g[0]||(g[0]=h=>l.value=h),type:"text",class:"input",placeholder:"Search..."},null,512)),[[ju,l.value]]):ft("",!0)]),Ce("div",{class:Gt(["cards",f.userProps.layout||"list"])},[(oe(!0),de(tt,null,Pi(u(i.value),h=>(oe(),de("div",{key:h.title,class:Gt(["card","clickable",f.userProps.layout||"list",{disabled:f.userProps.disabled}]),active:a(h),onClick:v=>p(h)},[h.image?(oe(),de("div",pje,[Ce("img",{class:"card-image",src:h.image},null,8,fje)])):ft("",!0),Ce("main",mje,[h.topLeftExtra||h.topRightExtra?(oe(),de("div",gje,[h.topLeftExtra?(oe(),de("p",hje,Xt(h.topLeftExtra),1)):ft("",!0),h.topRightExtra?(oe(),de("p",_je,Xt(h.topRightExtra),1)):ft("",!0)])):ft("",!0),h.title?(oe(),de("h1",vje,Xt(h.title),1)):ft("",!0),h.subtitle?(oe(),de("h2",bje,Xt(h.subtitle),1)):ft("",!0),h.description?(oe(),de("p",Sje,Xt(h.description),1)):ft("",!0)])],10,dje))),128))],2)],4)}}});const Eje=Fn(yje,[["__scopeId","data-v-c4887666"]]),Cje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=()=>{r.value=!r.value,t("update:value",r.value)};return Ve(()=>n.value,()=>r.value=n.value),(o,l)=>{const s=_p("Markdown");return oe(),An(We(bs),{disabled:o.userProps.disabled,checked:r.value,onClick:i},{default:fn(()=>[x(s,{class:"markdown-output",source:o.userProps.label,html:""},null,8,["source"])]),_:1},8,["disabled","checked"])}}});const Tje=Fn(Cje,[["__scopeId","data-v-9503d85c"]]),wje={class:"checklist-input"},xje=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=o=>{t("update:errors",[]),t("update:value",o)};return Ve(()=>n.value,()=>r.value=n.value),(o,l)=>(oe(),de("div",wje,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),x(We(Yg),{value:r.value,"onUpdate:value":l[0]||(l[0]=s=>r.value=s),disabled:o.userProps.disabled,options:o.userProps.options,onChange:l[1]||(l[1]=s=>i(s))},null,8,["value","disabled","options"])]))}});const Oje=Fn(xje,[["__scopeId","data-v-0f1257be"]]),Ije={0:/\d/,a:/[a-zA-Z]/,"*":/./};function Po(e,t){var l;if(e.length===0||t.length===0)return"";const n=Rje(e,t),r=n[0],i=Ije[r];if(!i)return r+Po(n.slice(1),t.startsWith(r)?t.slice(1):t);const o=t.match(i);return o?o[0]+Po(n.slice(1),t.slice(((l=o.index)!=null?l:0)+1)):""}function cf(e,t){return e.includes("|")?YG(e).some(r=>r.length==t.length):t.length===e.length}function Rje(e,t){if(!e.includes("|"))return e;const n=YG(e);for(const r of n)if(t.replace(/\D/g,"").length<=r.replace(/\D/g,"").length)return r;return n[0]}function YG(e){return e.split("|").sort((n,r)=>n.length-r.length)}const Aje=["disabled","placeholder"],pm="00.000.000/0000-00",Nje=we({__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=S=>{const y=f.slice(0,S);let C=S-7,w=0;for(let O=S;O>=1;O--){const R=y[S-O];w+=R*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=Ie(),o=()=>{var a;const u=[];n.value!==""&&(!cf(pm,n.value)||!r(n.value))&&u.push((a=n.userProps.invalidMessage)!=null?a:""),t("update:errors",u)},l=u=>{const a=Po(pm,u);i.value.value=a,t("update:value",a)},s=u=>{const a=u.target;cf(pm,a.value)&&r(a.value)&&u.preventDefault()};return _t(()=>{!i.value||(i.value.value=Po(pm,n.value))}),Ve(()=>n.value,()=>{!i.value||(i.value.value=Po(pm,n.value))}),(u,a)=>(oe(),de(tt,null,[x(Hn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:i,class:Gt(["input",u.errors.length&&"error",u.userProps.disabled&&"disabled"]),disabled:u.userProps.disabled,placeholder:u.userProps.placeholder,onInput:a[0]||(a[0]=c=>l(c.target.value)),onKeypress:a[1]||(a[1]=c=>s(c)),onChange:o,onBlur:o},null,42,Aje)],64))}}),Dje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(),i=async(o,l,s)=>{const a=(await gy(()=>import("./editor.main.f8ec4351.js"),["assets/editor.main.f8ec4351.js","assets/toggleHighContrast.5f5c4f15.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(o,{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}});a.onDidChangeModelContent(()=>{t("update:value",String(a.getValue()))})};return _t(()=>{var o;i(r.value,(o=n.value)!=null?o:"",n.userProps.language)}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ce("div",{ref_key:"editor",ref:r,class:"input code-editor",style:{height:"500px"}},null,512)],64))}});const Mje=Fn(Dje,[["__scopeId","data-v-d10ec25a"]]),Pje={class:"cpf-input"},kje=["disabled","placeholder"],Bd="000.000.000-00",$je=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=a=>{const c=a.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=a=>a?cf(Bd,a)&&r(a):!0,o=a=>{const c=Po(Bd,a);!u.value||(u.value.value=c,t("update:value",a))},l=a=>{const c=a.target;cf(Bd,c.value)&&r(c.value)&&a.preventDefault()},s=()=>{var c;const a=[];i(Po(Bd,n.value))||a.push((c=n.userProps.invalidMessage)!=null?c:""),t("update:errors",a)},u=Ie();return _t(()=>{!u.value||(u.value.value=Po(Bd,n.value))}),Ve(()=>n.value,()=>{!u.value||(u.value.value=Po(Bd,n.value))}),(a,c)=>(oe(),de("div",Pje,[x(Hn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:u,class:Gt(["input",n.errors.length&&"error",a.userProps.disabled&&"disabled"]),disabled:a.userProps.disabled,placeholder:a.userProps.placeholder,onInput:c[0]||(c[0]=d=>o(d.target.value)),onKeypress:c[1]||(c[1]=d=>l(d)),onChange:s,onBlur:s},null,42,kje)]))}}),Lje={class:"currency-input"},Fje={class:"input-wrapper"},Bje=["disabled","placeholder"],Uje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(),i=Ie(!1),o=d=>d.replace(/[^0-9]/g,""),l=d=>{const p=d.target.value,f=o(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 a=k(()=>Intl.NumberFormat("en-US",{maximumFractionDigits:0,currency:n.userProps.currency,style:"currency",currencyDisplay:"symbol"}).format(0).replace("0","")),c=k(()=>a.value.length*30+"px");return _t(()=>{r.value.value=s(n.value)}),Ve(()=>n.value,()=>{r.value.value=s(n.value)}),(d,p)=>(oe(),de("div",Lje,[x(Hn,{label:d.userProps.label,required:!!d.userProps.required,hint:d.userProps.hint},null,8,["label","required","hint"]),Ce("div",Fje,[Ce("div",{class:Gt(["symbol",{focused:i.value}])},Xt(a.value),3),Ce("input",{ref_key:"input",ref:r,style:Mi({paddingLeft:c.value}),class:Gt(["input",d.errors.length&&"error",d.userProps.disabled&&"disabled"]),disabled:d.userProps.disabled,placeholder:d.userProps.placeholder,onInput:l},null,46,Bje)])]))}});const Hje=Fn(Uje,[["__scopeId","data-v-a20018d1"]]),Vje={class:"custom-input",style:{height:"100%",width:"100%"}},zje=["id","src"],Gje=we({__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=Ie(),o=Math.random().toString(36).slice(2),l=Ie(""),s=c=>typeof c=="object"&&c!==null&&"type"in c&&"id"in c&&c.id===o,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),a()}),Jt(()=>{window.removeEventListener("message",u)}),Ve(()=>n.value,(c,d)=>{Fo.exports.isEqual(c,d)||a()}),Ve(()=>n.userProps.value,(c,d)=>{Fo.exports.isEqual(c,d)||a()}),Ve(()=>`${n.userProps.htmlHead}${n.userProps.htmlBody}${n.userProps.css}${n.userProps.js}`,()=>a());const a=()=>{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 pn=O2(function(){return Gn(ue,Et+"return "+et).apply(n,Re)});if(pn.source=et,fE(pn))throw pn;return pn}function cZ(_){return Yn(_).toLowerCase()}function uZ(_){return Yn(_).toUpperCase()}function dZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return $A(_);if(!_||!(E=yo(E)))return _;var z=Ta(_),X=Ta(E),ue=LA(z,X),Re=FA(z,X)+1;return zl(z,ue,Re).join("")}function pZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return _.slice(0,UA(_)+1);if(!_||!(E=yo(E)))return _;var z=Ta(_),X=FA(z,Ta(E))+1;return zl(z,0,X).join("")}function fZ(_,E,A){if(_=Yn(_),_&&(A||E===n))return _.replace(ce,"");if(!_||!(E=yo(E)))return _;var z=Ta(_),X=LA(z,Ta(E));return zl(z,X).join("")}function mZ(_,E){var A=N,z=D;if(Rr(E)){var X="separator"in E?E.separator:X;A="length"in E?un(E.length):A,z="omission"in E?yo(E.omission):z}_=Yn(_);var ue=_.length;if(hd(_)){var Re=Ta(_);ue=Re.length}if(A>=ue)return _;var Pe=A-_d(z);if(Pe<1)return z;var Be=Re?zl(Re,0,Pe).join(""):_.slice(0,Pe);if(X===n)return Be+z;if(Re&&(Pe+=Be.length-Pe),mE(X)){if(_.slice(Pe).search(X)){var Qe,Xe=Be;for(X.global||(X=Ay(X.source,Yn(vn.exec(X))+"g")),X.lastIndex=0;Qe=X.exec(Xe);)var et=Qe.index;Be=Be.slice(0,et===n?Pe:et)}}else if(_.indexOf(yo(X),Pe)!=Pe){var dt=Be.lastIndexOf(X);dt>-1&&(Be=Be.slice(0,dt))}return Be+z}function gZ(_){return _=Yn(_),_&&Vn.test(_)?_.replace(pt,G7):_}var hZ=Td(function(_,E,A){return _+(A?" ":"")+E.toUpperCase()}),_E=IN("toUpperCase");function x2(_,E,A){return _=Yn(_),E=A?n:E,E===n?B7(_)?W7(_):A7(_):_.match(E)||[]}var O2=gn(function(_,E){try{return bo(_,n,E)}catch(A){return fE(A)?A:new tn(A)}}),_Z=Fs(function(_,E){return Wo(E,function(A){A=ns(A),$s(_,A,dE(_[A],_))}),_});function vZ(_){var E=_==null?0:_.length,A=Nt();return _=E?Tr(_,function(z){if(typeof z[1]!="function")throw new qo(l);return[A(z[0]),z[1]]}):[],gn(function(z){for(var X=-1;++XU)return[];var A=K,z=Ii(_,K);E=Nt(E),_-=K;for(var X=Oy(z,E);++A<_;)E(A);return X}function BZ(_){return an(_)?Tr(_,ns):Eo(_)?[_]:Ji(qN(Yn(_)))}function UZ(_){var E=++Q7;return Yn(_)+E}var HZ=f_(function(_,E){return _+E},0),VZ=Jy("ceil"),zZ=f_(function(_,E){return _/E},1),GZ=Jy("floor");function jZ(_){return _&&_.length?a_(_,no,Fy):n}function YZ(_,E){return _&&_.length?a_(_,Nt(E,2),Fy):n}function WZ(_){return PA(_,no)}function qZ(_,E){return PA(_,Nt(E,2))}function KZ(_){return _&&_.length?a_(_,no,Vy):n}function ZZ(_,E){return _&&_.length?a_(_,Nt(E,2),Vy):n}var QZ=f_(function(_,E){return _*E},1),XZ=Jy("round"),JZ=f_(function(_,E){return _-E},0);function eQ(_){return _&&_.length?xy(_,no):0}function tQ(_,E){return _&&_.length?xy(_,Nt(E,2)):0}return ie.after=Cq,ie.ary=o2,ie.assign=uK,ie.assignIn=b2,ie.assignInWith=x_,ie.assignWith=dK,ie.at=pK,ie.before=a2,ie.bind=dE,ie.bindAll=_Z,ie.bindKey=s2,ie.castArray=kq,ie.chain=n2,ie.chunk=GY,ie.compact=jY,ie.concat=YY,ie.cond=vZ,ie.conforms=bZ,ie.constant=vE,ie.countBy=eq,ie.create=fK,ie.curry=l2,ie.curryRight=c2,ie.debounce=u2,ie.defaults=mK,ie.defaultsDeep=gK,ie.defer=Tq,ie.delay=wq,ie.difference=WY,ie.differenceBy=qY,ie.differenceWith=KY,ie.drop=ZY,ie.dropRight=QY,ie.dropRightWhile=XY,ie.dropWhile=JY,ie.fill=eW,ie.filter=nq,ie.flatMap=oq,ie.flatMapDeep=aq,ie.flatMapDepth=sq,ie.flatten=XN,ie.flattenDeep=tW,ie.flattenDepth=nW,ie.flip=xq,ie.flow=yZ,ie.flowRight=EZ,ie.fromPairs=rW,ie.functions=EK,ie.functionsIn=CK,ie.groupBy=lq,ie.initial=oW,ie.intersection=aW,ie.intersectionBy=sW,ie.intersectionWith=lW,ie.invert=wK,ie.invertBy=xK,ie.invokeMap=uq,ie.iteratee=bE,ie.keyBy=dq,ie.keys=di,ie.keysIn=to,ie.map=S_,ie.mapKeys=IK,ie.mapValues=RK,ie.matches=CZ,ie.matchesProperty=TZ,ie.memoize=E_,ie.merge=AK,ie.mergeWith=S2,ie.method=wZ,ie.methodOf=xZ,ie.mixin=SE,ie.negate=C_,ie.nthArg=IZ,ie.omit=NK,ie.omitBy=DK,ie.once=Oq,ie.orderBy=pq,ie.over=RZ,ie.overArgs=Iq,ie.overEvery=AZ,ie.overSome=NZ,ie.partial=pE,ie.partialRight=d2,ie.partition=fq,ie.pick=MK,ie.pickBy=y2,ie.property=I2,ie.propertyOf=DZ,ie.pull=pW,ie.pullAll=e2,ie.pullAllBy=fW,ie.pullAllWith=mW,ie.pullAt=gW,ie.range=MZ,ie.rangeRight=PZ,ie.rearg=Rq,ie.reject=hq,ie.remove=hW,ie.rest=Aq,ie.reverse=cE,ie.sampleSize=vq,ie.set=kK,ie.setWith=$K,ie.shuffle=bq,ie.slice=_W,ie.sortBy=Eq,ie.sortedUniq=TW,ie.sortedUniqBy=wW,ie.split=oZ,ie.spread=Nq,ie.tail=xW,ie.take=OW,ie.takeRight=IW,ie.takeRightWhile=RW,ie.takeWhile=AW,ie.tap=jW,ie.throttle=Dq,ie.thru=b_,ie.toArray=h2,ie.toPairs=E2,ie.toPairsIn=C2,ie.toPath=BZ,ie.toPlainObject=v2,ie.transform=LK,ie.unary=Mq,ie.union=NW,ie.unionBy=DW,ie.unionWith=MW,ie.uniq=PW,ie.uniqBy=kW,ie.uniqWith=$W,ie.unset=FK,ie.unzip=uE,ie.unzipWith=t2,ie.update=BK,ie.updateWith=UK,ie.values=Od,ie.valuesIn=HK,ie.without=LW,ie.words=x2,ie.wrap=Pq,ie.xor=FW,ie.xorBy=BW,ie.xorWith=UW,ie.zip=HW,ie.zipObject=VW,ie.zipObjectDeep=zW,ie.zipWith=GW,ie.entries=E2,ie.entriesIn=C2,ie.extend=b2,ie.extendWith=x_,SE(ie,ie),ie.add=HZ,ie.attempt=O2,ie.camelCase=jK,ie.capitalize=T2,ie.ceil=VZ,ie.clamp=VK,ie.clone=$q,ie.cloneDeep=Fq,ie.cloneDeepWith=Bq,ie.cloneWith=Lq,ie.conformsTo=Uq,ie.deburr=w2,ie.defaultTo=SZ,ie.divide=zZ,ie.endsWith=YK,ie.eq=xa,ie.escape=WK,ie.escapeRegExp=qK,ie.every=tq,ie.find=rq,ie.findIndex=ZN,ie.findKey=hK,ie.findLast=iq,ie.findLastIndex=QN,ie.findLastKey=_K,ie.floor=GZ,ie.forEach=r2,ie.forEachRight=i2,ie.forIn=vK,ie.forInRight=bK,ie.forOwn=SK,ie.forOwnRight=yK,ie.get=gE,ie.gt=Hq,ie.gte=Vq,ie.has=TK,ie.hasIn=hE,ie.head=JN,ie.identity=no,ie.includes=cq,ie.indexOf=iW,ie.inRange=zK,ie.invoke=OK,ie.isArguments=tu,ie.isArray=an,ie.isArrayBuffer=zq,ie.isArrayLike=eo,ie.isArrayLikeObject=jr,ie.isBoolean=Gq,ie.isBuffer=Gl,ie.isDate=jq,ie.isElement=Yq,ie.isEmpty=Wq,ie.isEqual=qq,ie.isEqualWith=Kq,ie.isError=fE,ie.isFinite=Zq,ie.isFunction=Us,ie.isInteger=p2,ie.isLength=T_,ie.isMap=f2,ie.isMatch=Qq,ie.isMatchWith=Xq,ie.isNaN=Jq,ie.isNative=eK,ie.isNil=nK,ie.isNull=tK,ie.isNumber=m2,ie.isObject=Rr,ie.isObjectLike=kr,ie.isPlainObject=Qf,ie.isRegExp=mE,ie.isSafeInteger=rK,ie.isSet=g2,ie.isString=w_,ie.isSymbol=Eo,ie.isTypedArray=xd,ie.isUndefined=iK,ie.isWeakMap=oK,ie.isWeakSet=aK,ie.join=cW,ie.kebabCase=KK,ie.last=Xo,ie.lastIndexOf=uW,ie.lowerCase=ZK,ie.lowerFirst=QK,ie.lt=sK,ie.lte=lK,ie.max=jZ,ie.maxBy=YZ,ie.mean=WZ,ie.meanBy=qZ,ie.min=KZ,ie.minBy=ZZ,ie.stubArray=EE,ie.stubFalse=CE,ie.stubObject=kZ,ie.stubString=$Z,ie.stubTrue=LZ,ie.multiply=QZ,ie.nth=dW,ie.noConflict=OZ,ie.noop=yE,ie.now=y_,ie.pad=XK,ie.padEnd=JK,ie.padStart=eZ,ie.parseInt=tZ,ie.random=GK,ie.reduce=mq,ie.reduceRight=gq,ie.repeat=nZ,ie.replace=rZ,ie.result=PK,ie.round=XZ,ie.runInContext=$e,ie.sample=_q,ie.size=Sq,ie.snakeCase=iZ,ie.some=yq,ie.sortedIndex=vW,ie.sortedIndexBy=bW,ie.sortedIndexOf=SW,ie.sortedLastIndex=yW,ie.sortedLastIndexBy=EW,ie.sortedLastIndexOf=CW,ie.startCase=aZ,ie.startsWith=sZ,ie.subtract=JZ,ie.sum=eQ,ie.sumBy=tQ,ie.template=lZ,ie.times=FZ,ie.toFinite=Hs,ie.toInteger=un,ie.toLength=_2,ie.toLower=cZ,ie.toNumber=Jo,ie.toSafeInteger=cK,ie.toString=Yn,ie.toUpper=uZ,ie.trim=dZ,ie.trimEnd=pZ,ie.trimStart=fZ,ie.truncate=mZ,ie.unescape=gZ,ie.uniqueId=UZ,ie.upperCase=hZ,ie.upperFirst=_E,ie.each=r2,ie.eachRight=i2,ie.first=JN,SE(ie,function(){var _={};return es(ie,function(E,A){Qn.call(ie.prototype,A)||(_[A]=E)}),_}(),{chain:!1}),ie.VERSION=r,Wo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(_){ie[_].placeholder=ie}),Wo(["drop","take"],function(_,E){Tn.prototype[_]=function(A){A=A===n?1:ii(un(A),0);var z=this.__filtered__&&!E?new Tn(this):this.clone();return z.__filtered__?z.__takeCount__=Ii(A,z.__takeCount__):z.__views__.push({size:Ii(A,K),type:_+(z.__dir__<0?"Right":"")}),z},Tn.prototype[_+"Right"]=function(A){return this.reverse()[_](A).reverse()}}),Wo(["filter","map","takeWhile"],function(_,E){var A=E+1,z=A==$||A==L;Tn.prototype[_]=function(X){var ue=this.clone();return ue.__iteratees__.push({iteratee:Nt(X,3),type:A}),ue.__filtered__=ue.__filtered__||z,ue}}),Wo(["head","last"],function(_,E){var A="take"+(E?"Right":"");Tn.prototype[_]=function(){return this[A](1).value()[0]}}),Wo(["initial","tail"],function(_,E){var A="drop"+(E?"":"Right");Tn.prototype[_]=function(){return this.__filtered__?new Tn(this):this[A](1)}}),Tn.prototype.compact=function(){return this.filter(no)},Tn.prototype.find=function(_){return this.filter(_).head()},Tn.prototype.findLast=function(_){return this.reverse().find(_)},Tn.prototype.invokeMap=gn(function(_,E){return typeof _=="function"?new Tn(this):this.map(function(A){return jf(A,_,E)})}),Tn.prototype.reject=function(_){return this.filter(C_(Nt(_)))},Tn.prototype.slice=function(_,E){_=un(_);var A=this;return A.__filtered__&&(_>0||E<0)?new Tn(A):(_<0?A=A.takeRight(-_):_&&(A=A.drop(_)),E!==n&&(E=un(E),A=E<0?A.dropRight(-E):A.take(E-_)),A)},Tn.prototype.takeRightWhile=function(_){return this.reverse().takeWhile(_).reverse()},Tn.prototype.toArray=function(){return this.take(K)},es(Tn.prototype,function(_,E){var A=/^(?:filter|find|map|reject)|While$/.test(E),z=/^(?:head|last)$/.test(E),X=ie[z?"take"+(E=="last"?"Right":""):E],ue=z||/^find/.test(E);!X||(ie.prototype[E]=function(){var Re=this.__wrapped__,Pe=z?[1]:arguments,Be=Re instanceof Tn,Qe=Pe[0],Xe=Be||an(Re),et=function(En){var Rn=X.apply(ie,Ll([En],Pe));return z&&dt?Rn[0]:Rn};Xe&&A&&typeof Qe=="function"&&Qe.length!=1&&(Be=Xe=!1);var dt=this.__chain__,Et=!!this.__actions__.length,Pt=ue&&!dt,pn=Be&&!Et;if(!ue&&Xe){Re=pn?Re:new Tn(this);var kt=_.apply(Re,Pe);return kt.__actions__.push({func:b_,args:[et],thisArg:n}),new Ko(kt,dt)}return Pt&&pn?_.apply(this,Pe):(kt=this.thru(et),Pt?z?kt.value()[0]:kt.value():kt)})}),Wo(["pop","push","shift","sort","splice","unshift"],function(_){var E=jh[_],A=/^(?:push|sort|unshift)$/.test(_)?"tap":"thru",z=/^(?:pop|shift)$/.test(_);ie.prototype[_]=function(){var X=arguments;if(z&&!this.__chain__){var ue=this.value();return E.apply(an(ue)?ue:[],X)}return this[A](function(Re){return E.apply(an(Re)?Re:[],X)})}}),es(Tn.prototype,function(_,E){var A=ie[E];if(A){var z=A.name+"";Qn.call(yd,z)||(yd[z]=[]),yd[z].push({name:E,func:A})}}),yd[p_(n,v).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=gj,Tn.prototype.reverse=hj,Tn.prototype.value=_j,ie.prototype.at=YW,ie.prototype.chain=WW,ie.prototype.commit=qW,ie.prototype.next=KW,ie.prototype.plant=QW,ie.prototype.reverse=XW,ie.prototype.toJSON=ie.prototype.valueOf=ie.prototype.value=JW,ie.prototype.first=ie.prototype.head,Ff&&(ie.prototype[Ff]=ZW),ie},vd=q7();Wc?((Wc.exports=vd)._=vd,by._=vd):hi._=vd}).call(so)})(Fo,Fo.exports);const BXe=Fo.exports,uje={class:"search"},dje=["active","onClick"],pje={key:0,class:"image-container"},fje=["src"],mje={class:"text-container"},gje={key:0,class:"extra"},hje={key:0,class:"left"},_je={key:1,class:"right"},vje={key:1,class:"card-title"},bje={key:2,class:"card-subtitle"},Sje={key:3,class:"card-description"},yje=we({__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 Fo.exports.isEqual(Fo.exports.omit(f,["image"]),Fo.exports.omit(g,["image"]))}const i=k(()=>{var f;return(f=n.userProps.options)!=null?f:[]}),o=k(()=>{var f;return(f=n.userProps.searchable)!=null?f:!1}),l=Ie(""),s=Ie(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 a(f){return s.value.some(g=>r(g,f))}function c(f){a(f)?s.value=s.value.filter(m=>!r(m,f)):s.value=[...s.value,f]}function d(f){a(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 Ve(()=>n.value,()=>{s.value=n.value}),(f,g)=>{var m;return oe(),de("div",{class:"cards-input",style:Mi({"--grid-columns":(m=f.userProps.columns)!=null?m:2})},[x(Hn,{label:f.userProps.label,required:!!f.userProps.required,hint:f.userProps.hint},null,8,["label","required","hint"]),Ce("div",uje,[o.value?Sr((oe(),de("input",{key:0,"onUpdate:modelValue":g[0]||(g[0]=h=>l.value=h),type:"text",class:"input",placeholder:"Search..."},null,512)),[[ju,l.value]]):ft("",!0)]),Ce("div",{class:Gt(["cards",f.userProps.layout||"list"])},[(oe(!0),de(tt,null,Pi(u(i.value),h=>(oe(),de("div",{key:h.title,class:Gt(["card","clickable",f.userProps.layout||"list",{disabled:f.userProps.disabled}]),active:a(h),onClick:v=>p(h)},[h.image?(oe(),de("div",pje,[Ce("img",{class:"card-image",src:h.image},null,8,fje)])):ft("",!0),Ce("main",mje,[h.topLeftExtra||h.topRightExtra?(oe(),de("div",gje,[h.topLeftExtra?(oe(),de("p",hje,Xt(h.topLeftExtra),1)):ft("",!0),h.topRightExtra?(oe(),de("p",_je,Xt(h.topRightExtra),1)):ft("",!0)])):ft("",!0),h.title?(oe(),de("h1",vje,Xt(h.title),1)):ft("",!0),h.subtitle?(oe(),de("h2",bje,Xt(h.subtitle),1)):ft("",!0),h.description?(oe(),de("p",Sje,Xt(h.description),1)):ft("",!0)])],10,dje))),128))],2)],4)}}});const Eje=Fn(yje,[["__scopeId","data-v-c4887666"]]),Cje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=()=>{r.value=!r.value,t("update:value",r.value)};return Ve(()=>n.value,()=>r.value=n.value),(o,l)=>{const s=_p("Markdown");return oe(),An(We(bs),{disabled:o.userProps.disabled,checked:r.value,onClick:i},{default:fn(()=>[x(s,{class:"markdown-output",source:o.userProps.label,html:""},null,8,["source"])]),_:1},8,["disabled","checked"])}}});const Tje=Fn(Cje,[["__scopeId","data-v-9503d85c"]]),wje={class:"checklist-input"},xje=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=o=>{t("update:errors",[]),t("update:value",o)};return Ve(()=>n.value,()=>r.value=n.value),(o,l)=>(oe(),de("div",wje,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),x(We(Yg),{value:r.value,"onUpdate:value":l[0]||(l[0]=s=>r.value=s),disabled:o.userProps.disabled,options:o.userProps.options,onChange:l[1]||(l[1]=s=>i(s))},null,8,["value","disabled","options"])]))}});const Oje=Fn(xje,[["__scopeId","data-v-0f1257be"]]),Ije={0:/\d/,a:/[a-zA-Z]/,"*":/./};function Po(e,t){var l;if(e.length===0||t.length===0)return"";const n=Rje(e,t),r=n[0],i=Ije[r];if(!i)return r+Po(n.slice(1),t.startsWith(r)?t.slice(1):t);const o=t.match(i);return o?o[0]+Po(n.slice(1),t.slice(((l=o.index)!=null?l:0)+1)):""}function cf(e,t){return e.includes("|")?YG(e).some(r=>r.length==t.length):t.length===e.length}function Rje(e,t){if(!e.includes("|"))return e;const n=YG(e);for(const r of n)if(t.replace(/\D/g,"").length<=r.replace(/\D/g,"").length)return r;return n[0]}function YG(e){return e.split("|").sort((n,r)=>n.length-r.length)}const Aje=["disabled","placeholder"],pm="00.000.000/0000-00",Nje=we({__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=S=>{const y=f.slice(0,S);let C=S-7,w=0;for(let O=S;O>=1;O--){const R=y[S-O];w+=R*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=Ie(),o=()=>{var a;const u=[];n.value!==""&&(!cf(pm,n.value)||!r(n.value))&&u.push((a=n.userProps.invalidMessage)!=null?a:""),t("update:errors",u)},l=u=>{const a=Po(pm,u);i.value.value=a,t("update:value",a)},s=u=>{const a=u.target;cf(pm,a.value)&&r(a.value)&&u.preventDefault()};return _t(()=>{!i.value||(i.value.value=Po(pm,n.value))}),Ve(()=>n.value,()=>{!i.value||(i.value.value=Po(pm,n.value))}),(u,a)=>(oe(),de(tt,null,[x(Hn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:i,class:Gt(["input",u.errors.length&&"error",u.userProps.disabled&&"disabled"]),disabled:u.userProps.disabled,placeholder:u.userProps.placeholder,onInput:a[0]||(a[0]=c=>l(c.target.value)),onKeypress:a[1]||(a[1]=c=>s(c)),onChange:o,onBlur:o},null,42,Aje)],64))}}),Dje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(),i=async(o,l,s)=>{const a=(await gy(()=>import("./editor.main.562bb0ec.js"),["assets/editor.main.562bb0ec.js","assets/toggleHighContrast.6c3d17d3.js","assets/toggleHighContrast.30d77c87.css"])).editor.create(o,{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}});a.onDidChangeModelContent(()=>{t("update:value",String(a.getValue()))})};return _t(()=>{var o;i(r.value,(o=n.value)!=null?o:"",n.userProps.language)}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ce("div",{ref_key:"editor",ref:r,class:"input code-editor",style:{height:"500px"}},null,512)],64))}});const Mje=Fn(Dje,[["__scopeId","data-v-d10ec25a"]]),Pje={class:"cpf-input"},kje=["disabled","placeholder"],Bd="000.000.000-00",$je=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=a=>{const c=a.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=a=>a?cf(Bd,a)&&r(a):!0,o=a=>{const c=Po(Bd,a);!u.value||(u.value.value=c,t("update:value",a))},l=a=>{const c=a.target;cf(Bd,c.value)&&r(c.value)&&a.preventDefault()},s=()=>{var c;const a=[];i(Po(Bd,n.value))||a.push((c=n.userProps.invalidMessage)!=null?c:""),t("update:errors",a)},u=Ie();return _t(()=>{!u.value||(u.value.value=Po(Bd,n.value))}),Ve(()=>n.value,()=>{!u.value||(u.value.value=Po(Bd,n.value))}),(a,c)=>(oe(),de("div",Pje,[x(Hn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:u,class:Gt(["input",n.errors.length&&"error",a.userProps.disabled&&"disabled"]),disabled:a.userProps.disabled,placeholder:a.userProps.placeholder,onInput:c[0]||(c[0]=d=>o(d.target.value)),onKeypress:c[1]||(c[1]=d=>l(d)),onChange:s,onBlur:s},null,42,kje)]))}}),Lje={class:"currency-input"},Fje={class:"input-wrapper"},Bje=["disabled","placeholder"],Uje=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie(),i=Ie(!1),o=d=>d.replace(/[^0-9]/g,""),l=d=>{const p=d.target.value,f=o(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 a=k(()=>Intl.NumberFormat("en-US",{maximumFractionDigits:0,currency:n.userProps.currency,style:"currency",currencyDisplay:"symbol"}).format(0).replace("0","")),c=k(()=>a.value.length*30+"px");return _t(()=>{r.value.value=s(n.value)}),Ve(()=>n.value,()=>{r.value.value=s(n.value)}),(d,p)=>(oe(),de("div",Lje,[x(Hn,{label:d.userProps.label,required:!!d.userProps.required,hint:d.userProps.hint},null,8,["label","required","hint"]),Ce("div",Fje,[Ce("div",{class:Gt(["symbol",{focused:i.value}])},Xt(a.value),3),Ce("input",{ref_key:"input",ref:r,style:Mi({paddingLeft:c.value}),class:Gt(["input",d.errors.length&&"error",d.userProps.disabled&&"disabled"]),disabled:d.userProps.disabled,placeholder:d.userProps.placeholder,onInput:l},null,46,Bje)])]))}});const Hje=Fn(Uje,[["__scopeId","data-v-a20018d1"]]),Vje={class:"custom-input",style:{height:"100%",width:"100%"}},zje=["id","src"],Gje=we({__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=Ie(),o=Math.random().toString(36).slice(2),l=Ie(""),s=c=>typeof c=="object"&&c!==null&&"type"in c&&"id"in c&&c.id===o,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),a()}),Jt(()=>{window.removeEventListener("message",u)}),Ve(()=>n.value,(c,d)=>{Fo.exports.isEqual(c,d)||a()}),Ve(()=>n.userProps.value,(c,d)=>{Fo.exports.isEqual(c,d)||a()}),Ve(()=>`${n.userProps.htmlHead}${n.userProps.htmlBody}${n.userProps.css}${n.userProps.js}`,()=>a());const a=()=>{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(` @@ -810,7 +810,7 @@ function print() { __p += __j.call(arguments, '') } `,t8=!1,BYe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:FYe;sn(function(){t8||(typeof window<"u"&&window.document&&window.document.documentElement&&$Ye(t,{prepend:!0}),t8=!0)})},UYe=["icon","primaryColor","secondaryColor"];function HYe(e,t){if(e==null)return{};var n=VYe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function VYe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function pv(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 oWe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}n7("#1890ff");var $f=function(t,n){var r,i=i8({},t,n.attrs),o=i.class,l=i.icon,s=i.spin,u=i.rotate,a=i.tabindex,c=i.twoToneColor,d=i.onClick,p=iWe(i,XYe),f=(r={anticon:!0},qw(r,"anticon-".concat(l.name),Boolean(l.name)),qw(r,o,o),r),g=s===""||!!s||l.name==="loading"?"anticon-spin":"",m=a;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=t7(c),b=JYe(v,2),S=b[0],y=b[1];return x("span",i8({role:"img","aria-label":l.name},p,{onClick:d,class:f}),[x(pA,{class:g,icon:l,primaryColor:S,secondaryColor:y,style:h},null)])};$f.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String};$f.displayName="AntdIcon";$f.inheritAttrs=!1;$f.getTwoToneColor=QYe;$f.setTwoToneColor=n7;const pd=$f;function o8(e){for(var t=1;t{l.value=!0},u=()=>{l.value=!1},a=()=>{l.value=!1};return(c,d)=>(oe(),de(tt,null,[x(We(H6e),{fileList:o.value,"onUpdate:fileList":d[0]||(d[0]=p=>o.value=p),accept:We(i).accept,action:We(i).action,method:We(i).method,"max-count":We(i).maxCount,headers:We(i).headers,progress:We(i).progress,"before-upload":We(i).beforeUpload,multiple:c.multiple,disabled:c.disabled,"show-upload-list":!0,"list-type":"picture-card","is-image-url":()=>!1,onChange:We(i).handleChange,onReject:We(i).handleReject,onDragenter:s,onDragleave:u,onDrop:a,onPreview:We(r).handlePreview},{iconRender:fn(({file:p})=>[x(BG,{file:p,ctrl:We(r),size:30},null,8,["file","ctrl"])]),previewIcon:fn(({file:p})=>[p.thumbUrl?(oe(),An(We(fWe),{key:0})):(oe(),An(We(dWe),{key:1}))]),default:fn(()=>[l.value?(oe(),de("div",bWe,[Ce("p",SWe,[x(We(J3e),{class:"icon"})]),Ce("p",null,Xt(We(Mo).translate("i18n_upload_area_drop_here",c.locale)),1)])):(oe(),de("div",yWe,[Ce("p",EWe,[x(We(RGe),{class:"icon"})]),Ce("p",null,Xt(We(Mo).translate("i18n_upload_area_click_or_drop_files",c.locale)),1)]))]),_:1},8,["fileList","accept","action","method","max-count","headers","progress","before-upload","multiple","disabled","onChange","onReject","onPreview"]),x(UG,{ctrl:We(r)},null,8,["ctrl"])],64))}});const r7=Fn(CWe,[["__scopeId","data-v-0251f46b"]]),TWe=we({__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(),de(tt,null,[x(Hn,{label:r.userProps.label,required:!!r.userProps.required,hint:r.userProps.hint},null,8,["label","required","hint"]),x(r7,{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]=o=>r.$emit("update:errors",o))},null,8,["value","errors","accepted-formats","accepted-mime-types","multiple","max-file-size","disabled","locale"])],64))}}),wWe={class:"icon-container"},xWe=we({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),de(tt,null,[x(Hn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(zG,{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:fn(()=>[Ce("div",wWe,[x(We(oVe))])]),_:1},8,["disabled","errors","multiple","value","locale"])],64))}});const OWe=Fn(xWe,[["__scopeId","data-v-731d78af"]]),IWe={class:"list-input"},RWe={class:"item-header"},AWe={key:0,class:"span-error"},NWe=we({__name:"component",props:{userProps:{},value:{},errors:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){const n=e,r=Ie([]),i=Ie(null),o=(b,S,y)=>{};function l(b){if(Fo.exports.isEqual(b,n.userProps.schemas))return;const S=y=>y==null?void 0:y.reduce((C,w)=>({...C,[w.key]:w.value}),{});t("update:value",b.map(S))}function s(b){i.value=b}function u(b){if(i.value===null)return;const S=r.value[i.value];S.style.top=`${b.pageY}px`,S.style.left=`${b.pageX}px`,S.style.transform="translate(-50%, -50%)",S.style.position="fixed"}const a=b=>{if(i.value===null)return;const S=b.pageY,y=[];let C=0,w=0;n.userProps.schemas.forEach((T,O)=>{if(O===i.value){w=1;return}const R=r.value[O].getBoundingClientRect().top;if(S>R){y[O-w]=T;return}C||(y[O+C-w]=T,C=1),y[O+C-w]=T}),C||y.push(n.userProps.schemas[i.value]),l(y),i.value=null,r.value.forEach(T=>{T.style.position="static",T.style.transform="translate(0, 0)"})};_t(()=>{document.addEventListener("mouseup",a),document.addEventListener("mousemove",u)});const c=()=>{l([...n.userProps.schemas,null])};function d(b,S,y){var T;const C=Fo.exports.cloneDeep(n.userProps.schemas),w=(T=C[b])==null?void 0:T.find(O=>O.key===S);w.value=y,l(C)}const p=Ie([]);function f(b,S){var w,T,O,R;const y=(w=n.userProps.schemas[b])==null?void 0:w.find(N=>N.key===S);return[...(T=y==null?void 0:y.errors)!=null?T:[],...(R=(O=p.value[b])==null?void 0:O[S])!=null?R:[]].map(N=>Mo.translateIfFound(N,n.locale))}function g(b,S,y){p.value[b]||(p.value[b]={}),p.value[b][S]=y,v()}function m(b){const S=Fo.exports.cloneDeep(n.userProps.schemas);S.splice(b,1),l(S)}function h(b,S){var C;const y=(C=n.userProps.schemas[b])==null?void 0:C.find(w=>w.key===S);if(!y)throw new Error(`Could not find widget value for ${S} index ${b}`);return y.value}function v(){if(p.value.some(b=>Object.values(b).some(S=>S.length))){t("update:errors",["There are errors in the list"]);return}t("update:errors",[])}return(b,S)=>(oe(),de("div",IWe,[(oe(!0),de(tt,null,Pi(b.userProps.schemas,(y,C)=>(oe(),de("div",{key:C,ref_for:!0,ref:"listItems",class:Gt(["list-item","card",{dragging:i.value===C}])},[Ce("div",RWe,[x(We(t9e),{class:"drag-handler",onMousedown:w=>s(C)},null,8,["onMousedown"]),!n.userProps.min||b.value.length>n.userProps.min?(oe(),An(We(sGe),{key:0,class:"close-button",onClick:w=>m(C)},null,8,["onClick"])):ft("",!0)]),(oe(!0),de(tt,null,Pi(y,(w,T)=>{var O;return oe(),de("div",{key:(O=w.key)!=null?O:T,class:"widget list-widget"},[(oe(),An(Au(w.type),{ref_for:!0,ref:R=>o(R,C,w.key),value:h(C,w.key),errors:f(C,w.key),"user-props":w,"onUpdate:value":R=>d(C,w.key,R),"onUpdate:errors":R=>g(C,w.key,R)},null,40,["value","errors","user-props","onUpdate:value","onUpdate:errors"])),"key"in w&&f(C,w.key).length?(oe(),de("span",AWe,Xt(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 Ve(()=>n.value,()=>{r.value=n.value[0],i.value=n.value}),(s,u)=>(oe(),de("div",MWe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),s.userProps.multiple?(oe(),An(We(Yg),{key:1,value:i.value,"onUpdate:value":u[2]||(u[2]=a=>i.value=a),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[3]||(u[3]=a=>l(a))},null,8,["value","disabled","options"])):(oe(),An(We(cR),{key:0,value:r.value,"onUpdate:value":u[0]||(u[0]=a=>r.value=a),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[1]||(u[1]=a=>o(a.target.value))},null,8,["value","disabled","options"]))]))}});const kWe=Fn(PWe,[["__scopeId","data-v-8ef177a2"]]),$We={class:"options"},LWe=["active","onClick"],FWe={class:"nps-hints"},BWe={class:"nps-hint"},UWe={class:"nps-hint"},HWe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=k(()=>{var u;return(u=n.userProps.max)!=null?u:10}),o=k(()=>{var u;return(u=n.userProps.min)!=null?u:0}),l=k(()=>Array(1+i.value-o.value).fill(null).map((u,a)=>a+o.value)),s=u=>{n.userProps.disabled||(r.value=u,t("update:value",r.value))};return Ve(()=>n.value,()=>{r.value=n.value}),(u,a)=>(oe(),de(tt,null,[x(Hn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ce("div",$We,[(oe(!0),de(tt,null,Pi(l.value,c=>(oe(),de("button",{key:c,active:r.value!==c,class:Gt(["option","button",{disabled:u.userProps.disabled}]),onClick:d=>s(c)},Xt(c),11,LWe))),128))]),Ce("div",FWe,[Ce("div",BWe,Xt(u.userProps.minHint),1),Ce("div",UWe,Xt(u.userProps.maxHint),1)])],64))}});const VWe=Fn(HWe,[["__scopeId","data-v-3fd6eefc"]]),zWe={class:"number-input"},GWe=["disabled","placeholder"],jWe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var i,o;const n=e,r=Ie((o=(i=n.value)==null?void 0:i.toString())!=null?o:"");return Ve(r,l=>{if(l===""){t("update:value",null);return}const s=Number(l);t("update:value",s)}),Ve(()=>n.value,l=>{r.value=(l==null?void 0:l.toString())||""}),(l,s)=>(oe(),de("div",zWe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),Sr(Ce("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),class:Gt(["input",l.errors.length&&"error",l.userProps.disabled&&"disabled"]),disabled:l.userProps.disabled,type:"number",placeholder:l.userProps.placeholder},null,10,GWe),[[ju,r.value]])]))}});const YWe=Fn(jWe,[["__scopeId","data-v-90c6530c"]]),WWe={class:"number-slider-input"},qWe=we({__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!=o.value.value&&(o.value.value=s),u!=n.value&&t("update:value",u)},i=l=>l&&(n.userProps.min&&ln.userProps.max?n.userProps.max:l),o=Ie();return(l,s)=>(oe(),de("div",WWe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(We(Bke),{ref_key:"input",ref:o,class:Gt([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 KWe=Fn(qWe,[["__scopeId","data-v-3fcc105e"]]),ZWe={style:{padding:"8px"}},QWe=["onclick"],XWe={key:1,class:"buttons"},JWe={key:0},eqe=we({__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=k(()=>{var b;return(b=n.mainColor)!=null?b:"#D14056"}),i=dn({searchText:"",searchedColumn:""}),o=Ie(),l=k(()=>n.data.map((S,y)=>({...S,key:y}))),s=k(()=>{const b=n.columns.map((S,y)=>({title:S.title,dataIndex:S.key,key:S.key,customFilterDropdown:!0,sorter:{compare:(C,w)=>typeof C[S.key]=="number"&&typeof w[S.key]=="number"?C[S.key]-w[S.key]:typeof C[S.key]=="string"&&typeof w[S.key]=="string"?C[S.key].localeCompare(w[S.key]):1,multiple:y},onFilter:(C,w)=>{var T;return(T=w[S.key])==null?void 0:T.toString().toLowerCase().includes(C.toString().toLowerCase())},onFilterDropdownOpenChange:C=>{C&&sn().then(()=>{o.value.focus()})}}));if(n.editable||n.actions){const S=n.editable?80:0,y=n.actions?40:0;b.push({title:"",dataIndex:"buttons",width:S+y,fixed:"right",align:"center"})}return b}),u=(b,S,y)=>{S(),i.searchText=b[0],i.searchedColumn=y},a=b=>{b({confirm:!0}),i.searchText=""},c=dn({}),d=b=>{t("rowClick",{row:b})},p=(b,S)=>{t("actionClick",{action:b,row:S})},f=b=>{c[b.index]={...b}},g=b=>{const S=n.data.filter(y=>y.index===b.index);t("rowEdit",{oldRow:S[0],newRow:c[b.index]}),delete c[b.index]},m=b=>{delete c[b.index]},h=Ie([]),v=k(()=>n.selectable?{type:{multiple:"checkbox",single:"radio"}[n.selectable],selectedRowKeys:n.selectedIndexes,onChange:(S,y)=>{h.value=S.map(C=>Number(C)),t("update:selectedIndexes",S.map(C=>Number(C)))},getCheckboxProps:S=>({disabled:n.selectionDisabled,name:S[n.columns[0].key]})}:void 0);return(b,S)=>(oe(),An(We(Y4e),{"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}},hO({bodyCell:fn(({column:y,text:C,record:w})=>[n.columns.map(T=>T.key).includes(y.dataIndex)?(oe(),de("div",{key:0,onclick:()=>d(w)},[c[w.index]?(oe(),An(We(Xr),{key:0,value:c[w.index][y.dataIndex],"onUpdate:value":T=>c[w.index][y.dataIndex]=T,style:{margin:"-5px 0"}},null,8,["value","onUpdate:value"])):(oe(),de(tt,{key:1},[Jn(Xt(C),1)],64))],8,QWe)):y.dataIndex==="buttons"?(oe(),de("div",XWe,[c[w.index]?(oe(),An(We(br),{key:0,type:"text",onClick:T=>g(w)},{default:fn(()=>[x(We(_We),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),c[w.index]?(oe(),An(We(YPe),{key:1,title:"Sure to cancel?",onConfirm:T=>m(w)},{default:fn(()=>[x(We(br),{type:"text"},{default:fn(()=>[x(We(sWe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:1})]),_:2},1032,["onConfirm"])):ft("",!0),n.editable&&!c[w.index]?(oe(),An(We(br),{key:2,type:"text",onClick:T=>f(w)},{default:fn(()=>[x(We(cWe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),n.actions&&!c[w.index]?(oe(),An(We(Tc),{key:3,trigger:"click"},{overlay:fn(()=>[x(We(fa),null,{default:fn(()=>[(oe(!0),de(tt,null,Pi(n.actions,T=>(oe(),An(We(rf),{key:T,type:"text",onClick:O=>p(T,w)},{default:fn(()=>[Jn(Xt(T),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),default:fn(()=>[x(We(br),{type:"text"},{default:fn(()=>[x(We(gWe),{style:Mi({color:r.value})},null,8,["style"])]),_:1})]),_:2},1024)):ft("",!0)])):(oe(),de(tt,{key:2},[i.searchText&&i.searchedColumn===y.dataIndex?(oe(),de("span",JWe,[(oe(!0),de(tt,null,Pi(C.toString().split(new RegExp(`(?<=${i.searchText})|(?=${i.searchText})`,"i")),(T,O)=>(oe(),de(tt,null,[T.toLowerCase()===i.searchText.toLowerCase()?(oe(),de("mark",{key:O,class:"highlight"},Xt(T),1)):(oe(),de(tt,{key:1},[Jn(Xt(T),1)],64))],64))),256))])):ft("",!0)],64))]),default:fn(()=>[n.enableSearch?(oe(),An(We(p8),{key:0,"two-tone-color":r.value},null,8,["two-tone-color"])):ft("",!0)]),_:2},[n.enableSearch?{name:"customFilterDropdown",fn:fn(({setSelectedKeys:y,selectedKeys:C,confirm:w,clearFilters:T,column:O})=>[Ce("div",ZWe,[x(We(Xr),{ref_key:"searchInput",ref:o,placeholder:`Search ${O.dataIndex}`,value:C[0],style:{width:"188px","margin-bottom":"8px",display:"block"},onChange:R=>y(R.target.value?[R.target.value]:[]),onPressEnter:R=>u(C,w,O.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),x(We(br),{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:R=>u(C,w,O.dataIndex)},{icon:fn(()=>[x(We(p8))]),default:fn(()=>[Jn(" Search ")]),_:2},1032,["onClick"]),x(We(br),{size:"small",style:{width:"90px"},onClick:R=>a(T)},{default:fn(()=>[Jn(" Reset ")]),_:2},1032,["onClick"])])]),key:"0"}:void 0]),1032,["data-source","columns","pagination","row-selection","scroll"]))}});const i7=Fn(eqe,[["__scopeId","data-v-ec6ca817"]]),tqe=["height","width"],nqe=10,rqe=we({__name:"component",props:{userProps:{},errors:{},value:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie([]),i=k(()=>(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()}))),o=s=>{Fo.exports.isEqual(s,n.value)||t("update:value",s)},l=k(()=>{var s;return(s=n.userProps.pageSize)!=null?s:nqe});return Ve(()=>r.value,()=>{o(r.value.map(s=>n.userProps.table.data[s]))}),_t(()=>{r.value=[...n.value]}),(s,u)=>(oe(),de("div",{height:s.containerHeight,width:s.containerWidth},[x(Hn,{label:s.userProps.label,required:!1,hint:s.userProps.hint},null,8,["label","hint"]),x(i7,{data:s.userProps.table.data,"onUpdate:data":u[0]||(u[0]=a=>s.userProps.table.data=a),"selected-indexes":r.value,"onUpdate:selectedIndexes":u[1]||(u[1]=a=>r.value=a),"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,tqe))}}),iqe={class:"password-input"},oqe=["pattern","required","disabled","placeholder"],aqe=["required","placeholder"],sqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=k(()=>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,S;const f=(v=n.userProps.minLength)!=null?v:null,g=(b=n.userProps.maxLength)!=null?b:null,m=(S=n.userProps.size)!=null?S: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,S,y;const g=(b=n.userProps.minLength)!=null?b:null,m=(S=n.userProps.maxLength)!=null?S:null,h=(y=n.userProps.size)!=null?y: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)},o=s=>{t("update:value",s)},l=Ie();return Ve(()=>n.value,()=>{!l.value||(l.value.value=n.value)}),(s,u)=>(oe(),de("div",iqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),de("input",{key:0,ref_key:"input",ref:l,type:"password",pattern:r.value,required:!!s.userProps.required,class:Gt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onInput:u[0]||(u[0]=a=>o(a.target.value)),onBlur:i},null,42,oqe)):(oe(),de("input",{key:1,ref_key:"input",ref:l,type:"password",required:!!s.userProps.required,class:Gt(["input",s.errors.length&&"error"]),placeholder:s.userProps.placeholder,onInput:u[1]||(u[1]=a=>o(a.target.value)),onBlur:i},null,42,aqe))]))}}),lqe=[{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:""}],cqe={class:"phone-input"},uqe={class:"flex"},dqe=["value","disabled"],pqe=["value","disabled","placeholder"],fqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=k(()=>{var m;return n.userProps.placeholder||((m=s(o.value))==null?void 0:m.placeholder)||""}),i=Ie(u(n.value.nationalNumber,n.value.countryCode)),o=Ie(a(n.value.countryCode));function l(m){return m.replace(/\D/g,"")}function s(m){var h;return(h=lqe.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?Po(v,m):""}function a(m){return Po("+000",m)}function c(){t("update:value",{countryCode:l(o.value),nationalNumber:i.value})}const d=m=>{const h=m.target.value;o.value=a(h)},p=m=>{const h=m.target.value;o.value=a(h)},f=m=>{const h=m.target.value;i.value=u(h,o.value),c()},g=()=>{var b;if(!n.userProps.required&&!i.value&&!o.value){t("update:errors",[]);return}const m=[],h=(b=s(o.value))==null?void 0:b.mask;if(!h){t("update:errors",["i18n_error_invalid_country_code"]);return}cf(h,i.value)||m.push(n.userProps.invalidMessage),t("update:errors",m)};return It(()=>{i.value=u(n.value.nationalNumber,n.value.countryCode),o.value=a(n.value.countryCode)}),(m,h)=>(oe(),de("div",cqe,[x(Hn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ce("div",uqe,[Ce("input",{value:o.value,class:Gt(["select",["input",m.errors.length&&"error"]]),maxlength:"4",placeholder:"+1",disabled:m.userProps.disabled,onInput:p,onChange:d,onBlur:g},null,42,dqe),Ce("input",{value:i.value,class:Gt(["input",m.errors.length&&"error"]),disabled:m.userProps.disabled||!s(o.value),placeholder:r.value,onBlur:g,onInput:f,onChange:g},null,42,pqe)])]))}});const mqe=Fn(fqe,[["__scopeId","data-v-9372fb2a"]]),gqe={class:"rating-input"},hqe={ref:"input",class:"rating-icons"},_qe=["onClick"],vqe=we({__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=Ie(n.value),o=k(()=>{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 Ve(()=>n.value,()=>{i.value=n.value}),(s,u)=>(oe(),de("div",gqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ce("div",hqe,[(oe(!0),de(tt,null,Pi(o.value,(a,c)=>(oe(),de("div",{key:c,class:Gt(["rating-icon",{active:r(c),disabled:s.userProps.disabled}]),tabindex:"0",onClick:d=>l(c+1)},Xt(a),11,_qe))),128))],512)]))}});const bqe=Fn(vqe,[["__scopeId","data-v-1108054a"]]);const Sqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(null);window.document&&gy(()=>import("./vue-quill.esm-bundler.41d9108d.js"),[]).then(s=>{r.value=s.QuillEditor});const i=()=>{var u,a;const s=(a=(u=o.value)==null?void 0:u.getHTML())!=null?a:"";t("update:value",s)},o=Ie(),l=()=>{var s;n.value&&((s=o.value)==null||s.setHTML(n.value))};return Ve(()=>n.value,()=>{var u;(((u=o.value)==null?void 0:u.getHTML())||"")!==n.value&&l()}),(s,u)=>(oe(),de(tt,null,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),An(Au(r.value),{key:0,ref_key:"input",ref:o,style:{height:"100%"},class:Gt(["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]=a=>i())},null,40,["class","disabled","placeholder"])):ft("",!0)],64))}});const yqe="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",Eqe={class:"tag-input"},Cqe={class:"tags"},Tqe={class:"remove-icon",viewBox:"0 0 24 24"},wqe=["d"],xqe=["disabled","placeholder"],Oqe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var u;const n=e,r=yqe,i=Ie((u=n.value)!=null?u:[]),o=a=>{n.userProps.disabled||!a||i.value.some(c=>c===a)||(i.value=[...i.value,a],t("update:value",i.value),s.value.value="")},l=a=>{n.userProps.disabled||(i.value=i.value.filter((c,d)=>d!==a),t("update:value",i.value))},s=Ie();return Ve(()=>n.value,()=>{var a;i.value=(a=n.value)!=null?a:[]}),(a,c)=>(oe(),de(tt,null,[x(Hn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ce("div",Eqe,[Ce("div",Cqe,[(oe(!0),de(tt,null,Pi(i.value,(d,p)=>(oe(),de("div",{key:d,class:"tag"},[Jn(Xt(d)+" ",1),x(We(br),{class:"remove-tag",type:"text",onClick:f=>l(p)},{default:fn(()=>[(oe(),de("svg",Tqe,[Ce("path",{d:We(r)},null,8,wqe)]))]),_:2},1032,["onClick"])]))),128))]),Ce("input",{ref_key:"input",ref:s,class:Gt(["input",{disabled:a.userProps.disabled}]),disabled:a.userProps.disabled,type:"text",placeholder:a.userProps.placeholder,onChange:c[0]||(c[0]=d=>o(d.target.value)),onKeyup:c[1]||(c[1]=TO(d=>o(d.target.value),["enter"]))},null,42,xqe)])],64))}});const Iqe=Fn(Oqe,[["__scopeId","data-v-c12d89f6"]]),Rqe={class:"text-input"},Aqe=["disabled","placeholder","maxlength","minlength"],Nqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(),i=s=>{const u=n.userProps.mask?Po(n.userProps.mask,s):s;r.value.value=u,t("update:value",u)},o=s=>{const u=s.target;n.userProps.mask&&cf(n.userProps.mask,u.value)&&s.preventDefault()};_t(()=>{l()}),Ve(()=>n.value,()=>{l()});function l(){n.value&&r.value&&(n.userProps.mask?r.value.value=Po(n.userProps.mask,n.value):r.value.value=n.value)}return(s,u)=>{var a,c;return oe(),de("div",Rqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:r,class:Gt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,maxlength:(a=s.userProps.maxLength)!=null?a:void 0,minlength:(c=s.userProps.minLength)!=null?c:void 0,onKeypress:u[0]||(u[0]=d=>o(d)),onInput:u[1]||(u[1]=d=>i(d.target.value))},null,42,Aqe)])}}}),Dqe=["disabled","placeholder"],Mqe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=o=>{i.value.value=o,t("update:value",o)},i=Ie();return _t(()=>{i.value.value=n.value||""}),Ve(()=>n.value,()=>{i.value.value=n.value||""}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ce("textarea",{ref_key:"input",ref:i,style:{height:"100%"},class:Gt(["input",o.errors.length&&"error",o.userProps.disabled&&"disabled"]),disabled:o.userProps.disabled,placeholder:o.userProps.placeholder,onInput:l[0]||(l[0]=s=>r(s.target.value))},null,42,Dqe)],64))}});const Pqe={class:"time-input"},kqe=we({__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=Ie(r(n.value)),o=(l,s)=>{const[u,a]=s.split(":"),c={hour:parseInt(u),minute:parseInt(a)};t("update:value",c)};return Ve(()=>n.value,l=>{i.value=r(l)}),(l,s)=>(oe(),de("div",Pqe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(We(X4e),{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:o},null,8,["value","disabled"])]))}});const $qe=Fn(kqe,[["__scopeId","data-v-31786bbd"]]),Lqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=()=>{n.userProps.disabled||(r.value=!r.value,t("update:value",r.value))};return Ve(()=>n.value,()=>{r.value=n.value}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),x(We(Kke),{checked:r.value,style:{"align-self":"flex-start"},onChange:i},null,8,["checked"])],64))}}),Fqe=we({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),de(tt,null,[x(Hn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(r7,{"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))}}),UXe={"appointment-input":O7e,"camera-input":cje,"cards-input":Eje,"checkbox-input":Tje,"checklist-input":Oje,"cnpj-input":Nje,"code-input":Mje,"cpf-input":$je,"currency-input":Hje,"custom-input":Gje,"date-input":qje,"dropdown-input":AYe,"email-input":MYe,"file-input":TWe,"image-input":OWe,"list-input":DWe,"multiple-choice-input":kWe,"nps-input":VWe,"number-input":YWe,"number-slider-input":KWe,"pandas-row-selection-input":rqe,"password-input":sqe,"phone-input":mqe,"rating-input":bqe,"rich-text-input":Sqe,"tag-input":Iqe,"text-input":Nqe,"textarea-input":Mqe,"time-input":$qe,"toggle-input":Lqe,"video-input":Fqe},Bqe=e=>(iB("data-v-1e783ab3"),e=e(),oB(),e),Uqe={class:"file-output"},Hqe=["href"],Vqe=Bqe(()=>Ce("iframe",{src:"about:blank",name:"iframe_a",class:"target-frame"},null,-1)),zqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",Uqe,[Ce("a",{href:t.userProps.fileUrl,class:"download-button button",target:"iframe_a",download:""},[x(We(C9e)),Jn(" "+Xt((r=t.userProps.downloadText)!=null?r:"Download"),1)],8,Hqe),Vqe])}}});const Gqe=Fn(zqe,[["__scopeId","data-v-1e783ab3"]]),jqe=["innerHTML"],Yqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de("div",{innerHTML:t.userProps.html},null,8,jqe))}}),Wqe=["src","width","height"],qqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r,i;return oe(),de("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,Wqe)}}});const Kqe=Fn(qqe,[["__scopeId","data-v-75daa443"]]),Zqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de(tt,null,[x(Hn,{label:t.userProps.label,required:!1},null,8,["label"]),x(We(zMe),{src:t.userProps.imageUrl,alt:t.userProps.subtitle},null,8,["src","alt"])],64))}}),Qqe=we({__name:"component",props:{userProps:{}},setup(e){const t=Ie(null);return _t(async()=>{await Promise.all([K4("https://polyfill.io/v3/polyfill.min.js?features=es6"),K4("https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js")]),window.MathJax.typesetPromise([t.value])}),(n,r)=>(oe(),de("div",{ref_key:"latex",ref:t,class:"latex"},Xt(n.userProps.text),513))}});const Xqe=Fn(Qqe,[["__scopeId","data-v-9c539437"]]),Jqe=["href","target"],eKe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de("a",{class:"link",href:t.userProps.linkUrl,target:t.userProps.sameTab?"":"_blank"},Xt(t.userProps.linkText),9,Jqe))}}),tKe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{const r=_p("Markdown");return oe(),An(r,{class:"markdown-output",source:t.userProps.text,html:""},null,8,["source"])}}});const nKe=Fn(tKe,[["__scopeId","data-v-331de5d9"]]),rKe=["height","width"],iKe=10,oKe=we({__name:"component",props:{userProps:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["row-click","action-click","row-edit"],setup(e,{emit:t}){const n=e,r=Ie(null),i=({action:a,row:c})=>{t("action-click",{action:a,userProps:c})};function o({row:a}){t("row-click",{userProps:a.userProps,index:a.index})}function l({oldRow:a,newRow:c}){const d=ije(a,c);t("row-edit",{old:a,new:d,index:a.index})}Ve(n.userProps.table.data,()=>{});const s=k(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(a=>a.name!="index")).map(a=>({...a,title:a.name.toString(),key:a.name.toString()}))),u=k(()=>{var a;return(a=n.userProps.pageSize)!=null?a:iKe});return(a,c)=>{var d;return oe(),de("div",{height:a.containerHeight,width:a.containerWidth},[x(Hn,{ref_key:"label",ref:r,label:n.userProps.label,required:!1},null,8,["label"]),x(i7,{data:a.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:o,onRowEdit:l},null,8,["data","columns","rows-per-page","actions"])],8,rKe)}}}),aKe=we({__name:"component",props:{userProps:{}},setup(e){const t=e,n=Ie(null);_t(async()=>{r()});const r=async()=>{if(!n.value)return;(await gy(()=>import("./plotly.min.8ccc6e7a.js").then(o=>o.p),[])).newPlot(n.value,t.userProps.figure.data,t.userProps.figure.layout)};return Ve(()=>t.userProps.figure,r,{deep:!0}),(i,o)=>(oe(),de(tt,null,[x(Hn,{label:i.userProps.label,required:!1},null,8,["label"]),Ce("div",{ref_key:"root",ref:n,class:"chart"},null,512)],64))}});const sKe=Fn(aKe,[["__scopeId","data-v-0c65d6dd"]]),lKe={class:"progress-output"},cKe={class:"progress-container"},uKe={class:"progress-text label"},dKe=we({__name:"component",props:{userProps:{}},setup(e){const t=e,n=k(()=>{const{current:r,total:i}=t.userProps;return{width:`calc(${Math.min(100*r/i,100).toFixed(2)}% - 6px)`}});return(r,i)=>(oe(),de("div",lKe,[Ce("div",cKe,[Ce("div",{class:"progress-content",style:Mi(n.value)},null,4)]),Ce("div",uKe,Xt(r.userProps.text),1)]))}});const pKe=Fn(dKe,[["__scopeId","data-v-6fc80314"]]),fKe=we({__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=k(()=>({fontSize:n(t.userProps.size)}));return(i,o)=>(oe(),de("div",{class:"text",style:Mi(r.value)},Xt(i.userProps.text),5))}}),mKe={class:"start-widget"},gKe={class:"title"},hKe={key:0,class:"start-message"},_Ke=we({__name:"component",props:{form:{}},setup(e){return(t,n)=>(oe(),de("div",mKe,[Ce("div",gKe,Xt(t.form.welcomeTitle||t.form.title),1),t.form.startMessage?(oe(),de("div",hKe,Xt(t.form.startMessage),1)):ft("",!0)]))}});const vKe=Fn(_Ke,[["__scopeId","data-v-93314670"]]),bKe={class:"text"},SKe=we({__name:"component",props:{endMessage:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",bKe,Xt((r=t.endMessage)!=null?r:We(Mo).translate("i18n_end_message",t.locale)),1)}}});const yKe=Fn(SKe,[["__scopeId","data-v-a30dba0a"]]),EKe={class:"text"},CKe={key:0,class:"session-id"},TKe=we({__name:"component",props:{errorMessage:{},executionId:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",EKe,[Jn(Xt((r=t.errorMessage)!=null?r:We(Mo).translate("i18n_error_message",t.locale))+" ",1),t.executionId?(oe(),de("div",CKe,"Run ID: "+Xt(t.executionId),1)):ft("",!0)])}}});const wKe=Fn(TKe,[["__scopeId","data-v-a406885c"]]),HXe={start:vKe,end:yKe,error:wKe},VXe={"file-output":Gqe,"html-output":Yqe,"iframe-output":Kqe,"image-output":Zqe,"latex-output":Xqe,"link-output":eKe,"markdown-output":nKe,"pandas-output":oKe,"plotly-output":sKe,"progress-output":pKe,"text-output":fKe},Ai={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"},f8={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:[Ai.STARTS_WITH,Ai.CONTAINS,Ai.NOT_CONTAINS,Ai.ENDS_WITH,Ai.EQUALS,Ai.NOT_EQUALS],numeric:[Ai.EQUALS,Ai.NOT_EQUALS,Ai.LESS_THAN,Ai.LESS_THAN_OR_EQUAL_TO,Ai.GREATER_THAN,Ai.GREATER_THAN_OR_EQUAL_TO],date:[Ai.DATE_IS,Ai.DATE_IS_NOT,Ai.DATE_BEFORE,Ai.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},xKe=Symbol();var zXe={install:(e,t)=>{let n=t?{...f8,...t}:{...f8};const r={config:dn(n)};e.config.globalProperties.$primevue=r,e.provide(xKe,r)}},OKe={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:dA}};const IKe={class:"p-message-wrapper"},RKe={class:"p-message-text"},AKe=["aria-label"];function NKe(e,t,n,r,i,o){const l=Tf("ripple");return oe(),An(xi,{name:"p-message",appear:""},{default:fn(()=>[Sr(Ce("div",{class:Gt(o.containerClass),role:"alert","aria-live":"assertive","aria-atomic":"true"},[Ce("div",IKe,[Ce("span",{class:Gt(o.iconClass)},null,2),Ce("div",RKe,[Ct(e.$slots,"default")]),n.closable?Sr((oe(),de("button",Mn({key:0,class:"p-message-close p-link","aria-label":o.closeAriaLabel,type:"button",onClick:t[0]||(t[0]=s=>o.close(s))},n.closeButtonProps),[Ce("i",{class:Gt(["p-message-close-icon",n.closeIcon])},null,2)],16,AKe)),[[l]]):ft("",!0)])],2),[[Bo,i.visible]])]),_:3})}function DKe(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 MKe=` +`)),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 Ve(()=>n.value,()=>{r.value=n.value[0],i.value=n.value}),(s,u)=>(oe(),de("div",MWe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),s.userProps.multiple?(oe(),An(We(Yg),{key:1,value:i.value,"onUpdate:value":u[2]||(u[2]=a=>i.value=a),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[3]||(u[3]=a=>l(a))},null,8,["value","disabled","options"])):(oe(),An(We(cR),{key:0,value:r.value,"onUpdate:value":u[0]||(u[0]=a=>r.value=a),disabled:s.userProps.disabled,options:s.userProps.options,onChange:u[1]||(u[1]=a=>o(a.target.value))},null,8,["value","disabled","options"]))]))}});const kWe=Fn(PWe,[["__scopeId","data-v-8ef177a2"]]),$We={class:"options"},LWe=["active","onClick"],FWe={class:"nps-hints"},BWe={class:"nps-hint"},UWe={class:"nps-hint"},HWe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=k(()=>{var u;return(u=n.userProps.max)!=null?u:10}),o=k(()=>{var u;return(u=n.userProps.min)!=null?u:0}),l=k(()=>Array(1+i.value-o.value).fill(null).map((u,a)=>a+o.value)),s=u=>{n.userProps.disabled||(r.value=u,t("update:value",r.value))};return Ve(()=>n.value,()=>{r.value=n.value}),(u,a)=>(oe(),de(tt,null,[x(Hn,{label:u.userProps.label,required:!!u.userProps.required,hint:u.userProps.hint},null,8,["label","required","hint"]),Ce("div",$We,[(oe(!0),de(tt,null,Pi(l.value,c=>(oe(),de("button",{key:c,active:r.value!==c,class:Gt(["option","button",{disabled:u.userProps.disabled}]),onClick:d=>s(c)},Xt(c),11,LWe))),128))]),Ce("div",FWe,[Ce("div",BWe,Xt(u.userProps.minHint),1),Ce("div",UWe,Xt(u.userProps.maxHint),1)])],64))}});const VWe=Fn(HWe,[["__scopeId","data-v-3fd6eefc"]]),zWe={class:"number-input"},GWe=["disabled","placeholder"],jWe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var i,o;const n=e,r=Ie((o=(i=n.value)==null?void 0:i.toString())!=null?o:"");return Ve(r,l=>{if(l===""){t("update:value",null);return}const s=Number(l);t("update:value",s)}),Ve(()=>n.value,l=>{r.value=(l==null?void 0:l.toString())||""}),(l,s)=>(oe(),de("div",zWe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),Sr(Ce("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),class:Gt(["input",l.errors.length&&"error",l.userProps.disabled&&"disabled"]),disabled:l.userProps.disabled,type:"number",placeholder:l.userProps.placeholder},null,10,GWe),[[ju,r.value]])]))}});const YWe=Fn(jWe,[["__scopeId","data-v-90c6530c"]]),WWe={class:"number-slider-input"},qWe=we({__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!=o.value.value&&(o.value.value=s),u!=n.value&&t("update:value",u)},i=l=>l&&(n.userProps.min&&ln.userProps.max?n.userProps.max:l),o=Ie();return(l,s)=>(oe(),de("div",WWe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(We(Bke),{ref_key:"input",ref:o,class:Gt([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 KWe=Fn(qWe,[["__scopeId","data-v-3fcc105e"]]),ZWe={style:{padding:"8px"}},QWe=["onclick"],XWe={key:1,class:"buttons"},JWe={key:0},eqe=we({__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=k(()=>{var b;return(b=n.mainColor)!=null?b:"#D14056"}),i=dn({searchText:"",searchedColumn:""}),o=Ie(),l=k(()=>n.data.map((S,y)=>({...S,key:y}))),s=k(()=>{const b=n.columns.map((S,y)=>({title:S.title,dataIndex:S.key,key:S.key,customFilterDropdown:!0,sorter:{compare:(C,w)=>typeof C[S.key]=="number"&&typeof w[S.key]=="number"?C[S.key]-w[S.key]:typeof C[S.key]=="string"&&typeof w[S.key]=="string"?C[S.key].localeCompare(w[S.key]):1,multiple:y},onFilter:(C,w)=>{var T;return(T=w[S.key])==null?void 0:T.toString().toLowerCase().includes(C.toString().toLowerCase())},onFilterDropdownOpenChange:C=>{C&&sn().then(()=>{o.value.focus()})}}));if(n.editable||n.actions){const S=n.editable?80:0,y=n.actions?40:0;b.push({title:"",dataIndex:"buttons",width:S+y,fixed:"right",align:"center"})}return b}),u=(b,S,y)=>{S(),i.searchText=b[0],i.searchedColumn=y},a=b=>{b({confirm:!0}),i.searchText=""},c=dn({}),d=b=>{t("rowClick",{row:b})},p=(b,S)=>{t("actionClick",{action:b,row:S})},f=b=>{c[b.index]={...b}},g=b=>{const S=n.data.filter(y=>y.index===b.index);t("rowEdit",{oldRow:S[0],newRow:c[b.index]}),delete c[b.index]},m=b=>{delete c[b.index]},h=Ie([]),v=k(()=>n.selectable?{type:{multiple:"checkbox",single:"radio"}[n.selectable],selectedRowKeys:n.selectedIndexes,onChange:(S,y)=>{h.value=S.map(C=>Number(C)),t("update:selectedIndexes",S.map(C=>Number(C)))},getCheckboxProps:S=>({disabled:n.selectionDisabled,name:S[n.columns[0].key]})}:void 0);return(b,S)=>(oe(),An(We(Y4e),{"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}},hO({bodyCell:fn(({column:y,text:C,record:w})=>[n.columns.map(T=>T.key).includes(y.dataIndex)?(oe(),de("div",{key:0,onclick:()=>d(w)},[c[w.index]?(oe(),An(We(Xr),{key:0,value:c[w.index][y.dataIndex],"onUpdate:value":T=>c[w.index][y.dataIndex]=T,style:{margin:"-5px 0"}},null,8,["value","onUpdate:value"])):(oe(),de(tt,{key:1},[Jn(Xt(C),1)],64))],8,QWe)):y.dataIndex==="buttons"?(oe(),de("div",XWe,[c[w.index]?(oe(),An(We(br),{key:0,type:"text",onClick:T=>g(w)},{default:fn(()=>[x(We(_We),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),c[w.index]?(oe(),An(We(YPe),{key:1,title:"Sure to cancel?",onConfirm:T=>m(w)},{default:fn(()=>[x(We(br),{type:"text"},{default:fn(()=>[x(We(sWe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:1})]),_:2},1032,["onConfirm"])):ft("",!0),n.editable&&!c[w.index]?(oe(),An(We(br),{key:2,type:"text",onClick:T=>f(w)},{default:fn(()=>[x(We(cWe),{"two-tone-color":r.value},null,8,["two-tone-color"])]),_:2},1032,["onClick"])):ft("",!0),n.actions&&!c[w.index]?(oe(),An(We(Tc),{key:3,trigger:"click"},{overlay:fn(()=>[x(We(fa),null,{default:fn(()=>[(oe(!0),de(tt,null,Pi(n.actions,T=>(oe(),An(We(rf),{key:T,type:"text",onClick:O=>p(T,w)},{default:fn(()=>[Jn(Xt(T),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),default:fn(()=>[x(We(br),{type:"text"},{default:fn(()=>[x(We(gWe),{style:Mi({color:r.value})},null,8,["style"])]),_:1})]),_:2},1024)):ft("",!0)])):(oe(),de(tt,{key:2},[i.searchText&&i.searchedColumn===y.dataIndex?(oe(),de("span",JWe,[(oe(!0),de(tt,null,Pi(C.toString().split(new RegExp(`(?<=${i.searchText})|(?=${i.searchText})`,"i")),(T,O)=>(oe(),de(tt,null,[T.toLowerCase()===i.searchText.toLowerCase()?(oe(),de("mark",{key:O,class:"highlight"},Xt(T),1)):(oe(),de(tt,{key:1},[Jn(Xt(T),1)],64))],64))),256))])):ft("",!0)],64))]),default:fn(()=>[n.enableSearch?(oe(),An(We(p8),{key:0,"two-tone-color":r.value},null,8,["two-tone-color"])):ft("",!0)]),_:2},[n.enableSearch?{name:"customFilterDropdown",fn:fn(({setSelectedKeys:y,selectedKeys:C,confirm:w,clearFilters:T,column:O})=>[Ce("div",ZWe,[x(We(Xr),{ref_key:"searchInput",ref:o,placeholder:`Search ${O.dataIndex}`,value:C[0],style:{width:"188px","margin-bottom":"8px",display:"block"},onChange:R=>y(R.target.value?[R.target.value]:[]),onPressEnter:R=>u(C,w,O.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),x(We(br),{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:R=>u(C,w,O.dataIndex)},{icon:fn(()=>[x(We(p8))]),default:fn(()=>[Jn(" Search ")]),_:2},1032,["onClick"]),x(We(br),{size:"small",style:{width:"90px"},onClick:R=>a(T)},{default:fn(()=>[Jn(" Reset ")]),_:2},1032,["onClick"])])]),key:"0"}:void 0]),1032,["data-source","columns","pagination","row-selection","scroll"]))}});const i7=Fn(eqe,[["__scopeId","data-v-ec6ca817"]]),tqe=["height","width"],nqe=10,rqe=we({__name:"component",props:{userProps:{},errors:{},value:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie([]),i=k(()=>(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()}))),o=s=>{Fo.exports.isEqual(s,n.value)||t("update:value",s)},l=k(()=>{var s;return(s=n.userProps.pageSize)!=null?s:nqe});return Ve(()=>r.value,()=>{o(r.value.map(s=>n.userProps.table.data[s]))}),_t(()=>{r.value=[...n.value]}),(s,u)=>(oe(),de("div",{height:s.containerHeight,width:s.containerWidth},[x(Hn,{label:s.userProps.label,required:!1,hint:s.userProps.hint},null,8,["label","hint"]),x(i7,{data:s.userProps.table.data,"onUpdate:data":u[0]||(u[0]=a=>s.userProps.table.data=a),"selected-indexes":r.value,"onUpdate:selectedIndexes":u[1]||(u[1]=a=>r.value=a),"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,tqe))}}),iqe={class:"password-input"},oqe=["pattern","required","disabled","placeholder"],aqe=["required","placeholder"],sqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=k(()=>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,S;const f=(v=n.userProps.minLength)!=null?v:null,g=(b=n.userProps.maxLength)!=null?b:null,m=(S=n.userProps.size)!=null?S: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,S,y;const g=(b=n.userProps.minLength)!=null?b:null,m=(S=n.userProps.maxLength)!=null?S:null,h=(y=n.userProps.size)!=null?y: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)},o=s=>{t("update:value",s)},l=Ie();return Ve(()=>n.value,()=>{!l.value||(l.value.value=n.value)}),(s,u)=>(oe(),de("div",iqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),de("input",{key:0,ref_key:"input",ref:l,type:"password",pattern:r.value,required:!!s.userProps.required,class:Gt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,onInput:u[0]||(u[0]=a=>o(a.target.value)),onBlur:i},null,42,oqe)):(oe(),de("input",{key:1,ref_key:"input",ref:l,type:"password",required:!!s.userProps.required,class:Gt(["input",s.errors.length&&"error"]),placeholder:s.userProps.placeholder,onInput:u[1]||(u[1]=a=>o(a.target.value)),onBlur:i},null,42,aqe))]))}}),lqe=[{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:""}],cqe={class:"phone-input"},uqe={class:"flex"},dqe=["value","disabled"],pqe=["value","disabled","placeholder"],fqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=k(()=>{var m;return n.userProps.placeholder||((m=s(o.value))==null?void 0:m.placeholder)||""}),i=Ie(u(n.value.nationalNumber,n.value.countryCode)),o=Ie(a(n.value.countryCode));function l(m){return m.replace(/\D/g,"")}function s(m){var h;return(h=lqe.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?Po(v,m):""}function a(m){return Po("+000",m)}function c(){t("update:value",{countryCode:l(o.value),nationalNumber:i.value})}const d=m=>{const h=m.target.value;o.value=a(h)},p=m=>{const h=m.target.value;o.value=a(h)},f=m=>{const h=m.target.value;i.value=u(h,o.value),c()},g=()=>{var b;if(!n.userProps.required&&!i.value&&!o.value){t("update:errors",[]);return}const m=[],h=(b=s(o.value))==null?void 0:b.mask;if(!h){t("update:errors",["i18n_error_invalid_country_code"]);return}cf(h,i.value)||m.push(n.userProps.invalidMessage),t("update:errors",m)};return It(()=>{i.value=u(n.value.nationalNumber,n.value.countryCode),o.value=a(n.value.countryCode)}),(m,h)=>(oe(),de("div",cqe,[x(Hn,{label:m.userProps.label,required:!!m.userProps.required,hint:m.userProps.hint},null,8,["label","required","hint"]),Ce("div",uqe,[Ce("input",{value:o.value,class:Gt(["select",["input",m.errors.length&&"error"]]),maxlength:"4",placeholder:"+1",disabled:m.userProps.disabled,onInput:p,onChange:d,onBlur:g},null,42,dqe),Ce("input",{value:i.value,class:Gt(["input",m.errors.length&&"error"]),disabled:m.userProps.disabled||!s(o.value),placeholder:r.value,onBlur:g,onInput:f,onChange:g},null,42,pqe)])]))}});const mqe=Fn(fqe,[["__scopeId","data-v-9372fb2a"]]),gqe={class:"rating-input"},hqe={ref:"input",class:"rating-icons"},_qe=["onClick"],vqe=we({__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=Ie(n.value),o=k(()=>{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 Ve(()=>n.value,()=>{i.value=n.value}),(s,u)=>(oe(),de("div",gqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ce("div",hqe,[(oe(!0),de(tt,null,Pi(o.value,(a,c)=>(oe(),de("div",{key:c,class:Gt(["rating-icon",{active:r(c),disabled:s.userProps.disabled}]),tabindex:"0",onClick:d=>l(c+1)},Xt(a),11,_qe))),128))],512)]))}});const bqe=Fn(vqe,[["__scopeId","data-v-1108054a"]]);const Sqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(null);window.document&&gy(()=>import("./vue-quill.esm-bundler.a18cce0a.js"),[]).then(s=>{r.value=s.QuillEditor});const i=()=>{var u,a;const s=(a=(u=o.value)==null?void 0:u.getHTML())!=null?a:"";t("update:value",s)},o=Ie(),l=()=>{var s;n.value&&((s=o.value)==null||s.setHTML(n.value))};return Ve(()=>n.value,()=>{var u;(((u=o.value)==null?void 0:u.getHTML())||"")!==n.value&&l()}),(s,u)=>(oe(),de(tt,null,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),r.value?(oe(),An(Au(r.value),{key:0,ref_key:"input",ref:o,style:{height:"100%"},class:Gt(["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]=a=>i())},null,40,["class","disabled","placeholder"])):ft("",!0)],64))}});const yqe="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",Eqe={class:"tag-input"},Cqe={class:"tags"},Tqe={class:"remove-icon",viewBox:"0 0 24 24"},wqe=["d"],xqe=["disabled","placeholder"],Oqe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){var u;const n=e,r=yqe,i=Ie((u=n.value)!=null?u:[]),o=a=>{n.userProps.disabled||!a||i.value.some(c=>c===a)||(i.value=[...i.value,a],t("update:value",i.value),s.value.value="")},l=a=>{n.userProps.disabled||(i.value=i.value.filter((c,d)=>d!==a),t("update:value",i.value))},s=Ie();return Ve(()=>n.value,()=>{var a;i.value=(a=n.value)!=null?a:[]}),(a,c)=>(oe(),de(tt,null,[x(Hn,{label:a.userProps.label,required:!!a.userProps.required,hint:a.userProps.hint},null,8,["label","required","hint"]),Ce("div",Eqe,[Ce("div",Cqe,[(oe(!0),de(tt,null,Pi(i.value,(d,p)=>(oe(),de("div",{key:d,class:"tag"},[Jn(Xt(d)+" ",1),x(We(br),{class:"remove-tag",type:"text",onClick:f=>l(p)},{default:fn(()=>[(oe(),de("svg",Tqe,[Ce("path",{d:We(r)},null,8,wqe)]))]),_:2},1032,["onClick"])]))),128))]),Ce("input",{ref_key:"input",ref:s,class:Gt(["input",{disabled:a.userProps.disabled}]),disabled:a.userProps.disabled,type:"text",placeholder:a.userProps.placeholder,onChange:c[0]||(c[0]=d=>o(d.target.value)),onKeyup:c[1]||(c[1]=TO(d=>o(d.target.value),["enter"]))},null,42,xqe)])],64))}});const Iqe=Fn(Oqe,[["__scopeId","data-v-c12d89f6"]]),Rqe={class:"text-input"},Aqe=["disabled","placeholder","maxlength","minlength"],Nqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(),i=s=>{const u=n.userProps.mask?Po(n.userProps.mask,s):s;r.value.value=u,t("update:value",u)},o=s=>{const u=s.target;n.userProps.mask&&cf(n.userProps.mask,u.value)&&s.preventDefault()};_t(()=>{l()}),Ve(()=>n.value,()=>{l()});function l(){n.value&&r.value&&(n.userProps.mask?r.value.value=Po(n.userProps.mask,n.value):r.value.value=n.value)}return(s,u)=>{var a,c;return oe(),de("div",Rqe,[x(Hn,{label:s.userProps.label,required:!!s.userProps.required,hint:s.userProps.hint},null,8,["label","required","hint"]),Ce("input",{ref_key:"input",ref:r,class:Gt(["input",s.errors.length&&"error",s.userProps.disabled&&"disabled"]),disabled:s.userProps.disabled,placeholder:s.userProps.placeholder,maxlength:(a=s.userProps.maxLength)!=null?a:void 0,minlength:(c=s.userProps.minLength)!=null?c:void 0,onKeypress:u[0]||(u[0]=d=>o(d)),onInput:u[1]||(u[1]=d=>i(d.target.value))},null,42,Aqe)])}}}),Dqe=["disabled","placeholder"],Mqe=we({__name:"component",props:{userProps:{},value:{},errors:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=o=>{i.value.value=o,t("update:value",o)},i=Ie();return _t(()=>{i.value.value=n.value||""}),Ve(()=>n.value,()=>{i.value.value=n.value||""}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),Ce("textarea",{ref_key:"input",ref:i,style:{height:"100%"},class:Gt(["input",o.errors.length&&"error",o.userProps.disabled&&"disabled"]),disabled:o.userProps.disabled,placeholder:o.userProps.placeholder,onInput:l[0]||(l[0]=s=>r(s.target.value))},null,42,Dqe)],64))}});const Pqe={class:"time-input"},kqe=we({__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=Ie(r(n.value)),o=(l,s)=>{const[u,a]=s.split(":"),c={hour:parseInt(u),minute:parseInt(a)};t("update:value",c)};return Ve(()=>n.value,l=>{i.value=r(l)}),(l,s)=>(oe(),de("div",Pqe,[x(Hn,{label:l.userProps.label,required:!!l.userProps.required,hint:l.userProps.hint},null,8,["label","required","hint"]),x(We(X4e),{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:o},null,8,["value","disabled"])]))}});const $qe=Fn(kqe,[["__scopeId","data-v-31786bbd"]]),Lqe=we({__name:"component",props:{userProps:{},errors:{},value:{}},emits:["update:errors","update:value"],setup(e,{emit:t}){const n=e,r=Ie(n.value),i=()=>{n.userProps.disabled||(r.value=!r.value,t("update:value",r.value))};return Ve(()=>n.value,()=>{r.value=n.value}),(o,l)=>(oe(),de(tt,null,[x(Hn,{label:o.userProps.label,required:!!o.userProps.required,hint:o.userProps.hint},null,8,["label","required","hint"]),x(We(Kke),{checked:r.value,style:{"align-self":"flex-start"},onChange:i},null,8,["checked"])],64))}}),Fqe=we({__name:"component",props:{userProps:{},errors:{},value:{},locale:{}},emits:["update:value","update:errors"],setup(e,{emit:t}){return(n,r)=>(oe(),de(tt,null,[x(Hn,{label:n.userProps.label,required:!!n.userProps.required,hint:n.userProps.hint},null,8,["label","required","hint"]),x(r7,{"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))}}),UXe={"appointment-input":O7e,"camera-input":cje,"cards-input":Eje,"checkbox-input":Tje,"checklist-input":Oje,"cnpj-input":Nje,"code-input":Mje,"cpf-input":$je,"currency-input":Hje,"custom-input":Gje,"date-input":qje,"dropdown-input":AYe,"email-input":MYe,"file-input":TWe,"image-input":OWe,"list-input":DWe,"multiple-choice-input":kWe,"nps-input":VWe,"number-input":YWe,"number-slider-input":KWe,"pandas-row-selection-input":rqe,"password-input":sqe,"phone-input":mqe,"rating-input":bqe,"rich-text-input":Sqe,"tag-input":Iqe,"text-input":Nqe,"textarea-input":Mqe,"time-input":$qe,"toggle-input":Lqe,"video-input":Fqe},Bqe=e=>(iB("data-v-1e783ab3"),e=e(),oB(),e),Uqe={class:"file-output"},Hqe=["href"],Vqe=Bqe(()=>Ce("iframe",{src:"about:blank",name:"iframe_a",class:"target-frame"},null,-1)),zqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",Uqe,[Ce("a",{href:t.userProps.fileUrl,class:"download-button button",target:"iframe_a",download:""},[x(We(C9e)),Jn(" "+Xt((r=t.userProps.downloadText)!=null?r:"Download"),1)],8,Hqe),Vqe])}}});const Gqe=Fn(zqe,[["__scopeId","data-v-1e783ab3"]]),jqe=["innerHTML"],Yqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de("div",{innerHTML:t.userProps.html},null,8,jqe))}}),Wqe=["src","width","height"],qqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{var r,i;return oe(),de("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,Wqe)}}});const Kqe=Fn(qqe,[["__scopeId","data-v-75daa443"]]),Zqe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de(tt,null,[x(Hn,{label:t.userProps.label,required:!1},null,8,["label"]),x(We(zMe),{src:t.userProps.imageUrl,alt:t.userProps.subtitle},null,8,["src","alt"])],64))}}),Qqe=we({__name:"component",props:{userProps:{}},setup(e){const t=Ie(null);return _t(async()=>{await Promise.all([K4("https://polyfill.io/v3/polyfill.min.js?features=es6"),K4("https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js")]),window.MathJax.typesetPromise([t.value])}),(n,r)=>(oe(),de("div",{ref_key:"latex",ref:t,class:"latex"},Xt(n.userProps.text),513))}});const Xqe=Fn(Qqe,[["__scopeId","data-v-9c539437"]]),Jqe=["href","target"],eKe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>(oe(),de("a",{class:"link",href:t.userProps.linkUrl,target:t.userProps.sameTab?"":"_blank"},Xt(t.userProps.linkText),9,Jqe))}}),tKe=we({__name:"component",props:{userProps:{}},setup(e){return(t,n)=>{const r=_p("Markdown");return oe(),An(r,{class:"markdown-output",source:t.userProps.text,html:""},null,8,["source"])}}});const nKe=Fn(tKe,[["__scopeId","data-v-331de5d9"]]),rKe=["height","width"],iKe=10,oKe=we({__name:"component",props:{userProps:{},runtime:{},containerHeight:{},containerWidth:{}},emits:["row-click","action-click","row-edit"],setup(e,{emit:t}){const n=e,r=Ie(null),i=({action:a,row:c})=>{t("action-click",{action:a,userProps:c})};function o({row:a}){t("row-click",{userProps:a.userProps,index:a.index})}function l({oldRow:a,newRow:c}){const d=ije(a,c);t("row-edit",{old:a,new:d,index:a.index})}Ve(n.userProps.table.data,()=>{});const s=k(()=>(n.userProps.displayIndex?n.userProps.table.schema.fields:n.userProps.table.schema.fields.filter(a=>a.name!="index")).map(a=>({...a,title:a.name.toString(),key:a.name.toString()}))),u=k(()=>{var a;return(a=n.userProps.pageSize)!=null?a:iKe});return(a,c)=>{var d;return oe(),de("div",{height:a.containerHeight,width:a.containerWidth},[x(Hn,{ref_key:"label",ref:r,label:n.userProps.label,required:!1},null,8,["label"]),x(i7,{data:a.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:o,onRowEdit:l},null,8,["data","columns","rows-per-page","actions"])],8,rKe)}}}),aKe=we({__name:"component",props:{userProps:{}},setup(e){const t=e,n=Ie(null);_t(async()=>{r()});const r=async()=>{if(!n.value)return;(await gy(()=>import("./plotly.min.93c684d4.js").then(o=>o.p),[])).newPlot(n.value,t.userProps.figure.data,t.userProps.figure.layout)};return Ve(()=>t.userProps.figure,r,{deep:!0}),(i,o)=>(oe(),de(tt,null,[x(Hn,{label:i.userProps.label,required:!1},null,8,["label"]),Ce("div",{ref_key:"root",ref:n,class:"chart"},null,512)],64))}});const sKe=Fn(aKe,[["__scopeId","data-v-0c65d6dd"]]),lKe={class:"progress-output"},cKe={class:"progress-container"},uKe={class:"progress-text label"},dKe=we({__name:"component",props:{userProps:{}},setup(e){const t=e,n=k(()=>{const{current:r,total:i}=t.userProps;return{width:`calc(${Math.min(100*r/i,100).toFixed(2)}% - 6px)`}});return(r,i)=>(oe(),de("div",lKe,[Ce("div",cKe,[Ce("div",{class:"progress-content",style:Mi(n.value)},null,4)]),Ce("div",uKe,Xt(r.userProps.text),1)]))}});const pKe=Fn(dKe,[["__scopeId","data-v-6fc80314"]]),fKe=we({__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=k(()=>({fontSize:n(t.userProps.size)}));return(i,o)=>(oe(),de("div",{class:"text",style:Mi(r.value)},Xt(i.userProps.text),5))}}),mKe={class:"start-widget"},gKe={class:"title"},hKe={key:0,class:"start-message"},_Ke=we({__name:"component",props:{form:{}},setup(e){return(t,n)=>(oe(),de("div",mKe,[Ce("div",gKe,Xt(t.form.welcomeTitle||t.form.title),1),t.form.startMessage?(oe(),de("div",hKe,Xt(t.form.startMessage),1)):ft("",!0)]))}});const vKe=Fn(_Ke,[["__scopeId","data-v-93314670"]]),bKe={class:"text"},SKe=we({__name:"component",props:{endMessage:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",bKe,Xt((r=t.endMessage)!=null?r:We(Mo).translate("i18n_end_message",t.locale)),1)}}});const yKe=Fn(SKe,[["__scopeId","data-v-a30dba0a"]]),EKe={class:"text"},CKe={key:0,class:"session-id"},TKe=we({__name:"component",props:{errorMessage:{},executionId:{},locale:{}},setup(e){return(t,n)=>{var r;return oe(),de("div",EKe,[Jn(Xt((r=t.errorMessage)!=null?r:We(Mo).translate("i18n_error_message",t.locale))+" ",1),t.executionId?(oe(),de("div",CKe,"Run ID: "+Xt(t.executionId),1)):ft("",!0)])}}});const wKe=Fn(TKe,[["__scopeId","data-v-a406885c"]]),HXe={start:vKe,end:yKe,error:wKe},VXe={"file-output":Gqe,"html-output":Yqe,"iframe-output":Kqe,"image-output":Zqe,"latex-output":Xqe,"link-output":eKe,"markdown-output":nKe,"pandas-output":oKe,"plotly-output":sKe,"progress-output":pKe,"text-output":fKe},Ai={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"},f8={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:[Ai.STARTS_WITH,Ai.CONTAINS,Ai.NOT_CONTAINS,Ai.ENDS_WITH,Ai.EQUALS,Ai.NOT_EQUALS],numeric:[Ai.EQUALS,Ai.NOT_EQUALS,Ai.LESS_THAN,Ai.LESS_THAN_OR_EQUAL_TO,Ai.GREATER_THAN,Ai.GREATER_THAN_OR_EQUAL_TO],date:[Ai.DATE_IS,Ai.DATE_IS_NOT,Ai.DATE_BEFORE,Ai.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},xKe=Symbol();var zXe={install:(e,t)=>{let n=t?{...f8,...t}:{...f8};const r={config:dn(n)};e.config.globalProperties.$primevue=r,e.provide(xKe,r)}},OKe={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:dA}};const IKe={class:"p-message-wrapper"},RKe={class:"p-message-text"},AKe=["aria-label"];function NKe(e,t,n,r,i,o){const l=Tf("ripple");return oe(),An(xi,{name:"p-message",appear:""},{default:fn(()=>[Sr(Ce("div",{class:Gt(o.containerClass),role:"alert","aria-live":"assertive","aria-atomic":"true"},[Ce("div",IKe,[Ce("span",{class:Gt(o.iconClass)},null,2),Ce("div",RKe,[Ct(e.$slots,"default")]),n.closable?Sr((oe(),de("button",Mn({key:0,class:"p-message-close p-link","aria-label":o.closeAriaLabel,type:"button",onClick:t[0]||(t[0]=s=>o.close(s))},n.closeButtonProps),[Ce("i",{class:Gt(["p-message-close-icon",n.closeIcon])},null,2)],16,AKe)),[[l]]):ft("",!0)])],2),[[Bo,i.visible]])]),_:3})}function DKe(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 MKe=` .p-message-wrapper { display: flex; align-items: center; @@ -885,4 +885,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),cr=it,yn=Tt),en===void * (c) 2022 Eduardo San Martin Morote * @license MIT */const Zd=typeof window<"u";function bQe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Xn=Object.assign;function rC(e,t){const n={};for(const r in t){const i=t[r];n[r]=qa(i)?i.map(e):e(i)}return n}const eg=()=>{},qa=Array.isArray,SQe=/\/$/,yQe=e=>e.replace(SQe,"");function iC(e,t,n="/"){let r,i={},o="",l="";const s=t.indexOf("#");let u=t.indexOf("?");return s=0&&(u=-1),u>-1&&(r=t.slice(0,u),o=t.slice(u+1,s>-1?s:t.length),i=e(o)),s>-1&&(r=r||t.slice(0,s),l=t.slice(s,t.length)),r=wQe(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:i,hash:l}}function EQe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function y8(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function CQe(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&uf(t.matched[r],n.matched[i])&&s7(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uf(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function s7(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TQe(e[n],t[n]))return!1;return!0}function TQe(e,t){return qa(e)?E8(e,t):qa(t)?E8(t,e):e===t}function E8(e,t){return qa(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function wQe(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var qg;(function(e){e.pop="pop",e.push="push"})(qg||(qg={}));var tg;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tg||(tg={}));function xQe(e){if(!e)if(Zd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yQe(e)}const OQe=/^[^#]+#/;function IQe(e,t){return e.replace(OQe,"#")+t}function RQe(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 _y=()=>({left:window.pageXOffset,top:window.pageYOffset});function AQe(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=RQe(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 C8(e,t){return(history.state?history.state.position-t:-1)+e}const Kw=new Map;function NQe(e,t){Kw.set(e,t)}function DQe(e){const t=Kw.get(e);return Kw.delete(e),t}let MQe=()=>location.protocol+"//"+location.host;function l7(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let s=i.includes(e.slice(o))?e.slice(o).length:1,u=i.slice(s);return u[0]!=="/"&&(u="/"+u),y8(u,"")}return y8(n,e)+r+i}function PQe(e,t,n,r){let i=[],o=[],l=null;const s=({state:p})=>{const f=l7(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:qg.pop,direction:h?h>0?tg.forward:tg.back:tg.unknown})})};function u(){l=n.value}function a(p){i.push(p);const f=()=>{const g=i.indexOf(p);g>-1&&i.splice(g,1)};return o.push(f),f}function c(){const{history:p}=window;!p.state||p.replaceState(Xn({},p.state,{scroll:_y()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:u,listen:a,destroy:d}}function T8(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?_y():null}}function kQe(e){const{history:t,location:n}=window,r={value:l7(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,a,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+u:MQe()+e+u;try{t[c?"replaceState":"pushState"](a,"",p),i.value=a}catch(f){console.error(f),n[c?"replace":"assign"](p)}}function l(u,a){const c=Xn({},t.state,T8(i.value.back,u,i.value.forward,!0),a,{position:i.value.position});o(u,c,!0),r.value=u}function s(u,a){const c=Xn({},i.value,t.state,{forward:u,scroll:_y()});o(c.current,c,!0);const d=Xn({},T8(r.value,u,null),{position:c.position+1},a);o(u,d,!1),r.value=u}return{location:r,state:i,push:s,replace:l}}function qXe(e){e=xQe(e);const t=kQe(e),n=PQe(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const i=Xn({location:"",base:e,go:r,createHref:IQe.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 $Qe(e){return typeof e=="string"||e&&typeof e=="object"}function c7(e){return typeof e=="string"||typeof e=="symbol"}const Kl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},u7=Symbol("");var w8;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(w8||(w8={}));function df(e,t){return Xn(new Error,{type:e,[u7]:!0},t)}function Ys(e,t){return e instanceof Error&&u7 in e&&(t==null||!!(e.type&t))}const x8="[^/]+?",LQe={sensitive:!1,strict:!1,start:!0,end:!0},FQe=/[.+*?^${}()[\]/\\]/g;function BQe(e,t){const n=Xn({},LQe,t),r=[];let i=n.start?"^":"";const o=[];for(const a of e){const c=a.length?[]:[90];n.strict&&!a.length&&(i+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function HQe(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const VQe={type:0,value:""},zQe=/[a-zA-Z0-9_]/;function GQe(e){if(!e)return[[]];if(e==="/")return[[VQe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${a}": ${f}`)}let n=0,r=n;const i=[];let o;function l(){o&&i.push(o),o=[]}let s=0,u,a="",c="";function d(){!a||(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=u}for(;s{l(b)}:eg}function l(c){if(c7(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||!d7(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!R8(c)&&r.set(c.record.name,c)}function a(c,d){let p,f={},g,m;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw df(1,{location:c});m=p.record.name,f=Xn(I8(d.params,p.keys.filter(b=>!b.optional).map(b=>b.name)),c.params&&I8(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 df(1,{location:c,currentLocation:d});m=p.record.name,f=Xn({},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:KQe(h)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:a,removeRoute:l,getRoutes:s,getRecordMatcher:i}}function I8(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function WQe(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:qQe(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 qQe(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 R8(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function KQe(e){return e.reduce((t,n)=>Xn(t,n.meta),{})}function A8(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function d7(e,t){return t.children.some(n=>n===e||d7(e,n))}const p7=/#/g,ZQe=/&/g,QQe=/\//g,XQe=/=/g,JQe=/\?/g,f7=/\+/g,eXe=/%5B/g,tXe=/%5D/g,m7=/%5E/g,nXe=/%60/g,g7=/%7B/g,rXe=/%7C/g,h7=/%7D/g,iXe=/%20/g;function yA(e){return encodeURI(""+e).replace(rXe,"|").replace(eXe,"[").replace(tXe,"]")}function oXe(e){return yA(e).replace(g7,"{").replace(h7,"}").replace(m7,"^")}function Zw(e){return yA(e).replace(f7,"%2B").replace(iXe,"+").replace(p7,"%23").replace(ZQe,"%26").replace(nXe,"`").replace(g7,"{").replace(h7,"}").replace(m7,"^")}function aXe(e){return Zw(e).replace(XQe,"%3D")}function sXe(e){return yA(e).replace(p7,"%23").replace(JQe,"%3F")}function lXe(e){return e==null?"":sXe(e).replace(QQe,"%2F")}function Cb(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function cXe(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&Zw(o)):[r&&Zw(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function uXe(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=qa(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const _7=Symbol(""),D8=Symbol(""),vy=Symbol(""),EA=Symbol(""),Qw=Symbol("");function hm(){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 dXe(e,t,n){const r=()=>{e[t].delete(n)};Li(r),fO(r),hh(()=>{e[t].add(n)}),e[t].add(n)}function KXe(e){const t=He(_7,{}).value;!t||dXe(t,"leaveGuards",e)}function lc(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,s)=>{const u=d=>{d===!1?s(df(4,{from:n,to:t})):d instanceof Error?s(d):$Qe(d)?s(df(2,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),l())},a=e.call(r&&r.instances[i],t,n,u);let c=Promise.resolve(a);e.length<3&&(c=c.then(u)),c.catch(d=>s(d))})}function oC(e,t,n,r){const i=[];for(const o of e)for(const l in o.components){let s=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(pXe(s)){const a=(s.__vccOpts||s)[t];a&&i.push(lc(a,n,r,o,l))}else{let u=s();i.push(()=>u.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const c=bQe(a)?a.default:a;o.components[l]=c;const p=(c.__vccOpts||c)[t];return p&&lc(p,n,r,o,l)()}))}}return i}function pXe(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function M8(e){const t=He(vy),n=He(EA),r=k(()=>t.resolve(We(e.to))),i=k(()=>{const{matched:u}=r.value,{length:a}=u,c=u[a-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(uf.bind(null,c));if(p>-1)return p;const f=P8(u[a-2]);return a>1&&P8(c)===f&&d[d.length-1].path!==f?d.findIndex(uf.bind(null,u[a-2])):p}),o=k(()=>i.value>-1&&hXe(n.params,r.value.params)),l=k(()=>i.value>-1&&i.value===n.matched.length-1&&s7(n.params,r.value.params));function s(u={}){return gXe(u)?t[We(e.replace)?"replace":"push"](We(e.to)).catch(eg):Promise.resolve()}return{route:r,href:k(()=>r.value.href),isActive:o,isExactActive:l,navigate:s}}const fXe=we({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:M8,setup(e,{slots:t}){const n=dn(M8(e)),{options:r}=He(vy),i=k(()=>({[k8(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[k8(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:bl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),mXe=fXe;function gXe(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 hXe(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(!qa(i)||i.length!==r.length||r.some((o,l)=>o!==i[l]))return!1}return!0}function P8(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const k8=(e,t,n)=>e!=null?e:t!=null?t:n,_Xe=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(Qw),i=k(()=>e.route||r.value),o=He(D8,0),l=k(()=>{let a=We(o);const{matched:c}=i.value;let d;for(;(d=c[a])&&!d.components;)a++;return a}),s=k(()=>i.value.matched[l.value]);Dt(D8,k(()=>l.value+1)),Dt(_7,s),Dt(Qw,i);const u=Ie();return Ve(()=>[u.value,s.value,e.name],([a,c,d],[p,f,g])=>{c&&(c.instances[d]=a,f&&f!==c&&a&&a===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),a&&c&&(!f||!uf(c,f)||!p)&&(c.enterCallbacks[d]||[]).forEach(m=>m(a))},{flush:"post"}),()=>{const a=i.value,c=e.name,d=s.value,p=d&&d.components[c];if(!p)return $8(n.default,{Component:p,route:a});const f=d.props[c],g=f?f===!0?a.params:typeof f=="function"?f(a):f:null,h=bl(p,Xn({},g,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[c]=null)},ref:u}));return $8(n.default,{Component:h,route:a})||h}}});function $8(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vXe=_Xe;function ZXe(e){const t=YQe(e.routes,e),n=e.parseQuery||cXe,r=e.stringifyQuery||N8,i=e.history,o=hm(),l=hm(),s=hm(),u=ke(Kl);let a=Kl;Zd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=rC.bind(null,q=>""+q),d=rC.bind(null,lXe),p=rC.bind(null,Cb);function f(q,ee){let se,ve;return c7(q)?(se=t.getRecordMatcher(q),ve=ee):ve=q,t.addRoute(ve,se)}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=Xn({},ee||u.value),typeof q=="string"){const W=iC(n,q,ee.path),J=t.resolve({path:W.path},ee),fe=i.createHref(W.fullPath);return Xn(W,J,{params:p(J.params),hash:Cb(W.hash),redirectedFrom:void 0,href:fe})}let se;if("path"in q)se=Xn({},q,{path:iC(n,q.path,ee.path).path});else{const W=Xn({},q.params);for(const J in W)W[J]==null&&delete W[J];se=Xn({},q,{params:d(q.params)}),ee.params=d(ee.params)}const ve=t.resolve(se,ee),pe=q.hash||"";ve.params=c(p(ve.params));const xe=EQe(r,Xn({},q,{hash:oXe(pe),path:ve.path})),ge=i.createHref(xe);return Xn({fullPath:xe,hash:pe,query:r===N8?uXe(q.query):q.query||{}},ve,{redirectedFrom:void 0,href:ge})}function b(q){return typeof q=="string"?iC(n,q,u.value.path):Xn({},q)}function S(q,ee){if(a!==q)return df(8,{from:ee,to:q})}function y(q){return T(q)}function C(q){return y(Xn(b(q),{replace:!0}))}function w(q){const ee=q.matched[q.matched.length-1];if(ee&&ee.redirect){const{redirect:se}=ee;let ve=typeof se=="function"?se(q):se;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=b(ve):{path:ve},ve.params={}),Xn({query:q.query,hash:q.hash,params:"path"in ve?{}:q.params},ve)}}function T(q,ee){const se=a=v(q),ve=u.value,pe=q.state,xe=q.force,ge=q.replace===!0,W=w(se);if(W)return T(Xn(b(W),{state:typeof W=="object"?Xn({},pe,W.state):pe,force:xe,replace:ge}),ee||se);const J=se;J.redirectedFrom=ee;let fe;return!xe&&CQe(r,ve,se)&&(fe=df(16,{to:J,from:ve}),G(ve,ve,!0,!1)),(fe?Promise.resolve(fe):R(J,ve)).catch(_e=>Ys(_e)?Ys(_e,2)?_e:j(_e):H(_e,J,ve)).then(_e=>{if(_e){if(Ys(_e,2))return T(Xn({replace:ge},b(_e.to),{state:typeof _e.to=="object"?Xn({},pe,_e.to.state):pe,force:xe}),ee||J)}else _e=D(J,ve,!0,ge,pe);return N(J,ve,_e),_e})}function O(q,ee){const se=S(q,ee);return se?Promise.reject(se):Promise.resolve()}function R(q,ee){let se;const[ve,pe,xe]=bXe(q,ee);se=oC(ve.reverse(),"beforeRouteLeave",q,ee);for(const W of ve)W.leaveGuards.forEach(J=>{se.push(lc(J,q,ee))});const ge=O.bind(null,q,ee);return se.push(ge),Hd(se).then(()=>{se=[];for(const W of o.list())se.push(lc(W,q,ee));return se.push(ge),Hd(se)}).then(()=>{se=oC(pe,"beforeRouteUpdate",q,ee);for(const W of pe)W.updateGuards.forEach(J=>{se.push(lc(J,q,ee))});return se.push(ge),Hd(se)}).then(()=>{se=[];for(const W of q.matched)if(W.beforeEnter&&!ee.matched.includes(W))if(qa(W.beforeEnter))for(const J of W.beforeEnter)se.push(lc(J,q,ee));else se.push(lc(W.beforeEnter,q,ee));return se.push(ge),Hd(se)}).then(()=>(q.matched.forEach(W=>W.enterCallbacks={}),se=oC(xe,"beforeRouteEnter",q,ee),se.push(ge),Hd(se))).then(()=>{se=[];for(const W of l.list())se.push(lc(W,q,ee));return se.push(ge),Hd(se)}).catch(W=>Ys(W,8)?W:Promise.reject(W))}function N(q,ee,se){for(const ve of s.list())ve(q,ee,se)}function D(q,ee,se,ve,pe){const xe=S(q,ee);if(xe)return xe;const ge=ee===Kl,W=Zd?history.state:{};se&&(ve||ge?i.replace(q.fullPath,Xn({scroll:ge&&W&&W.scroll},pe)):i.push(q.fullPath,pe)),u.value=q,G(q,ee,se,ge),j()}let B;function P(){B||(B=i.listen((q,ee,se)=>{if(!ae.listening)return;const ve=v(q),pe=w(ve);if(pe){T(Xn(pe,{replace:!0}),ve).catch(eg);return}a=ve;const xe=u.value;Zd&&NQe(C8(xe.fullPath,se.delta),_y()),R(ve,xe).catch(ge=>Ys(ge,12)?ge:Ys(ge,2)?(T(ge.to,ve).then(W=>{Ys(W,20)&&!se.delta&&se.type===qg.pop&&i.go(-1,!1)}).catch(eg),Promise.reject()):(se.delta&&i.go(-se.delta,!1),H(ge,ve,xe))).then(ge=>{ge=ge||D(ve,xe,!1),ge&&(se.delta&&!Ys(ge,8)?i.go(-se.delta,!1):se.type===qg.pop&&Ys(ge,20)&&i.go(-1,!1)),N(ve,xe,ge)}).catch(eg)}))}let $=hm(),M=hm(),L;function H(q,ee,se){j(q);const ve=M.list();return ve.length?ve.forEach(pe=>pe(q,ee,se)):console.error(q),Promise.reject(q)}function U(){return L&&u.value!==Kl?Promise.resolve():new Promise((q,ee)=>{$.add([q,ee])})}function j(q){return L||(L=!q,P(),$.list().forEach(([ee,se])=>q?se(q):ee()),$.reset()),q}function G(q,ee,se,ve){const{scrollBehavior:pe}=e;if(!Zd||!pe)return Promise.resolve();const xe=!se&&DQe(C8(q.fullPath,0))||(ve||!se)&&history.state&&history.state.scroll||null;return sn().then(()=>pe(q,ee,xe)).then(ge=>ge&&AQe(ge)).catch(ge=>H(ge,q,ee))}const K=q=>i.go(q);let Q;const ne=new Set,ae={currentRoute:u,listening:!0,addRoute:f,removeRoute:g,hasRoute:h,getRoutes:m,resolve:v,options:e,push:y,replace:C,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:o.add,beforeResolve:l.add,afterEach:s.add,onError:M.add,isReady:U,install(q){const ee=this;q.component("RouterLink",mXe),q.component("RouterView",vXe),q.config.globalProperties.$router=ee,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>We(u)}),Zd&&!Q&&u.value===Kl&&(Q=!0,y(i.location).catch(pe=>{}));const se={};for(const pe in Kl)se[pe]=k(()=>u.value[pe]);q.provide(vy,ee),q.provide(EA,dn(se)),q.provide(Qw,u);const ve=q.unmount;ne.add(q),q.unmount=function(){ne.delete(q),ne.size<1&&(a=Kl,B&&B(),B=null,u.value=Kl,Q=!1,L=!1),ve()}}};return ae}function Hd(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function bXe(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;luf(a,s))?r.push(s):n.push(s));const u=e.matched[l];u&&(t.matched.find(a=>uf(a,u))||i.push(u))}return[n,r,i]}function QXe(){return He(vy)}function XXe(){return He(EA)}export{Fn as $,uz as A,He as B,GXe as C,dn as D,Wr as E,Iu as F,Ut as G,Xx as H,LF as I,sn as J,mp as K,EXe as L,jXe as M,TXe as N,CXe as O,zXe as P,ke as Q,ft as R,I as S,ZE as T,ga as U,Dt as V,_t as W,de as X,Mi as Y,Ct as Z,gy as _,Ce as a,Uc as a$,Cn as a0,Pc as a1,a5 as a2,The as a3,ghe as a4,fhe as a5,Che as a6,c5 as a7,xf as a8,Ot as a9,nf as aA,II as aB,li as aC,ek as aD,yr as aE,Jn as aF,wh as aG,E9 as aH,WU as aI,w9 as aJ,It as aK,Bt as aL,nt as aM,qe as aN,JU as aO,qt as aP,ci as aQ,tt as aR,ZU as aS,Yt as aT,HS as aU,Va as aV,ti as aW,Rf as aX,xi as aY,Sr as aZ,Bo as a_,xr as aa,Si as ab,Ln as ac,Wt as ad,ba as ae,go as af,Li as ag,At as ah,Fe as ai,kn as aj,Z as ak,id as al,Er as am,Cl as an,Pn as ao,er as ap,Jt as aq,wr as ar,wt as as,qn as at,Ae as au,jhe as av,Yhe as aw,zhe as ax,Fr as ay,$i as az,x as b,mye as b$,ua as b0,fo as b1,hh as b2,fO as b3,kSe as b4,zme as b5,rn as b6,rt as b7,kh as b8,WS as b9,xt as bA,Oh as bB,MOe as bC,yme as bD,NXe as bE,URe as bF,ld as bG,Sa as bH,cd as bI,_I as bJ,Xr as bK,GL as bL,Z4e as bM,bs as bN,RO as bO,wPe as bP,Tc as bQ,C9 as bR,br as bS,Gp as bT,PSe as bU,rI as bV,mU as bW,SLe as bX,yh as bY,mR as bZ,Tp as b_,JS as ba,af as bb,CRe as bc,TRe as bd,ERe as be,ey as bf,fV as bg,CS as bh,Zi as bi,mo as bj,Ah as bk,ja as bl,Cc as bm,OU as bn,i$ as bo,zk as bp,Df as bq,LXe as br,FOe as bs,Gg as bt,fw as bu,El as bv,rf as bw,Xm as bx,fa as by,xh as bz,An as c,Gw as c$,TV as c0,MXe as c1,FO as c2,USe as c3,cU as c4,zLe as c5,FV as c6,Br as c7,Ywe as c8,vEe as c9,wDe as cA,YDe as cB,ODe as cC,Tz as cD,zMe as cE,VMe as cF,S2e as cG,hb as cH,gb as cI,of as cJ,Lo as cK,$2e as cL,YPe as cM,Bxe as cN,Ske as cO,ao as cP,cw as cQ,cR,$Xe as cS,kXe as cT,Bke as cU,PXe as cV,Kke as cW,Y4e as cX,V1 as cY,z1 as cZ,G1 as c_,$Le as ca,Wbe as cb,tRe as cc,eRe as cd,rV as ce,QIe as cf,A$ as cg,N$ as ch,Za as ci,pi as cj,tU as ck,__e as cl,rH as cm,oH as cn,tH as co,d2e as cp,A2e as cq,LPe as cr,JT as cs,FRe as ct,Yg as cu,fb as cv,pc as cw,gu as cx,$Ne as cy,KT as cz,we as d,q5 as d$,jw as d0,r4e as d1,U1 as d2,B1 as d3,eDe as d4,xw as d5,X4e as d6,Y1 as d7,Ro as d8,RG as d9,bDe as dA,FH as dB,OXe as dC,Eme as dD,XU as dE,pS as dF,v0 as dG,RXe as dH,O9 as dI,Aa as dJ,Ku as dK,AXe as dL,Kr as dM,FU as dN,CEe as dO,cAe as dP,p_e as dQ,fI as dR,s5 as dS,nH as dT,YS as dU,QT as dV,xXe as dW,qS as dX,wl as dY,BS as dZ,Rh as d_,AG as da,NG as db,iA as dc,kG as dd,H6e as de,KNe as df,c3e as dg,Wge as dh,DXe as di,$V as dj,SAe as dk,r6 as dl,Nh as dm,Zwe as dn,ixe as dp,lxe as dq,exe as dr,jp as ds,Kp as dt,wi as du,$O as dv,APe as dw,IXe as dx,Wa as dy,va as dz,Ie as e,ir as e$,PU as e0,CI as e1,nTe as e2,E1e as e3,fH as e4,zxe as e5,uP as e6,kc as e7,Mn as e8,Xt as e9,b7e as eA,oa as eB,KXe as eC,Xwe as eD,Ole as eE,vZe as eF,so as eG,xle as eH,WXe as eI,dWe as eJ,p8 as eK,oEe as eL,xs as eM,vQe as eN,q4e as eO,ju as eP,j7e as eQ,C9e as eR,Bze as eS,Sl as eT,TO as eU,Mo as eV,vKe as eW,yKe as eX,wKe as eY,Fme as eZ,Ude as e_,XXe as ea,Pi as eb,Au as ec,Gt as ed,pd as ee,nxe as ef,hO as eg,bpe as eh,axe as ei,Fo as ej,Cye as ek,Sg as el,iB as em,oB as en,QXe as eo,sGe as ep,mde as eq,vde as er,SB as es,Iue as et,wue as eu,vh as ev,zB as ew,tO as ex,ia as ey,dBe as ez,k as f,mXe as f0,uxe as f1,mEe as f2,qwe as f3,I8e as f4,S6e as f5,Ve as g,ZXe as h,qXe as i,YXe as j,s9 as k,BXe as l,yXe as m,wXe as n,oe as o,bl as p,UXe as q,_p as r,OKe as s,VXe as t,We as u,HXe as v,fn as w,jce as x,rO as y,Ode as z}; -//# sourceMappingURL=vue-router.7d22a765.js.map +//# sourceMappingURL=vue-router.d93c72db.js.map diff --git a/abstra_statics/dist/assets/workspaceStore.1847e3fb.js b/abstra_statics/dist/assets/workspaceStore.f24e9a7b.js similarity index 92% rename from abstra_statics/dist/assets/workspaceStore.1847e3fb.js rename to abstra_statics/dist/assets/workspaceStore.f24e9a7b.js index 72643e55fb..09e39b9a08 100644 --- a/abstra_statics/dist/assets/workspaceStore.1847e3fb.js +++ b/abstra_statics/dist/assets/workspaceStore.f24e9a7b.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.7d22a765.js";import{i as _t}from"./url.396c837f.js";import{i as pt}from"./colorHelpers.e5ec8c13.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]="ae243c40-66bf-448e-ba32-26956c1461cc",e._sentryDebugIdIdentifier="sentry-dbid-ae243c40-66bf-448e-ba32-26956c1461cc")}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.d93c72db.js";import{i as _t}from"./url.8e8c3899.js";import{i as pt}from"./colorHelpers.24f5763b.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]="6a804c59-7a46-4b6e-bd2a-263f98053dae",e._sentryDebugIdIdentifier="sentry-dbid-6a804c59-7a46-4b6e-bd2a-263f98053dae")}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.01d7d103.js"),["assets/OidcLoginCallback.01d7d103.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>j(()=>import("./OidcLogoutCallback.531f4ca8.js"),["assets/OidcLogoutCallback.531f4ca8.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>j(()=>import("./Login.ef8de6bd.js"),["assets/Login.ef8de6bd.js","assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/string.042fe6bc.js","assets/CircularLoading.313ca01b.js","assets/CircularLoading.1a558a0d.css","assets/index.143dc5b1.js","assets/index.3db2f466.js","assets/Login.c8ca392c.css","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/Login.401c8269.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>j(()=>import("./Main.304bbf97.js"),["assets/Main.304bbf97.js","assets/PlayerNavbar.641ba123.js","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/LoadingOutlined.0a0dc718.js","assets/PhSignOut.vue.618d1f5c.js","assets/index.4c73e857.js","assets/Avatar.34816737.js","assets/PlayerNavbar.8a0727fc.css","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/Main.f8caebc6.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>j(()=>import("./Home.7b492324.js"),["assets/Home.7b492324.js","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/Watermark.a189bb8e.js","assets/Watermark.4e66f4f8.css","assets/PhArrowSquareOut.vue.a1699b2d.js","assets/index.bf08eae9.js","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/LoadingOutlined.0a0dc718.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"threads",name:"playerThreads",component:()=>j(()=>import("./Threads.da6fa060.js"),["assets/Threads.da6fa060.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/WorkflowView.48ecfe92.js","assets/polling.f65e8dae.js","assets/asyncComputed.62fe9f61.js","assets/PhQuestion.vue.52f4cce8.js","assets/ant-design.c6784518.js","assets/index.28152a0c.js","assets/index.185e14fb.js","assets/index.eabeddc9.js","assets/CollapsePanel.e3bd0766.js","assets/index.89bac5b6.js","assets/index.8fb2fffd.js","assets/Badge.c37c51db.js","assets/PhArrowCounterClockwise.vue.7aa73d25.js","assets/Workflow.70137be1.js","assets/validations.de16515c.js","assets/string.042fe6bc.js","assets/uuid.65957d70.js","assets/index.143dc5b1.js","assets/workspaces.7db2ec4c.js","assets/record.c63163fa.js","assets/colorHelpers.e5ec8c13.js","assets/index.caeca3de.js","assets/PhArrowDown.vue.647cad46.js","assets/Workflow.6ef00fbb.css","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/LoadingOutlined.0a0dc718.js","assets/DeleteOutlined.5491ff33.js","assets/PhDownloadSimple.vue.c2d6c2cb.js","assets/utils.6e13a992.js","assets/LoadingContainer.9f69b37b.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css","assets/url.396c837f.js","assets/Threads.20c34c0b.css"]),meta:{title:"Threads"}},{path:"error/:status",name:"error",component:()=>j(()=>import("./Error.3d6ff36d.js"),["assets/Error.3d6ff36d.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.040caedb.js","assets/Logo.6d72a7bf.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/Card.ea12dbe7.js","assets/TabPane.4206d5f7.js","assets/url.396c837f.js","assets/colorHelpers.e5ec8c13.js","assets/Error.ecf978ca.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>j(()=>import("./Form.5d2758ac.js"),["assets/Form.5d2758ac.js","assets/api.2772643e.js","assets/fetch.8d81adbd.js","assets/vue-router.7d22a765.js","assets/vue-router.b3bf2b78.css","assets/metadata.9b52bd89.js","assets/PhBug.vue.fd83bab4.js","assets/PhCheckCircle.vue.912aee3f.js","assets/PhKanban.vue.76078103.js","assets/PhWebhooksLogo.vue.4693bfce.js","assets/FormRunner.68123581.js","assets/url.396c837f.js","assets/Login.vue_vue_type_script_setup_true_lang.30e3968d.js","assets/Logo.6d72a7bf.js","assets/Logo.03290bf7.css","assets/string.042fe6bc.js","assets/CircularLoading.313ca01b.js","assets/CircularLoading.1a558a0d.css","assets/index.143dc5b1.js","assets/index.3db2f466.js","assets/Login.c8ca392c.css","assets/Steps.db3ca432.js","assets/index.d9edc3f8.js","assets/Steps.4d03c6c1.css","assets/Watermark.a189bb8e.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/asyncComputed.62fe9f61.js","assets/uuid.65957d70.js","assets/colorHelpers.e5ec8c13.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.1847e3fb.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.a8872c03.js"),["assets/OidcLoginCallback.a8872c03.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>j(()=>import("./OidcLogoutCallback.f208f2ee.js"),["assets/OidcLogoutCallback.f208f2ee.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>j(()=>import("./Login.ae4e2148.js"),["assets/Login.ae4e2148.js","assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/string.d10c3089.js","assets/CircularLoading.8a9b1f0b.js","assets/CircularLoading.1a558a0d.css","assets/index.77b08602.js","assets/index.b7b1d42b.js","assets/Login.c8ca392c.css","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/Login.401c8269.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>j(()=>import("./Main.ef4e6aa4.js"),["assets/Main.ef4e6aa4.js","assets/PlayerNavbar.f1d9205e.js","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/LoadingOutlined.e222117b.js","assets/PhSignOut.vue.33fd1944.js","assets/index.5dabdfbc.js","assets/Avatar.0cc5fd49.js","assets/PlayerNavbar.8a0727fc.css","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/Main.f8caebc6.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>j(()=>import("./Home.15f00d74.js"),["assets/Home.15f00d74.js","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/Watermark.1fc122c8.js","assets/Watermark.4e66f4f8.css","assets/PhArrowSquareOut.vue.ba2ca743.js","assets/index.40daa792.js","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/LoadingOutlined.e222117b.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"threads",name:"playerThreads",component:()=>j(()=>import("./Threads.78b4ca4c.js"),["assets/Threads.78b4ca4c.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/WorkflowView.0a0b846e.js","assets/polling.be8756ca.js","assets/asyncComputed.d2f65d62.js","assets/PhQuestion.vue.1e79437f.js","assets/ant-design.2a356765.js","assets/index.090b2bf1.js","assets/index.1b012bfe.js","assets/index.37cd2d5b.js","assets/CollapsePanel.79713856.js","assets/index.313ae0a2.js","assets/index.7c698315.js","assets/Badge.819cb645.js","assets/PhArrowCounterClockwise.vue.b00021df.js","assets/Workflow.9788d429.js","assets/validations.6e89473f.js","assets/string.d10c3089.js","assets/uuid.848d284c.js","assets/index.77b08602.js","assets/workspaces.054b755b.js","assets/record.a553a696.js","assets/colorHelpers.24f5763b.js","assets/index.d05003c4.js","assets/PhArrowDown.vue.4dd765b6.js","assets/Workflow.6ef00fbb.css","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/LoadingOutlined.e222117b.js","assets/DeleteOutlined.992cbf70.js","assets/PhDownloadSimple.vue.798ada40.js","assets/utils.83debec2.js","assets/LoadingContainer.075249df.js","assets/LoadingContainer.56fa997a.css","assets/WorkflowView.79f95473.css","assets/url.8e8c3899.js","assets/Threads.20c34c0b.css"]),meta:{title:"Threads"}},{path:"error/:status",name:"error",component:()=>j(()=>import("./Error.efb53375.js"),["assets/Error.efb53375.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.26743b39.js","assets/Logo.3e4c9003.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/Logo.03290bf7.css","assets/Card.6f8ccb1f.js","assets/TabPane.820835b5.js","assets/url.8e8c3899.js","assets/colorHelpers.24f5763b.js","assets/Error.ecf978ca.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>j(()=>import("./Form.68490694.js"),["assets/Form.68490694.js","assets/api.bff7d58f.js","assets/fetch.a18f4d89.js","assets/vue-router.d93c72db.js","assets/vue-router.b3bf2b78.css","assets/metadata.7b1155be.js","assets/PhBug.vue.2cdd0af8.js","assets/PhCheckCircle.vue.68babecd.js","assets/PhKanban.vue.04c2aadb.js","assets/PhWebhooksLogo.vue.ea2526db.js","assets/FormRunner.0cb92719.js","assets/url.8e8c3899.js","assets/Login.vue_vue_type_script_setup_true_lang.9267acc2.js","assets/Logo.3e4c9003.js","assets/Logo.03290bf7.css","assets/string.d10c3089.js","assets/CircularLoading.8a9b1f0b.js","assets/CircularLoading.1a558a0d.css","assets/index.77b08602.js","assets/index.b7b1d42b.js","assets/Login.c8ca392c.css","assets/Steps.5f0ada68.js","assets/index.03f6e8fc.js","assets/Steps.4d03c6c1.css","assets/Watermark.1fc122c8.js","assets/Watermark.4e66f4f8.css","assets/FormRunner.0d94ec8e.css","assets/asyncComputed.d2f65d62.js","assets/uuid.848d284c.js","assets/colorHelpers.24f5763b.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.f24e9a7b.js.map diff --git a/abstra_statics/dist/assets/workspaces.7db2ec4c.js b/abstra_statics/dist/assets/workspaces.054b755b.js similarity index 71% rename from abstra_statics/dist/assets/workspaces.7db2ec4c.js rename to abstra_statics/dist/assets/workspaces.054b755b.js index d89da8feab..0795b51d7f 100644 --- a/abstra_statics/dist/assets/workspaces.7db2ec4c.js +++ b/abstra_statics/dist/assets/workspaces.054b755b.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.1847e3fb.js";import{A as g}from"./record.c63163fa.js";import{i as u}from"./colorHelpers.e5ec8c13.js";import"./vue-router.7d22a765.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]="f2e6ef69-66e2-403a-a912-b0b350c12af5",r._sentryDebugIdIdentifier="sentry-dbid-f2e6ef69-66e2-403a-a912-b0b350c12af5")}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.7db2ec4c.js.map +var l=Object.defineProperty;var h=(a,e,t)=>e in a?l(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var s=(a,e,t)=>(h(a,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.f24e9a7b.js";import{A as g}from"./record.a553a696.js";import{i as u}from"./colorHelpers.24f5763b.js";import"./vue-router.d93c72db.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]="bf0ba793-b632-414f-8ea1-adbc9ba987da",a._sentryDebugIdIdentifier="sentry-dbid-bf0ba793-b632-414f-8ea1-adbc9ba987da")}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 r=new m,o=class{constructor(e){s(this,"record");this.record=g.create(r,e)}static async get(){const e=await r.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 r.openFile(e)}static async initFile(e,t){await r.initFile(e,t)}static async checkFile(e){return r.checkFile(e)}async readFile(e){return r.readFile(e)}static async readTestData(){return r.readTestData()}static async writeTestData(e){return r.writeTestData(e)}static async deploy(){return r.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.054b755b.js.map diff --git a/abstra_statics/dist/assets/xml.9941aaad.js b/abstra_statics/dist/assets/xml.3a15fd70.js similarity index 90% rename from abstra_statics/dist/assets/xml.9941aaad.js rename to abstra_statics/dist/assets/xml.3a15fd70.js index 6cb0c9ead0..47d50d07c4 100644 --- a/abstra_statics/dist/assets/xml.9941aaad.js +++ b/abstra_statics/dist/assets/xml.3a15fd70.js @@ -1,7 +1,7 @@ -import{m as d}from"./toggleHighContrast.5f5c4f15.js";import"./vue-router.7d22a765.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]="666006f8-fe22-48d3-925f-ddb05ef5234c",t._sentryDebugIdIdentifier="sentry-dbid-666006f8-fe22-48d3-925f-ddb05ef5234c")}catch{}})();/*!----------------------------------------------------------------------------- +import{m as d}from"./toggleHighContrast.6c3d17d3.js";import"./vue-router.d93c72db.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]="29f33d14-5144-4361-86a6-f6b3e2c1694f",t._sentryDebugIdIdentifier="sentry-dbid-29f33d14-5144-4361-86a6-f6b3e2c1694f")}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,m=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,r=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of m(e))!s.call(t,o)&&o!==n&&c(t,o,{get:()=>e[o],enumerable:!(i=l(e,o))||i.enumerable});return t},p=(t,e,n)=>(r(t,e,"default"),n&&r(n,e,"default")),a={};p(a,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:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.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"}],[/