diff --git a/api/__init__.py b/api/__init__.py index cc3b6942..b67223ea 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -19,7 +19,8 @@ from lollms.binding import LOLLMSConfig, BindingBuilder, LLMBinding, ModelBuilde from lollms.paths import LollmsPaths from lollms.helpers import ASCIIColors, trace_exception from lollms.app import LollmsApplication -from lollms.utilities import File64BitsManager, PromptReshaper +from lollms.utilities import File64BitsManager, PromptReshaper, TextVectorizer + import threading from tqdm import tqdm import traceback @@ -121,6 +122,9 @@ class LoLLMsAPPI(LollmsApplication): self.config_file_path = config_file_path self.cancel_gen = False + + self.discussion_store = None + # Keeping track of current discussion and message self._current_user_message_id = 0 self._current_ai_message_id = 0 @@ -1154,13 +1158,37 @@ class LoLLMsAPPI(LollmsApplication): if self.config["override_personality_model_parameters"]: conditionning = conditionning+ "\n!@>user description:\nName:"+self.config["user_name"]+"\n"+self.config["user_description"]+"\n" - if len(self.personality.files)>0 and self.personality.vectorizer: + str_docs = "" + + if self.config.use_discussions_history: + if self.discussion_store is None: + self.discussion_store = TextVectorizer(self.config.data_vectorization_method, # supported "model_embedding" or "ftidf_vectorizer" + model=self.model, #needed in case of using model_embedding + database_path=self.lollms_paths.personal_databases_path/"discussionsdb.json", + save_db=self.config.data_vectorization_save_db, + visualize_data_at_startup=False, + visualize_data_at_add_file=False, + visualize_data_at_generate=False, + data_visualization_method="PCA", + database_dict=None) + corpus = self.db.export_all_as_markdown() + self.discussion_store.add_document("discussions", corpus, self.config.data_vectorization_chunk_size, self.config.data_vectorization_overlap_size ) + pr = PromptReshaper("{{conditionning}}\n!@>document chunks:\n{{doc}}\n{{content}}") - emb = self.personality.vectorizer.embed_query(message.content) - docs, sorted_similarities = self.personality.vectorizer.recover_text(emb, top_k=self.config.data_vectorization_nb_chunks) - str_docs = "" + emb = self.discussion_store.embed_query(message.content) + docs, sorted_similarities = self.discussion_store.recover_text(emb, top_k=self.config.data_vectorization_nb_chunks) for doc, infos in zip(docs, sorted_similarities): str_docs+=f"document chunk:\nchunk path: {infos[0]}\nchunk content:{doc}" + + + if len(self.personality.files)>0 and self.personality.vectorizer: + emb = self.personality.vectorizer.embed_query(message.content) + docs, sorted_similarities = self.personality.vectorizer.recover_text(emb, top_k=self.config.data_vectorization_nb_chunks) + for doc, infos in zip(docs, sorted_similarities): + str_docs+=f"document chunk:\nchunk path: {infos[0]}\nchunk content:{doc}" + + if str_docs!="": + pr = PromptReshaper("{{conditionning}}\n!@>document chunks:\n{{doc}}\n{{content}}") discussion_messages = pr.build({ "doc":str_docs, "conditionning":conditionning, @@ -1494,7 +1522,7 @@ class LoLLMsAPPI(LollmsApplication): self.connections[client_id]["current_discussion"].load_message(message_id) self.connections[client_id]["generated_text"] = message.content else: - self.new_message(client_id, self.personality.name, "✍ please stand by ...") + self.new_message(client_id, self.personality.name, "✍ warming up ...") self.socketio.sleep(0.01) # prepare query and reception diff --git a/api/db.py b/api/db.py index b1df9a79..877612c0 100644 --- a/api/db.py +++ b/api/db.py @@ -249,6 +249,56 @@ class DiscussionsDB: ) discussions.append(discussion) return discussions + def export_all_as_markdown(self): + data = self.export_all_discussions_to_json() + + # Initialize an empty result string + result = '' + + # Iterate through discussions in the JSON data + for discussion in data: + # Extract the title + title = discussion['title'] + # Append the title with '#' as Markdown heading + result += f'#{title}\n' + + # Iterate through messages in the discussion + for message in discussion['messages']: + sender = message['sender'] + content = message['content'] + # Append the sender and content in a Markdown format + result += f'{sender}: {content}\n' + + return result + + def export_all_discussions_to_json(self): + # Convert the list of discussion IDs to a tuple + db_discussions = self.select( + f"SELECT * FROM discussion" + ) + discussions = [] + for row in db_discussions: + discussion_id = row[0] + discussion_title = row[1] + discussion = {"id": discussion_id, "title":discussion_title, "messages": []} + rows = self.select(f"SELECT sender, content, message_type, rank, parent_message_id, binding, model, personality, created_at, finished_generating_at FROM message WHERE discussion_id=?",(discussion_id,)) + for message_row in rows: + sender = message_row[0] + content = message_row[1] + content_type = message_row[2] + rank = message_row[3] + parent_message_id = message_row[4] + binding = message_row[5] + model = message_row[6] + personality = message_row[7] + created_at = message_row[8] + finished_generating_at = message_row[9] + + discussion["messages"].append( + {"sender": sender, "content": content, "type": content_type, "rank": rank, "parent_message_id": parent_message_id, "binding": binding, "model":model, "personality":personality, "created_at":created_at, "finished_generating_at": finished_generating_at} + ) + discussions.append(discussion) + return discussions def export_discussions_to_json(self, discussions_ids:list): # Convert the list of discussion IDs to a tuple diff --git a/app.py b/app.py index 2dc77b33..0b1c9af2 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,7 @@ __github__ = "https://github.com/ParisNeo/lollms-webui" __copyright__ = "Copyright 2023, " __license__ = "Apache 2.0" -__version__ ="6.7Alpha1" +__version__ ="6.7Alpha2" main_repo = "https://github.com/ParisNeo/lollms-webui.git" import os @@ -310,6 +310,10 @@ class LoLLMsWebUI(LoLLMsAPPI): self.add_endpoint( "/list_personalities", "list_personalities", self.list_personalities, methods=["GET"] ) + self.add_endpoint( + "/list_databases", "list_databases", self.list_databases, methods=["GET"] + ) + self.add_endpoint( "/list_extensions_categories", "list_extensions_categories", self.list_extensions_categories, methods=["GET"] @@ -1126,6 +1130,10 @@ class LoLLMsWebUI(LoLLMsAPPI): personalities=[] ASCIIColors.error(f"No personalities found. Using default one {ex}") return jsonify(personalities) + + def list_databases(self): + databases = [f.name for f in self.lollms_paths.personal_databases_path.iterdir() if f.suffix==".db"] + return jsonify(databases) def list_extensions_categories(self): diff --git a/configs/config.yaml b/configs/config.yaml index 63036bc9..59accddd 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Models Configuration file =========================== -version: 24 +version: 25 binding_name: null model_name: null @@ -29,7 +29,6 @@ override_personality_model_parameters: false #if true the personality parameters extensions: [] - user_name: user user_description: "" use_user_name_in_discussions: false @@ -57,6 +56,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization +use_discussions_history: false # Activate vectorizing previous conversations use_files: true # Activate using files data_vectorization_activate: true # To activate/deactivate data vectorization data_vectorization_method: "ftidf_vectorizer" #"model_embedding" or "ftidf_vectorizer" diff --git a/web/dist/assets/index-1e156293.css b/web/dist/assets/index-a2b38a7a.css similarity index 98% rename from web/dist/assets/index-1e156293.css rename to web/dist/assets/index-a2b38a7a.css index 8a1091c2..f6131278 100644 --- a/web/dist/assets/index-1e156293.css +++ b/web/dist/assets/index-a2b38a7a.css @@ -5,4 +5,4 @@ Author: (c) Henri Vandersleyen License: see project LICENSE Touched: 2022 -*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:250px;background-color:#fff;z-index:1000;display:none}.settings-button{cursor:pointer;padding:10px;border:1px solid #ddd;border-radius:5px;color:#333;font-size:14px}.settings-button:hover{background-color:#eee}.settings-button:active{background-color:#ddd}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.scrollbar[data-v-c8c43118]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-c8c43118]::-webkit-scrollbar{width:8px}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.selected-choice{background-color:#bde4ff}.heartbeat-text[data-v-12b93420]{font-size:24px;animation:pulsate-12b93420 1.5s infinite}@keyframes pulsate-12b93420{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-12b93420],.list-enter-active[data-v-12b93420],.list-leave-active[data-v-12b93420]{transition:all .5s ease}.list-enter-from[data-v-12b93420]{transform:translatey(-30px)}.list-leave-to[data-v-12b93420]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-12b93420]{position:absolute}.bounce-enter-active[data-v-12b93420]{animation:bounce-in-12b93420 .5s}.bounce-leave-active[data-v-12b93420]{animation:bounce-in-12b93420 .5s reverse}@keyframes bounce-in-12b93420{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-12b93420]{background-color:#0ff}.hover[data-v-12b93420]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-12b93420]{font-weight:700}.collapsible-section{cursor:pointer;margin-bottom:10px;font-weight:700}.collapsible-section:hover{color:#1a202c}.collapsible-section .toggle-icon{margin-right:.25rem}.collapsible-section .toggle-icon i{color:#4a5568}.collapsible-section .toggle-icon i:hover{color:#1a202c}.json-viewer{max-height:300px;max-width:700px;flex:auto;overflow-y:auto;padding:10px;background-color:#f1f1f1;border:1px solid #ccc;border-radius:4px}.json-viewer .toggle-icon{cursor:pointer;margin-right:.25rem}.json-viewer .toggle-icon i{color:#4a5568}.json-viewer .toggle-icon i:hover{color:#1a202c}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-430515e1]{animation:bounce-in-430515e1 .5s}.bounce-leave-active[data-v-430515e1]{animation:bounce-in-430515e1 .5s reverse}@keyframes bounce-in-430515e1{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-52cfa09c]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-52cfa09c]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-52cfa09c]{top:calc(-100% - 2rem)}.list-move[data-v-21d74680],.list-enter-active[data-v-21d74680],.list-leave-active[data-v-21d74680]{transition:all .5s ease}.list-enter-from[data-v-21d74680]{transform:translatey(-30px)}.list-leave-to[data-v-21d74680]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-21d74680]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-f8600c84],.slide-right-leave-active[data-v-f8600c84]{transition:transform .3s ease}.slide-right-enter[data-v-f8600c84],.slide-right-leave-to[data-v-f8600c84]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-f8600c84]{animation:fade-and-fly-enter-f8600c84 .5s ease}.fade-and-fly-leave-active[data-v-f8600c84]{animation:fade-and-fly-leave-f8600c84 .5s ease}@keyframes fade-and-fly-enter-f8600c84{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-f8600c84{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-f8600c84],.list-enter-active[data-v-f8600c84],.list-leave-active[data-v-f8600c84]{transition:all .5s ease}.list-enter-from[data-v-f8600c84]{transform:translatey(-30px)}.list-leave-to[data-v-f8600c84]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-f8600c84]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{font-size:36px;font-weight:700}h2{font-size:24px;font-weight:700}h3{font-size:18px;font-weight:700}h4{font-size:18px;font-style:italic}ul{list-style-type:disc;margin-left:5px}ol{list-style-type:decimal}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:fill-primary:hover{fill:#0e8ef0}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:fill-white){fill:#fff}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:fill-primary:hover){fill:#0e8ef0}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} +*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:250px;background-color:#fff;z-index:1000;display:none}.settings-button{cursor:pointer;padding:10px;border:1px solid #ddd;border-radius:5px;color:#333;font-size:14px}.settings-button:hover{background-color:#eee}.settings-button:active{background-color:#ddd}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.scrollbar[data-v-c8c43118]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-c8c43118]::-webkit-scrollbar{width:8px}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-c8c43118]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.selected-choice{background-color:#bde4ff}.heartbeat-text[data-v-abe0afe3]{font-size:24px;animation:pulsate-abe0afe3 1.5s infinite}@keyframes pulsate-abe0afe3{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-abe0afe3],.list-enter-active[data-v-abe0afe3],.list-leave-active[data-v-abe0afe3]{transition:all .5s ease}.list-enter-from[data-v-abe0afe3]{transform:translatey(-30px)}.list-leave-to[data-v-abe0afe3]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-abe0afe3]{position:absolute}.bounce-enter-active[data-v-abe0afe3]{animation:bounce-in-abe0afe3 .5s}.bounce-leave-active[data-v-abe0afe3]{animation:bounce-in-abe0afe3 .5s reverse}@keyframes bounce-in-abe0afe3{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-abe0afe3]{background-color:#0ff}.hover[data-v-abe0afe3]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-abe0afe3]{font-weight:700}.collapsible-section{cursor:pointer;margin-bottom:10px;font-weight:700}.collapsible-section:hover{color:#1a202c}.collapsible-section .toggle-icon{margin-right:.25rem}.collapsible-section .toggle-icon i{color:#4a5568}.collapsible-section .toggle-icon i:hover{color:#1a202c}.json-viewer{max-height:300px;max-width:700px;flex:auto;overflow-y:auto;padding:10px;background-color:#f1f1f1;border:1px solid #ccc;border-radius:4px}.json-viewer .toggle-icon{cursor:pointer;margin-right:.25rem}.json-viewer .toggle-icon i{color:#4a5568}.json-viewer .toggle-icon i:hover{color:#1a202c}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-430515e1]{animation:bounce-in-430515e1 .5s}.bounce-leave-active[data-v-430515e1]{animation:bounce-in-430515e1 .5s reverse}@keyframes bounce-in-430515e1{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-52cfa09c]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-52cfa09c]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-52cfa09c]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-52cfa09c]{top:calc(-100% - 2rem)}.list-move[data-v-21d74680],.list-enter-active[data-v-21d74680],.list-leave-active[data-v-21d74680]{transition:all .5s ease}.list-enter-from[data-v-21d74680]{transform:translatey(-30px)}.list-leave-to[data-v-21d74680]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-21d74680]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-aa03397c],.slide-right-leave-active[data-v-aa03397c]{transition:transform .3s ease}.slide-right-enter[data-v-aa03397c],.slide-right-leave-to[data-v-aa03397c]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-aa03397c]{animation:fade-and-fly-enter-aa03397c .5s ease}.fade-and-fly-leave-active[data-v-aa03397c]{animation:fade-and-fly-leave-aa03397c .5s ease}@keyframes fade-and-fly-enter-aa03397c{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-aa03397c{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-aa03397c],.list-enter-active[data-v-aa03397c],.list-leave-active[data-v-aa03397c]{transition:all .5s ease}.list-enter-from[data-v-aa03397c]{transform:translatey(-30px)}.list-leave-to[data-v-aa03397c]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-aa03397c]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{font-size:36px;font-weight:700}h2{font-size:24px;font-weight:700}h3{font-size:18px;font-weight:700}h4{font-size:18px;font-style:italic}ul{list-style-type:disc;margin-left:5px}ol{list-style-type:decimal}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:fill-primary:hover{fill:#0e8ef0}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:fill-white){fill:#fff}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:fill-primary:hover){fill:#0e8ef0}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} diff --git a/web/dist/assets/index-5dd957eb.js b/web/dist/assets/index-a7ee745c.js similarity index 54% rename from web/dist/assets/index-5dd957eb.js rename to web/dist/assets/index-a7ee745c.js index dc0303a3..621d18df 100644 --- a/web/dist/assets/index-5dd957eb.js +++ b/web/dist/assets/index-a7ee745c.js @@ -1,41 +1,41 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function El(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function yt(t){if(Te(t)){const e={};for(let n=0;n{if(n){const s=n.split(Sm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function ke(t){let e="";if(et(t))e=t;else if(Te(t))for(let n=0;nns(n,e))}const z=t=>et(t)?t:t==null?"":Te(t)||Ye(t)&&(t.toString===Kh||!Le(t.toString))?JSON.stringify(t,Vh,2):String(t),Vh=(t,e)=>e&&e.__v_isRef?Vh(t,e.value):xs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Us(e)?{[`Set(${e.size})`]:[...e.values()]}:Ye(e)&&!Te(e)&&!Zh(e)?String(e):e,Je={},vs=[],Ft=()=>{},Lm=()=>!1,Dm=/^on[^a-z]/,Gr=t=>Dm.test(t),Al=t=>t.startsWith("onUpdate:"),it=Object.assign,Sl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Im=Object.prototype.hasOwnProperty,je=(t,e)=>Im.call(t,e),Te=Array.isArray,xs=t=>js(t)==="[object Map]",Us=t=>js(t)==="[object Set]",Lc=t=>js(t)==="[object Date]",Pm=t=>js(t)==="[object RegExp]",Le=t=>typeof t=="function",et=t=>typeof t=="string",vo=t=>typeof t=="symbol",Ye=t=>t!==null&&typeof t=="object",Gh=t=>Ye(t)&&Le(t.then)&&Le(t.catch),Kh=Object.prototype.toString,js=t=>Kh.call(t),Fm=t=>js(t).slice(8,-1),Zh=t=>js(t)==="[object Object]",Tl=t=>et(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,cr=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Bm=/-(\w)/g,Yt=Kr(t=>t.replace(Bm,(e,n)=>n?n.toUpperCase():"")),zm=/\B([A-Z])/g,rs=Kr(t=>t.replace(zm,"-$1").toLowerCase()),Zr=Kr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ai=Kr(t=>t?`on${Zr(t)}`:""),xo=(t,e)=>!Object.is(t,e),ws=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},kr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},$m=t=>{const e=et(t)?Number(t):NaN;return isNaN(e)?t:e};let Dc;const Um=()=>Dc||(Dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class jm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Nt;try{return Nt=this,e()}finally{Nt=n}}}on(){Nt=this}off(){Nt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Wh=t=>(t.w&Nn)>0,Yh=t=>(t.n&Nn)>0,Vm=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(d)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Te(t)?Tl(n)&&a.push(i.get("length")):(a.push(i.get(Jn)),xs(t)&&a.push(i.get(qa)));break;case"delete":Te(t)||(a.push(i.get(Jn)),xs(t)&&a.push(i.get(qa)));break;case"set":xs(t)&&a.push(i.get(Jn));break}if(a.length===1)a[0]&&Ha(a[0]);else{const l=[];for(const d of a)d&&l.push(...d);Ha(Ml(l))}}function Ha(t,e){const n=Te(t)?t:[...t];for(const s of n)s.computed&&Pc(s);for(const s of n)s.computed||Pc(s)}function Pc(t,e){(t!==Dt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Km=El("__proto__,__v_isRef,__isVue"),Xh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(vo)),Zm=Rl(),Wm=Rl(!1,!0),Ym=Rl(!0),Fc=Jm();function Jm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=He(this);for(let r=0,i=this.length;r{t[e]=function(...n){qs();const s=He(this)[e].apply(this,n);return Hs(),s}}),t}function Qm(t){const e=He(this);return _t(e,"has",t),e.hasOwnProperty(t)}function Rl(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?p_:of:e?sf:nf).get(s))return s;const i=Te(s);if(!t){if(i&&je(Fc,o))return Reflect.get(Fc,o,r);if(o==="hasOwnProperty")return Qm}const a=Reflect.get(s,o,r);return(vo(o)?Xh.has(o):Km(o))||(t||_t(s,"get",o),e)?a:ht(a)?i&&Tl(o)?a:a.value:Ye(a)?t?rf(a):Vs(a):a}}const Xm=ef(),e_=ef(!0);function ef(t=!1){return function(n,s,o,r){let i=n[s];if(Ss(i)&&ht(i)&&!ht(o))return!1;if(!t&&(!Er(o)&&!Ss(o)&&(i=He(i),o=He(o)),!Te(n)&&ht(i)&&!ht(o)))return i.value=o,!0;const a=Te(n)&&Tl(s)?Number(s)t,Wr=t=>Reflect.getPrototypeOf(t);function Vo(t,e,n=!1,s=!1){t=t.__v_raw;const o=He(t),r=He(e);n||(e!==r&&_t(o,"get",e),_t(o,"get",r));const{has:i}=Wr(o),a=s?Nl:n?Il:wo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Go(t,e=!1){const n=this.__v_raw,s=He(n),o=He(t);return e||(t!==o&&_t(s,"has",t),_t(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Ko(t,e=!1){return t=t.__v_raw,!e&&_t(He(t),"iterate",Jn),Reflect.get(t,"size",t)}function Bc(t){t=He(t);const e=He(this);return Wr(e).has.call(e,t)||(e.add(t),dn(e,"add",t,t)),this}function zc(t,e){e=He(e);const n=He(this),{has:s,get:o}=Wr(n);let r=s.call(n,t);r||(t=He(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?xo(e,i)&&dn(n,"set",t,e):dn(n,"add",t,e),this}function $c(t){const e=He(this),{has:n,get:s}=Wr(e);let o=n.call(e,t);o||(t=He(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&dn(e,"delete",t,void 0),r}function Uc(){const t=He(this),e=t.size!==0,n=t.clear();return e&&dn(t,"clear",void 0,void 0),n}function Zo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=He(i),l=e?Nl:t?Il:wo;return!t&&_t(a,"iterate",Jn),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Wo(t,e,n){return function(...s){const o=this.__v_raw,r=He(o),i=xs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,d=o[t](...s),u=n?Nl:e?Il:wo;return!e&&_t(r,"iterate",l?qa:Jn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function _n(t){return function(...e){return t==="delete"?!1:this}}function i_(){const t={get(r){return Vo(this,r)},get size(){return Ko(this)},has:Go,add:Bc,set:zc,delete:$c,clear:Uc,forEach:Zo(!1,!1)},e={get(r){return Vo(this,r,!1,!0)},get size(){return Ko(this)},has:Go,add:Bc,set:zc,delete:$c,clear:Uc,forEach:Zo(!1,!0)},n={get(r){return Vo(this,r,!0)},get size(){return Ko(this,!0)},has(r){return Go.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Zo(!0,!1)},s={get(r){return Vo(this,r,!0,!0)},get size(){return Ko(this,!0)},has(r){return Go.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Zo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Wo(r,!1,!1),n[r]=Wo(r,!0,!1),e[r]=Wo(r,!1,!0),s[r]=Wo(r,!0,!0)}),[t,n,e,s]}const[a_,l_,c_,d_]=i_();function Ll(t,e){const n=e?t?d_:c_:t?l_:a_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(je(n,o)&&o in s?n:s,o,r)}const u_={get:Ll(!1,!1)},h_={get:Ll(!1,!0)},f_={get:Ll(!0,!1)},nf=new WeakMap,sf=new WeakMap,of=new WeakMap,p_=new WeakMap;function g_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m_(t){return t.__v_skip||!Object.isExtensible(t)?0:g_(Fm(t))}function Vs(t){return Ss(t)?t:Dl(t,!1,tf,u_,nf)}function __(t){return Dl(t,!1,r_,h_,sf)}function rf(t){return Dl(t,!0,o_,f_,of)}function Dl(t,e,n,s,o){if(!Ye(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=m_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ks(t){return Ss(t)?ks(t.__v_raw):!!(t&&t.__v_isReactive)}function Ss(t){return!!(t&&t.__v_isReadonly)}function Er(t){return!!(t&&t.__v_isShallow)}function af(t){return ks(t)||Ss(t)}function He(t){const e=t&&t.__v_raw;return e?He(e):t}function lf(t){return wr(t,"__v_skip",!0),t}const wo=t=>Ye(t)?Vs(t):t,Il=t=>Ye(t)?rf(t):t;function cf(t){On&&Dt&&(t=He(t),Qh(t.dep||(t.dep=Ml())))}function df(t,e){t=He(t);const n=t.dep;n&&Ha(n)}function ht(t){return!!(t&&t.__v_isRef===!0)}function b_(t){return uf(t,!1)}function y_(t){return uf(t,!0)}function uf(t,e){return ht(t)?t:new v_(t,e)}class v_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:He(e),this._value=n?e:wo(e)}get value(){return cf(this),this._value}set value(e){const n=this.__v_isShallow||Er(e)||Ss(e);e=n?e:He(e),xo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:wo(e),df(this))}}function dt(t){return ht(t)?t.value:t}const x_={get:(t,e,n)=>dt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ht(o)&&!ht(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function hf(t){return ks(t)?t:new Proxy(t,x_)}var ff;class w_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[ff]=!1,this._dirty=!0,this.effect=new Ol(e,()=>{this._dirty||(this._dirty=!0,df(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=He(this);return cf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}ff="__v_isReadonly";function k_(t,e,n=!1){let s,o;const r=Le(t);return r?(s=t,o=Ft):(s=t.get,o=t.set),new w_(s,o,r||!o,n)}function Rn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Yr(r,e,n)}return o}function At(t,e,n,s){if(Le(t)){const r=Rn(t,e,n,s);return r&&Gh(r)&&r.catch(i=>{Yr(i,e,n)}),r}const o=[];for(let r=0;r>>1;Eo(ut[s])jt&&ut.splice(e,1)}function S_(t){Te(t)?Es.push(...t):(!on||!on.includes(t,t.allowRecurse?Hn+1:Hn))&&Es.push(t),gf()}function jc(t,e=ko?jt+1:0){for(;eEo(n)-Eo(s)),Hn=0;Hnt.id==null?1/0:t.id,T_=(t,e)=>{const n=Eo(t)-Eo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function _f(t){Va=!1,ko=!0,ut.sort(T_);const e=Ft;try{for(jt=0;jtet(g)?g.trim():g)),h&&(o=n.map(kr))}let a,l=s[a=Ai(e)]||s[a=Ai(Yt(e))];!l&&r&&(l=s[a=Ai(rs(e))]),l&&At(l,t,6,o);const d=s[a+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,At(d,t,6,o)}}function bf(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Le(t)){const l=d=>{const u=bf(d,e,!0);u&&(a=!0,it(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ye(t)&&s.set(t,null),null):(Te(r)?r.forEach(l=>i[l]=null):it(i,r),Ye(t)&&s.set(t,i),i)}function Jr(t,e){return!t||!Gr(e)?!1:(e=e.slice(2).replace(/Once$/,""),je(t,e[0].toLowerCase()+e.slice(1))||je(t,rs(e))||je(t,e))}let lt=null,Qr=null;function Cr(t){const e=lt;return lt=t,Qr=t&&t.type.__scopeId||null,e}function is(t){Qr=t}function as(){Qr=null}function Ne(t,e=lt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Qc(-1);const r=Cr(e);let i;try{i=t(...o)}finally{Cr(r),s._d&&Qc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Si(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:d,render:u,renderCache:h,data:f,setupState:g,ctx:m,inheritAttrs:_}=t;let w,b;const p=Cr(t);try{if(n.shapeFlag&4){const A=o||s;w=Ut(u.call(A,A,h,r,g,f,m)),b=l}else{const A=e;w=Ut(A.length>1?A(r,{attrs:l,slots:a,emit:d}):A(r,null)),b=e.props?l:O_(l)}}catch(A){uo.length=0,Yr(A,t,1),w=le(St)}let x=w;if(b&&_!==!1){const A=Object.keys(b),{shapeFlag:N}=x;A.length&&N&7&&(i&&A.some(Al)&&(b=R_(b,i)),x=un(x,b))}return n.dirs&&(x=un(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,Cr(p),w}const O_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Gr(n))&&((e||(e={}))[n]=t[n]);return e},R_=(t,e)=>{const n={};for(const s in t)(!Al(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function N_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?qc(s,i,d):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function D_(t,e){e&&e.pendingBranch?Te(t)?e.effects.push(...t):e.effects.push(t):S_(t)}function dr(t,e){if(tt){let n=tt.provides;const s=tt.parent&&tt.parent.provides;s===n&&(n=tt.provides=Object.create(s)),n[t]=e}}function ln(t,e,n=!1){const s=tt||lt;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Le(e)?e.call(s.proxy):e}}const Yo={};function Qn(t,e,n){return vf(t,e,n)}function vf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Je){const a=Hm()===(tt==null?void 0:tt.scope)?tt:null;let l,d=!1,u=!1;if(ht(t)?(l=()=>t.value,d=Er(t)):ks(t)?(l=()=>t,s=!0):Te(t)?(u=!0,d=t.some(x=>ks(x)||Er(x)),l=()=>t.map(x=>{if(ht(x))return x.value;if(ks(x))return Wn(x);if(Le(x))return Rn(x,a,2)})):Le(t)?e?l=()=>Rn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Ft,e&&s){const x=l;l=()=>Wn(x())}let h,f=x=>{h=b.onStop=()=>{Rn(x,a,4)}},g;if(To)if(f=Ft,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=C1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Ft;let m=u?new Array(t.length).fill(Yo):Yo;const _=()=>{if(b.active)if(e){const x=b.run();(s||d||(u?x.some((A,N)=>xo(A,m[N])):xo(x,m)))&&(h&&h(),At(e,a,3,[x,m===Yo?void 0:u&&m[0]===Yo?[]:m,f]),m=x)}else b.run()};_.allowRecurse=!!e;let w;o==="sync"?w=_:o==="post"?w=()=>at(_,a&&a.suspense):(_.pre=!0,a&&(_.id=a.uid),w=()=>Fl(_));const b=new Ol(l,w);e?n?_():m=b.run():o==="post"?at(b.run.bind(b),a&&a.suspense):b.run();const p=()=>{b.stop(),a&&a.scope&&Sl(a.scope.effects,b)};return g&&g.push(p),p}function I_(t,e,n){const s=this.proxy,o=et(t)?t.includes(".")?xf(s,t):()=>s[t]:t.bind(s,s);let r;Le(e)?r=e:(r=e.handler,n=e);const i=tt;Ms(this);const a=vf(o,r.bind(s),n);return i?Ms(i):Xn(),a}function xf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Wn(n,e)});else if(Zh(t))for(const n in t)Wn(t[n],e);return t}function wf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ti(()=>{t.isMounted=!0}),$l(()=>{t.isUnmounting=!0}),t}const wt=[Function,Array],P_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},setup(t,{slots:e}){const n=Vl(),s=wf();let o;return()=>{const r=e.default&&Bl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const _ of r)if(_.type!==St){i=_;break}}const a=He(t),{mode:l}=a;if(s.isLeaving)return Ti(i);const d=Hc(i);if(!d)return Ti(i);const u=Co(d,a,s,n);Ts(d,u);const h=n.subTree,f=h&&Hc(h);let g=!1;const{getTransitionKey:m}=d.type;if(m){const _=m();o===void 0?o=_:_!==o&&(o=_,g=!0)}if(f&&f.type!==St&&(!Tn(d,f)||g)){const _=Co(f,a,s,n);if(Ts(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ti(i);l==="in-out"&&d.type!==St&&(_.delayLeave=(w,b,p)=>{const x=Ef(s,f);x[String(f.key)]=f,w._leaveCb=()=>{b(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=p})}return i}}},kf=P_;function Ef(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Co(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:_,onAppear:w,onAfterAppear:b,onAppearCancelled:p}=e,x=String(t.key),A=Ef(n,t),N=(y,C)=>{y&&At(y,s,9,C)},O=(y,C)=>{const M=C[1];N(y,C),Te(y)?y.every(I=>I.length<=1)&&M():y.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(y){let C=a;if(!n.isMounted)if(o)C=_||a;else return;y._leaveCb&&y._leaveCb(!0);const M=A[x];M&&Tn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),N(C,[y])},enter(y){let C=l,M=d,I=u;if(!n.isMounted)if(o)C=w||l,M=b||d,I=p||u;else return;let B=!1;const X=y._enterCb=P=>{B||(B=!0,P?N(I,[y]):N(M,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};C?O(C,[y,X]):X()},leave(y,C){const M=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return C();N(h,[y]);let I=!1;const B=y._leaveCb=X=>{I||(I=!0,C(),X?N(m,[y]):N(g,[y]),y._leaveCb=void 0,A[M]===t&&delete A[M])};A[M]=t,f?O(f,[y,B]):B()},clone(y){return Co(y,e,n,s)}};return D}function Ti(t){if(Xr(t))return t=un(t),t.children=null,t}function Hc(t){return Xr(t)?t.children?t.children[0]:void 0:t}function Ts(t,e){t.shapeFlag&6&&t.component?Ts(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Bl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Xr=t=>t.type.__isKeepAlive,F_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Vl(),s=n.ctx;if(!s.renderer)return()=>{const p=e.default&&e.default();return p&&p.length===1?p[0]:p};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(p,x,A,N,O)=>{const D=p.component;d(p,x,A,0,a),l(D.vnode,p,x,A,D,a,N,p.slotScopeIds,O),at(()=>{D.isDeactivated=!1,D.a&&ws(D.a);const y=p.props&&p.props.onVnodeMounted;y&&kt(y,D.parent,p)},a)},s.deactivate=p=>{const x=p.component;d(p,f,null,1,a),at(()=>{x.da&&ws(x.da);const A=p.props&&p.props.onVnodeUnmounted;A&&kt(A,x.parent,p),x.isDeactivated=!0},a)};function g(p){Mi(p),u(p,n,a,!0)}function m(p){o.forEach((x,A)=>{const N=Ja(x.type);N&&(!p||!p(N))&&_(A)})}function _(p){const x=o.get(p);!i||!Tn(x,i)?g(x):i&&Mi(i),o.delete(p),r.delete(p)}Qn(()=>[t.include,t.exclude],([p,x])=>{p&&m(A=>ao(p,A)),x&&m(A=>!ao(x,A))},{flush:"post",deep:!0});let w=null;const b=()=>{w!=null&&o.set(w,Oi(n.subTree))};return ti(b),zl(b),$l(()=>{o.forEach(p=>{const{subTree:x,suspense:A}=n,N=Oi(x);if(p.type===N.type&&p.key===N.key){Mi(N);const O=N.component.da;O&&at(O,A);return}g(p)})}),()=>{if(w=null,!e.default)return null;const p=e.default(),x=p[0];if(p.length>1)return i=null,p;if(!So(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let A=Oi(x);const N=A.type,O=Ja(Cs(A)?A.type.__asyncResolved||{}:N),{include:D,exclude:y,max:C}=t;if(D&&(!O||!ao(D,O))||y&&O&&ao(y,O))return i=A,x;const M=A.key==null?N:A.key,I=o.get(M);return A.el&&(A=un(A),x.shapeFlag&128&&(x.ssContent=A)),w=M,I?(A.el=I.el,A.component=I.component,A.transition&&Ts(A,A.transition),A.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),C&&r.size>parseInt(C,10)&&_(r.values().next().value)),A.shapeFlag|=256,i=A,yf(x.type)?x:A}}},B_=F_;function ao(t,e){return Te(t)?t.some(n=>ao(n,e)):et(t)?t.split(",").includes(e):Pm(t)?t.test(e):!1}function z_(t,e){Af(t,"a",e)}function $_(t,e){Af(t,"da",e)}function Af(t,e,n=tt){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(ei(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Xr(o.parent.vnode)&&U_(s,e,n,o),o=o.parent}}function U_(t,e,n,s){const o=ei(e,t,s,!0);Sf(()=>{Sl(s[e],o)},n)}function Mi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Oi(t){return t.shapeFlag&128?t.ssContent:t}function ei(t,e,n=tt,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;qs(),Ms(n);const a=At(e,n,t,i);return Xn(),Hs(),a});return s?o.unshift(r):o.push(r),r}}const pn=t=>(e,n=tt)=>(!To||t==="sp")&&ei(t,(...s)=>e(...s),n),j_=pn("bm"),ti=pn("m"),q_=pn("bu"),zl=pn("u"),$l=pn("bum"),Sf=pn("um"),H_=pn("sp"),V_=pn("rtg"),G_=pn("rtc");function K_(t,e=tt){ei("ec",t,e)}function Q(t,e){const n=lt;if(n===null)return t;const s=oi(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;aSo(e)?!(e.type===St||e.type===Ae&&!Of(e.children)):!0)?t:null}const Ga=t=>t?Uf(t)?oi(t)||t.proxy:Ga(t.parent):null,co=it(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ga(t.parent),$root:t=>Ga(t.root),$emit:t=>t.emit,$options:t=>jl(t),$forceUpdate:t=>t.f||(t.f=()=>Fl(t.update)),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>I_.bind(t)}),Ri=(t,e)=>t!==Je&&!t.__isScriptSetup&&je(t,e),W_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let d;if(e[0]!=="$"){const g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(Ri(s,e))return i[e]=1,s[e];if(o!==Je&&je(o,e))return i[e]=2,o[e];if((d=t.propsOptions[0])&&je(d,e))return i[e]=3,r[e];if(n!==Je&&je(n,e))return i[e]=4,n[e];Ka&&(i[e]=0)}}const u=co[e];let h,f;if(u)return e==="$attrs"&&_t(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Je&&je(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,je(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Ri(o,e)?(o[e]=n,!0):s!==Je&&je(s,e)?(s[e]=n,!0):je(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Je&&je(t,i)||Ri(e,i)||(a=r[0])&&je(a,i)||je(s,i)||je(co,i)||je(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:je(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Ka=!0;function Y_(t){const e=jl(t),n=t.proxy,s=t.ctx;Ka=!1,e.beforeCreate&&Gc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:_,deactivated:w,beforeDestroy:b,beforeUnmount:p,destroyed:x,unmounted:A,render:N,renderTracked:O,renderTriggered:D,errorCaptured:y,serverPrefetch:C,expose:M,inheritAttrs:I,components:B,directives:X,filters:P}=e;if(d&&J_(d,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const H=i[T];Le(H)&&(s[T]=H.bind(n))}if(o){const T=o.call(n,n);Ye(T)&&(t.data=Vs(T))}if(Ka=!0,r)for(const T in r){const H=r[T],G=Le(H)?H.bind(n,n):Le(H.get)?H.get.bind(n,n):Ft,we=!Le(H)&&Le(H.set)?H.set.bind(n):Ft,be=Ct({get:G,set:we});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>be.value,set:ne=>be.value=ne})}if(a)for(const T in a)Rf(a[T],s,n,T);if(l){const T=Le(l)?l.call(n):l;Reflect.ownKeys(T).forEach(H=>{dr(H,T[H])})}u&&Gc(u,t,"c");function Y(T,H){Te(H)?H.forEach(G=>T(G.bind(n))):H&&T(H.bind(n))}if(Y(j_,h),Y(ti,f),Y(q_,g),Y(zl,m),Y(z_,_),Y($_,w),Y(K_,y),Y(G_,O),Y(V_,D),Y($l,p),Y(Sf,A),Y(H_,C),Te(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(H=>{Object.defineProperty(T,H,{get:()=>n[H],set:G=>n[H]=G})})}else t.exposed||(t.exposed={});N&&t.render===Ft&&(t.render=N),I!=null&&(t.inheritAttrs=I),B&&(t.components=B),X&&(t.directives=X)}function J_(t,e,n=Ft,s=!1){Te(t)&&(t=Za(t));for(const o in t){const r=t[o];let i;Ye(r)?"default"in r?i=ln(r.from||o,r.default,!0):i=ln(r.from||o):i=ln(r),ht(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Gc(t,e,n){At(Te(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Rf(t,e,n,s){const o=s.includes(".")?xf(n,s):()=>n[s];if(et(t)){const r=e[t];Le(r)&&Qn(o,r)}else if(Le(t))Qn(o,t.bind(n));else if(Ye(t))if(Te(t))t.forEach(r=>Rf(r,e,n,s));else{const r=Le(t.handler)?t.handler.bind(n):e[t.handler];Le(r)&&Qn(o,r,t)}}function jl(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(d=>Sr(l,d,i,!0)),Sr(l,e,i)),Ye(e)&&r.set(e,l),l}function Sr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&Sr(t,r,n,!0),o&&o.forEach(i=>Sr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=Q_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const Q_={data:Kc,props:jn,emits:jn,methods:jn,computed:jn,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:jn,directives:jn,watch:e1,provide:Kc,inject:X_};function Kc(t,e){return e?t?function(){return it(Le(t)?t.call(this,this):t,Le(e)?e.call(this,this):e)}:e:t}function X_(t,e){return jn(Za(t),Za(e))}function Za(t){if(Te(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,g]=Lf(h,e,!0);it(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Ye(t)&&s.set(t,vs),vs;if(Te(r))for(let u=0;u-1,g[1]=_<0||m<_,(m>-1||je(g,"default"))&&a.push(h)}}}const d=[i,a];return Ye(t)&&s.set(t,d),d}function Zc(t){return t[0]!=="$"}function Wc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Yc(t,e){return Wc(t)===Wc(e)}function Jc(t,e){return Te(e)?e.findIndex(n=>Yc(n,t)):Le(e)&&Yc(e,t)?0:-1}const Df=t=>t[0]==="_"||t==="$stable",ql=t=>Te(t)?t.map(Ut):[Ut(t)],s1=(t,e,n)=>{if(e._n)return e;const s=Ne((...o)=>ql(e(...o)),n);return s._c=!1,s},If=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Df(o))continue;const r=t[o];if(Le(r))e[o]=s1(o,r,s);else if(r!=null){const i=ql(r);e[o]=()=>i}}},Pf=(t,e)=>{const n=ql(e);t.slots.default=()=>n},o1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=He(e),wr(e,"_",n)):If(e,t.slots={})}else t.slots={},e&&Pf(t,e);wr(t.slots,si,1)},r1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Je;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(it(o,e),!n&&a===1&&delete o._):(r=!e.$stable,If(e,o)),i=e}else e&&(Pf(t,e),i={default:1});if(r)for(const a in o)!Df(a)&&!(a in i)&&delete o[a]};function Ff(){return{app:null,config:{isNativeTag:Lm,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let i1=0;function a1(t,e){return function(s,o=null){Le(s)||(s=Object.assign({},s)),o!=null&&!Ye(o)&&(o=null);const r=Ff(),i=new Set;let a=!1;const l=r.app={_uid:i1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:A1,get config(){return r.config},set config(d){},use(d,...u){return i.has(d)||(d&&Le(d.install)?(i.add(d),d.install(l,...u)):Le(d)&&(i.add(d),d(l,...u))),l},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),l},component(d,u){return u?(r.components[d]=u,l):r.components[d]},directive(d,u){return u?(r.directives[d]=u,l):r.directives[d]},mount(d,u,h){if(!a){const f=le(s,o);return f.appContext=r,u&&e?e(f,d):t(f,d,h),a=!0,l._container=d,d.__vue_app__=l,oi(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(d,u){return r.provides[d]=u,l}};return l}}function Ya(t,e,n,s,o=!1){if(Te(t)){t.forEach((f,g)=>Ya(f,e&&(Te(e)?e[g]:e),n,s,o));return}if(Cs(s)&&!o)return;const r=s.shapeFlag&4?oi(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,d=e&&e.r,u=a.refs===Je?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==l&&(et(d)?(u[d]=null,je(h,d)&&(h[d]=null)):ht(d)&&(d.value=null)),Le(l))Rn(l,a,12,[i,u]);else{const f=et(l),g=ht(l);if(f||g){const m=()=>{if(t.f){const _=f?je(h,l)?h[l]:u[l]:l.value;o?Te(_)&&Sl(_,r):Te(_)?_.includes(r)||_.push(r):f?(u[l]=[r],je(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,je(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(m.id=-1,at(m,n)):m()}}}const at=D_;function l1(t){return c1(t)}function c1(t,e){const n=Um();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:g=Ft,insertStaticContent:m}=t,_=(k,S,F,$=null,U=null,oe=null,ce=!1,j=null,re=!!S.dynamicChildren)=>{if(k===S)return;k&&!Tn(k,S)&&($=V(k),ne(k,U,oe,!0),k=null),S.patchFlag===-2&&(re=!1,S.dynamicChildren=null);const{type:q,ref:J,shapeFlag:de}=S;switch(q){case ni:w(k,S,F,$);break;case St:b(k,S,F,$);break;case ur:k==null&&p(S,F,$,ce);break;case Ae:B(k,S,F,$,U,oe,ce,j,re);break;default:de&1?N(k,S,F,$,U,oe,ce,j,re):de&6?X(k,S,F,$,U,oe,ce,j,re):(de&64||de&128)&&q.process(k,S,F,$,U,oe,ce,j,re,te)}J!=null&&U&&Ya(J,k&&k.ref,oe,S||k,!S)},w=(k,S,F,$)=>{if(k==null)s(S.el=a(S.children),F,$);else{const U=S.el=k.el;S.children!==k.children&&d(U,S.children)}},b=(k,S,F,$)=>{k==null?s(S.el=l(S.children||""),F,$):S.el=k.el},p=(k,S,F,$)=>{[k.el,k.anchor]=m(k.children,S,F,$,k.el,k.anchor)},x=({el:k,anchor:S},F,$)=>{let U;for(;k&&k!==S;)U=f(k),s(k,F,$),k=U;s(S,F,$)},A=({el:k,anchor:S})=>{let F;for(;k&&k!==S;)F=f(k),o(k),k=F;o(S)},N=(k,S,F,$,U,oe,ce,j,re)=>{ce=ce||S.type==="svg",k==null?O(S,F,$,U,oe,ce,j,re):C(k,S,U,oe,ce,j,re)},O=(k,S,F,$,U,oe,ce,j)=>{let re,q;const{type:J,props:de,shapeFlag:pe,transition:fe,dirs:Se}=k;if(re=k.el=i(k.type,oe,de&&de.is,de),pe&8?u(re,k.children):pe&16&&y(k.children,re,null,$,U,oe&&J!=="foreignObject",ce,j),Se&&Bn(k,null,$,"created"),D(re,k,k.scopeId,ce,$),de){for(const ie in de)ie!=="value"&&!cr(ie)&&r(re,ie,null,de[ie],oe,k.children,$,U,ee);"value"in de&&r(re,"value",null,de.value),(q=de.onVnodeBeforeMount)&&kt(q,$,k)}Se&&Bn(k,null,$,"beforeMount");const W=(!U||U&&!U.pendingBranch)&&fe&&!fe.persisted;W&&fe.beforeEnter(re),s(re,S,F),((q=de&&de.onVnodeMounted)||W||Se)&&at(()=>{q&&kt(q,$,k),W&&fe.enter(re),Se&&Bn(k,null,$,"mounted")},U)},D=(k,S,F,$,U)=>{if(F&&g(k,F),$)for(let oe=0;oe<$.length;oe++)g(k,$[oe]);if(U){let oe=U.subTree;if(S===oe){const ce=U.vnode;D(k,ce,ce.scopeId,ce.slotScopeIds,U.parent)}}},y=(k,S,F,$,U,oe,ce,j,re=0)=>{for(let q=re;q{const j=S.el=k.el;let{patchFlag:re,dynamicChildren:q,dirs:J}=S;re|=k.patchFlag&16;const de=k.props||Je,pe=S.props||Je;let fe;F&&zn(F,!1),(fe=pe.onVnodeBeforeUpdate)&&kt(fe,F,S,k),J&&Bn(S,k,F,"beforeUpdate"),F&&zn(F,!0);const Se=U&&S.type!=="foreignObject";if(q?M(k.dynamicChildren,q,j,F,$,Se,oe):ce||H(k,S,j,null,F,$,Se,oe,!1),re>0){if(re&16)I(j,S,de,pe,F,$,U);else if(re&2&&de.class!==pe.class&&r(j,"class",null,pe.class,U),re&4&&r(j,"style",de.style,pe.style,U),re&8){const W=S.dynamicProps;for(let ie=0;ie{fe&&kt(fe,F,S,k),J&&Bn(S,k,F,"updated")},$)},M=(k,S,F,$,U,oe,ce)=>{for(let j=0;j{if(F!==$){if(F!==Je)for(const j in F)!cr(j)&&!(j in $)&&r(k,j,F[j],null,ce,S.children,U,oe,ee);for(const j in $){if(cr(j))continue;const re=$[j],q=F[j];re!==q&&j!=="value"&&r(k,j,q,re,ce,S.children,U,oe,ee)}"value"in $&&r(k,"value",F.value,$.value)}},B=(k,S,F,$,U,oe,ce,j,re)=>{const q=S.el=k?k.el:a(""),J=S.anchor=k?k.anchor:a("");let{patchFlag:de,dynamicChildren:pe,slotScopeIds:fe}=S;fe&&(j=j?j.concat(fe):fe),k==null?(s(q,F,$),s(J,F,$),y(S.children,F,J,U,oe,ce,j,re)):de>0&&de&64&&pe&&k.dynamicChildren?(M(k.dynamicChildren,pe,F,U,oe,ce,j),(S.key!=null||U&&S===U.subTree)&&Bf(k,S,!0)):H(k,S,F,J,U,oe,ce,j,re)},X=(k,S,F,$,U,oe,ce,j,re)=>{S.slotScopeIds=j,k==null?S.shapeFlag&512?U.ctx.activate(S,F,$,ce,re):P(S,F,$,U,oe,ce,re):ue(k,S,re)},P=(k,S,F,$,U,oe,ce)=>{const j=k.component=b1(k,$,U);if(Xr(k)&&(j.ctx.renderer=te),y1(j),j.asyncDep){if(U&&U.registerDep(j,Y),!k.el){const re=j.subTree=le(St);b(null,re,S,F)}return}Y(j,k,S,F,U,oe,ce)},ue=(k,S,F)=>{const $=S.component=k.component;if(N_(k,S,F))if($.asyncDep&&!$.asyncResolved){T($,S,F);return}else $.next=S,A_($.update),$.update();else S.el=k.el,$.vnode=S},Y=(k,S,F,$,U,oe,ce)=>{const j=()=>{if(k.isMounted){let{next:J,bu:de,u:pe,parent:fe,vnode:Se}=k,W=J,ie;zn(k,!1),J?(J.el=Se.el,T(k,J,ce)):J=Se,de&&ws(de),(ie=J.props&&J.props.onVnodeBeforeUpdate)&&kt(ie,fe,J,Se),zn(k,!0);const me=Si(k),Oe=k.subTree;k.subTree=me,_(Oe,me,h(Oe.el),V(Oe),k,U,oe),J.el=me.el,W===null&&L_(k,me.el),pe&&at(pe,U),(ie=J.props&&J.props.onVnodeUpdated)&&at(()=>kt(ie,fe,J,Se),U)}else{let J;const{el:de,props:pe}=S,{bm:fe,m:Se,parent:W}=k,ie=Cs(S);if(zn(k,!1),fe&&ws(fe),!ie&&(J=pe&&pe.onVnodeBeforeMount)&&kt(J,W,S),zn(k,!0),de&&he){const me=()=>{k.subTree=Si(k),he(de,k.subTree,k,U,null)};ie?S.type.__asyncLoader().then(()=>!k.isUnmounted&&me()):me()}else{const me=k.subTree=Si(k);_(null,me,F,$,k,U,oe),S.el=me.el}if(Se&&at(Se,U),!ie&&(J=pe&&pe.onVnodeMounted)){const me=S;at(()=>kt(J,W,me),U)}(S.shapeFlag&256||W&&Cs(W.vnode)&&W.vnode.shapeFlag&256)&&k.a&&at(k.a,U),k.isMounted=!0,S=F=$=null}},re=k.effect=new Ol(j,()=>Fl(q),k.scope),q=k.update=()=>re.run();q.id=k.uid,zn(k,!0),q()},T=(k,S,F)=>{S.component=k;const $=k.vnode.props;k.vnode=S,k.next=null,n1(k,S.props,$,F),r1(k,S.children,F),qs(),jc(),Hs()},H=(k,S,F,$,U,oe,ce,j,re=!1)=>{const q=k&&k.children,J=k?k.shapeFlag:0,de=S.children,{patchFlag:pe,shapeFlag:fe}=S;if(pe>0){if(pe&128){we(q,de,F,$,U,oe,ce,j,re);return}else if(pe&256){G(q,de,F,$,U,oe,ce,j,re);return}}fe&8?(J&16&&ee(q,U,oe),de!==q&&u(F,de)):J&16?fe&16?we(q,de,F,$,U,oe,ce,j,re):ee(q,U,oe,!0):(J&8&&u(F,""),fe&16&&y(de,F,$,U,oe,ce,j,re))},G=(k,S,F,$,U,oe,ce,j,re)=>{k=k||vs,S=S||vs;const q=k.length,J=S.length,de=Math.min(q,J);let pe;for(pe=0;peJ?ee(k,U,oe,!0,!1,de):y(S,F,$,U,oe,ce,j,re,de)},we=(k,S,F,$,U,oe,ce,j,re)=>{let q=0;const J=S.length;let de=k.length-1,pe=J-1;for(;q<=de&&q<=pe;){const fe=k[q],Se=S[q]=re?wn(S[q]):Ut(S[q]);if(Tn(fe,Se))_(fe,Se,F,null,U,oe,ce,j,re);else break;q++}for(;q<=de&&q<=pe;){const fe=k[de],Se=S[pe]=re?wn(S[pe]):Ut(S[pe]);if(Tn(fe,Se))_(fe,Se,F,null,U,oe,ce,j,re);else break;de--,pe--}if(q>de){if(q<=pe){const fe=pe+1,Se=fepe)for(;q<=de;)ne(k[q],U,oe,!0),q++;else{const fe=q,Se=q,W=new Map;for(q=Se;q<=pe;q++){const ot=S[q]=re?wn(S[q]):Ut(S[q]);ot.key!=null&&W.set(ot.key,q)}let ie,me=0;const Oe=pe-Se+1;let $e=!1,Ze=0;const Fe=new Array(Oe);for(q=0;q=Oe){ne(ot,U,oe,!0);continue}let ct;if(ot.key!=null)ct=W.get(ot.key);else for(ie=Se;ie<=pe;ie++)if(Fe[ie-Se]===0&&Tn(ot,S[ie])){ct=ie;break}ct===void 0?ne(ot,U,oe,!0):(Fe[ct-Se]=q+1,ct>=Ze?Ze=ct:$e=!0,_(ot,S[ct],F,null,U,oe,ce,j,re),me++)}const nt=$e?d1(Fe):vs;for(ie=nt.length-1,q=Oe-1;q>=0;q--){const ot=Se+q,ct=S[ot],Nc=ot+1{const{el:oe,type:ce,transition:j,children:re,shapeFlag:q}=k;if(q&6){be(k.component.subTree,S,F,$);return}if(q&128){k.suspense.move(S,F,$);return}if(q&64){ce.move(k,S,F,te);return}if(ce===Ae){s(oe,S,F);for(let de=0;dej.enter(oe),U);else{const{leave:de,delayLeave:pe,afterLeave:fe}=j,Se=()=>s(oe,S,F),W=()=>{de(oe,()=>{Se(),fe&&fe()})};pe?pe(oe,Se,W):W()}else s(oe,S,F)},ne=(k,S,F,$=!1,U=!1)=>{const{type:oe,props:ce,ref:j,children:re,dynamicChildren:q,shapeFlag:J,patchFlag:de,dirs:pe}=k;if(j!=null&&Ya(j,null,F,k,!0),J&256){S.ctx.deactivate(k);return}const fe=J&1&&pe,Se=!Cs(k);let W;if(Se&&(W=ce&&ce.onVnodeBeforeUnmount)&&kt(W,S,k),J&6)L(k.component,F,$);else{if(J&128){k.suspense.unmount(F,$);return}fe&&Bn(k,null,S,"beforeUnmount"),J&64?k.type.remove(k,S,F,U,te,$):q&&(oe!==Ae||de>0&&de&64)?ee(q,S,F,!1,!0):(oe===Ae&&de&384||!U&&J&16)&&ee(re,S,F),$&&Ee(k)}(Se&&(W=ce&&ce.onVnodeUnmounted)||fe)&&at(()=>{W&&kt(W,S,k),fe&&Bn(k,null,S,"unmounted")},F)},Ee=k=>{const{type:S,el:F,anchor:$,transition:U}=k;if(S===Ae){Me(F,$);return}if(S===ur){A(k);return}const oe=()=>{o(F),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(k.shapeFlag&1&&U&&!U.persisted){const{leave:ce,delayLeave:j}=U,re=()=>ce(F,oe);j?j(k.el,oe,re):re()}else oe()},Me=(k,S)=>{let F;for(;k!==S;)F=f(k),o(k),k=F;o(S)},L=(k,S,F)=>{const{bum:$,scope:U,update:oe,subTree:ce,um:j}=k;$&&ws($),U.stop(),oe&&(oe.active=!1,ne(ce,k,S,F)),j&&at(j,S),at(()=>{k.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},ee=(k,S,F,$=!1,U=!1,oe=0)=>{for(let ce=oe;cek.shapeFlag&6?V(k.component.subTree):k.shapeFlag&128?k.suspense.next():f(k.anchor||k.el),se=(k,S,F)=>{k==null?S._vnode&&ne(S._vnode,null,null,!0):_(S._vnode||null,k,S,null,null,null,F),jc(),mf(),S._vnode=k},te={p:_,um:ne,m:be,r:Ee,mt:P,mc:y,pc:H,pbc:M,n:V,o:t};let ge,he;return e&&([ge,he]=e(te)),{render:se,hydrate:ge,createApp:a1(se,ge)}}function zn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Bf(t,e,n=!1){const s=t.children,o=e.children;if(Te(s)&&Te(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const u1=t=>t.__isTeleport,Ae=Symbol(void 0),ni=Symbol(void 0),St=Symbol(void 0),ur=Symbol(void 0),uo=[];let Pt=null;function v(t=!1){uo.push(Pt=t?null:[])}function h1(){uo.pop(),Pt=uo[uo.length-1]||null}let Ao=1;function Qc(t){Ao+=t}function zf(t){return t.dynamicChildren=Ao>0?Pt||vs:null,h1(),Ao>0&&Pt&&Pt.push(t),t}function E(t,e,n,s,o,r){return zf(c(t,e,n,s,o,r,!0))}function Xe(t,e,n,s,o){return zf(le(t,e,n,s,o,!0))}function So(t){return t?t.__v_isVNode===!0:!1}function Tn(t,e){return t.type===e.type&&t.key===e.key}const si="__vInternal",$f=({key:t})=>t??null,hr=({ref:t,ref_key:e,ref_for:n})=>t!=null?et(t)||ht(t)||Le(t)?{i:lt,r:t,k:e,f:!!n}:t:null;function c(t,e=null,n=null,s=0,o=null,r=t===Ae?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&$f(e),ref:e&&hr(e),scopeId:Qr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:lt};return a?(Hl(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=et(n)?8:16),Ao>0&&!i&&Pt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Pt.push(l),l}const le=f1;function f1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Tf)&&(t=St),So(t)){const a=un(t,e,!0);return n&&Hl(a,n),Ao>0&&!r&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(t)]=a:Pt.push(a)),a.patchFlag|=-2,a}if(k1(t)&&(t=t.__vccOpts),e){e=p1(e);let{class:a,style:l}=e;a&&!et(a)&&(e.class=ke(a)),Ye(l)&&(af(l)&&!Te(l)&&(l=it({},l)),e.style=yt(l))}const i=et(t)?1:yf(t)?128:u1(t)?64:Ye(t)?4:Le(t)?2:0;return c(t,e,n,s,o,i,r,!0)}function p1(t){return t?af(t)||si in t?it({},t):t:null}function un(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?g1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&$f(a),ref:e&&e.ref?n&&o?Te(o)?o.concat(hr(e)):[o,hr(e)]:hr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&un(t.ssContent),ssFallback:t.ssFallback&&un(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return le(ni,null,t,e)}function Gs(t,e){const n=le(ur,null,t);return n.staticCount=e,n}function R(t="",e=!1){return e?(v(),Xe(St,null,t)):le(St,null,t)}function Ut(t){return t==null||typeof t=="boolean"?le(St):Te(t)?le(Ae,null,t.slice()):typeof t=="object"?wn(t):le(ni,null,String(t))}function wn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:un(t)}function Hl(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Te(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Hl(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(si in e)?e._ctx=lt:o===3&<&&(lt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Le(e)?(e={default:e,_ctx:lt},n=32):(e=String(e),s&64?(n=16,e=[xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function g1(...t){const e={};for(let n=0;ntt||lt,Ms=t=>{tt=t,t.scope.on()},Xn=()=>{tt&&tt.scope.off(),tt=null};function Uf(t){return t.vnode.shapeFlag&4}let To=!1;function y1(t,e=!1){To=e;const{props:n,children:s}=t.vnode,o=Uf(t);t1(t,n,o,e),o1(t,s);const r=o?v1(t,e):void 0;return To=!1,r}function v1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=lf(new Proxy(t.ctx,W_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?w1(t):null;Ms(t),qs();const r=Rn(s,t,0,[t.props,o]);if(Hs(),Xn(),Gh(r)){if(r.then(Xn,Xn),e)return r.then(i=>{Xc(t,i,e)}).catch(i=>{Yr(i,t,0)});t.asyncDep=r}else Xc(t,r,e)}else jf(t,e)}function Xc(t,e,n){Le(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ye(e)&&(t.setupState=hf(e)),jf(t,n)}let ed;function jf(t,e,n){const s=t.type;if(!t.render){if(!e&&ed&&!s.render){const o=s.template||jl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,d=it(it({isCustomElement:r,delimiters:a},i),l);s.render=ed(o,d)}}t.render=s.render||Ft}Ms(t),qs(),Y_(t),Hs(),Xn()}function x1(t){return new Proxy(t.attrs,{get(e,n){return _t(t,"get","$attrs"),e[n]}})}function w1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=x1(t))},slots:t.slots,emit:t.emit,expose:e}}function oi(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(hf(lf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in co)return co[n](t)},has(e,n){return n in e||n in co}}))}function Ja(t,e=!0){return Le(t)?t.displayName||t.name:t.name||e&&t.__name}function k1(t){return Le(t)&&"__vccOpts"in t}const Ct=(t,e)=>k_(t,e,To);function Gl(t,e,n){const s=arguments.length;return s===2?Ye(e)&&!Te(e)?So(e)?le(t,null,[e]):le(t,e):le(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&So(n)&&(n=[n]),le(t,e,n))}const E1=Symbol(""),C1=()=>ln(E1),A1="3.2.47",S1="http://www.w3.org/2000/svg",Vn=typeof document<"u"?document:null,td=Vn&&Vn.createElement("template"),T1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?Vn.createElementNS(S1,t):Vn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Vn.createTextNode(t),createComment:t=>Vn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{td.innerHTML=s?`${t}`:t;const a=td.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function M1(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function O1(t,e,n){const s=t.style,o=et(n);if(n&&!o){if(e&&!et(e))for(const r in e)n[r]==null&&Qa(s,r,"");for(const r in n)Qa(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const nd=/\s*!important$/;function Qa(t,e,n){if(Te(n))n.forEach(s=>Qa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=R1(t,e);nd.test(n)?t.setProperty(rs(s),n.replace(nd,""),"important"):t[s]=n}}const sd=["Webkit","Moz","ms"],Ni={};function R1(t,e){const n=Ni[e];if(n)return n;let s=Yt(e);if(s!=="filter"&&s in t)return Ni[e]=s;s=Zr(s);for(let o=0;oLi||(F1.then(()=>Li=0),Li=Date.now());function z1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At($1(s,n.value),e,5,[s])};return n.value=t,n.attached=B1(),n}function $1(t,e){if(Te(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const id=/^on[a-z]/,U1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?M1(t,s,o):e==="style"?O1(t,n,s):Gr(e)?Al(e)||I1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):j1(t,e,s,o))?L1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),N1(t,e,s,o))};function j1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&id.test(e)&&Le(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||id.test(e)&&et(n)?!1:e in t}const bn="transition",eo="animation",Os=(t,{slots:e})=>Gl(kf,Hf(t),e);Os.displayName="Transition";const qf={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},q1=Os.props=it({},kf.props,qf),$n=(t,e=[])=>{Te(t)?t.forEach(n=>n(...e)):t&&t(...e)},ad=t=>t?Te(t)?t.some(e=>e.length>1):t.length>1:!1;function Hf(t){const e={};for(const B in t)B in qf||(e[B]=t[B]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,m=H1(o),_=m&&m[0],w=m&&m[1],{onBeforeEnter:b,onEnter:p,onEnterCancelled:x,onLeave:A,onLeaveCancelled:N,onBeforeAppear:O=b,onAppear:D=p,onAppearCancelled:y=x}=e,C=(B,X,P)=>{xn(B,X?u:a),xn(B,X?d:i),P&&P()},M=(B,X)=>{B._isLeaving=!1,xn(B,h),xn(B,g),xn(B,f),X&&X()},I=B=>(X,P)=>{const ue=B?D:p,Y=()=>C(X,B,P);$n(ue,[X,Y]),ld(()=>{xn(X,B?l:r),sn(X,B?u:a),ad(ue)||cd(X,s,_,Y)})};return it(e,{onBeforeEnter(B){$n(b,[B]),sn(B,r),sn(B,i)},onBeforeAppear(B){$n(O,[B]),sn(B,l),sn(B,d)},onEnter:I(!1),onAppear:I(!0),onLeave(B,X){B._isLeaving=!0;const P=()=>M(B,X);sn(B,h),Gf(),sn(B,f),ld(()=>{B._isLeaving&&(xn(B,h),sn(B,g),ad(A)||cd(B,s,w,P))}),$n(A,[B,P])},onEnterCancelled(B){C(B,!1),$n(x,[B])},onAppearCancelled(B){C(B,!0),$n(y,[B])},onLeaveCancelled(B){M(B),$n(N,[B])}})}function H1(t){if(t==null)return null;if(Ye(t))return[Di(t.enter),Di(t.leave)];{const e=Di(t);return[e,e]}}function Di(t){return $m(t)}function sn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function xn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function ld(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let V1=0;function cd(t,e,n,s){const o=t._endId=++V1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Vf(t,e);if(!i)return s();const d=i+"end";let u=0;const h=()=>{t.removeEventListener(d,f),r()},f=g=>{g.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[m]||"").split(", "),o=s(`${bn}Delay`),r=s(`${bn}Duration`),i=dd(o,r),a=s(`${eo}Delay`),l=s(`${eo}Duration`),d=dd(a,l);let u=null,h=0,f=0;e===bn?i>0&&(u=bn,h=i,f=r.length):e===eo?d>0&&(u=eo,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?bn:eo:null,f=u?u===bn?r.length:l.length:0);const g=u===bn&&/\b(transform|all)(,|$)/.test(s(`${bn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}function dd(t,e){for(;t.lengthud(n)+ud(t[s])))}function ud(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Gf(){return document.body.offsetHeight}const Kf=new WeakMap,Zf=new WeakMap,Wf={name:"TransitionGroup",props:it({},q1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Vl(),s=wf();let o,r;return zl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!Y1(o[0].el,n.vnode.el,i))return;o.forEach(K1),o.forEach(Z1);const a=o.filter(W1);Gf(),a.forEach(l=>{const d=l.el,u=d.style;sn(d,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,xn(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=He(t),a=Hf(i);let l=i.tag||Ae;o=r,r=e.default?Bl(e.default()):[];for(let d=0;ddelete t.mode;Wf.props;const It=Wf;function K1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function Z1(t){Zf.set(t,t.el.getBoundingClientRect())}function W1(t){const e=Kf.get(t),n=Zf.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function Y1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Vf(s);return o.removeChild(s),r}const Ln=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Te(e)?n=>ws(e,n):e};function J1(t){t.target.composing=!0}function hd(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Re={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ln(o);const r=s||o.props&&o.props.type==="number";an(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=kr(a)),t._assign(a)}),n&&an(t,"change",()=>{t.value=t.value.trim()}),e||(an(t,"compositionstart",J1),an(t,"compositionend",hd),an(t,"change",hd))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ln(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&kr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},Qe={deep:!0,created(t,e,n){t._assign=Ln(n),an(t,"change",()=>{const s=t._modelValue,o=Rs(t),r=t.checked,i=t._assign;if(Te(s)){const a=Cl(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const d=[...s];d.splice(a,1),i(d)}}else if(Us(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Yf(t,r))})},mounted:fd,beforeUpdate(t,e,n){t._assign=Ln(n),fd(t,e,n)}};function fd(t,{value:e,oldValue:n},s){t._modelValue=e,Te(e)?t.checked=Cl(e,s.props.value)>-1:Us(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=ns(e,Yf(t,!0)))}const Q1={created(t,{value:e},n){t.checked=ns(e,n.props.value),t._assign=Ln(n),an(t,"change",()=>{t._assign(Rs(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t._assign=Ln(s),e!==n&&(t.checked=ns(e,s.props.value))}},qt={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Us(e);an(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?kr(Rs(i)):Rs(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ln(s)},mounted(t,{value:e}){pd(t,e)},beforeUpdate(t,e,n){t._assign=Ln(n)},updated(t,{value:e}){pd(t,e)}};function pd(t,e){const n=t.multiple;if(!(n&&!Te(e)&&!Us(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(ns(Rs(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Rs(t){return"_value"in t?t._value:t.value}function Yf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const X1=["ctrl","shift","alt","meta"],e0={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>X1.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=rs(n.key);if(e.some(o=>o===s||t0[o]===s))return t(n)},We={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):to(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),to(t,!0),s.enter(t)):s.leave(t,()=>{to(t,!1)}):to(t,e))},beforeUnmount(t,{value:e}){to(t,e)}};function to(t,e){t.style.display=e?t._vod:"none"}const n0=it({patchProp:U1},T1);let gd;function s0(){return gd||(gd=l1(n0))}const o0=(...t)=>{const e=s0().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=r0(s);if(!o)return;const r=e._component;!Le(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function r0(t){return et(t)?document.querySelector(t):t}function i0(){return Jf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Jf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const a0=typeof Proxy=="function",l0="devtools-plugin:setup",c0="plugin:settings:set";let us,Xa;function d0(){var t;return us!==void 0||(typeof window<"u"&&window.performance?(us=!0,Xa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(us=!0,Xa=global.perf_hooks.performance):us=!1),us}function u0(){return d0()?Xa.now():Date.now()}class h0{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return u0()}},n&&n.on(c0,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(d=>{this.targetQueue.push({method:a,args:l,resolve:d})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function f0(t,e){const n=t,s=Jf(),o=i0(),r=a0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(l0,t,e);else{const i=r?new h0(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function Cl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function yt(t){if(Te(t)){const e={};for(let n=0;n{if(n){const s=n.split(Mm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function ke(t){let e="";if(et(t))e=t;else if(Te(t))for(let n=0;nts(n,e))}const z=t=>et(t)?t:t==null?"":Te(t)||Ye(t)&&(t.toString===Wh||!Ne(t.toString))?JSON.stringify(t,Kh,2):String(t),Kh=(t,e)=>e&&e.__v_isRef?Kh(t,e.value):vs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:$s(e)?{[`Set(${e.size})`]:[...e.values()]}:Ye(e)&&!Te(e)&&!Yh(e)?String(e):e,Je={},ys=[],Ft=()=>{},Im=()=>!1,Pm=/^on[^a-z]/,Kr=t=>Pm.test(t),Sl=t=>t.startsWith("onUpdate:"),it=Object.assign,Tl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Fm=Object.prototype.hasOwnProperty,je=(t,e)=>Fm.call(t,e),Te=Array.isArray,vs=t=>Us(t)==="[object Map]",$s=t=>Us(t)==="[object Set]",Lc=t=>Us(t)==="[object Date]",Bm=t=>Us(t)==="[object RegExp]",Ne=t=>typeof t=="function",et=t=>typeof t=="string",vo=t=>typeof t=="symbol",Ye=t=>t!==null&&typeof t=="object",Zh=t=>Ye(t)&&Ne(t.then)&&Ne(t.catch),Wh=Object.prototype.toString,Us=t=>Wh.call(t),zm=t=>Us(t).slice(8,-1),Yh=t=>Us(t)==="[object Object]",Ml=t=>et(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,dr=Cl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},$m=/-(\w)/g,Jt=Zr(t=>t.replace($m,(e,n)=>n?n.toUpperCase():"")),Um=/\B([A-Z])/g,os=Zr(t=>t.replace(Um,"-$1").toLowerCase()),Wr=Zr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Si=Zr(t=>t?`on${Wr(t)}`:""),xo=(t,e)=>!Object.is(t,e),xs=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Er=t=>{const e=parseFloat(t);return isNaN(e)?t:e},jm=t=>{const e=et(t)?Number(t):NaN;return isNaN(e)?t:e};let Ic;const qm=()=>Ic||(Ic=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Dt;class Hm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Dt,!e&&Dt&&(this.index=(Dt.scopes||(Dt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Dt;try{return Dt=this,e()}finally{Dt=n}}}on(){Dt=this}off(){Dt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Jh=t=>(t.w&Dn)>0,Qh=t=>(t.n&Dn)>0,Km=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(d)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Te(t)?Ml(n)&&a.push(i.get("length")):(a.push(i.get(Yn)),vs(t)&&a.push(i.get(Ha)));break;case"delete":Te(t)||(a.push(i.get(Yn)),vs(t)&&a.push(i.get(Ha)));break;case"set":vs(t)&&a.push(i.get(Yn));break}if(a.length===1)a[0]&&Va(a[0]);else{const l=[];for(const d of a)d&&l.push(...d);Va(Ol(l))}}function Va(t,e){const n=Te(t)?t:[...t];for(const s of n)s.computed&&Fc(s);for(const s of n)s.computed||Fc(s)}function Fc(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Wm=Cl("__proto__,__v_isRef,__isVue"),tf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(vo)),Ym=Dl(),Jm=Dl(!1,!0),Qm=Dl(!0),Bc=Xm();function Xm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=He(this);for(let r=0,i=this.length;r{t[e]=function(...n){js();const s=He(this)[e].apply(this,n);return qs(),s}}),t}function e_(t){const e=He(this);return _t(e,"has",t),e.hasOwnProperty(t)}function Dl(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?m_:af:e?rf:of).get(s))return s;const i=Te(s);if(!t){if(i&&je(Bc,o))return Reflect.get(Bc,o,r);if(o==="hasOwnProperty")return e_}const a=Reflect.get(s,o,r);return(vo(o)?tf.has(o):Wm(o))||(t||_t(s,"get",o),e)?a:ht(a)?i&&Ml(o)?a:a.value:Ye(a)?t?lf(a):Hs(a):a}}const t_=nf(),n_=nf(!0);function nf(t=!1){return function(n,s,o,r){let i=n[s];if(As(i)&&ht(i)&&!ht(o))return!1;if(!t&&(!Cr(o)&&!As(o)&&(i=He(i),o=He(o)),!Te(n)&&ht(i)&&!ht(o)))return i.value=o,!0;const a=Te(n)&&Ml(s)?Number(s)t,Yr=t=>Reflect.getPrototypeOf(t);function Go(t,e,n=!1,s=!1){t=t.__v_raw;const o=He(t),r=He(e);n||(e!==r&&_t(o,"get",e),_t(o,"get",r));const{has:i}=Yr(o),a=s?Nl:n?Pl:wo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Ko(t,e=!1){const n=this.__v_raw,s=He(n),o=He(t);return e||(t!==o&&_t(s,"has",t),_t(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Zo(t,e=!1){return t=t.__v_raw,!e&&_t(He(t),"iterate",Yn),Reflect.get(t,"size",t)}function zc(t){t=He(t);const e=He(this);return Yr(e).has.call(e,t)||(e.add(t),dn(e,"add",t,t)),this}function $c(t,e){e=He(e);const n=He(this),{has:s,get:o}=Yr(n);let r=s.call(n,t);r||(t=He(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?xo(e,i)&&dn(n,"set",t,e):dn(n,"add",t,e),this}function Uc(t){const e=He(this),{has:n,get:s}=Yr(e);let o=n.call(e,t);o||(t=He(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&dn(e,"delete",t,void 0),r}function jc(){const t=He(this),e=t.size!==0,n=t.clear();return e&&dn(t,"clear",void 0,void 0),n}function Wo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=He(i),l=e?Nl:t?Pl:wo;return!t&&_t(a,"iterate",Yn),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Yo(t,e,n){return function(...s){const o=this.__v_raw,r=He(o),i=vs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,d=o[t](...s),u=n?Nl:e?Pl:wo;return!e&&_t(r,"iterate",l?Ha:Yn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function _n(t){return function(...e){return t==="delete"?!1:this}}function l_(){const t={get(r){return Go(this,r)},get size(){return Zo(this)},has:Ko,add:zc,set:$c,delete:Uc,clear:jc,forEach:Wo(!1,!1)},e={get(r){return Go(this,r,!1,!0)},get size(){return Zo(this)},has:Ko,add:zc,set:$c,delete:Uc,clear:jc,forEach:Wo(!1,!0)},n={get(r){return Go(this,r,!0)},get size(){return Zo(this,!0)},has(r){return Ko.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Wo(!0,!1)},s={get(r){return Go(this,r,!0,!0)},get size(){return Zo(this,!0)},has(r){return Ko.call(this,r,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:Wo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Yo(r,!1,!1),n[r]=Yo(r,!0,!1),e[r]=Yo(r,!1,!0),s[r]=Yo(r,!0,!0)}),[t,n,e,s]}const[c_,d_,u_,h_]=l_();function Ll(t,e){const n=e?t?h_:u_:t?d_:c_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(je(n,o)&&o in s?n:s,o,r)}const f_={get:Ll(!1,!1)},p_={get:Ll(!1,!0)},g_={get:Ll(!0,!1)},of=new WeakMap,rf=new WeakMap,af=new WeakMap,m_=new WeakMap;function __(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function b_(t){return t.__v_skip||!Object.isExtensible(t)?0:__(zm(t))}function Hs(t){return As(t)?t:Il(t,!1,sf,f_,of)}function y_(t){return Il(t,!1,a_,p_,rf)}function lf(t){return Il(t,!0,i_,g_,af)}function Il(t,e,n,s,o){if(!Ye(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=b_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ws(t){return As(t)?ws(t.__v_raw):!!(t&&t.__v_isReactive)}function As(t){return!!(t&&t.__v_isReadonly)}function Cr(t){return!!(t&&t.__v_isShallow)}function cf(t){return ws(t)||As(t)}function He(t){const e=t&&t.__v_raw;return e?He(e):t}function df(t){return kr(t,"__v_skip",!0),t}const wo=t=>Ye(t)?Hs(t):t,Pl=t=>Ye(t)?lf(t):t;function uf(t){On&&Lt&&(t=He(t),ef(t.dep||(t.dep=Ol())))}function hf(t,e){t=He(t);const n=t.dep;n&&Va(n)}function ht(t){return!!(t&&t.__v_isRef===!0)}function v_(t){return ff(t,!1)}function x_(t){return ff(t,!0)}function ff(t,e){return ht(t)?t:new w_(t,e)}class w_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:He(e),this._value=n?e:wo(e)}get value(){return uf(this),this._value}set value(e){const n=this.__v_isShallow||Cr(e)||As(e);e=n?e:He(e),xo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:wo(e),hf(this))}}function dt(t){return ht(t)?t.value:t}const k_={get:(t,e,n)=>dt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ht(o)&&!ht(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function pf(t){return ws(t)?t:new Proxy(t,k_)}var gf;class E_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[gf]=!1,this._dirty=!0,this.effect=new Rl(e,()=>{this._dirty||(this._dirty=!0,hf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=He(this);return uf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}gf="__v_isReadonly";function C_(t,e,n=!1){let s,o;const r=Ne(t);return r?(s=t,o=Ft):(s=t.get,o=t.set),new E_(s,o,r||!o,n)}function Rn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Jr(r,e,n)}return o}function At(t,e,n,s){if(Ne(t)){const r=Rn(t,e,n,s);return r&&Zh(r)&&r.catch(i=>{Jr(i,e,n)}),r}const o=[];for(let r=0;r>>1;Eo(ut[s])qt&&ut.splice(e,1)}function M_(t){Te(t)?ks.push(...t):(!on||!on.includes(t,t.allowRecurse?qn+1:qn))&&ks.push(t),_f()}function qc(t,e=ko?qt+1:0){for(;eEo(n)-Eo(s)),qn=0;qnt.id==null?1/0:t.id,O_=(t,e)=>{const n=Eo(t)-Eo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function yf(t){Ga=!1,ko=!0,ut.sort(O_);const e=Ft;try{for(qt=0;qtet(g)?g.trim():g)),h&&(o=n.map(Er))}let a,l=s[a=Si(e)]||s[a=Si(Jt(e))];!l&&r&&(l=s[a=Si(os(e))]),l&&At(l,t,6,o);const d=s[a+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,At(d,t,6,o)}}function vf(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Ne(t)){const l=d=>{const u=vf(d,e,!0);u&&(a=!0,it(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ye(t)&&s.set(t,null),null):(Te(r)?r.forEach(l=>i[l]=null):it(i,r),Ye(t)&&s.set(t,i),i)}function Qr(t,e){return!t||!Kr(e)?!1:(e=e.slice(2).replace(/Once$/,""),je(t,e[0].toLowerCase()+e.slice(1))||je(t,os(e))||je(t,e))}let lt=null,Xr=null;function Ar(t){const e=lt;return lt=t,Xr=t&&t.type.__scopeId||null,e}function rs(t){Xr=t}function is(){Xr=null}function De(t,e=lt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Xc(-1);const r=Ar(e);let i;try{i=t(...o)}finally{Ar(r),s._d&&Xc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ti(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:d,render:u,renderCache:h,data:f,setupState:g,ctx:m,inheritAttrs:_}=t;let w,b;const p=Ar(t);try{if(n.shapeFlag&4){const A=o||s;w=jt(u.call(A,A,h,r,g,f,m)),b=l}else{const A=e;w=jt(A.length>1?A(r,{attrs:l,slots:a,emit:d}):A(r,null)),b=e.props?l:D_(l)}}catch(A){uo.length=0,Jr(A,t,1),w=le(St)}let x=w;if(b&&_!==!1){const A=Object.keys(b),{shapeFlag:D}=x;A.length&&D&7&&(i&&A.some(Sl)&&(b=N_(b,i)),x=un(x,b))}return n.dirs&&(x=un(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,Ar(p),w}const D_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Kr(n))&&((e||(e={}))[n]=t[n]);return e},N_=(t,e)=>{const n={};for(const s in t)(!Sl(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function L_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Hc(s,i,d):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function P_(t,e){e&&e.pendingBranch?Te(t)?e.effects.push(...t):e.effects.push(t):M_(t)}function ur(t,e){if(tt){let n=tt.provides;const s=tt.parent&&tt.parent.provides;s===n&&(n=tt.provides=Object.create(s)),n[t]=e}}function ln(t,e,n=!1){const s=tt||lt;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Ne(e)?e.call(s.proxy):e}}const Jo={};function Jn(t,e,n){return wf(t,e,n)}function wf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Je){const a=Gm()===(tt==null?void 0:tt.scope)?tt:null;let l,d=!1,u=!1;if(ht(t)?(l=()=>t.value,d=Cr(t)):ws(t)?(l=()=>t,s=!0):Te(t)?(u=!0,d=t.some(x=>ws(x)||Cr(x)),l=()=>t.map(x=>{if(ht(x))return x.value;if(ws(x))return Zn(x);if(Ne(x))return Rn(x,a,2)})):Ne(t)?e?l=()=>Rn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Ft,e&&s){const x=l;l=()=>Zn(x())}let h,f=x=>{h=b.onStop=()=>{Rn(x,a,4)}},g;if(To)if(f=Ft,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=S1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Ft;let m=u?new Array(t.length).fill(Jo):Jo;const _=()=>{if(b.active)if(e){const x=b.run();(s||d||(u?x.some((A,D)=>xo(A,m[D])):xo(x,m)))&&(h&&h(),At(e,a,3,[x,m===Jo?void 0:u&&m[0]===Jo?[]:m,f]),m=x)}else b.run()};_.allowRecurse=!!e;let w;o==="sync"?w=_:o==="post"?w=()=>at(_,a&&a.suspense):(_.pre=!0,a&&(_.id=a.uid),w=()=>Bl(_));const b=new Rl(l,w);e?n?_():m=b.run():o==="post"?at(b.run.bind(b),a&&a.suspense):b.run();const p=()=>{b.stop(),a&&a.scope&&Tl(a.scope.effects,b)};return g&&g.push(p),p}function F_(t,e,n){const s=this.proxy,o=et(t)?t.includes(".")?kf(s,t):()=>s[t]:t.bind(s,s);let r;Ne(e)?r=e:(r=e.handler,n=e);const i=tt;Ts(this);const a=wf(o,r.bind(s),n);return i?Ts(i):Qn(),a}function kf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Zn(n,e)});else if(Yh(t))for(const n in t)Zn(t[n],e);return t}function Ef(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ni(()=>{t.isMounted=!0}),Ul(()=>{t.isUnmounting=!0}),t}const wt=[Function,Array],B_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},setup(t,{slots:e}){const n=Gl(),s=Ef();let o;return()=>{const r=e.default&&zl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const _ of r)if(_.type!==St){i=_;break}}const a=He(t),{mode:l}=a;if(s.isLeaving)return Mi(i);const d=Vc(i);if(!d)return Mi(i);const u=Co(d,a,s,n);Ss(d,u);const h=n.subTree,f=h&&Vc(h);let g=!1;const{getTransitionKey:m}=d.type;if(m){const _=m();o===void 0?o=_:_!==o&&(o=_,g=!0)}if(f&&f.type!==St&&(!Tn(d,f)||g)){const _=Co(f,a,s,n);if(Ss(f,_),l==="out-in")return s.isLeaving=!0,_.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Mi(i);l==="in-out"&&d.type!==St&&(_.delayLeave=(w,b,p)=>{const x=Af(s,f);x[String(f.key)]=f,w._leaveCb=()=>{b(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=p})}return i}}},Cf=B_;function Af(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Co(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:_,onAppear:w,onAfterAppear:b,onAppearCancelled:p}=e,x=String(t.key),A=Af(n,t),D=(v,C)=>{v&&At(v,s,9,C)},O=(v,C)=>{const M=C[1];D(v,C),Te(v)?v.every(I=>I.length<=1)&&M():v.length<=1&&M()},L={mode:r,persisted:i,beforeEnter(v){let C=a;if(!n.isMounted)if(o)C=_||a;else return;v._leaveCb&&v._leaveCb(!0);const M=A[x];M&&Tn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),D(C,[v])},enter(v){let C=l,M=d,I=u;if(!n.isMounted)if(o)C=w||l,M=b||d,I=p||u;else return;let B=!1;const X=v._enterCb=P=>{B||(B=!0,P?D(I,[v]):D(M,[v]),L.delayedLeave&&L.delayedLeave(),v._enterCb=void 0)};C?O(C,[v,X]):X()},leave(v,C){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return C();D(h,[v]);let I=!1;const B=v._leaveCb=X=>{I||(I=!0,C(),X?D(m,[v]):D(g,[v]),v._leaveCb=void 0,A[M]===t&&delete A[M])};A[M]=t,f?O(f,[v,B]):B()},clone(v){return Co(v,e,n,s)}};return L}function Mi(t){if(ei(t))return t=un(t),t.children=null,t}function Vc(t){return ei(t)?t.children?t.children[0]:void 0:t}function Ss(t,e){t.shapeFlag&6&&t.component?Ss(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function zl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,ei=t=>t.type.__isKeepAlive,z_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Gl(),s=n.ctx;if(!s.renderer)return()=>{const p=e.default&&e.default();return p&&p.length===1?p[0]:p};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(p,x,A,D,O)=>{const L=p.component;d(p,x,A,0,a),l(L.vnode,p,x,A,L,a,D,p.slotScopeIds,O),at(()=>{L.isDeactivated=!1,L.a&&xs(L.a);const v=p.props&&p.props.onVnodeMounted;v&&kt(v,L.parent,p)},a)},s.deactivate=p=>{const x=p.component;d(p,f,null,1,a),at(()=>{x.da&&xs(x.da);const A=p.props&&p.props.onVnodeUnmounted;A&&kt(A,x.parent,p),x.isDeactivated=!0},a)};function g(p){Oi(p),u(p,n,a,!0)}function m(p){o.forEach((x,A)=>{const D=Qa(x.type);D&&(!p||!p(D))&&_(A)})}function _(p){const x=o.get(p);!i||!Tn(x,i)?g(x):i&&Oi(i),o.delete(p),r.delete(p)}Jn(()=>[t.include,t.exclude],([p,x])=>{p&&m(A=>ao(p,A)),x&&m(A=>!ao(x,A))},{flush:"post",deep:!0});let w=null;const b=()=>{w!=null&&o.set(w,Ri(n.subTree))};return ni(b),$l(b),Ul(()=>{o.forEach(p=>{const{subTree:x,suspense:A}=n,D=Ri(x);if(p.type===D.type&&p.key===D.key){Oi(D);const O=D.component.da;O&&at(O,A);return}g(p)})}),()=>{if(w=null,!e.default)return null;const p=e.default(),x=p[0];if(p.length>1)return i=null,p;if(!So(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let A=Ri(x);const D=A.type,O=Qa(Es(A)?A.type.__asyncResolved||{}:D),{include:L,exclude:v,max:C}=t;if(L&&(!O||!ao(L,O))||v&&O&&ao(v,O))return i=A,x;const M=A.key==null?D:A.key,I=o.get(M);return A.el&&(A=un(A),x.shapeFlag&128&&(x.ssContent=A)),w=M,I?(A.el=I.el,A.component=I.component,A.transition&&Ss(A,A.transition),A.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),C&&r.size>parseInt(C,10)&&_(r.values().next().value)),A.shapeFlag|=256,i=A,xf(x.type)?x:A}}},$_=z_;function ao(t,e){return Te(t)?t.some(n=>ao(n,e)):et(t)?t.split(",").includes(e):Bm(t)?t.test(e):!1}function U_(t,e){Tf(t,"a",e)}function j_(t,e){Tf(t,"da",e)}function Tf(t,e,n=tt){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(ti(e,s,n),n){let o=n.parent;for(;o&&o.parent;)ei(o.parent.vnode)&&q_(s,e,n,o),o=o.parent}}function q_(t,e,n,s){const o=ti(e,t,s,!0);Mf(()=>{Tl(s[e],o)},n)}function Oi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ri(t){return t.shapeFlag&128?t.ssContent:t}function ti(t,e,n=tt,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;js(),Ts(n);const a=At(e,n,t,i);return Qn(),qs(),a});return s?o.unshift(r):o.push(r),r}}const pn=t=>(e,n=tt)=>(!To||t==="sp")&&ti(t,(...s)=>e(...s),n),H_=pn("bm"),ni=pn("m"),V_=pn("bu"),$l=pn("u"),Ul=pn("bum"),Mf=pn("um"),G_=pn("sp"),K_=pn("rtg"),Z_=pn("rtc");function W_(t,e=tt){ti("ec",t,e)}function Q(t,e){const n=lt;if(n===null)return t;const s=ri(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;aSo(e)?!(e.type===St||e.type===Ae&&!Df(e.children)):!0)?t:null}const Ka=t=>t?qf(t)?ri(t)||t.proxy:Ka(t.parent):null,co=it(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ka(t.parent),$root:t=>Ka(t.root),$emit:t=>t.emit,$options:t=>ql(t),$forceUpdate:t=>t.f||(t.f=()=>Bl(t.update)),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>F_.bind(t)}),Di=(t,e)=>t!==Je&&!t.__isScriptSetup&&je(t,e),J_={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let d;if(e[0]!=="$"){const g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(Di(s,e))return i[e]=1,s[e];if(o!==Je&&je(o,e))return i[e]=2,o[e];if((d=t.propsOptions[0])&&je(d,e))return i[e]=3,r[e];if(n!==Je&&je(n,e))return i[e]=4,n[e];Za&&(i[e]=0)}}const u=co[e];let h,f;if(u)return e==="$attrs"&&_t(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Je&&je(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,je(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Di(o,e)?(o[e]=n,!0):s!==Je&&je(s,e)?(s[e]=n,!0):je(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Je&&je(t,i)||Di(e,i)||(a=r[0])&&je(a,i)||je(s,i)||je(co,i)||je(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:je(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Za=!0;function Q_(t){const e=ql(t),n=t.proxy,s=t.ctx;Za=!1,e.beforeCreate&&Kc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:_,deactivated:w,beforeDestroy:b,beforeUnmount:p,destroyed:x,unmounted:A,render:D,renderTracked:O,renderTriggered:L,errorCaptured:v,serverPrefetch:C,expose:M,inheritAttrs:I,components:B,directives:X,filters:P}=e;if(d&&X_(d,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const H=i[T];Ne(H)&&(s[T]=H.bind(n))}if(o){const T=o.call(n,n);Ye(T)&&(t.data=Hs(T))}if(Za=!0,r)for(const T in r){const H=r[T],K=Ne(H)?H.bind(n,n):Ne(H.get)?H.get.bind(n,n):Ft,we=!Ne(H)&&Ne(H.set)?H.set.bind(n):Ft,be=Ct({get:K,set:we});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>be.value,set:ne=>be.value=ne})}if(a)for(const T in a)Nf(a[T],s,n,T);if(l){const T=Ne(l)?l.call(n):l;Reflect.ownKeys(T).forEach(H=>{ur(H,T[H])})}u&&Kc(u,t,"c");function Y(T,H){Te(H)?H.forEach(K=>T(K.bind(n))):H&&T(H.bind(n))}if(Y(H_,h),Y(ni,f),Y(V_,g),Y($l,m),Y(U_,_),Y(j_,w),Y(W_,v),Y(Z_,O),Y(K_,L),Y(Ul,p),Y(Mf,A),Y(G_,C),Te(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(H=>{Object.defineProperty(T,H,{get:()=>n[H],set:K=>n[H]=K})})}else t.exposed||(t.exposed={});D&&t.render===Ft&&(t.render=D),I!=null&&(t.inheritAttrs=I),B&&(t.components=B),X&&(t.directives=X)}function X_(t,e,n=Ft,s=!1){Te(t)&&(t=Wa(t));for(const o in t){const r=t[o];let i;Ye(r)?"default"in r?i=ln(r.from||o,r.default,!0):i=ln(r.from||o):i=ln(r),ht(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Kc(t,e,n){At(Te(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Nf(t,e,n,s){const o=s.includes(".")?kf(n,s):()=>n[s];if(et(t)){const r=e[t];Ne(r)&&Jn(o,r)}else if(Ne(t))Jn(o,t.bind(n));else if(Ye(t))if(Te(t))t.forEach(r=>Nf(r,e,n,s));else{const r=Ne(t.handler)?t.handler.bind(n):e[t.handler];Ne(r)&&Jn(o,r,t)}}function ql(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(d=>Tr(l,d,i,!0)),Tr(l,e,i)),Ye(e)&&r.set(e,l),l}function Tr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&Tr(t,r,n,!0),o&&o.forEach(i=>Tr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=e1[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const e1={data:Zc,props:Un,emits:Un,methods:Un,computed:Un,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Un,directives:Un,watch:n1,provide:Zc,inject:t1};function Zc(t,e){return e?t?function(){return it(Ne(t)?t.call(this,this):t,Ne(e)?e.call(this,this):e)}:e:t}function t1(t,e){return Un(Wa(t),Wa(e))}function Wa(t){if(Te(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,g]=If(h,e,!0);it(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Ye(t)&&s.set(t,ys),ys;if(Te(r))for(let u=0;u-1,g[1]=_<0||m<_,(m>-1||je(g,"default"))&&a.push(h)}}}const d=[i,a];return Ye(t)&&s.set(t,d),d}function Wc(t){return t[0]!=="$"}function Yc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Jc(t,e){return Yc(t)===Yc(e)}function Qc(t,e){return Te(e)?e.findIndex(n=>Jc(n,t)):Ne(e)&&Jc(e,t)?0:-1}const Pf=t=>t[0]==="_"||t==="$stable",Hl=t=>Te(t)?t.map(jt):[jt(t)],r1=(t,e,n)=>{if(e._n)return e;const s=De((...o)=>Hl(e(...o)),n);return s._c=!1,s},Ff=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Pf(o))continue;const r=t[o];if(Ne(r))e[o]=r1(o,r,s);else if(r!=null){const i=Hl(r);e[o]=()=>i}}},Bf=(t,e)=>{const n=Hl(e);t.slots.default=()=>n},i1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=He(e),kr(e,"_",n)):Ff(e,t.slots={})}else t.slots={},e&&Bf(t,e);kr(t.slots,oi,1)},a1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Je;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(it(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Ff(e,o)),i=e}else e&&(Bf(t,e),i={default:1});if(r)for(const a in o)!Pf(a)&&!(a in i)&&delete o[a]};function zf(){return{app:null,config:{isNativeTag:Im,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let l1=0;function c1(t,e){return function(s,o=null){Ne(s)||(s=Object.assign({},s)),o!=null&&!Ye(o)&&(o=null);const r=zf(),i=new Set;let a=!1;const l=r.app={_uid:l1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:T1,get config(){return r.config},set config(d){},use(d,...u){return i.has(d)||(d&&Ne(d.install)?(i.add(d),d.install(l,...u)):Ne(d)&&(i.add(d),d(l,...u))),l},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),l},component(d,u){return u?(r.components[d]=u,l):r.components[d]},directive(d,u){return u?(r.directives[d]=u,l):r.directives[d]},mount(d,u,h){if(!a){const f=le(s,o);return f.appContext=r,u&&e?e(f,d):t(f,d,h),a=!0,l._container=d,d.__vue_app__=l,ri(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(d,u){return r.provides[d]=u,l}};return l}}function Ja(t,e,n,s,o=!1){if(Te(t)){t.forEach((f,g)=>Ja(f,e&&(Te(e)?e[g]:e),n,s,o));return}if(Es(s)&&!o)return;const r=s.shapeFlag&4?ri(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,d=e&&e.r,u=a.refs===Je?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==l&&(et(d)?(u[d]=null,je(h,d)&&(h[d]=null)):ht(d)&&(d.value=null)),Ne(l))Rn(l,a,12,[i,u]);else{const f=et(l),g=ht(l);if(f||g){const m=()=>{if(t.f){const _=f?je(h,l)?h[l]:u[l]:l.value;o?Te(_)&&Tl(_,r):Te(_)?_.includes(r)||_.push(r):f?(u[l]=[r],je(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,je(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(m.id=-1,at(m,n)):m()}}}const at=P_;function d1(t){return u1(t)}function u1(t,e){const n=qm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:g=Ft,insertStaticContent:m}=t,_=(k,S,F,$=null,U=null,oe=null,ce=!1,j=null,re=!!S.dynamicChildren)=>{if(k===S)return;k&&!Tn(k,S)&&($=V(k),ne(k,U,oe,!0),k=null),S.patchFlag===-2&&(re=!1,S.dynamicChildren=null);const{type:q,ref:J,shapeFlag:de}=S;switch(q){case si:w(k,S,F,$);break;case St:b(k,S,F,$);break;case hr:k==null&&p(S,F,$,ce);break;case Ae:B(k,S,F,$,U,oe,ce,j,re);break;default:de&1?D(k,S,F,$,U,oe,ce,j,re):de&6?X(k,S,F,$,U,oe,ce,j,re):(de&64||de&128)&&q.process(k,S,F,$,U,oe,ce,j,re,te)}J!=null&&U&&Ja(J,k&&k.ref,oe,S||k,!S)},w=(k,S,F,$)=>{if(k==null)s(S.el=a(S.children),F,$);else{const U=S.el=k.el;S.children!==k.children&&d(U,S.children)}},b=(k,S,F,$)=>{k==null?s(S.el=l(S.children||""),F,$):S.el=k.el},p=(k,S,F,$)=>{[k.el,k.anchor]=m(k.children,S,F,$,k.el,k.anchor)},x=({el:k,anchor:S},F,$)=>{let U;for(;k&&k!==S;)U=f(k),s(k,F,$),k=U;s(S,F,$)},A=({el:k,anchor:S})=>{let F;for(;k&&k!==S;)F=f(k),o(k),k=F;o(S)},D=(k,S,F,$,U,oe,ce,j,re)=>{ce=ce||S.type==="svg",k==null?O(S,F,$,U,oe,ce,j,re):C(k,S,U,oe,ce,j,re)},O=(k,S,F,$,U,oe,ce,j)=>{let re,q;const{type:J,props:de,shapeFlag:pe,transition:fe,dirs:Se}=k;if(re=k.el=i(k.type,oe,de&&de.is,de),pe&8?u(re,k.children):pe&16&&v(k.children,re,null,$,U,oe&&J!=="foreignObject",ce,j),Se&&Fn(k,null,$,"created"),L(re,k,k.scopeId,ce,$),de){for(const ie in de)ie!=="value"&&!dr(ie)&&r(re,ie,null,de[ie],oe,k.children,$,U,ee);"value"in de&&r(re,"value",null,de.value),(q=de.onVnodeBeforeMount)&&kt(q,$,k)}Se&&Fn(k,null,$,"beforeMount");const W=(!U||U&&!U.pendingBranch)&&fe&&!fe.persisted;W&&fe.beforeEnter(re),s(re,S,F),((q=de&&de.onVnodeMounted)||W||Se)&&at(()=>{q&&kt(q,$,k),W&&fe.enter(re),Se&&Fn(k,null,$,"mounted")},U)},L=(k,S,F,$,U)=>{if(F&&g(k,F),$)for(let oe=0;oe<$.length;oe++)g(k,$[oe]);if(U){let oe=U.subTree;if(S===oe){const ce=U.vnode;L(k,ce,ce.scopeId,ce.slotScopeIds,U.parent)}}},v=(k,S,F,$,U,oe,ce,j,re=0)=>{for(let q=re;q{const j=S.el=k.el;let{patchFlag:re,dynamicChildren:q,dirs:J}=S;re|=k.patchFlag&16;const de=k.props||Je,pe=S.props||Je;let fe;F&&Bn(F,!1),(fe=pe.onVnodeBeforeUpdate)&&kt(fe,F,S,k),J&&Fn(S,k,F,"beforeUpdate"),F&&Bn(F,!0);const Se=U&&S.type!=="foreignObject";if(q?M(k.dynamicChildren,q,j,F,$,Se,oe):ce||H(k,S,j,null,F,$,Se,oe,!1),re>0){if(re&16)I(j,S,de,pe,F,$,U);else if(re&2&&de.class!==pe.class&&r(j,"class",null,pe.class,U),re&4&&r(j,"style",de.style,pe.style,U),re&8){const W=S.dynamicProps;for(let ie=0;ie{fe&&kt(fe,F,S,k),J&&Fn(S,k,F,"updated")},$)},M=(k,S,F,$,U,oe,ce)=>{for(let j=0;j{if(F!==$){if(F!==Je)for(const j in F)!dr(j)&&!(j in $)&&r(k,j,F[j],null,ce,S.children,U,oe,ee);for(const j in $){if(dr(j))continue;const re=$[j],q=F[j];re!==q&&j!=="value"&&r(k,j,q,re,ce,S.children,U,oe,ee)}"value"in $&&r(k,"value",F.value,$.value)}},B=(k,S,F,$,U,oe,ce,j,re)=>{const q=S.el=k?k.el:a(""),J=S.anchor=k?k.anchor:a("");let{patchFlag:de,dynamicChildren:pe,slotScopeIds:fe}=S;fe&&(j=j?j.concat(fe):fe),k==null?(s(q,F,$),s(J,F,$),v(S.children,F,J,U,oe,ce,j,re)):de>0&&de&64&&pe&&k.dynamicChildren?(M(k.dynamicChildren,pe,F,U,oe,ce,j),(S.key!=null||U&&S===U.subTree)&&$f(k,S,!0)):H(k,S,F,J,U,oe,ce,j,re)},X=(k,S,F,$,U,oe,ce,j,re)=>{S.slotScopeIds=j,k==null?S.shapeFlag&512?U.ctx.activate(S,F,$,ce,re):P(S,F,$,U,oe,ce,re):ue(k,S,re)},P=(k,S,F,$,U,oe,ce)=>{const j=k.component=v1(k,$,U);if(ei(k)&&(j.ctx.renderer=te),x1(j),j.asyncDep){if(U&&U.registerDep(j,Y),!k.el){const re=j.subTree=le(St);b(null,re,S,F)}return}Y(j,k,S,F,U,oe,ce)},ue=(k,S,F)=>{const $=S.component=k.component;if(L_(k,S,F))if($.asyncDep&&!$.asyncResolved){T($,S,F);return}else $.next=S,T_($.update),$.update();else S.el=k.el,$.vnode=S},Y=(k,S,F,$,U,oe,ce)=>{const j=()=>{if(k.isMounted){let{next:J,bu:de,u:pe,parent:fe,vnode:Se}=k,W=J,ie;Bn(k,!1),J?(J.el=Se.el,T(k,J,ce)):J=Se,de&&xs(de),(ie=J.props&&J.props.onVnodeBeforeUpdate)&&kt(ie,fe,J,Se),Bn(k,!0);const me=Ti(k),Oe=k.subTree;k.subTree=me,_(Oe,me,h(Oe.el),V(Oe),k,U,oe),J.el=me.el,W===null&&I_(k,me.el),pe&&at(pe,U),(ie=J.props&&J.props.onVnodeUpdated)&&at(()=>kt(ie,fe,J,Se),U)}else{let J;const{el:de,props:pe}=S,{bm:fe,m:Se,parent:W}=k,ie=Es(S);if(Bn(k,!1),fe&&xs(fe),!ie&&(J=pe&&pe.onVnodeBeforeMount)&&kt(J,W,S),Bn(k,!0),de&&he){const me=()=>{k.subTree=Ti(k),he(de,k.subTree,k,U,null)};ie?S.type.__asyncLoader().then(()=>!k.isUnmounted&&me()):me()}else{const me=k.subTree=Ti(k);_(null,me,F,$,k,U,oe),S.el=me.el}if(Se&&at(Se,U),!ie&&(J=pe&&pe.onVnodeMounted)){const me=S;at(()=>kt(J,W,me),U)}(S.shapeFlag&256||W&&Es(W.vnode)&&W.vnode.shapeFlag&256)&&k.a&&at(k.a,U),k.isMounted=!0,S=F=$=null}},re=k.effect=new Rl(j,()=>Bl(q),k.scope),q=k.update=()=>re.run();q.id=k.uid,Bn(k,!0),q()},T=(k,S,F)=>{S.component=k;const $=k.vnode.props;k.vnode=S,k.next=null,o1(k,S.props,$,F),a1(k,S.children,F),js(),qc(),qs()},H=(k,S,F,$,U,oe,ce,j,re=!1)=>{const q=k&&k.children,J=k?k.shapeFlag:0,de=S.children,{patchFlag:pe,shapeFlag:fe}=S;if(pe>0){if(pe&128){we(q,de,F,$,U,oe,ce,j,re);return}else if(pe&256){K(q,de,F,$,U,oe,ce,j,re);return}}fe&8?(J&16&&ee(q,U,oe),de!==q&&u(F,de)):J&16?fe&16?we(q,de,F,$,U,oe,ce,j,re):ee(q,U,oe,!0):(J&8&&u(F,""),fe&16&&v(de,F,$,U,oe,ce,j,re))},K=(k,S,F,$,U,oe,ce,j,re)=>{k=k||ys,S=S||ys;const q=k.length,J=S.length,de=Math.min(q,J);let pe;for(pe=0;peJ?ee(k,U,oe,!0,!1,de):v(S,F,$,U,oe,ce,j,re,de)},we=(k,S,F,$,U,oe,ce,j,re)=>{let q=0;const J=S.length;let de=k.length-1,pe=J-1;for(;q<=de&&q<=pe;){const fe=k[q],Se=S[q]=re?wn(S[q]):jt(S[q]);if(Tn(fe,Se))_(fe,Se,F,null,U,oe,ce,j,re);else break;q++}for(;q<=de&&q<=pe;){const fe=k[de],Se=S[pe]=re?wn(S[pe]):jt(S[pe]);if(Tn(fe,Se))_(fe,Se,F,null,U,oe,ce,j,re);else break;de--,pe--}if(q>de){if(q<=pe){const fe=pe+1,Se=fepe)for(;q<=de;)ne(k[q],U,oe,!0),q++;else{const fe=q,Se=q,W=new Map;for(q=Se;q<=pe;q++){const ot=S[q]=re?wn(S[q]):jt(S[q]);ot.key!=null&&W.set(ot.key,q)}let ie,me=0;const Oe=pe-Se+1;let $e=!1,Ze=0;const Fe=new Array(Oe);for(q=0;q=Oe){ne(ot,U,oe,!0);continue}let ct;if(ot.key!=null)ct=W.get(ot.key);else for(ie=Se;ie<=pe;ie++)if(Fe[ie-Se]===0&&Tn(ot,S[ie])){ct=ie;break}ct===void 0?ne(ot,U,oe,!0):(Fe[ct-Se]=q+1,ct>=Ze?Ze=ct:$e=!0,_(ot,S[ct],F,null,U,oe,ce,j,re),me++)}const nt=$e?h1(Fe):ys;for(ie=nt.length-1,q=Oe-1;q>=0;q--){const ot=Se+q,ct=S[ot],Nc=ot+1{const{el:oe,type:ce,transition:j,children:re,shapeFlag:q}=k;if(q&6){be(k.component.subTree,S,F,$);return}if(q&128){k.suspense.move(S,F,$);return}if(q&64){ce.move(k,S,F,te);return}if(ce===Ae){s(oe,S,F);for(let de=0;dej.enter(oe),U);else{const{leave:de,delayLeave:pe,afterLeave:fe}=j,Se=()=>s(oe,S,F),W=()=>{de(oe,()=>{Se(),fe&&fe()})};pe?pe(oe,Se,W):W()}else s(oe,S,F)},ne=(k,S,F,$=!1,U=!1)=>{const{type:oe,props:ce,ref:j,children:re,dynamicChildren:q,shapeFlag:J,patchFlag:de,dirs:pe}=k;if(j!=null&&Ja(j,null,F,k,!0),J&256){S.ctx.deactivate(k);return}const fe=J&1&&pe,Se=!Es(k);let W;if(Se&&(W=ce&&ce.onVnodeBeforeUnmount)&&kt(W,S,k),J&6)N(k.component,F,$);else{if(J&128){k.suspense.unmount(F,$);return}fe&&Fn(k,null,S,"beforeUnmount"),J&64?k.type.remove(k,S,F,U,te,$):q&&(oe!==Ae||de>0&&de&64)?ee(q,S,F,!1,!0):(oe===Ae&&de&384||!U&&J&16)&&ee(re,S,F),$&&Ee(k)}(Se&&(W=ce&&ce.onVnodeUnmounted)||fe)&&at(()=>{W&&kt(W,S,k),fe&&Fn(k,null,S,"unmounted")},F)},Ee=k=>{const{type:S,el:F,anchor:$,transition:U}=k;if(S===Ae){Me(F,$);return}if(S===hr){A(k);return}const oe=()=>{o(F),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(k.shapeFlag&1&&U&&!U.persisted){const{leave:ce,delayLeave:j}=U,re=()=>ce(F,oe);j?j(k.el,oe,re):re()}else oe()},Me=(k,S)=>{let F;for(;k!==S;)F=f(k),o(k),k=F;o(S)},N=(k,S,F)=>{const{bum:$,scope:U,update:oe,subTree:ce,um:j}=k;$&&xs($),U.stop(),oe&&(oe.active=!1,ne(ce,k,S,F)),j&&at(j,S),at(()=>{k.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},ee=(k,S,F,$=!1,U=!1,oe=0)=>{for(let ce=oe;cek.shapeFlag&6?V(k.component.subTree):k.shapeFlag&128?k.suspense.next():f(k.anchor||k.el),se=(k,S,F)=>{k==null?S._vnode&&ne(S._vnode,null,null,!0):_(S._vnode||null,k,S,null,null,null,F),qc(),bf(),S._vnode=k},te={p:_,um:ne,m:be,r:Ee,mt:P,mc:v,pc:H,pbc:M,n:V,o:t};let ge,he;return e&&([ge,he]=e(te)),{render:se,hydrate:ge,createApp:c1(se,ge)}}function Bn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function $f(t,e,n=!1){const s=t.children,o=e.children;if(Te(s)&&Te(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const f1=t=>t.__isTeleport,Ae=Symbol(void 0),si=Symbol(void 0),St=Symbol(void 0),hr=Symbol(void 0),uo=[];let Pt=null;function y(t=!1){uo.push(Pt=t?null:[])}function p1(){uo.pop(),Pt=uo[uo.length-1]||null}let Ao=1;function Xc(t){Ao+=t}function Uf(t){return t.dynamicChildren=Ao>0?Pt||ys:null,p1(),Ao>0&&Pt&&Pt.push(t),t}function E(t,e,n,s,o,r){return Uf(c(t,e,n,s,o,r,!0))}function Xe(t,e,n,s,o){return Uf(le(t,e,n,s,o,!0))}function So(t){return t?t.__v_isVNode===!0:!1}function Tn(t,e){return t.type===e.type&&t.key===e.key}const oi="__vInternal",jf=({key:t})=>t??null,fr=({ref:t,ref_key:e,ref_for:n})=>t!=null?et(t)||ht(t)||Ne(t)?{i:lt,r:t,k:e,f:!!n}:t:null;function c(t,e=null,n=null,s=0,o=null,r=t===Ae?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&jf(e),ref:e&&fr(e),scopeId:Xr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:lt};return a?(Vl(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=et(n)?8:16),Ao>0&&!i&&Pt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Pt.push(l),l}const le=g1;function g1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Of)&&(t=St),So(t)){const a=un(t,e,!0);return n&&Vl(a,n),Ao>0&&!r&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(t)]=a:Pt.push(a)),a.patchFlag|=-2,a}if(C1(t)&&(t=t.__vccOpts),e){e=m1(e);let{class:a,style:l}=e;a&&!et(a)&&(e.class=ke(a)),Ye(l)&&(cf(l)&&!Te(l)&&(l=it({},l)),e.style=yt(l))}const i=et(t)?1:xf(t)?128:f1(t)?64:Ye(t)?4:Ne(t)?2:0;return c(t,e,n,s,o,i,r,!0)}function m1(t){return t?cf(t)||oi in t?it({},t):t:null}function un(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?_1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&jf(a),ref:e&&e.ref?n&&o?Te(o)?o.concat(fr(e)):[o,fr(e)]:fr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&un(t.ssContent),ssFallback:t.ssFallback&&un(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return le(si,null,t,e)}function Vs(t,e){const n=le(hr,null,t);return n.staticCount=e,n}function R(t="",e=!1){return e?(y(),Xe(St,null,t)):le(St,null,t)}function jt(t){return t==null||typeof t=="boolean"?le(St):Te(t)?le(Ae,null,t.slice()):typeof t=="object"?wn(t):le(si,null,String(t))}function wn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:un(t)}function Vl(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Te(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Vl(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(oi in e)?e._ctx=lt:o===3&<&&(lt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ne(e)?(e={default:e,_ctx:lt},n=32):(e=String(e),s&64?(n=16,e=[xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function _1(...t){const e={};for(let n=0;ntt||lt,Ts=t=>{tt=t,t.scope.on()},Qn=()=>{tt&&tt.scope.off(),tt=null};function qf(t){return t.vnode.shapeFlag&4}let To=!1;function x1(t,e=!1){To=e;const{props:n,children:s}=t.vnode,o=qf(t);s1(t,n,o,e),i1(t,s);const r=o?w1(t,e):void 0;return To=!1,r}function w1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=df(new Proxy(t.ctx,J_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?E1(t):null;Ts(t),js();const r=Rn(s,t,0,[t.props,o]);if(qs(),Qn(),Zh(r)){if(r.then(Qn,Qn),e)return r.then(i=>{ed(t,i,e)}).catch(i=>{Jr(i,t,0)});t.asyncDep=r}else ed(t,r,e)}else Hf(t,e)}function ed(t,e,n){Ne(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ye(e)&&(t.setupState=pf(e)),Hf(t,n)}let td;function Hf(t,e,n){const s=t.type;if(!t.render){if(!e&&td&&!s.render){const o=s.template||ql(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,d=it(it({isCustomElement:r,delimiters:a},i),l);s.render=td(o,d)}}t.render=s.render||Ft}Ts(t),js(),Q_(t),qs(),Qn()}function k1(t){return new Proxy(t.attrs,{get(e,n){return _t(t,"get","$attrs"),e[n]}})}function E1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=k1(t))},slots:t.slots,emit:t.emit,expose:e}}function ri(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(pf(df(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in co)return co[n](t)},has(e,n){return n in e||n in co}}))}function Qa(t,e=!0){return Ne(t)?t.displayName||t.name:t.name||e&&t.__name}function C1(t){return Ne(t)&&"__vccOpts"in t}const Ct=(t,e)=>C_(t,e,To);function Kl(t,e,n){const s=arguments.length;return s===2?Ye(e)&&!Te(e)?So(e)?le(t,null,[e]):le(t,e):le(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&So(n)&&(n=[n]),le(t,e,n))}const A1=Symbol(""),S1=()=>ln(A1),T1="3.2.47",M1="http://www.w3.org/2000/svg",Hn=typeof document<"u"?document:null,nd=Hn&&Hn.createElement("template"),O1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?Hn.createElementNS(M1,t):Hn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Hn.createTextNode(t),createComment:t=>Hn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{nd.innerHTML=s?`${t}`:t;const a=nd.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function R1(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function D1(t,e,n){const s=t.style,o=et(n);if(n&&!o){if(e&&!et(e))for(const r in e)n[r]==null&&Xa(s,r,"");for(const r in n)Xa(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const sd=/\s*!important$/;function Xa(t,e,n){if(Te(n))n.forEach(s=>Xa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=N1(t,e);sd.test(n)?t.setProperty(os(s),n.replace(sd,""),"important"):t[s]=n}}const od=["Webkit","Moz","ms"],Ni={};function N1(t,e){const n=Ni[e];if(n)return n;let s=Jt(e);if(s!=="filter"&&s in t)return Ni[e]=s;s=Wr(s);for(let o=0;oLi||(z1.then(()=>Li=0),Li=Date.now());function U1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(j1(s,n.value),e,5,[s])};return n.value=t,n.attached=$1(),n}function j1(t,e){if(Te(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const ad=/^on[a-z]/,q1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?R1(t,s,o):e==="style"?D1(t,n,s):Kr(e)?Sl(e)||F1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):H1(t,e,s,o))?I1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),L1(t,e,s,o))};function H1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&ad.test(e)&&Ne(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||ad.test(e)&&et(n)?!1:e in t}const bn="transition",eo="animation",Ms=(t,{slots:e})=>Kl(Cf,Gf(t),e);Ms.displayName="Transition";const Vf={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},V1=Ms.props=it({},Cf.props,Vf),zn=(t,e=[])=>{Te(t)?t.forEach(n=>n(...e)):t&&t(...e)},ld=t=>t?Te(t)?t.some(e=>e.length>1):t.length>1:!1;function Gf(t){const e={};for(const B in t)B in Vf||(e[B]=t[B]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,m=G1(o),_=m&&m[0],w=m&&m[1],{onBeforeEnter:b,onEnter:p,onEnterCancelled:x,onLeave:A,onLeaveCancelled:D,onBeforeAppear:O=b,onAppear:L=p,onAppearCancelled:v=x}=e,C=(B,X,P)=>{xn(B,X?u:a),xn(B,X?d:i),P&&P()},M=(B,X)=>{B._isLeaving=!1,xn(B,h),xn(B,g),xn(B,f),X&&X()},I=B=>(X,P)=>{const ue=B?L:p,Y=()=>C(X,B,P);zn(ue,[X,Y]),cd(()=>{xn(X,B?l:r),sn(X,B?u:a),ld(ue)||dd(X,s,_,Y)})};return it(e,{onBeforeEnter(B){zn(b,[B]),sn(B,r),sn(B,i)},onBeforeAppear(B){zn(O,[B]),sn(B,l),sn(B,d)},onEnter:I(!1),onAppear:I(!0),onLeave(B,X){B._isLeaving=!0;const P=()=>M(B,X);sn(B,h),Zf(),sn(B,f),cd(()=>{B._isLeaving&&(xn(B,h),sn(B,g),ld(A)||dd(B,s,w,P))}),zn(A,[B,P])},onEnterCancelled(B){C(B,!1),zn(x,[B])},onAppearCancelled(B){C(B,!0),zn(v,[B])},onLeaveCancelled(B){M(B),zn(D,[B])}})}function G1(t){if(t==null)return null;if(Ye(t))return[Ii(t.enter),Ii(t.leave)];{const e=Ii(t);return[e,e]}}function Ii(t){return jm(t)}function sn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function xn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function cd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let K1=0;function dd(t,e,n,s){const o=t._endId=++K1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Kf(t,e);if(!i)return s();const d=i+"end";let u=0;const h=()=>{t.removeEventListener(d,f),r()},f=g=>{g.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[m]||"").split(", "),o=s(`${bn}Delay`),r=s(`${bn}Duration`),i=ud(o,r),a=s(`${eo}Delay`),l=s(`${eo}Duration`),d=ud(a,l);let u=null,h=0,f=0;e===bn?i>0&&(u=bn,h=i,f=r.length):e===eo?d>0&&(u=eo,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?bn:eo:null,f=u?u===bn?r.length:l.length:0);const g=u===bn&&/\b(transform|all)(,|$)/.test(s(`${bn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}function ud(t,e){for(;t.lengthhd(n)+hd(t[s])))}function hd(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Zf(){return document.body.offsetHeight}const Wf=new WeakMap,Yf=new WeakMap,Jf={name:"TransitionGroup",props:it({},V1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Gl(),s=Ef();let o,r;return $l(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!Q1(o[0].el,n.vnode.el,i))return;o.forEach(W1),o.forEach(Y1);const a=o.filter(J1);Zf(),a.forEach(l=>{const d=l.el,u=d.style;sn(d,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,xn(d,i))};d.addEventListener("transitionend",h)})}),()=>{const i=He(t),a=Gf(i);let l=i.tag||Ae;o=r,r=e.default?zl(e.default()):[];for(let d=0;ddelete t.mode;Jf.props;const It=Jf;function W1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function Y1(t){Yf.set(t,t.el.getBoundingClientRect())}function J1(t){const e=Wf.get(t),n=Yf.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function Q1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Kf(s);return o.removeChild(s),r}const Nn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Te(e)?n=>xs(e,n):e};function X1(t){t.target.composing=!0}function fd(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Re={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Nn(o);const r=s||o.props&&o.props.type==="number";an(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=Er(a)),t._assign(a)}),n&&an(t,"change",()=>{t.value=t.value.trim()}),e||(an(t,"compositionstart",X1),an(t,"compositionend",fd),an(t,"change",fd))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Nn(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&Er(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},Qe={deep:!0,created(t,e,n){t._assign=Nn(n),an(t,"change",()=>{const s=t._modelValue,o=Os(t),r=t.checked,i=t._assign;if(Te(s)){const a=Al(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const d=[...s];d.splice(a,1),i(d)}}else if($s(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Qf(t,r))})},mounted:pd,beforeUpdate(t,e,n){t._assign=Nn(n),pd(t,e,n)}};function pd(t,{value:e,oldValue:n},s){t._modelValue=e,Te(e)?t.checked=Al(e,s.props.value)>-1:$s(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=ts(e,Qf(t,!0)))}const e0={created(t,{value:e},n){t.checked=ts(e,n.props.value),t._assign=Nn(n),an(t,"change",()=>{t._assign(Os(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t._assign=Nn(s),e!==n&&(t.checked=ts(e,s.props.value))}},Ht={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=$s(e);an(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?Er(Os(i)):Os(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Nn(s)},mounted(t,{value:e}){gd(t,e)},beforeUpdate(t,e,n){t._assign=Nn(n)},updated(t,{value:e}){gd(t,e)}};function gd(t,e){const n=t.multiple;if(!(n&&!Te(e)&&!$s(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(ts(Os(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Os(t){return"_value"in t?t._value:t.value}function Qf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const t0=["ctrl","shift","alt","meta"],n0={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>t0.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=os(n.key);if(e.some(o=>o===s||s0[o]===s))return t(n)},We={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):to(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),to(t,!0),s.enter(t)):s.leave(t,()=>{to(t,!1)}):to(t,e))},beforeUnmount(t,{value:e}){to(t,e)}};function to(t,e){t.style.display=e?t._vod:"none"}const o0=it({patchProp:q1},O1);let md;function r0(){return md||(md=d1(o0))}const i0=(...t)=>{const e=r0().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=a0(s);if(!o)return;const r=e._component;!Ne(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function a0(t){return et(t)?document.querySelector(t):t}function l0(){return Xf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Xf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const c0=typeof Proxy=="function",d0="devtools-plugin:setup",u0="plugin:settings:set";let ds,el;function h0(){var t;return ds!==void 0||(typeof window<"u"&&window.performance?(ds=!0,el=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ds=!0,el=global.perf_hooks.performance):ds=!1),ds}function f0(){return h0()?el.now():Date.now()}class p0{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return f0()}},n&&n.on(u0,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(d=>{this.targetQueue.push({method:a,args:l,resolve:d})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function g0(t,e){const n=t,s=Xf(),o=l0(),r=c0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(d0,t,e);else{const i=r?new p0(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT - */var p0="store";function Ks(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function g0(t){return t!==null&&typeof t=="object"}function m0(t){return t&&typeof t.then=="function"}function _0(t,e){return function(){return t(e)}}function Qf(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function Xf(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ri(t,n,[],t._modules.root,!0),Kl(t,n,e)}function Kl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Ks(o,function(i,a){r[a]=_0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Vs({data:e}),t.strict&&w0(t),s&&n&&t._withCommit(function(){s.data=null})}function ri(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Zl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var d=s.context=b0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;y0(t,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,g=u.handler||u;v0(t,f,g,d)}),s.forEachGetter(function(u,h){var f=i+h;x0(t,f,u,d)}),s.forEachChild(function(u,h){ri(t,e,n.concat(h),u,o)})}function b0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=Mr(r,i,a),d=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,d)},commit:s?t.commit:function(r,i,a){var l=Mr(r,i,a),d=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,d,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return ep(t,e)}},state:{get:function(){return Zl(t.state,n)}}}),o}function ep(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function y0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function v0(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return m0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function x0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function w0(t){Qn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Zl(t,e){return e.reduce(function(n,s){return n[s]},t)}function Mr(t,e,n){return g0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var k0="vuex bindings",md="vuex:mutations",Ii="vuex:actions",hs="vuex",E0=0;function C0(t,e){f0({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[k0]},function(n){n.addTimelineLayer({id:md,label:"Vuex Mutations",color:_d}),n.addTimelineLayer({id:Ii,label:"Vuex Actions",color:_d}),n.addInspector({id:hs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===hs)if(s.filter){var o=[];op(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[sp(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===hs){var o=s.nodeId;ep(e,o),s.state=T0(O0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===hs){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(hs),n.sendInspectorState(hs),n.addTimelineEvent({layerId:md,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=E0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ii,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Ii,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var _d=8702998,A0=6710886,S0=16777215,tp={label:"namespaced",textColor:S0,backgroundColor:A0};function np(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function sp(t,e){return{id:e||"root",label:np(e),tags:t.namespaced?[tp]:[],children:Object.keys(t._children).map(function(n){return sp(t._children[n],e+n+"/")})}}function op(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[tp]:[]}),Object.keys(e._children).forEach(function(o){op(t,e._children[o],n,s+o+"/")})}function T0(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=M0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?np(i):i,editable:!1,value:el(function(){return r[i]})}})}return o}function M0(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=el(function(){return t[n]})}else e[n]=el(function(){return t[n]})}),e}function O0(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function el(t){try{return t()}catch(e){return e}}var zt=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},rp={namespaced:{configurable:!0}};rp.namespaced.get=function(){return!!this._rawModule.namespaced};zt.prototype.addChild=function(e,n){this._children[e]=n};zt.prototype.removeChild=function(e){delete this._children[e]};zt.prototype.getChild=function(e){return this._children[e]};zt.prototype.hasChild=function(e){return e in this._children};zt.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};zt.prototype.forEachChild=function(e){Ks(this._children,e)};zt.prototype.forEachGetter=function(e){this._rawModule.getters&&Ks(this._rawModule.getters,e)};zt.prototype.forEachAction=function(e){this._rawModule.actions&&Ks(this._rawModule.actions,e)};zt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ks(this._rawModule.mutations,e)};Object.defineProperties(zt.prototype,rp);var ls=function(e){this.register([],e,!1)};ls.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};ls.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};ls.prototype.update=function(e){ip([],this.root,e)};ls.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new zt(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&Ks(n.modules,function(a,l){o.register(e.concat(l),a,s)})};ls.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};ls.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function ip(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;ip(t.concat(s),e.getChild(s),n.modules[s])}}function R0(t){return new bt(t)}var bt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ls(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,d=a.commit;this.dispatch=function(f,g){return l.call(i,f,g)},this.commit=function(f,g,m){return d.call(i,f,g,m)},this.strict=o;var u=this._modules.root.state;ri(this,u,[],this._modules.root),Kl(this,u),s.forEach(function(h){return h(n)})},Wl={state:{configurable:!0}};bt.prototype.install=function(e,n){e.provide(n||p0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&C0(e,this)};Wl.state.get=function(){return this._state.data};Wl.state.set=function(t){};bt.prototype.commit=function(e,n,s){var o=this,r=Mr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},d=this._mutations[i];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};bt.prototype.dispatch=function(e,n){var s=this,o=Mr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var d=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};bt.prototype.subscribe=function(e,n){return Qf(e,this._subscribers,n)};bt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Qf(s,this._actionSubscribers,n)};bt.prototype.watch=function(e,n,s){var o=this;return Qn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};bt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};bt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ri(this,this.state,e,this._modules.get(e),s.preserveState),Kl(this,this.state)};bt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Zl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Xf(this)};bt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};bt.prototype.hotUpdate=function(e){this._modules.update(e),Xf(this,!0)};bt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(bt.prototype,Wl);function ap(t,e){return function(){return t.apply(e,arguments)}}const{toString:N0}=Object.prototype,{getPrototypeOf:Yl}=Object,ii=(t=>e=>{const n=N0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gn=t=>(t=t.toLowerCase(),e=>ii(e)===t),ai=t=>e=>typeof e===t,{isArray:Zs}=Array,Mo=ai("undefined");function L0(t){return t!==null&&!Mo(t)&&t.constructor!==null&&!Mo(t.constructor)&&hn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const lp=gn("ArrayBuffer");function D0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&lp(t.buffer),e}const I0=ai("string"),hn=ai("function"),cp=ai("number"),Jl=t=>t!==null&&typeof t=="object",P0=t=>t===!0||t===!1,fr=t=>{if(ii(t)!=="object")return!1;const e=Yl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},F0=gn("Date"),B0=gn("File"),z0=gn("Blob"),$0=gn("FileList"),U0=t=>Jl(t)&&hn(t.pipe),j0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||hn(t.append)&&((e=ii(t))==="formdata"||e==="object"&&hn(t.toString)&&t.toString()==="[object FormData]"))},q0=gn("URLSearchParams"),H0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Po(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Zs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const up=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),hp=t=>!Mo(t)&&t!==up;function tl(){const{caseless:t}=hp(this)&&this||{},e={},n=(s,o)=>{const r=t&&dp(e,o)||o;fr(e[r])&&fr(s)?e[r]=tl(e[r],s):fr(s)?e[r]=tl({},s):Zs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Po(e,(o,r)=>{n&&hn(o)?t[r]=ap(o,n):t[r]=o},{allOwnKeys:s}),t),G0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),K0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Z0=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&Yl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},W0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Y0=t=>{if(!t)return null;if(Zs(t))return t;let e=t.length;if(!cp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},J0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Yl(Uint8Array)),Q0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},X0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},eb=gn("HTMLFormElement"),tb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),bd=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),nb=gn("RegExp"),fp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Po(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},sb=t=>{fp(t,(e,n)=>{if(hn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(hn(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ob=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Zs(t)?s(t):s(String(t).split(e)),n},rb=()=>{},ib=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Pi="abcdefghijklmnopqrstuvwxyz",yd="0123456789",pp={DIGIT:yd,ALPHA:Pi,ALPHA_DIGIT:Pi+Pi.toUpperCase()+yd},ab=(t=16,e=pp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function lb(t){return!!(t&&hn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const cb=t=>{const e=new Array(10),n=(s,o)=>{if(Jl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Zs(s)?[]:{};return Po(s,(i,a)=>{const l=n(i,o+1);!Mo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Zs,isArrayBuffer:lp,isBuffer:L0,isFormData:j0,isArrayBufferView:D0,isString:I0,isNumber:cp,isBoolean:P0,isObject:Jl,isPlainObject:fr,isUndefined:Mo,isDate:F0,isFile:B0,isBlob:z0,isRegExp:nb,isFunction:hn,isStream:U0,isURLSearchParams:q0,isTypedArray:J0,isFileList:$0,forEach:Po,merge:tl,extend:V0,trim:H0,stripBOM:G0,inherits:K0,toFlatObject:Z0,kindOf:ii,kindOfTest:gn,endsWith:W0,toArray:Y0,forEachEntry:Q0,matchAll:X0,isHTMLForm:eb,hasOwnProperty:bd,hasOwnProp:bd,reduceDescriptors:fp,freezeMethods:sb,toObjectSet:ob,toCamelCase:tb,noop:rb,toFiniteNumber:ib,findKey:dp,global:up,isContextDefined:hp,ALPHABET:pp,generateString:ab,isSpecCompliantForm:lb,toJSONObject:cb};function qe(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}K.inherits(qe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const gp=qe.prototype,mp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{mp[t]={value:t}});Object.defineProperties(qe,mp);Object.defineProperty(gp,"isAxiosError",{value:!0});qe.from=(t,e,n,s,o,r)=>{const i=Object.create(gp);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),qe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const db=null;function nl(t){return K.isPlainObject(t)||K.isArray(t)}function _p(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function vd(t,e,n){return t?t.concat(e).map(function(o,r){return o=_p(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function ub(t){return K.isArray(t)&&!t.some(nl)}const hb=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function li(t,e,n){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,w){return!K.isUndefined(w[_])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function d(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new qe("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,_,w){let b=m;if(m&&!w&&typeof m=="object"){if(K.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&ub(m)||(K.isFileList(m)||K.endsWith(_,"[]"))&&(b=K.toArray(m)))return _=_p(_),b.forEach(function(x,A){!(K.isUndefined(x)||x===null)&&e.append(i===!0?vd([_],A,r):i===null?_:_+"[]",d(x))}),!1}return nl(m)?!0:(e.append(vd(w,_,r),d(m)),!1)}const h=[],f=Object.assign(hb,{defaultVisitor:u,convertValue:d,isVisitable:nl});function g(m,_){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(m),K.forEach(m,function(b,p){(!(K.isUndefined(b)||b===null)&&o.call(e,b,K.isString(p)?p.trim():p,_,f))===!0&&g(b,_?_.concat(p):[p])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(t),e}function xd(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ql(t,e){this._pairs=[],t&&li(t,this,e)}const bp=Ql.prototype;bp.append=function(e,n){this._pairs.push([e,n])};bp.toString=function(e){const n=e?function(s){return e.call(this,s,xd)}:xd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function fb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yp(t,e,n){if(!e)return t;const s=n&&n.encode||fb,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Ql(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class pb{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(s){s!==null&&e(s)})}}const wd=pb,vp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gb=typeof URLSearchParams<"u"?URLSearchParams:Ql,mb=typeof FormData<"u"?FormData:null,_b=typeof Blob<"u"?Blob:null,bb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),yb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ht={isBrowser:!0,classes:{URLSearchParams:gb,FormData:mb,Blob:_b},isStandardBrowserEnv:bb,isStandardBrowserWebWorkerEnv:yb,protocols:["http","https","file","blob","url","data"]};function vb(t,e){return li(t,new Ht.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return Ht.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function xb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function wb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&K.isArray(o)?o.length:i,l?(K.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!K.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&K.isArray(o[i])&&(o[i]=wb(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(xb(s),o,n,0)}),n}return null}const kb={"Content-Type":void 0};function Eb(t,e,n){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const ci={transitional:vp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=K.isObject(e);if(r&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o&&o?JSON.stringify(xp(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return vb(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return li(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),Eb(e)):e}],transformResponse:[function(e){const n=this.transitional||ci.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&K.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?qe.from(a,qe.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ht.classes.FormData,Blob:Ht.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};K.forEach(["delete","get","head"],function(e){ci.headers[e]={}});K.forEach(["post","put","patch"],function(e){ci.headers[e]=K.merge(kb)});const Xl=ci,Cb=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ab=t=>{const e={};let n,s,o;return t&&t.split(` -`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&Cb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},kd=Symbol("internals");function no(t){return t&&String(t).trim().toLowerCase()}function pr(t){return t===!1||t==null?t:K.isArray(t)?t.map(pr):String(t)}function Sb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const Tb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Fi(t,e,n,s,o){if(K.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!K.isString(e)){if(K.isString(s))return e.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(e)}}function Mb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Ob(t,e){const n=K.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class di{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,d){const u=no(l);if(!u)throw new Error("header name must be a non-empty string");const h=K.findKey(o,u);(!h||o[h]===void 0||d===!0||d===void 0&&o[h]!==!1)&&(o[h||l]=pr(a))}const i=(a,l)=>K.forEach(a,(d,u)=>r(d,u,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!Tb(e)?i(Ab(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=no(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Sb(o);if(K.isFunction(n))return n.call(this,o,s);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=no(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Fi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=no(i),i){const a=K.findKey(s,i);a&&(!n||Fi(s,s[a],a,n))&&(delete s[a],o=!0)}}return K.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Fi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return K.forEach(this,(o,r)=>{const i=K.findKey(s,r);if(i){n[i]=pr(o),delete n[r];return}const a=e?Mb(r):String(r).trim();a!==r&&delete n[r],n[a]=pr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return K.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&K.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[kd]=this[kd]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=no(i);s[a]||(Ob(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}di.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(di.prototype);K.freezeMethods(di);const cn=di;function Bi(t,e){const n=this||Xl,s=e||n,o=cn.from(s.headers);let r=s.data;return K.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function wp(t){return!!(t&&t.__CANCEL__)}function Fo(t,e,n){qe.call(this,t??"canceled",qe.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Fo,qe,{__CANCEL__:!0});function Rb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new qe("Request failed with status code "+n.status,[qe.ERR_BAD_REQUEST,qe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Nb=Ht.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),K.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),K.isString(r)&&l.push("path="+r),K.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Lb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Db(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function kp(t,e){return t&&!Lb(e)?Db(t,e):e}const Ib=Ht.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=K.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Pb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Fb(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const d=Date.now(),u=s[r];i||(i=d),n[o]=l,s[o]=d;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),d-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),d=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&d?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const Bb=typeof XMLHttpRequest<"u",zb=Bb&&function(t){return new Promise(function(n,s){let o=t.data;const r=cn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}K.isFormData(o)&&(Ht.isStandardBrowserEnv||Ht.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let d=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const u=kp(t.baseURL,t.url);d.open(t.method.toUpperCase(),yp(u,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!d)return;const g=cn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:t,request:d};Rb(function(b){n(b),l()},function(b){s(b),l()},_),d=null}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){d&&(s(new qe("Request aborted",qe.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new qe("Network Error",qe.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||vp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new qe(m,_.clarifyTimeoutError?qe.ETIMEDOUT:qe.ECONNABORTED,t,d)),d=null},Ht.isStandardBrowserEnv){const g=(t.withCredentials||Ib(u))&&t.xsrfCookieName&&Nb.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in d&&K.forEach(r.toJSON(),function(m,_){d.setRequestHeader(_,m)}),K.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),i&&i!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",Ed(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ed(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{d&&(s(!g||g.type?new Fo(null,t,d):g),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Pb(u);if(f&&Ht.protocols.indexOf(f)===-1){s(new qe("Unsupported protocol "+f+":",qe.ERR_BAD_REQUEST,t));return}d.send(o||null)})},gr={http:db,xhr:zb};K.forEach(gr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const $b={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof cn?t.toJSON():t;function Ns(t,e){e=e||{};const n={};function s(d,u,h){return K.isPlainObject(d)&&K.isPlainObject(u)?K.merge.call({caseless:h},d,u):K.isPlainObject(u)?K.merge({},u):K.isArray(u)?u.slice():u}function o(d,u,h){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!K.isUndefined(u))return s(void 0,u)}function i(d,u){if(K.isUndefined(u)){if(!K.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in t)return s(void 0,d)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(d,u)=>o(Ad(d),Ad(u),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);K.isUndefined(f)&&h!==a||(n[u]=f)}),n}const Ep="1.3.6",ec={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ec[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sd={};ec.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Ep+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new qe(o(i," has been removed"+(n?" in "+n:"")),qe.ERR_DEPRECATED);return n&&!Sd[i]&&(Sd[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function Ub(t,e,n){if(typeof t!="object")throw new qe("options must be an object",qe.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new qe("option "+r+" must be "+l,qe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new qe("Unknown option "+r,qe.ERR_BAD_OPTION)}}const sl={assertOptions:Ub,validators:ec},yn=sl.validators;class Or{constructor(e){this.defaults=e,this.interceptors={request:new wd,response:new wd}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ns(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&sl.assertOptions(s,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:sl.assertOptions(o,{encode:yn.function,serialize:yn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&K.merge(r.common,r[n.method]),i&&K.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=cn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let u,h=0,f;if(!l){const m=[Cd.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,d),f=m.length,u=Promise.resolve(n);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Fo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new tc(function(o){e=o}),cancel:e}}}const jb=tc;function qb(t){return function(n){return t.apply(null,n)}}function Hb(t){return K.isObject(t)&&t.isAxiosError===!0}const ol={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ol).forEach(([t,e])=>{ol[e]=t});const Vb=ol;function Cp(t){const e=new mr(t),n=ap(mr.prototype.request,e);return K.extend(n,mr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Cp(Ns(t,o))},n}const rt=Cp(Xl);rt.Axios=mr;rt.CanceledError=Fo;rt.CancelToken=jb;rt.isCancel=wp;rt.VERSION=Ep;rt.toFormData=li;rt.AxiosError=qe;rt.Cancel=rt.CanceledError;rt.all=function(e){return Promise.all(e)};rt.spread=qb;rt.isAxiosError=Hb;rt.mergeConfig=Ns;rt.AxiosHeaders=cn;rt.formToJSON=t=>xp(K.isHTMLForm(t)?new FormData(t):t);rt.HttpStatusCode=Vb;rt.default=rt;const ve=rt;/*! + */var m0="store";function Gs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function _0(t){return t!==null&&typeof t=="object"}function b0(t){return t&&typeof t.then=="function"}function y0(t,e){return function(){return t(e)}}function ep(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function tp(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;ii(t,n,[],t._modules.root,!0),Zl(t,n,e)}function Zl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Gs(o,function(i,a){r[a]=y0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Hs({data:e}),t.strict&&E0(t),s&&n&&t._withCommit(function(){s.data=null})}function ii(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Wl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var d=s.context=v0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;x0(t,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,g=u.handler||u;w0(t,f,g,d)}),s.forEachGetter(function(u,h){var f=i+h;k0(t,f,u,d)}),s.forEachChild(function(u,h){ii(t,e,n.concat(h),u,o)})}function v0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=Or(r,i,a),d=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,d)},commit:s?t.commit:function(r,i,a){var l=Or(r,i,a),d=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,d,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return np(t,e)}},state:{get:function(){return Wl(t.state,n)}}}),o}function np(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function x0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function w0(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return b0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function k0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function E0(t){Jn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Wl(t,e){return e.reduce(function(n,s){return n[s]},t)}function Or(t,e,n){return _0(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var C0="vuex bindings",_d="vuex:mutations",Pi="vuex:actions",us="vuex",A0=0;function S0(t,e){g0({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[C0]},function(n){n.addTimelineLayer({id:_d,label:"Vuex Mutations",color:bd}),n.addTimelineLayer({id:Pi,label:"Vuex Actions",color:bd}),n.addInspector({id:us,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===us)if(s.filter){var o=[];ip(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[rp(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===us){var o=s.nodeId;np(e,o),s.state=O0(D0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===us){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(us),n.sendInspectorState(us),n.addTimelineEvent({layerId:_d,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=A0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Pi,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Pi,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var bd=8702998,T0=6710886,M0=16777215,sp={label:"namespaced",textColor:M0,backgroundColor:T0};function op(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function rp(t,e){return{id:e||"root",label:op(e),tags:t.namespaced?[sp]:[],children:Object.keys(t._children).map(function(n){return rp(t._children[n],e+n+"/")})}}function ip(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[sp]:[]}),Object.keys(e._children).forEach(function(o){ip(t,e._children[o],n,s+o+"/")})}function O0(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=R0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?op(i):i,editable:!1,value:tl(function(){return r[i]})}})}return o}function R0(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=tl(function(){return t[n]})}else e[n]=tl(function(){return t[n]})}),e}function D0(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function tl(t){try{return t()}catch(e){return e}}var zt=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},ap={namespaced:{configurable:!0}};ap.namespaced.get=function(){return!!this._rawModule.namespaced};zt.prototype.addChild=function(e,n){this._children[e]=n};zt.prototype.removeChild=function(e){delete this._children[e]};zt.prototype.getChild=function(e){return this._children[e]};zt.prototype.hasChild=function(e){return e in this._children};zt.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};zt.prototype.forEachChild=function(e){Gs(this._children,e)};zt.prototype.forEachGetter=function(e){this._rawModule.getters&&Gs(this._rawModule.getters,e)};zt.prototype.forEachAction=function(e){this._rawModule.actions&&Gs(this._rawModule.actions,e)};zt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Gs(this._rawModule.mutations,e)};Object.defineProperties(zt.prototype,ap);var as=function(e){this.register([],e,!1)};as.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};as.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};as.prototype.update=function(e){lp([],this.root,e)};as.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new zt(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&Gs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};as.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};as.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function lp(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;lp(t.concat(s),e.getChild(s),n.modules[s])}}function N0(t){return new bt(t)}var bt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new as(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,d=a.commit;this.dispatch=function(f,g){return l.call(i,f,g)},this.commit=function(f,g,m){return d.call(i,f,g,m)},this.strict=o;var u=this._modules.root.state;ii(this,u,[],this._modules.root),Zl(this,u),s.forEach(function(h){return h(n)})},Yl={state:{configurable:!0}};bt.prototype.install=function(e,n){e.provide(n||m0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&S0(e,this)};Yl.state.get=function(){return this._state.data};Yl.state.set=function(t){};bt.prototype.commit=function(e,n,s){var o=this,r=Or(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},d=this._mutations[i];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};bt.prototype.dispatch=function(e,n){var s=this,o=Or(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var d=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};bt.prototype.subscribe=function(e,n){return ep(e,this._subscribers,n)};bt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return ep(s,this._actionSubscribers,n)};bt.prototype.watch=function(e,n,s){var o=this;return Jn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};bt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};bt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ii(this,this.state,e,this._modules.get(e),s.preserveState),Zl(this,this.state)};bt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Wl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),tp(this)};bt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};bt.prototype.hotUpdate=function(e){this._modules.update(e),tp(this,!0)};bt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(bt.prototype,Yl);function cp(t,e){return function(){return t.apply(e,arguments)}}const{toString:L0}=Object.prototype,{getPrototypeOf:Jl}=Object,ai=(t=>e=>{const n=L0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gn=t=>(t=t.toLowerCase(),e=>ai(e)===t),li=t=>e=>typeof e===t,{isArray:Ks}=Array,Mo=li("undefined");function I0(t){return t!==null&&!Mo(t)&&t.constructor!==null&&!Mo(t.constructor)&&hn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const dp=gn("ArrayBuffer");function P0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&dp(t.buffer),e}const F0=li("string"),hn=li("function"),up=li("number"),Ql=t=>t!==null&&typeof t=="object",B0=t=>t===!0||t===!1,pr=t=>{if(ai(t)!=="object")return!1;const e=Jl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},z0=gn("Date"),$0=gn("File"),U0=gn("Blob"),j0=gn("FileList"),q0=t=>Ql(t)&&hn(t.pipe),H0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||hn(t.append)&&((e=ai(t))==="formdata"||e==="object"&&hn(t.toString)&&t.toString()==="[object FormData]"))},V0=gn("URLSearchParams"),G0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Ks(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const fp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),pp=t=>!Mo(t)&&t!==fp;function nl(){const{caseless:t}=pp(this)&&this||{},e={},n=(s,o)=>{const r=t&&hp(e,o)||o;pr(e[r])&&pr(s)?e[r]=nl(e[r],s):pr(s)?e[r]=nl({},s):Ks(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Fo(e,(o,r)=>{n&&hn(o)?t[r]=cp(o,n):t[r]=o},{allOwnKeys:s}),t),Z0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),W0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Y0=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&Jl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},J0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Q0=t=>{if(!t)return null;if(Ks(t))return t;let e=t.length;if(!up(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},X0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Jl(Uint8Array)),eb=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},tb=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},nb=gn("HTMLFormElement"),sb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),yd=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ob=gn("RegExp"),gp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Fo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},rb=t=>{gp(t,(e,n)=>{if(hn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(hn(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ib=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Ks(t)?s(t):s(String(t).split(e)),n},ab=()=>{},lb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fi="abcdefghijklmnopqrstuvwxyz",vd="0123456789",mp={DIGIT:vd,ALPHA:Fi,ALPHA_DIGIT:Fi+Fi.toUpperCase()+vd},cb=(t=16,e=mp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function db(t){return!!(t&&hn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ub=t=>{const e=new Array(10),n=(s,o)=>{if(Ql(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Ks(s)?[]:{};return Fo(s,(i,a)=>{const l=n(i,o+1);!Mo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},Z={isArray:Ks,isArrayBuffer:dp,isBuffer:I0,isFormData:H0,isArrayBufferView:P0,isString:F0,isNumber:up,isBoolean:B0,isObject:Ql,isPlainObject:pr,isUndefined:Mo,isDate:z0,isFile:$0,isBlob:U0,isRegExp:ob,isFunction:hn,isStream:q0,isURLSearchParams:V0,isTypedArray:X0,isFileList:j0,forEach:Fo,merge:nl,extend:K0,trim:G0,stripBOM:Z0,inherits:W0,toFlatObject:Y0,kindOf:ai,kindOfTest:gn,endsWith:J0,toArray:Q0,forEachEntry:eb,matchAll:tb,isHTMLForm:nb,hasOwnProperty:yd,hasOwnProp:yd,reduceDescriptors:gp,freezeMethods:rb,toObjectSet:ib,toCamelCase:sb,noop:ab,toFiniteNumber:lb,findKey:hp,global:fp,isContextDefined:pp,ALPHABET:mp,generateString:cb,isSpecCompliantForm:db,toJSONObject:ub};function qe(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}Z.inherits(qe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _p=qe.prototype,bp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{bp[t]={value:t}});Object.defineProperties(qe,bp);Object.defineProperty(_p,"isAxiosError",{value:!0});qe.from=(t,e,n,s,o,r)=>{const i=Object.create(_p);return Z.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),qe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const hb=null;function sl(t){return Z.isPlainObject(t)||Z.isArray(t)}function yp(t){return Z.endsWith(t,"[]")?t.slice(0,-2):t}function xd(t,e,n){return t?t.concat(e).map(function(o,r){return o=yp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function fb(t){return Z.isArray(t)&&!t.some(sl)}const pb=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});function ci(t,e,n){if(!Z.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,w){return!Z.isUndefined(w[_])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(e);if(!Z.isFunction(o))throw new TypeError("visitor must be a function");function d(m){if(m===null)return"";if(Z.isDate(m))return m.toISOString();if(!l&&Z.isBlob(m))throw new qe("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(m)||Z.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,_,w){let b=m;if(m&&!w&&typeof m=="object"){if(Z.endsWith(_,"{}"))_=s?_:_.slice(0,-2),m=JSON.stringify(m);else if(Z.isArray(m)&&fb(m)||(Z.isFileList(m)||Z.endsWith(_,"[]"))&&(b=Z.toArray(m)))return _=yp(_),b.forEach(function(x,A){!(Z.isUndefined(x)||x===null)&&e.append(i===!0?xd([_],A,r):i===null?_:_+"[]",d(x))}),!1}return sl(m)?!0:(e.append(xd(w,_,r),d(m)),!1)}const h=[],f=Object.assign(pb,{defaultVisitor:u,convertValue:d,isVisitable:sl});function g(m,_){if(!Z.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(m),Z.forEach(m,function(b,p){(!(Z.isUndefined(b)||b===null)&&o.call(e,b,Z.isString(p)?p.trim():p,_,f))===!0&&g(b,_?_.concat(p):[p])}),h.pop()}}if(!Z.isObject(t))throw new TypeError("data must be an object");return g(t),e}function wd(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Xl(t,e){this._pairs=[],t&&ci(t,this,e)}const vp=Xl.prototype;vp.append=function(e,n){this._pairs.push([e,n])};vp.toString=function(e){const n=e?function(s){return e.call(this,s,wd)}:wd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function gb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xp(t,e,n){if(!e)return t;const s=n&&n.encode||gb,o=n&&n.serialize;let r;if(o?r=o(e,n):r=Z.isURLSearchParams(e)?e.toString():new Xl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class mb{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(s){s!==null&&e(s)})}}const kd=mb,wp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_b=typeof URLSearchParams<"u"?URLSearchParams:Xl,bb=typeof FormData<"u"?FormData:null,yb=typeof Blob<"u"?Blob:null,vb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),xb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Vt={isBrowser:!0,classes:{URLSearchParams:_b,FormData:bb,Blob:yb},isStandardBrowserEnv:vb,isStandardBrowserWebWorkerEnv:xb,protocols:["http","https","file","blob","url","data"]};function wb(t,e){return ci(t,new Vt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return Vt.isNode&&Z.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function kb(t){return Z.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Eb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&Z.isArray(o)?o.length:i,l?(Z.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!Z.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&Z.isArray(o[i])&&(o[i]=Eb(o[i])),!a)}if(Z.isFormData(t)&&Z.isFunction(t.entries)){const n={};return Z.forEachEntry(t,(s,o)=>{e(kb(s),o,n,0)}),n}return null}const Cb={"Content-Type":void 0};function Ab(t,e,n){if(Z.isString(t))try{return(e||JSON.parse)(t),Z.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const di={transitional:wp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=Z.isObject(e);if(r&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return o&&o?JSON.stringify(kp(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return wb(e,this.formSerializer).toString();if((a=Z.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ci(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),Ab(e)):e}],transformResponse:[function(e){const n=this.transitional||di.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&Z.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?qe.from(a,qe.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Z.forEach(["delete","get","head"],function(e){di.headers[e]={}});Z.forEach(["post","put","patch"],function(e){di.headers[e]=Z.merge(Cb)});const ec=di,Sb=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Tb=t=>{const e={};let n,s,o;return t&&t.split(` +`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&Sb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Ed=Symbol("internals");function no(t){return t&&String(t).trim().toLowerCase()}function gr(t){return t===!1||t==null?t:Z.isArray(t)?t.map(gr):String(t)}function Mb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const Ob=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Bi(t,e,n,s,o){if(Z.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!Z.isString(e)){if(Z.isString(s))return e.indexOf(s)!==-1;if(Z.isRegExp(s))return s.test(e)}}function Rb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Db(t,e){const n=Z.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class ui{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,d){const u=no(l);if(!u)throw new Error("header name must be a non-empty string");const h=Z.findKey(o,u);(!h||o[h]===void 0||d===!0||d===void 0&&o[h]!==!1)&&(o[h||l]=gr(a))}const i=(a,l)=>Z.forEach(a,(d,u)=>r(d,u,l));return Z.isPlainObject(e)||e instanceof this.constructor?i(e,n):Z.isString(e)&&(e=e.trim())&&!Ob(e)?i(Tb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=no(e),e){const s=Z.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Mb(o);if(Z.isFunction(n))return n.call(this,o,s);if(Z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=no(e),e){const s=Z.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Bi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=no(i),i){const a=Z.findKey(s,i);a&&(!n||Bi(s,s[a],a,n))&&(delete s[a],o=!0)}}return Z.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Bi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return Z.forEach(this,(o,r)=>{const i=Z.findKey(s,r);if(i){n[i]=gr(o),delete n[r];return}const a=e?Rb(r):String(r).trim();a!==r&&delete n[r],n[a]=gr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Z.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&Z.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Ed]=this[Ed]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=no(i);s[a]||(Db(o,i),s[a]=!0)}return Z.isArray(e)?e.forEach(r):r(e),this}}ui.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.freezeMethods(ui.prototype);Z.freezeMethods(ui);const cn=ui;function zi(t,e){const n=this||ec,s=e||n,o=cn.from(s.headers);let r=s.data;return Z.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Ep(t){return!!(t&&t.__CANCEL__)}function Bo(t,e,n){qe.call(this,t??"canceled",qe.ERR_CANCELED,e,n),this.name="CanceledError"}Z.inherits(Bo,qe,{__CANCEL__:!0});function Nb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new qe("Request failed with status code "+n.status,[qe.ERR_BAD_REQUEST,qe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Lb=Vt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),Z.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),Z.isString(r)&&l.push("path="+r),Z.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ib(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Pb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Cp(t,e){return t&&!Ib(e)?Pb(t,e):e}const Fb=Vt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=Z.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Bb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function zb(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const d=Date.now(),u=s[r];i||(i=d),n[o]=l,s[o]=d;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),d-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),d=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&d?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const $b=typeof XMLHttpRequest<"u",Ub=$b&&function(t){return new Promise(function(n,s){let o=t.data;const r=cn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}Z.isFormData(o)&&(Vt.isStandardBrowserEnv||Vt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let d=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const u=Cp(t.baseURL,t.url);d.open(t.method.toUpperCase(),xp(u,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!d)return;const g=cn.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),_={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:t,request:d};Nb(function(b){n(b),l()},function(b){s(b),l()},_),d=null}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){d&&(s(new qe("Request aborted",qe.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new qe("Network Error",qe.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||wp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new qe(m,_.clarifyTimeoutError?qe.ETIMEDOUT:qe.ECONNABORTED,t,d)),d=null},Vt.isStandardBrowserEnv){const g=(t.withCredentials||Fb(u))&&t.xsrfCookieName&&Lb.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in d&&Z.forEach(r.toJSON(),function(m,_){d.setRequestHeader(_,m)}),Z.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),i&&i!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",Cd(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Cd(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{d&&(s(!g||g.type?new Bo(null,t,d):g),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Bb(u);if(f&&Vt.protocols.indexOf(f)===-1){s(new qe("Unsupported protocol "+f+":",qe.ERR_BAD_REQUEST,t));return}d.send(o||null)})},mr={http:hb,xhr:Ub};Z.forEach(mr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const jb={getAdapter:t=>{t=Z.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof cn?t.toJSON():t;function Rs(t,e){e=e||{};const n={};function s(d,u,h){return Z.isPlainObject(d)&&Z.isPlainObject(u)?Z.merge.call({caseless:h},d,u):Z.isPlainObject(u)?Z.merge({},u):Z.isArray(u)?u.slice():u}function o(d,u,h){if(Z.isUndefined(u)){if(!Z.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!Z.isUndefined(u))return s(void 0,u)}function i(d,u){if(Z.isUndefined(u)){if(!Z.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in t)return s(void 0,d)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(d,u)=>o(Sd(d),Sd(u),!0)};return Z.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);Z.isUndefined(f)&&h!==a||(n[u]=f)}),n}const Ap="1.3.6",tc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{tc[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Td={};tc.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Ap+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new qe(o(i," has been removed"+(n?" in "+n:"")),qe.ERR_DEPRECATED);return n&&!Td[i]&&(Td[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function qb(t,e,n){if(typeof t!="object")throw new qe("options must be an object",qe.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new qe("option "+r+" must be "+l,qe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new qe("Unknown option "+r,qe.ERR_BAD_OPTION)}}const ol={assertOptions:qb,validators:tc},yn=ol.validators;class Rr{constructor(e){this.defaults=e,this.interceptors={request:new kd,response:new kd}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Rs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&ol.assertOptions(s,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),o!=null&&(Z.isFunction(o)?n.paramsSerializer={serialize:o}:ol.assertOptions(o,{encode:yn.function,serialize:yn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&Z.merge(r.common,r[n.method]),i&&Z.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=cn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let u,h=0,f;if(!l){const m=[Ad.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,d),f=m.length,u=Promise.resolve(n);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Bo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new nc(function(o){e=o}),cancel:e}}}const Hb=nc;function Vb(t){return function(n){return t.apply(null,n)}}function Gb(t){return Z.isObject(t)&&t.isAxiosError===!0}const rl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rl).forEach(([t,e])=>{rl[e]=t});const Kb=rl;function Sp(t){const e=new _r(t),n=cp(_r.prototype.request,e);return Z.extend(n,_r.prototype,e,{allOwnKeys:!0}),Z.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Sp(Rs(t,o))},n}const rt=Sp(ec);rt.Axios=_r;rt.CanceledError=Bo;rt.CancelToken=Hb;rt.isCancel=Ep;rt.VERSION=Ap;rt.toFormData=ci;rt.AxiosError=qe;rt.Cancel=rt.CanceledError;rt.all=function(e){return Promise.all(e)};rt.spread=Vb;rt.isAxiosError=Gb;rt.mergeConfig=Rs;rt.AxiosHeaders=cn;rt.formToJSON=t=>kp(Z.isHTMLForm(t)?new FormData(t):t);rt.HttpStatusCode=Kb;rt.default=rt;const ve=rt;/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const ms=typeof window<"u";function Gb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ge=Object.assign;function $i(t,e){const n={};for(const s in e){const o=e[s];n[s]=Bt(o)?o.map(t):t(o)}return n}const ho=()=>{},Bt=Array.isArray,Kb=/\/$/,Zb=t=>t.replace(Kb,"");function Ui(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=Qb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Wb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Td(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Yb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Ls(e.matched[s],n.matched[o])&&Ap(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ls(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Ap(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Jb(t[n],e[n]))return!1;return!0}function Jb(t,e){return Bt(t)?Md(t,e):Bt(e)?Md(e,t):t===e}function Md(t,e){return Bt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Qb(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Oo;(function(t){t.pop="pop",t.push="push"})(Oo||(Oo={}));var fo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(fo||(fo={}));function Xb(t){if(!t)if(ms){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Zb(t)}const ey=/^[^#]+#/;function ty(t,e){return t.replace(ey,"#")+e}function ny(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const ui=()=>({left:window.pageXOffset,top:window.pageYOffset});function sy(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=ny(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Od(t,e){return(history.state?history.state.position-e:-1)+t}const rl=new Map;function oy(t,e){rl.set(t,e)}function ry(t){const e=rl.get(t);return rl.delete(t),e}let iy=()=>location.protocol+"//"+location.host;function Sp(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Td(l,"")}return Td(n,t)+s+o}function ay(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=Sp(t,location),m=n.value,_=e.value;let w=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}w=_?f.position-_.position:0}else s(g);o.forEach(b=>{b(n.value,m,{delta:w,type:Oo.pop,direction:w?w>0?fo.forward:fo.back:fo.unknown})})};function l(){i=n.value}function d(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(Ge({},f.state,{scroll:ui()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:d,destroy:h}}function Rd(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ui():null}}function ly(t){const{history:e,location:n}=window,s={value:Sp(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,d,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:iy()+t+l;try{e[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function i(l,d){const u=Ge({},e.state,Rd(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=Ge({},o.value,e.state,{forward:l,scroll:ui()});r(u.current,u,!0);const h=Ge({},Rd(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function cy(t){t=Xb(t);const e=ly(t),n=ay(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ge({location:"",base:t,go:s,createHref:ty.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function dy(t){return typeof t=="string"||t&&typeof t=="object"}function Tp(t){return typeof t=="string"||typeof t=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Mp=Symbol("");var Nd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Nd||(Nd={}));function Ds(t,e){return Ge(new Error,{type:t,[Mp]:!0},e)}function tn(t,e){return t instanceof Error&&Mp in t&&(e==null||!!(t.type&e))}const Ld="[^/]+?",uy={sensitive:!1,strict:!1,start:!0,end:!0},hy=/[.+*?^${}()[\]/\\]/g;function fy(t,e){const n=Ge({},uy,e),s=[];let o=n.start?"^":"";const r=[];for(const d of t){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function gy(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const my={type:0,value:""},_y=/[a-zA-Z0-9_]/;function by(t){if(!t)return[[]];if(t==="/")return[[my]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a{i(p)}:ho}function i(u){if(Tp(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!Op(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Pd(u)&&s.set(u.record.name,u)}function d(u,h){let f,g={},m,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ds(1,{location:u});_=f.record.name,g=Ge(Id(h.params,f.keys.filter(p=>!p.optional).map(p=>p.name)),u.params&&Id(u.params,f.keys.map(p=>p.name))),m=f.stringify(g)}else if("path"in u)m=u.path,f=n.find(p=>p.re.test(m)),f&&(g=f.parse(m),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(p=>p.re.test(h.path)),!f)throw Ds(1,{location:u,currentLocation:h});_=f.record.name,g=Ge({},h.params,u.params),m=f.stringify(g)}const w=[];let b=f;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:m,params:g,matched:w,meta:ky(w)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Id(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function xy(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:wy(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function wy(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function Pd(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function ky(t){return t.reduce((e,n)=>Ge(e,n.meta),{})}function Fd(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Op(t,e){return e.children.some(n=>n===t||Op(t,n))}const Rp=/#/g,Ey=/&/g,Cy=/\//g,Ay=/=/g,Sy=/\?/g,Np=/\+/g,Ty=/%5B/g,My=/%5D/g,Lp=/%5E/g,Oy=/%60/g,Dp=/%7B/g,Ry=/%7C/g,Ip=/%7D/g,Ny=/%20/g;function nc(t){return encodeURI(""+t).replace(Ry,"|").replace(Ty,"[").replace(My,"]")}function Ly(t){return nc(t).replace(Dp,"{").replace(Ip,"}").replace(Lp,"^")}function il(t){return nc(t).replace(Np,"%2B").replace(Ny,"+").replace(Rp,"%23").replace(Ey,"%26").replace(Oy,"`").replace(Dp,"{").replace(Ip,"}").replace(Lp,"^")}function Dy(t){return il(t).replace(Ay,"%3D")}function Iy(t){return nc(t).replace(Rp,"%23").replace(Sy,"%3F")}function Py(t){return t==null?"":Iy(t).replace(Cy,"%2F")}function Rr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Fy(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&il(r)):[s&&il(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function By(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Bt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const zy=Symbol(""),zd=Symbol(""),sc=Symbol(""),Pp=Symbol(""),al=Symbol("");function so(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function kn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Ds(4,{from:n,to:e})):h instanceof Error?a(h):dy(h)?a(Ds(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},d=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(d);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function ji(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if($y(a)){const d=(a.__vccOpts||a)[e];d&&o.push(kn(d,n,s,r,i))}else{let l=a();o.push(()=>l.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=Gb(d)?d.default:d;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&kn(f,n,s,r,i)()}))}}return o}function $y(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function $d(t){const e=ln(sc),n=ln(Pp),s=Ct(()=>e.resolve(dt(t.to))),o=Ct(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(Ls.bind(null,u));if(f>-1)return f;const g=Ud(l[d-2]);return d>1&&Ud(u)===g&&h[h.length-1].path!==g?h.findIndex(Ls.bind(null,l[d-2])):f}),r=Ct(()=>o.value>-1&&qy(n.params,s.value.params)),i=Ct(()=>o.value>-1&&o.value===n.matched.length-1&&Ap(n.params,s.value.params));function a(l={}){return jy(l)?e[dt(t.replace)?"replace":"push"](dt(t.to)).catch(ho):Promise.resolve()}return{route:s,href:Ct(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const Uy=Cf({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:$d,setup(t,{slots:e}){const n=Vs($d(t)),{options:s}=ln(sc),o=Ct(()=>({[jd(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[jd(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Gl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),rn=Uy;function jy(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function qy(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Bt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Ud(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const jd=(t,e,n)=>t??e??n,Hy=Cf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=ln(al),o=Ct(()=>t.route||s.value),r=ln(zd,0),i=Ct(()=>{let d=dt(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=Ct(()=>o.value.matched[i.value]);dr(zd,Ct(()=>i.value+1)),dr(zy,a),dr(al,o);const l=b_();return Qn(()=>[l.value,a.value,t.name],([d,u,h],[f,g,m])=>{u&&(u.instances[h]=d,g&&g!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!Ls(u,g)||!f)&&(u.enterCallbacks[h]||[]).forEach(_=>_(d))},{flush:"post"}),()=>{const d=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return qd(n.default,{Component:f,route:d});const g=h.props[u],m=g?g===!0?d.params:typeof g=="function"?g(d):g:null,w=Gl(f,Ge({},m,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return qd(n.default,{Component:w,route:d})||w}}});function qd(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Fp=Hy;function Vy(t){const e=vy(t.routes,t),n=t.parseQuery||Fy,s=t.stringifyQuery||Bd,o=t.history,r=so(),i=so(),a=so(),l=y_(vn);let d=vn;ms&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$i.bind(null,L=>""+L),h=$i.bind(null,Py),f=$i.bind(null,Rr);function g(L,ee){let V,se;return Tp(L)?(V=e.getRecordMatcher(L),se=ee):se=L,e.addRoute(se,V)}function m(L){const ee=e.getRecordMatcher(L);ee&&e.removeRoute(ee)}function _(){return e.getRoutes().map(L=>L.record)}function w(L){return!!e.getRecordMatcher(L)}function b(L,ee){if(ee=Ge({},ee||l.value),typeof L=="string"){const k=Ui(n,L,ee.path),S=e.resolve({path:k.path},ee),F=o.createHref(k.fullPath);return Ge(k,S,{params:f(S.params),hash:Rr(k.hash),redirectedFrom:void 0,href:F})}let V;if("path"in L)V=Ge({},L,{path:Ui(n,L.path,ee.path).path});else{const k=Ge({},L.params);for(const S in k)k[S]==null&&delete k[S];V=Ge({},L,{params:h(L.params)}),ee.params=h(ee.params)}const se=e.resolve(V,ee),te=L.hash||"";se.params=u(f(se.params));const ge=Wb(s,Ge({},L,{hash:Ly(te),path:se.path})),he=o.createHref(ge);return Ge({fullPath:ge,hash:te,query:s===Bd?By(L.query):L.query||{}},se,{redirectedFrom:void 0,href:he})}function p(L){return typeof L=="string"?Ui(n,L,l.value.path):Ge({},L)}function x(L,ee){if(d!==L)return Ds(8,{from:ee,to:L})}function A(L){return D(L)}function N(L){return A(Ge(p(L),{replace:!0}))}function O(L){const ee=L.matched[L.matched.length-1];if(ee&&ee.redirect){const{redirect:V}=ee;let se=typeof V=="function"?V(L):V;return typeof se=="string"&&(se=se.includes("?")||se.includes("#")?se=p(se):{path:se},se.params={}),Ge({query:L.query,hash:L.hash,params:"path"in se?{}:L.params},se)}}function D(L,ee){const V=d=b(L),se=l.value,te=L.state,ge=L.force,he=L.replace===!0,k=O(V);if(k)return D(Ge(p(k),{state:typeof k=="object"?Ge({},te,k.state):te,force:ge,replace:he}),ee||V);const S=V;S.redirectedFrom=ee;let F;return!ge&&Yb(s,se,V)&&(F=Ds(16,{to:S,from:se}),we(se,se,!0,!1)),(F?Promise.resolve(F):C(S,se)).catch($=>tn($)?tn($,2)?$:G($):T($,S,se)).then($=>{if($){if(tn($,2))return D(Ge({replace:he},p($.to),{state:typeof $.to=="object"?Ge({},te,$.to.state):te,force:ge}),ee||S)}else $=I(S,se,!0,he,te);return M(S,se,$),$})}function y(L,ee){const V=x(L,ee);return V?Promise.reject(V):Promise.resolve()}function C(L,ee){let V;const[se,te,ge]=Gy(L,ee);V=ji(se.reverse(),"beforeRouteLeave",L,ee);for(const k of se)k.leaveGuards.forEach(S=>{V.push(kn(S,L,ee))});const he=y.bind(null,L,ee);return V.push(he),fs(V).then(()=>{V=[];for(const k of r.list())V.push(kn(k,L,ee));return V.push(he),fs(V)}).then(()=>{V=ji(te,"beforeRouteUpdate",L,ee);for(const k of te)k.updateGuards.forEach(S=>{V.push(kn(S,L,ee))});return V.push(he),fs(V)}).then(()=>{V=[];for(const k of L.matched)if(k.beforeEnter&&!ee.matched.includes(k))if(Bt(k.beforeEnter))for(const S of k.beforeEnter)V.push(kn(S,L,ee));else V.push(kn(k.beforeEnter,L,ee));return V.push(he),fs(V)}).then(()=>(L.matched.forEach(k=>k.enterCallbacks={}),V=ji(ge,"beforeRouteEnter",L,ee),V.push(he),fs(V))).then(()=>{V=[];for(const k of i.list())V.push(kn(k,L,ee));return V.push(he),fs(V)}).catch(k=>tn(k,8)?k:Promise.reject(k))}function M(L,ee,V){for(const se of a.list())se(L,ee,V)}function I(L,ee,V,se,te){const ge=x(L,ee);if(ge)return ge;const he=ee===vn,k=ms?history.state:{};V&&(se||he?o.replace(L.fullPath,Ge({scroll:he&&k&&k.scroll},te)):o.push(L.fullPath,te)),l.value=L,we(L,ee,V,he),G()}let B;function X(){B||(B=o.listen((L,ee,V)=>{if(!Me.listening)return;const se=b(L),te=O(se);if(te){D(Ge(te,{replace:!0}),se).catch(ho);return}d=se;const ge=l.value;ms&&oy(Od(ge.fullPath,V.delta),ui()),C(se,ge).catch(he=>tn(he,12)?he:tn(he,2)?(D(he.to,se).then(k=>{tn(k,20)&&!V.delta&&V.type===Oo.pop&&o.go(-1,!1)}).catch(ho),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(he,se,ge))).then(he=>{he=he||I(se,ge,!1),he&&(V.delta&&!tn(he,8)?o.go(-V.delta,!1):V.type===Oo.pop&&tn(he,20)&&o.go(-1,!1)),M(se,ge,he)}).catch(ho)}))}let P=so(),ue=so(),Y;function T(L,ee,V){G(L);const se=ue.list();return se.length?se.forEach(te=>te(L,ee,V)):console.error(L),Promise.reject(L)}function H(){return Y&&l.value!==vn?Promise.resolve():new Promise((L,ee)=>{P.add([L,ee])})}function G(L){return Y||(Y=!L,X(),P.list().forEach(([ee,V])=>L?V(L):ee()),P.reset()),L}function we(L,ee,V,se){const{scrollBehavior:te}=t;if(!ms||!te)return Promise.resolve();const ge=!V&&ry(Od(L.fullPath,0))||(se||!V)&&history.state&&history.state.scroll||null;return _e().then(()=>te(L,ee,ge)).then(he=>he&&sy(he)).catch(he=>T(he,L,ee))}const be=L=>o.go(L);let ne;const Ee=new Set,Me={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:w,getRoutes:_,resolve:b,options:t,push:A,replace:N,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ue.add,isReady:H,install(L){const ee=this;L.component("RouterLink",rn),L.component("RouterView",Fp),L.config.globalProperties.$router=ee,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>dt(l)}),ms&&!ne&&l.value===vn&&(ne=!0,A(o.location).catch(te=>{}));const V={};for(const te in vn)V[te]=Ct(()=>l.value[te]);L.provide(sc,ee),L.provide(Pp,Vs(V)),L.provide(al,l);const se=L.unmount;Ee.add(L),L.unmount=function(){Ee.delete(L),Ee.size<1&&(d=vn,B&&B(),B=null,l.value=vn,ne=!1,Y=!1),se()}}};return Me}function fs(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Gy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iLs(d,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(d=>Ls(d,l))||o.push(l))}return[n,s,o]}const Ky="modulepreload",Zy=function(t){return"/"+t},Hd={},qi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Zy(r),r in Hd)return;Hd[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=i?"stylesheet":Ky,i||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),i)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},oc="/assets/logo-023c77a1.png";var Bp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Wy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var zp={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Bp,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,s,o){var r,i;/*! + */const gs=typeof window<"u";function Zb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ge=Object.assign;function Ui(t,e){const n={};for(const s in e){const o=e[s];n[s]=Bt(o)?o.map(t):t(o)}return n}const ho=()=>{},Bt=Array.isArray,Wb=/\/$/,Yb=t=>t.replace(Wb,"");function ji(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=ey(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Jb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Md(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Qb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Ds(e.matched[s],n.matched[o])&&Tp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ds(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Tp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Xb(t[n],e[n]))return!1;return!0}function Xb(t,e){return Bt(t)?Od(t,e):Bt(e)?Od(e,t):t===e}function Od(t,e){return Bt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function ey(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Oo;(function(t){t.pop="pop",t.push="push"})(Oo||(Oo={}));var fo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(fo||(fo={}));function ty(t){if(!t)if(gs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Yb(t)}const ny=/^[^#]+#/;function sy(t,e){return t.replace(ny,"#")+e}function oy(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const hi=()=>({left:window.pageXOffset,top:window.pageYOffset});function ry(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=oy(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Rd(t,e){return(history.state?history.state.position-e:-1)+t}const il=new Map;function iy(t,e){il.set(t,e)}function ay(t){const e=il.get(t);return il.delete(t),e}let ly=()=>location.protocol+"//"+location.host;function Mp(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Md(l,"")}return Md(n,t)+s+o}function cy(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=Mp(t,location),m=n.value,_=e.value;let w=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}w=_?f.position-_.position:0}else s(g);o.forEach(b=>{b(n.value,m,{delta:w,type:Oo.pop,direction:w?w>0?fo.forward:fo.back:fo.unknown})})};function l(){i=n.value}function d(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(Ge({},f.state,{scroll:hi()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:d,destroy:h}}function Dd(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?hi():null}}function dy(t){const{history:e,location:n}=window,s={value:Mp(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,d,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:ly()+t+l;try{e[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function i(l,d){const u=Ge({},e.state,Dd(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=Ge({},o.value,e.state,{forward:l,scroll:hi()});r(u.current,u,!0);const h=Ge({},Dd(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function uy(t){t=ty(t);const e=dy(t),n=cy(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ge({location:"",base:t,go:s,createHref:sy.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function hy(t){return typeof t=="string"||t&&typeof t=="object"}function Op(t){return typeof t=="string"||typeof t=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Rp=Symbol("");var Nd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Nd||(Nd={}));function Ns(t,e){return Ge(new Error,{type:t,[Rp]:!0},e)}function nn(t,e){return t instanceof Error&&Rp in t&&(e==null||!!(t.type&e))}const Ld="[^/]+?",fy={sensitive:!1,strict:!1,start:!0,end:!0},py=/[.+*?^${}()[\]/\\]/g;function gy(t,e){const n=Ge({},fy,e),s=[];let o=n.start?"^":"";const r=[];for(const d of t){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function _y(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const by={type:0,value:""},yy=/[a-zA-Z0-9_]/;function vy(t){if(!t)return[[]];if(t==="/")return[[by]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a{i(p)}:ho}function i(u){if(Op(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!Dp(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Fd(u)&&s.set(u.record.name,u)}function d(u,h){let f,g={},m,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ns(1,{location:u});_=f.record.name,g=Ge(Pd(h.params,f.keys.filter(p=>!p.optional).map(p=>p.name)),u.params&&Pd(u.params,f.keys.map(p=>p.name))),m=f.stringify(g)}else if("path"in u)m=u.path,f=n.find(p=>p.re.test(m)),f&&(g=f.parse(m),_=f.record.name);else{if(f=h.name?s.get(h.name):n.find(p=>p.re.test(h.path)),!f)throw Ns(1,{location:u,currentLocation:h});_=f.record.name,g=Ge({},h.params,u.params),m=f.stringify(g)}const w=[];let b=f;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:m,params:g,matched:w,meta:Cy(w)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Pd(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function ky(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Ey(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Ey(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function Fd(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Cy(t){return t.reduce((e,n)=>Ge(e,n.meta),{})}function Bd(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Dp(t,e){return e.children.some(n=>n===t||Dp(t,n))}const Np=/#/g,Ay=/&/g,Sy=/\//g,Ty=/=/g,My=/\?/g,Lp=/\+/g,Oy=/%5B/g,Ry=/%5D/g,Ip=/%5E/g,Dy=/%60/g,Pp=/%7B/g,Ny=/%7C/g,Fp=/%7D/g,Ly=/%20/g;function sc(t){return encodeURI(""+t).replace(Ny,"|").replace(Oy,"[").replace(Ry,"]")}function Iy(t){return sc(t).replace(Pp,"{").replace(Fp,"}").replace(Ip,"^")}function al(t){return sc(t).replace(Lp,"%2B").replace(Ly,"+").replace(Np,"%23").replace(Ay,"%26").replace(Dy,"`").replace(Pp,"{").replace(Fp,"}").replace(Ip,"^")}function Py(t){return al(t).replace(Ty,"%3D")}function Fy(t){return sc(t).replace(Np,"%23").replace(My,"%3F")}function By(t){return t==null?"":Fy(t).replace(Sy,"%2F")}function Dr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function zy(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&al(r)):[s&&al(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function $y(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Bt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Uy=Symbol(""),$d=Symbol(""),oc=Symbol(""),Bp=Symbol(""),ll=Symbol("");function so(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function kn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Ns(4,{from:n,to:e})):h instanceof Error?a(h):hy(h)?a(Ns(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},d=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(d);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function qi(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(jy(a)){const d=(a.__vccOpts||a)[e];d&&o.push(kn(d,n,s,r,i))}else{let l=a();o.push(()=>l.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=Zb(d)?d.default:d;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&kn(f,n,s,r,i)()}))}}return o}function jy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ud(t){const e=ln(oc),n=ln(Bp),s=Ct(()=>e.resolve(dt(t.to))),o=Ct(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(Ds.bind(null,u));if(f>-1)return f;const g=jd(l[d-2]);return d>1&&jd(u)===g&&h[h.length-1].path!==g?h.findIndex(Ds.bind(null,l[d-2])):f}),r=Ct(()=>o.value>-1&&Vy(n.params,s.value.params)),i=Ct(()=>o.value>-1&&o.value===n.matched.length-1&&Tp(n.params,s.value.params));function a(l={}){return Hy(l)?e[dt(t.replace)?"replace":"push"](dt(t.to)).catch(ho):Promise.resolve()}return{route:s,href:Ct(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const qy=Sf({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:Ud,setup(t,{slots:e}){const n=Hs(Ud(t)),{options:s}=ln(oc),o=Ct(()=>({[qd(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[qd(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Kl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),rn=qy;function Hy(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Vy(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Bt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function jd(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qd=(t,e,n)=>t??e??n,Gy=Sf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=ln(ll),o=Ct(()=>t.route||s.value),r=ln($d,0),i=Ct(()=>{let d=dt(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=Ct(()=>o.value.matched[i.value]);ur($d,Ct(()=>i.value+1)),ur(Uy,a),ur(ll,o);const l=v_();return Jn(()=>[l.value,a.value,t.name],([d,u,h],[f,g,m])=>{u&&(u.instances[h]=d,g&&g!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),d&&u&&(!g||!Ds(u,g)||!f)&&(u.enterCallbacks[h]||[]).forEach(_=>_(d))},{flush:"post"}),()=>{const d=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return Hd(n.default,{Component:f,route:d});const g=h.props[u],m=g?g===!0?d.params:typeof g=="function"?g(d):g:null,w=Kl(f,Ge({},m,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Hd(n.default,{Component:w,route:d})||w}}});function Hd(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const zp=Gy;function Ky(t){const e=wy(t.routes,t),n=t.parseQuery||zy,s=t.stringifyQuery||zd,o=t.history,r=so(),i=so(),a=so(),l=x_(vn);let d=vn;gs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ui.bind(null,N=>""+N),h=Ui.bind(null,By),f=Ui.bind(null,Dr);function g(N,ee){let V,se;return Op(N)?(V=e.getRecordMatcher(N),se=ee):se=N,e.addRoute(se,V)}function m(N){const ee=e.getRecordMatcher(N);ee&&e.removeRoute(ee)}function _(){return e.getRoutes().map(N=>N.record)}function w(N){return!!e.getRecordMatcher(N)}function b(N,ee){if(ee=Ge({},ee||l.value),typeof N=="string"){const k=ji(n,N,ee.path),S=e.resolve({path:k.path},ee),F=o.createHref(k.fullPath);return Ge(k,S,{params:f(S.params),hash:Dr(k.hash),redirectedFrom:void 0,href:F})}let V;if("path"in N)V=Ge({},N,{path:ji(n,N.path,ee.path).path});else{const k=Ge({},N.params);for(const S in k)k[S]==null&&delete k[S];V=Ge({},N,{params:h(N.params)}),ee.params=h(ee.params)}const se=e.resolve(V,ee),te=N.hash||"";se.params=u(f(se.params));const ge=Jb(s,Ge({},N,{hash:Iy(te),path:se.path})),he=o.createHref(ge);return Ge({fullPath:ge,hash:te,query:s===zd?$y(N.query):N.query||{}},se,{redirectedFrom:void 0,href:he})}function p(N){return typeof N=="string"?ji(n,N,l.value.path):Ge({},N)}function x(N,ee){if(d!==N)return Ns(8,{from:ee,to:N})}function A(N){return L(N)}function D(N){return A(Ge(p(N),{replace:!0}))}function O(N){const ee=N.matched[N.matched.length-1];if(ee&&ee.redirect){const{redirect:V}=ee;let se=typeof V=="function"?V(N):V;return typeof se=="string"&&(se=se.includes("?")||se.includes("#")?se=p(se):{path:se},se.params={}),Ge({query:N.query,hash:N.hash,params:"path"in se?{}:N.params},se)}}function L(N,ee){const V=d=b(N),se=l.value,te=N.state,ge=N.force,he=N.replace===!0,k=O(V);if(k)return L(Ge(p(k),{state:typeof k=="object"?Ge({},te,k.state):te,force:ge,replace:he}),ee||V);const S=V;S.redirectedFrom=ee;let F;return!ge&&Qb(s,se,V)&&(F=Ns(16,{to:S,from:se}),we(se,se,!0,!1)),(F?Promise.resolve(F):C(S,se)).catch($=>nn($)?nn($,2)?$:K($):T($,S,se)).then($=>{if($){if(nn($,2))return L(Ge({replace:he},p($.to),{state:typeof $.to=="object"?Ge({},te,$.to.state):te,force:ge}),ee||S)}else $=I(S,se,!0,he,te);return M(S,se,$),$})}function v(N,ee){const V=x(N,ee);return V?Promise.reject(V):Promise.resolve()}function C(N,ee){let V;const[se,te,ge]=Zy(N,ee);V=qi(se.reverse(),"beforeRouteLeave",N,ee);for(const k of se)k.leaveGuards.forEach(S=>{V.push(kn(S,N,ee))});const he=v.bind(null,N,ee);return V.push(he),hs(V).then(()=>{V=[];for(const k of r.list())V.push(kn(k,N,ee));return V.push(he),hs(V)}).then(()=>{V=qi(te,"beforeRouteUpdate",N,ee);for(const k of te)k.updateGuards.forEach(S=>{V.push(kn(S,N,ee))});return V.push(he),hs(V)}).then(()=>{V=[];for(const k of N.matched)if(k.beforeEnter&&!ee.matched.includes(k))if(Bt(k.beforeEnter))for(const S of k.beforeEnter)V.push(kn(S,N,ee));else V.push(kn(k.beforeEnter,N,ee));return V.push(he),hs(V)}).then(()=>(N.matched.forEach(k=>k.enterCallbacks={}),V=qi(ge,"beforeRouteEnter",N,ee),V.push(he),hs(V))).then(()=>{V=[];for(const k of i.list())V.push(kn(k,N,ee));return V.push(he),hs(V)}).catch(k=>nn(k,8)?k:Promise.reject(k))}function M(N,ee,V){for(const se of a.list())se(N,ee,V)}function I(N,ee,V,se,te){const ge=x(N,ee);if(ge)return ge;const he=ee===vn,k=gs?history.state:{};V&&(se||he?o.replace(N.fullPath,Ge({scroll:he&&k&&k.scroll},te)):o.push(N.fullPath,te)),l.value=N,we(N,ee,V,he),K()}let B;function X(){B||(B=o.listen((N,ee,V)=>{if(!Me.listening)return;const se=b(N),te=O(se);if(te){L(Ge(te,{replace:!0}),se).catch(ho);return}d=se;const ge=l.value;gs&&iy(Rd(ge.fullPath,V.delta),hi()),C(se,ge).catch(he=>nn(he,12)?he:nn(he,2)?(L(he.to,se).then(k=>{nn(k,20)&&!V.delta&&V.type===Oo.pop&&o.go(-1,!1)}).catch(ho),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(he,se,ge))).then(he=>{he=he||I(se,ge,!1),he&&(V.delta&&!nn(he,8)?o.go(-V.delta,!1):V.type===Oo.pop&&nn(he,20)&&o.go(-1,!1)),M(se,ge,he)}).catch(ho)}))}let P=so(),ue=so(),Y;function T(N,ee,V){K(N);const se=ue.list();return se.length?se.forEach(te=>te(N,ee,V)):console.error(N),Promise.reject(N)}function H(){return Y&&l.value!==vn?Promise.resolve():new Promise((N,ee)=>{P.add([N,ee])})}function K(N){return Y||(Y=!N,X(),P.list().forEach(([ee,V])=>N?V(N):ee()),P.reset()),N}function we(N,ee,V,se){const{scrollBehavior:te}=t;if(!gs||!te)return Promise.resolve();const ge=!V&&ay(Rd(N.fullPath,0))||(se||!V)&&history.state&&history.state.scroll||null;return _e().then(()=>te(N,ee,ge)).then(he=>he&&ry(he)).catch(he=>T(he,N,ee))}const be=N=>o.go(N);let ne;const Ee=new Set,Me={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:w,getRoutes:_,resolve:b,options:t,push:A,replace:D,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ue.add,isReady:H,install(N){const ee=this;N.component("RouterLink",rn),N.component("RouterView",zp),N.config.globalProperties.$router=ee,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>dt(l)}),gs&&!ne&&l.value===vn&&(ne=!0,A(o.location).catch(te=>{}));const V={};for(const te in vn)V[te]=Ct(()=>l.value[te]);N.provide(oc,ee),N.provide(Bp,Hs(V)),N.provide(ll,l);const se=N.unmount;Ee.add(N),N.unmount=function(){Ee.delete(N),Ee.size<1&&(d=vn,B&&B(),B=null,l.value=vn,ne=!1,Y=!1),se()}}};return Me}function hs(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Zy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iDs(d,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(d=>Ds(d,l))||o.push(l))}return[n,s,o]}const Wy="modulepreload",Yy=function(t){return"/"+t},Vd={},Hi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Yy(r),r in Vd)return;Vd[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=i?"stylesheet":Wy,i||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),i)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Ro="/assets/logo-023c77a1.png";var $p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ls(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Jy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var Up={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:$p,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,s,o){var r,i;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function d(b,p){for(var x=p.length,A=0;A1?arguments[1]:void 0,p=b!==void 0,x=0,A=h(m),N,O,D,y;if(p&&(b=r(b,w>2?arguments[2]:void 0,2)),A!=null&&!(_==Array&&l(A)))for(y=A.call(m),O=new _;!(D=y.next()).done;x++)u(O,x,p?a(y,b,[D.value,x],!0):D.value);else for(N=d(m.length),O=new _(N);N>x;x++)u(O,x,p?b(m[x],x):m[x]);return O.length=x,O}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(d,u,h){var f=r(d),g=i(f.length),m=a(h,g),_;if(l&&u!=u){for(;g>m;)if(_=f[m++],_!=_)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===u)return l||m||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(d){return i.call(a,d)};case 2:return function(d,u){return i.call(a,d,u)};case 3:return function(d,u,h){return i.call(a,d,u,h)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,d){try{return d?a(r(l)[0],l[1]):a(l)}catch(h){var u=i.return;throw u!==void 0&&r(u.call(i)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,d={next:function(){return{done:!!l++}},return:function(){a=!0}};d[i]=function(){return this},Array.from(d,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},u(g)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",d=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,g;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(d,u){for(var h=i(u),f=l.f,g=a.f,m=0;m",N="java"+x+":",O;for(w.style.display="none",d.appendChild(w),w.src=String(N),O=w.contentWindow.document,O.open(),O.write(p+x+A+"document.F=Object"+p+"/"+x+A),O.close(),_=O.F;b--;)delete _[g][a[b]];return _()};n.exports=Object.create||function(b,p){var x;return b!==null?(m[g]=r(b),x=new m,m[g]=null,x[f]=b):x=_(),p===void 0?x:i(x,p)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=l(h),g=f.length,m=0,_;g>m;)i.f(u,_=f[m++],h[_]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),d=Object.defineProperty;s.f=r?d:function(h,f,g){if(a(h),f=l(f,!0),a(g),i)try{return d(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),d=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(m,_){if(m=l(m),_=d(_,!0),h)try{return f(m,_)}catch{}if(u(m,_))return a(!i.f.call(m,_),m[_])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return r(d,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),d=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),d=a(!1);n.exports=function(u,h){var f=i(u),g=0,m=[],_;for(_ in f)!r(l,_)&&r(f,_)&&m.push(_);for(;h.length>g;)r(f,_=h[g++])&&(~d(m,_)||m.push(_));return m}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(d){var u=i(this,d);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,h){return r(u,h),i?l.call(u,h):u.__proto__=h,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),d=r.Reflect;n.exports=d&&d.ownKeys||function(h){var f=i.f(l(h)),g=a.f;return g?f.concat(g(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),d=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,m=String(u).split("toString");i("inspectSource",function(_){return u.call(_)}),(n.exports=function(_,w,b,p){var x=p?!!p.unsafe:!1,A=p?!!p.enumerable:!1,N=p?!!p.noTargetGet:!1;if(typeof b=="function"&&(typeof w=="string"&&!l(b,"name")&&a(b,"name",w),g(b).source=m.join(typeof w=="string"?w:"")),_===r){A?_[w]=b:d(w,b);return}else x?!N&&_[w]&&(A=!0):delete _[w];A?_[w]=b:a(_,w,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(d,u,h){d&&!i(d=h?d:d.prototype,l)&&r(d,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",d=r[l]||i(l,{});(n.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,d){var u=String(i(a)),h=r(l),f=u.length,g,m;return h<0||h>=f?d?"":void 0:(g=u.charCodeAt(h),g<55296||g>56319||h+1===f||(m=u.charCodeAt(h+1))<56320||m>57343?d?u.charAt(h):g:d?u.slice(h,h+2):(g-55296<<10)+(m-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,d){var u=r(l);return u<0?i(u+d,0):a(u,d)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,d;if(a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(d=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i)))return d;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),d=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&d[h]||(l?d:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(d){Array.from(d)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",d=i.set,u=i.getterFor(l);a(String,"String",function(h){d(this,{type:l,string:String(h),index:0})},function(){var f=u(this),g=f.string,m=f.index,_;return m>=g.length?{value:void 0,done:!0}:(_=r(g,m,!0),f.index+=_.length,{value:_,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(_){for(var w=1;w2&&arguments[2]!==void 0?arguments[2]:[];f(this,_),this.name=w,this.contents=b,this.tags=p,this.attrs=r({},u.default,{class:"feather feather-"+w})}return i(_,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=r({},this.attrs,b,{class:(0,l.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),_}();function m(_){return Object.keys(_).map(function(w){return w+'="'+_[w]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),d=o("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,g){return f[g.name]=g,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),d=o("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var _=document.querySelectorAll("[data-feather]");Array.from(_).forEach(function(w){return f(w,m)})}function f(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=g(m),b=w["data-feather"];delete w["data-feather"];var p=d.default[b].toSvg(r({},_,w,{class:(0,a.default)(_.class,w.class)})),x=new DOMParser().parseFromString(p,"image/svg+xml"),A=x.querySelector("svg");m.parentNode.replaceChild(A,m)}function g(m){return Array.from(m.attributes).reduce(function(_,w){return _[w.name]=w.value,_},{})}s.default=h},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function l(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return i.default[d].toSvg(u)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(zp);var Yy=zp.exports;const ye=cs(Yy);const Jy={key:0,class:"container flex flex-col sm:flex-row items-center"},Qy={class:"w-full"},Xy={class:"flex flex-row font-medium nav-ul"},$p={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(v(),E("div",Jy,[c("div",Qy,[c("div",Xy,[le(dt(rn),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Discussions ")]),_:1}),le(dt(rn),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Playground ")]),_:1}),le(dt(rn),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Settings ")]),_:1}),le(dt(rn),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Extensions ")]),_:1}),le(dt(rn),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Training ")]),_:1}),le(dt(rn),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Quantizing ")]),_:1}),le(dt(rn),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:Ne(()=>[xe(" Help ")]),_:1})])])])):R("",!0)}};const e2={class:"top-0 shadow-lg"},t2={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},n2=c("div",{class:"flex items-center gap-3 flex-1"},[c("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:oc,alt:"Logo"}),c("div",{class:"flex flex-col"},[c("p",{class:"text-2xl"},"Lord of Large Language Models"),c("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),s2={class:"flex gap-3 flex-1 items-center justify-end"},o2={key:0,title:"Connection status",class:"text-green-500"},r2=c("i",{"data-feather":"zap"},null,-1),i2=[r2],a2={key:1,title:"Connection status",class:"text-red-500"},l2=c("i",{"data-feather":"zap-off"},null,-1),c2=[l2],d2=Gs('
',2),u2={href:"https://twitter.com/SpaceNerduino",target:"_blank"},h2={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},f2={class:"w-10 h-10 rounded-lg object-fill dark:text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1668.56 1221.19",style:{"enable-background":"new 0 0 1668.56 1221.19"},"xml:space":"preserve"},p2=c("g",{id:"layer1",transform:"translate(52.390088,-25.058597)"},[c("path",{id:"path1009",d:`M283.94,167.31l386.39,516.64L281.5,1104h87.51l340.42-367.76L984.48,1104h297.8L874.15,558.3l361.92-390.99\r - h-87.51l-313.51,338.7l-253.31-338.7H283.94z M412.63,231.77h136.81l604.13,807.76h-136.81L412.63,231.77z`})],-1),g2=[p2],m2=c("i",{"data-feather":"sun"},null,-1),_2=[m2],b2=c("i",{"data-feather":"moon"},null,-1),y2=[b2],v2=c("body",null,null,-1),x2={name:"TopBar",computed:{isConnected(){return this.$store.state.isConnected}},data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),_e(()=>{ye.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),_e(()=>{qi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}_e(()=>{qi(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}qi(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:$p}},w2=Object.assign(x2,{setup(t){return(e,n)=>(v(),E(Ae,null,[c("header",e2,[c("nav",t2,[le(dt(rn),{to:{name:"discussions"}},{default:Ne(()=>[n2]),_:1}),c("div",s2,[e.isConnected?(v(),E("div",o2,i2)):R("",!0),e.isConnected?R("",!0):(v(),E("div",a2,c2)),d2,c("a",u2,[c("div",h2,[(v(),E("svg",f2,g2))])]),c("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},_2),c("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},y2)])]),le($p)]),v2],64))}}),k2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},E2={class:"flex overflow-hidden flex-grow"},C2={__name:"App",setup(t){return(e,n)=>(v(),E("div",k2,[le(w2),c("div",E2,[le(dt(Fp),null,{default:Ne(({Component:s})=>[(v(),Xe(B_,null,[(v(),Xe(Z_(s)))],1024))]),_:1})])]))}},Jt=Object.create(null);Jt.open="0";Jt.close="1";Jt.ping="2";Jt.pong="3";Jt.message="4";Jt.upgrade="5";Jt.noop="6";const _r=Object.create(null);Object.keys(Jt).forEach(t=>{_r[Jt[t]]=t});const A2={type:"error",data:"parser error"},S2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",T2=typeof ArrayBuffer=="function",M2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Up=({type:t,data:e},n,s)=>S2&&e instanceof Blob?n?s(e):Vd(e,s):T2&&(e instanceof ArrayBuffer||M2(e))?n?s(e):Vd(new Blob([e]),s):s(Jt[t]+(e||"")),Vd=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Gd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return d},R2=typeof ArrayBuffer=="function",jp=(t,e)=>{if(typeof t!="string")return{type:"message",data:qp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:N2(t.substring(1),e)}:_r[n]?t.length>1?{type:_r[n],data:t.substring(1)}:{type:_r[n]}:A2},N2=(t,e)=>{if(R2){const n=O2(t);return qp(n,e)}else return{base64:!0,data:t}},qp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Hp=String.fromCharCode(30),L2=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Up(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Hp))})})},D2=(t,e)=>{const n=t.split(Hp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Gp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const P2=Et.setTimeout,F2=Et.clearTimeout;function hi(t,e){e.useNativeTimers?(t.setTimeoutFn=P2.bind(Et),t.clearTimeoutFn=F2.bind(Et)):(t.setTimeoutFn=Et.setTimeout.bind(Et),t.clearTimeoutFn=Et.clearTimeout.bind(Et))}const B2=1.33;function z2(t){return typeof t=="string"?$2(t):Math.ceil((t.byteLength||t.size)*B2)}function $2(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class U2 extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Kp extends st{constructor(e){super(),this.writable=!1,hi(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new U2(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=jp(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Zp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ll=64,j2={};let Kd=0,Jo=0,Zd;function Wd(t){let e="";do e=Zp[t%ll]+e,t=Math.floor(t/ll);while(t>0);return e}function Wp(){const t=Wd(+new Date);return t!==Zd?(Kd=0,Zd=t):t+"."+Wd(Kd++)}for(;Jo{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};D2(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,L2(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Wp()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=Yp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Zt(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Zt extends st{constructor(e,n){super(),hi(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Gp(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new Qp(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Zt.requestsCount++,Zt.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=V2,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Zt.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Zt.requestsCount=0;Zt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Yd);else if(typeof addEventListener=="function"){const t="onpagehide"in Et?"pagehide":"unload";addEventListener(t,Yd,!1)}}function Yd(){for(let t in Zt.requests)Zt.requests.hasOwnProperty(t)&&Zt.requests[t].abort()}const Xp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Qo=Et.WebSocket||Et.MozWebSocket,Jd=!0,Z2="arraybuffer",Qd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class W2 extends Kp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=Qd?{}:Gp(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=Jd&&!Qd?n?new Qo(e,n):new Qo(e):new Qo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Z2,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Jd&&this.ws.send(r)}catch{}o&&Xp(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Wp()),this.supportsBinary||(e.b64=1);const o=Yp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Qo}}const Y2={websocket:W2,polling:K2},J2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Q2=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function cl(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=J2.exec(t||""),r={},i=14;for(;i--;)r[Q2[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=X2(r,r.path),r.queryKey=ev(r,r.query),r}function X2(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function ev(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let eg=class _s extends st{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=cl(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=cl(n.host).host),hi(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=q2(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Vp,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Y2[e](s)}open(){let e;if(this.opts.rememberUpgrade&&_s.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),s=!1;_s.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;_s.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function d(h){n&&h.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",d)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",d),n.open()}onOpen(){if(this.readyState="open",_s.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){_s.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,tg=Object.prototype.toString,ov=typeof Blob=="function"||typeof Blob<"u"&&tg.call(Blob)==="[object BlobConstructor]",rv=typeof File=="function"||typeof File<"u"&&tg.call(File)==="[object FileConstructor]";function rc(t){return nv&&(t instanceof ArrayBuffer||sv(t))||ov&&t instanceof Blob||rv&&t instanceof File}function br(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Be.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Be.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Be.EVENT:case Be.BINARY_EVENT:this.onevent(e);break;case Be.ACK:case Be.BINARY_ACK:this.onack(e);break;case Be.DISCONNECT:this.ondisconnect();break;case Be.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Be.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Be.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ws.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};Ws.prototype.reset=function(){this.attempts=0};Ws.prototype.setMin=function(t){this.ms=t};Ws.prototype.setMax=function(t){this.max=t};Ws.prototype.setJitter=function(t){this.jitter=t};class hl extends st{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,hi(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Ws({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||uv;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new eg(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Lt(n,"open",function(){s.onopen(),e&&e()}),r=Lt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Lt(e,"ping",this.onping.bind(this)),Lt(e,"data",this.ondata.bind(this)),Lt(e,"error",this.onerror.bind(this)),Lt(e,"close",this.onclose.bind(this)),Lt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Xp(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new ng(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const oo={};function yr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=tv(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=oo[o]&&r in oo[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new hl(s,e):(oo[o]||(oo[o]=new hl(s,e)),l=oo[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(yr,{Manager:hl,Socket:ng,io:yr,connect:yr});const fv=void 0,Ce=new yr(fv,{reconnection:!0,reconnectionAttempts:3,reconnectionDelay:1e3});const ze=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},pv={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),_e(()=>{ye.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),_e(()=>{ye.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},In=t=>(is("data-v-3ffdabf3"),t=t(),as(),t),gv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},mv={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},_v={class:"flex flex-row flex-grow items-center"},bv={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},yv=In(()=>c("i",{"data-feather":"check"},null,-1)),vv=In(()=>c("span",{class:"sr-only"},"Check icon",-1)),xv=[yv,vv],wv={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},kv=In(()=>c("i",{"data-feather":"x"},null,-1)),Ev=In(()=>c("span",{class:"sr-only"},"Cross icon",-1)),Cv=[kv,Ev],Av=["title"],Sv={class:"flex"},Tv=["onClick"],Mv=In(()=>c("span",{class:"sr-only"},"Copy message",-1)),Ov=In(()=>c("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Rv=[Mv,Ov],Nv=["onClick"],Lv=In(()=>c("span",{class:"sr-only"},"Close",-1)),Dv=In(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),Iv=[Lv,Dv];function Pv(t,e,n,s,o,r){return v(),E("div",gv,[le(It,{name:"toastItem",tag:"div"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.toastArr,i=>(v(),E("div",{key:i.id,class:"relative"},[c("div",mv,[c("div",_v,[Ar(t.$slots,"default",{},()=>[i.success?(v(),E("div",bv,xv)):R("",!0),i.success?R("",!0):(v(),E("div",wv,Cv)),c("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},z(i.message),9,Av)],!0)]),c("div",Sv,[c("button",{type:"button",onClick:ae(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Rv,8,Tv),c("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Iv,8,Nv)])])]))),128))]),_:3})])}const Ys=ze(pv,[["render",Pv],["__scopeId","data-v-3ffdabf3"]]);var Ve={};const Fv="Á",Bv="á",zv="Ă",$v="ă",Uv="∾",jv="∿",qv="∾̳",Hv="Â",Vv="â",Gv="´",Kv="А",Zv="а",Wv="Æ",Yv="æ",Jv="⁡",Qv="𝔄",Xv="𝔞",ex="À",tx="à",nx="ℵ",sx="ℵ",ox="Α",rx="α",ix="Ā",ax="ā",lx="⨿",cx="&",dx="&",ux="⩕",hx="⩓",fx="∧",px="⩜",gx="⩘",mx="⩚",_x="∠",bx="⦤",yx="∠",vx="⦨",xx="⦩",wx="⦪",kx="⦫",Ex="⦬",Cx="⦭",Ax="⦮",Sx="⦯",Tx="∡",Mx="∟",Ox="⊾",Rx="⦝",Nx="∢",Lx="Å",Dx="⍼",Ix="Ą",Px="ą",Fx="𝔸",Bx="𝕒",zx="⩯",$x="≈",Ux="⩰",jx="≊",qx="≋",Hx="'",Vx="⁡",Gx="≈",Kx="≊",Zx="Å",Wx="å",Yx="𝒜",Jx="𝒶",Qx="≔",Xx="*",ew="≈",tw="≍",nw="Ã",sw="ã",ow="Ä",rw="ä",iw="∳",aw="⨑",lw="≌",cw="϶",dw="‵",uw="∽",hw="⋍",fw="∖",pw="⫧",gw="⊽",mw="⌅",_w="⌆",bw="⌅",yw="⎵",vw="⎶",xw="≌",ww="Б",kw="б",Ew="„",Cw="∵",Aw="∵",Sw="∵",Tw="⦰",Mw="϶",Ow="ℬ",Rw="ℬ",Nw="Β",Lw="β",Dw="ℶ",Iw="≬",Pw="𝔅",Fw="𝔟",Bw="⋂",zw="◯",$w="⋃",Uw="⨀",jw="⨁",qw="⨂",Hw="⨆",Vw="★",Gw="▽",Kw="△",Zw="⨄",Ww="⋁",Yw="⋀",Jw="⤍",Qw="⧫",Xw="▪",ek="▴",tk="▾",nk="◂",sk="▸",ok="␣",rk="▒",ik="░",ak="▓",lk="█",ck="=⃥",dk="≡⃥",uk="⫭",hk="⌐",fk="𝔹",pk="𝕓",gk="⊥",mk="⊥",_k="⋈",bk="⧉",yk="┐",vk="╕",xk="╖",wk="╗",kk="┌",Ek="╒",Ck="╓",Ak="╔",Sk="─",Tk="═",Mk="┬",Ok="╤",Rk="╥",Nk="╦",Lk="┴",Dk="╧",Ik="╨",Pk="╩",Fk="⊟",Bk="⊞",zk="⊠",$k="┘",Uk="╛",jk="╜",qk="╝",Hk="└",Vk="╘",Gk="╙",Kk="╚",Zk="│",Wk="║",Yk="┼",Jk="╪",Qk="╫",Xk="╬",e5="┤",t5="╡",n5="╢",s5="╣",o5="├",r5="╞",i5="╟",a5="╠",l5="‵",c5="˘",d5="˘",u5="¦",h5="𝒷",f5="ℬ",p5="⁏",g5="∽",m5="⋍",_5="⧅",b5="\\",y5="⟈",v5="•",x5="•",w5="≎",k5="⪮",E5="≏",C5="≎",A5="≏",S5="Ć",T5="ć",M5="⩄",O5="⩉",R5="⩋",N5="∩",L5="⋒",D5="⩇",I5="⩀",P5="ⅅ",F5="∩︀",B5="⁁",z5="ˇ",$5="ℭ",U5="⩍",j5="Č",q5="č",H5="Ç",V5="ç",G5="Ĉ",K5="ĉ",Z5="∰",W5="⩌",Y5="⩐",J5="Ċ",Q5="ċ",X5="¸",e4="¸",t4="⦲",n4="¢",s4="·",o4="·",r4="𝔠",i4="ℭ",a4="Ч",l4="ч",c4="✓",d4="✓",u4="Χ",h4="χ",f4="ˆ",p4="≗",g4="↺",m4="↻",_4="⊛",b4="⊚",y4="⊝",v4="⊙",x4="®",w4="Ⓢ",k4="⊖",E4="⊕",C4="⊗",A4="○",S4="⧃",T4="≗",M4="⨐",O4="⫯",R4="⧂",N4="∲",L4="”",D4="’",I4="♣",P4="♣",F4=":",B4="∷",z4="⩴",$4="≔",U4="≔",j4=",",q4="@",H4="∁",V4="∘",G4="∁",K4="ℂ",Z4="≅",W4="⩭",Y4="≡",J4="∮",Q4="∯",X4="∮",eE="𝕔",tE="ℂ",nE="∐",sE="∐",oE="©",rE="©",iE="℗",aE="∳",lE="↵",cE="✗",dE="⨯",uE="𝒞",hE="𝒸",fE="⫏",pE="⫑",gE="⫐",mE="⫒",_E="⋯",bE="⤸",yE="⤵",vE="⋞",xE="⋟",wE="↶",kE="⤽",EE="⩈",CE="⩆",AE="≍",SE="∪",TE="⋓",ME="⩊",OE="⊍",RE="⩅",NE="∪︀",LE="↷",DE="⤼",IE="⋞",PE="⋟",FE="⋎",BE="⋏",zE="¤",$E="↶",UE="↷",jE="⋎",qE="⋏",HE="∲",VE="∱",GE="⌭",KE="†",ZE="‡",WE="ℸ",YE="↓",JE="↡",QE="⇓",XE="‐",e3="⫤",t3="⊣",n3="⤏",s3="˝",o3="Ď",r3="ď",i3="Д",a3="д",l3="‡",c3="⇊",d3="ⅅ",u3="ⅆ",h3="⤑",f3="⩷",p3="°",g3="∇",m3="Δ",_3="δ",b3="⦱",y3="⥿",v3="𝔇",x3="𝔡",w3="⥥",k3="⇃",E3="⇂",C3="´",A3="˙",S3="˝",T3="`",M3="˜",O3="⋄",R3="⋄",N3="⋄",L3="♦",D3="♦",I3="¨",P3="ⅆ",F3="ϝ",B3="⋲",z3="÷",$3="÷",U3="⋇",j3="⋇",q3="Ђ",H3="ђ",V3="⌞",G3="⌍",K3="$",Z3="𝔻",W3="𝕕",Y3="¨",J3="˙",Q3="⃜",X3="≐",e9="≑",t9="≐",n9="∸",s9="∔",o9="⊡",r9="⌆",i9="∯",a9="¨",l9="⇓",c9="⇐",d9="⇔",u9="⫤",h9="⟸",f9="⟺",p9="⟹",g9="⇒",m9="⊨",_9="⇑",b9="⇕",y9="∥",v9="⤓",x9="↓",w9="↓",k9="⇓",E9="⇵",C9="̑",A9="⇊",S9="⇃",T9="⇂",M9="⥐",O9="⥞",R9="⥖",N9="↽",L9="⥟",D9="⥗",I9="⇁",P9="↧",F9="⊤",B9="⤐",z9="⌟",$9="⌌",U9="𝒟",j9="𝒹",q9="Ѕ",H9="ѕ",V9="⧶",G9="Đ",K9="đ",Z9="⋱",W9="▿",Y9="▾",J9="⇵",Q9="⥯",X9="⦦",eC="Џ",tC="џ",nC="⟿",sC="É",oC="é",rC="⩮",iC="Ě",aC="ě",lC="Ê",cC="ê",dC="≖",uC="≕",hC="Э",fC="э",pC="⩷",gC="Ė",mC="ė",_C="≑",bC="ⅇ",yC="≒",vC="𝔈",xC="𝔢",wC="⪚",kC="È",EC="è",CC="⪖",AC="⪘",SC="⪙",TC="∈",MC="⏧",OC="ℓ",RC="⪕",NC="⪗",LC="Ē",DC="ē",IC="∅",PC="∅",FC="◻",BC="∅",zC="▫",$C=" ",UC=" ",jC=" ",qC="Ŋ",HC="ŋ",VC=" ",GC="Ę",KC="ę",ZC="𝔼",WC="𝕖",YC="⋕",JC="⧣",QC="⩱",XC="ε",e8="Ε",t8="ε",n8="ϵ",s8="≖",o8="≕",r8="≂",i8="⪖",a8="⪕",l8="⩵",c8="=",d8="≂",u8="≟",h8="⇌",f8="≡",p8="⩸",g8="⧥",m8="⥱",_8="≓",b8="ℯ",y8="ℰ",v8="≐",x8="⩳",w8="≂",k8="Η",E8="η",C8="Ð",A8="ð",S8="Ë",T8="ë",M8="€",O8="!",R8="∃",N8="∃",L8="ℰ",D8="ⅇ",I8="ⅇ",P8="≒",F8="Ф",B8="ф",z8="♀",$8="ffi",U8="ff",j8="ffl",q8="𝔉",H8="𝔣",V8="fi",G8="◼",K8="▪",Z8="fj",W8="♭",Y8="fl",J8="▱",Q8="ƒ",X8="𝔽",e6="𝕗",t6="∀",n6="∀",s6="⋔",o6="⫙",r6="ℱ",i6="⨍",a6="½",l6="⅓",c6="¼",d6="⅕",u6="⅙",h6="⅛",f6="⅔",p6="⅖",g6="¾",m6="⅗",_6="⅜",b6="⅘",y6="⅚",v6="⅝",x6="⅞",w6="⁄",k6="⌢",E6="𝒻",C6="ℱ",A6="ǵ",S6="Γ",T6="γ",M6="Ϝ",O6="ϝ",R6="⪆",N6="Ğ",L6="ğ",D6="Ģ",I6="Ĝ",P6="ĝ",F6="Г",B6="г",z6="Ġ",$6="ġ",U6="≥",j6="≧",q6="⪌",H6="⋛",V6="≥",G6="≧",K6="⩾",Z6="⪩",W6="⩾",Y6="⪀",J6="⪂",Q6="⪄",X6="⋛︀",e7="⪔",t7="𝔊",n7="𝔤",s7="≫",o7="⋙",r7="⋙",i7="ℷ",a7="Ѓ",l7="ѓ",c7="⪥",d7="≷",u7="⪒",h7="⪤",f7="⪊",p7="⪊",g7="⪈",m7="≩",_7="⪈",b7="≩",y7="⋧",v7="𝔾",x7="𝕘",w7="`",k7="≥",E7="⋛",C7="≧",A7="⪢",S7="≷",T7="⩾",M7="≳",O7="𝒢",R7="ℊ",N7="≳",L7="⪎",D7="⪐",I7="⪧",P7="⩺",F7=">",B7=">",z7="≫",$7="⋗",U7="⦕",j7="⩼",q7="⪆",H7="⥸",V7="⋗",G7="⋛",K7="⪌",Z7="≷",W7="≳",Y7="≩︀",J7="≩︀",Q7="ˇ",X7=" ",eA="½",tA="ℋ",nA="Ъ",sA="ъ",oA="⥈",rA="↔",iA="⇔",aA="↭",lA="^",cA="ℏ",dA="Ĥ",uA="ĥ",hA="♥",fA="♥",pA="…",gA="⊹",mA="𝔥",_A="ℌ",bA="ℋ",yA="⤥",vA="⤦",xA="⇿",wA="∻",kA="↩",EA="↪",CA="𝕙",AA="ℍ",SA="―",TA="─",MA="𝒽",OA="ℋ",RA="ℏ",NA="Ħ",LA="ħ",DA="≎",IA="≏",PA="⁃",FA="‐",BA="Í",zA="í",$A="⁣",UA="Î",jA="î",qA="И",HA="и",VA="İ",GA="Е",KA="е",ZA="¡",WA="⇔",YA="𝔦",JA="ℑ",QA="Ì",XA="ì",eS="ⅈ",tS="⨌",nS="∭",sS="⧜",oS="℩",rS="IJ",iS="ij",aS="Ī",lS="ī",cS="ℑ",dS="ⅈ",uS="ℐ",hS="ℑ",fS="ı",pS="ℑ",gS="⊷",mS="Ƶ",_S="⇒",bS="℅",yS="∞",vS="⧝",xS="ı",wS="⊺",kS="∫",ES="∬",CS="ℤ",AS="∫",SS="⊺",TS="⋂",MS="⨗",OS="⨼",RS="⁣",NS="⁢",LS="Ё",DS="ё",IS="Į",PS="į",FS="𝕀",BS="𝕚",zS="Ι",$S="ι",US="⨼",jS="¿",qS="𝒾",HS="ℐ",VS="∈",GS="⋵",KS="⋹",ZS="⋴",WS="⋳",YS="∈",JS="⁢",QS="Ĩ",XS="ĩ",eT="І",tT="і",nT="Ï",sT="ï",oT="Ĵ",rT="ĵ",iT="Й",aT="й",lT="𝔍",cT="𝔧",dT="ȷ",uT="𝕁",hT="𝕛",fT="𝒥",pT="𝒿",gT="Ј",mT="ј",_T="Є",bT="є",yT="Κ",vT="κ",xT="ϰ",wT="Ķ",kT="ķ",ET="К",CT="к",AT="𝔎",ST="𝔨",TT="ĸ",MT="Х",OT="х",RT="Ќ",NT="ќ",LT="𝕂",DT="𝕜",IT="𝒦",PT="𝓀",FT="⇚",BT="Ĺ",zT="ĺ",$T="⦴",UT="ℒ",jT="Λ",qT="λ",HT="⟨",VT="⟪",GT="⦑",KT="⟨",ZT="⪅",WT="ℒ",YT="«",JT="⇤",QT="⤟",XT="←",eM="↞",tM="⇐",nM="⤝",sM="↩",oM="↫",rM="⤹",iM="⥳",aM="↢",lM="⤙",cM="⤛",dM="⪫",uM="⪭",hM="⪭︀",fM="⤌",pM="⤎",gM="❲",mM="{",_M="[",bM="⦋",yM="⦏",vM="⦍",xM="Ľ",wM="ľ",kM="Ļ",EM="ļ",CM="⌈",AM="{",SM="Л",TM="л",MM="⤶",OM="“",RM="„",NM="⥧",LM="⥋",DM="↲",IM="≤",PM="≦",FM="⟨",BM="⇤",zM="←",$M="←",UM="⇐",jM="⇆",qM="↢",HM="⌈",VM="⟦",GM="⥡",KM="⥙",ZM="⇃",WM="⌊",YM="↽",JM="↼",QM="⇇",XM="↔",eO="↔",tO="⇔",nO="⇆",sO="⇋",oO="↭",rO="⥎",iO="↤",aO="⊣",lO="⥚",cO="⋋",dO="⧏",uO="⊲",hO="⊴",fO="⥑",pO="⥠",gO="⥘",mO="↿",_O="⥒",bO="↼",yO="⪋",vO="⋚",xO="≤",wO="≦",kO="⩽",EO="⪨",CO="⩽",AO="⩿",SO="⪁",TO="⪃",MO="⋚︀",OO="⪓",RO="⪅",NO="⋖",LO="⋚",DO="⪋",IO="⋚",PO="≦",FO="≶",BO="≶",zO="⪡",$O="≲",UO="⩽",jO="≲",qO="⥼",HO="⌊",VO="𝔏",GO="𝔩",KO="≶",ZO="⪑",WO="⥢",YO="↽",JO="↼",QO="⥪",XO="▄",eR="Љ",tR="љ",nR="⇇",sR="≪",oR="⋘",rR="⌞",iR="⇚",aR="⥫",lR="◺",cR="Ŀ",dR="ŀ",uR="⎰",hR="⎰",fR="⪉",pR="⪉",gR="⪇",mR="≨",_R="⪇",bR="≨",yR="⋦",vR="⟬",xR="⇽",wR="⟦",kR="⟵",ER="⟵",CR="⟸",AR="⟷",SR="⟷",TR="⟺",MR="⟼",OR="⟶",RR="⟶",NR="⟹",LR="↫",DR="↬",IR="⦅",PR="𝕃",FR="𝕝",BR="⨭",zR="⨴",$R="∗",UR="_",jR="↙",qR="↘",HR="◊",VR="◊",GR="⧫",KR="(",ZR="⦓",WR="⇆",YR="⌟",JR="⇋",QR="⥭",XR="‎",eN="⊿",tN="‹",nN="𝓁",sN="ℒ",oN="↰",rN="↰",iN="≲",aN="⪍",lN="⪏",cN="[",dN="‘",uN="‚",hN="Ł",fN="ł",pN="⪦",gN="⩹",mN="<",_N="<",bN="≪",yN="⋖",vN="⋋",xN="⋉",wN="⥶",kN="⩻",EN="◃",CN="⊴",AN="◂",SN="⦖",TN="⥊",MN="⥦",ON="≨︀",RN="≨︀",NN="¯",LN="♂",DN="✠",IN="✠",PN="↦",FN="↦",BN="↧",zN="↤",$N="↥",UN="▮",jN="⨩",qN="М",HN="м",VN="—",GN="∺",KN="∡",ZN=" ",WN="ℳ",YN="𝔐",JN="𝔪",QN="℧",XN="µ",eL="*",tL="⫰",nL="∣",sL="·",oL="⊟",rL="−",iL="∸",aL="⨪",lL="∓",cL="⫛",dL="…",uL="∓",hL="⊧",fL="𝕄",pL="𝕞",gL="∓",mL="𝓂",_L="ℳ",bL="∾",yL="Μ",vL="μ",xL="⊸",wL="⊸",kL="∇",EL="Ń",CL="ń",AL="∠⃒",SL="≉",TL="⩰̸",ML="≋̸",OL="ʼn",RL="≉",NL="♮",LL="ℕ",DL="♮",IL=" ",PL="≎̸",FL="≏̸",BL="⩃",zL="Ň",$L="ň",UL="Ņ",jL="ņ",qL="≇",HL="⩭̸",VL="⩂",GL="Н",KL="н",ZL="–",WL="⤤",YL="↗",JL="⇗",QL="↗",XL="≠",eD="≐̸",tD="​",nD="​",sD="​",oD="​",rD="≢",iD="⤨",aD="≂̸",lD="≫",cD="≪",dD=` -`,uD="∄",hD="∄",fD="𝔑",pD="𝔫",gD="≧̸",mD="≱",_D="≱",bD="≧̸",yD="⩾̸",vD="⩾̸",xD="⋙̸",wD="≵",kD="≫⃒",ED="≯",CD="≯",AD="≫̸",SD="↮",TD="⇎",MD="⫲",OD="∋",RD="⋼",ND="⋺",LD="∋",DD="Њ",ID="њ",PD="↚",FD="⇍",BD="‥",zD="≦̸",$D="≰",UD="↚",jD="⇍",qD="↮",HD="⇎",VD="≰",GD="≦̸",KD="⩽̸",ZD="⩽̸",WD="≮",YD="⋘̸",JD="≴",QD="≪⃒",XD="≮",eI="⋪",tI="⋬",nI="≪̸",sI="∤",oI="⁠",rI=" ",iI="𝕟",aI="ℕ",lI="⫬",cI="¬",dI="≢",uI="≭",hI="∦",fI="∉",pI="≠",gI="≂̸",mI="∄",_I="≯",bI="≱",yI="≧̸",vI="≫̸",xI="≹",wI="⩾̸",kI="≵",EI="≎̸",CI="≏̸",AI="∉",SI="⋵̸",TI="⋹̸",MI="∉",OI="⋷",RI="⋶",NI="⧏̸",LI="⋪",DI="⋬",II="≮",PI="≰",FI="≸",BI="≪̸",zI="⩽̸",$I="≴",UI="⪢̸",jI="⪡̸",qI="∌",HI="∌",VI="⋾",GI="⋽",KI="⊀",ZI="⪯̸",WI="⋠",YI="∌",JI="⧐̸",QI="⋫",XI="⋭",eP="⊏̸",tP="⋢",nP="⊐̸",sP="⋣",oP="⊂⃒",rP="⊈",iP="⊁",aP="⪰̸",lP="⋡",cP="≿̸",dP="⊃⃒",uP="⊉",hP="≁",fP="≄",pP="≇",gP="≉",mP="∤",_P="∦",bP="∦",yP="⫽⃥",vP="∂̸",xP="⨔",wP="⊀",kP="⋠",EP="⊀",CP="⪯̸",AP="⪯̸",SP="⤳̸",TP="↛",MP="⇏",OP="↝̸",RP="↛",NP="⇏",LP="⋫",DP="⋭",IP="⊁",PP="⋡",FP="⪰̸",BP="𝒩",zP="𝓃",$P="∤",UP="∦",jP="≁",qP="≄",HP="≄",VP="∤",GP="∦",KP="⋢",ZP="⋣",WP="⊄",YP="⫅̸",JP="⊈",QP="⊂⃒",XP="⊈",eF="⫅̸",tF="⊁",nF="⪰̸",sF="⊅",oF="⫆̸",rF="⊉",iF="⊃⃒",aF="⊉",lF="⫆̸",cF="≹",dF="Ñ",uF="ñ",hF="≸",fF="⋪",pF="⋬",gF="⋫",mF="⋭",_F="Ν",bF="ν",yF="#",vF="№",xF=" ",wF="≍⃒",kF="⊬",EF="⊭",CF="⊮",AF="⊯",SF="≥⃒",TF=">⃒",MF="⤄",OF="⧞",RF="⤂",NF="≤⃒",LF="<⃒",DF="⊴⃒",IF="⤃",PF="⊵⃒",FF="∼⃒",BF="⤣",zF="↖",$F="⇖",UF="↖",jF="⤧",qF="Ó",HF="ó",VF="⊛",GF="Ô",KF="ô",ZF="⊚",WF="О",YF="о",JF="⊝",QF="Ő",XF="ő",eB="⨸",tB="⊙",nB="⦼",sB="Œ",oB="œ",rB="⦿",iB="𝔒",aB="𝔬",lB="˛",cB="Ò",dB="ò",uB="⧁",hB="⦵",fB="Ω",pB="∮",gB="↺",mB="⦾",_B="⦻",bB="‾",yB="⧀",vB="Ō",xB="ō",wB="Ω",kB="ω",EB="Ο",CB="ο",AB="⦶",SB="⊖",TB="𝕆",MB="𝕠",OB="⦷",RB="“",NB="‘",LB="⦹",DB="⊕",IB="↻",PB="⩔",FB="∨",BB="⩝",zB="ℴ",$B="ℴ",UB="ª",jB="º",qB="⊶",HB="⩖",VB="⩗",GB="⩛",KB="Ⓢ",ZB="𝒪",WB="ℴ",YB="Ø",JB="ø",QB="⊘",XB="Õ",ez="õ",tz="⨶",nz="⨷",sz="⊗",oz="Ö",rz="ö",iz="⌽",az="‾",lz="⏞",cz="⎴",dz="⏜",uz="¶",hz="∥",fz="∥",pz="⫳",gz="⫽",mz="∂",_z="∂",bz="П",yz="п",vz="%",xz=".",wz="‰",kz="⊥",Ez="‱",Cz="𝔓",Az="𝔭",Sz="Φ",Tz="φ",Mz="ϕ",Oz="ℳ",Rz="☎",Nz="Π",Lz="π",Dz="⋔",Iz="ϖ",Pz="ℏ",Fz="ℎ",Bz="ℏ",zz="⨣",$z="⊞",Uz="⨢",jz="+",qz="∔",Hz="⨥",Vz="⩲",Gz="±",Kz="±",Zz="⨦",Wz="⨧",Yz="±",Jz="ℌ",Qz="⨕",Xz="𝕡",e$="ℙ",t$="£",n$="⪷",s$="⪻",o$="≺",r$="≼",i$="⪷",a$="≺",l$="≼",c$="≺",d$="⪯",u$="≼",h$="≾",f$="⪯",p$="⪹",g$="⪵",m$="⋨",_$="⪯",b$="⪳",y$="≾",v$="′",x$="″",w$="ℙ",k$="⪹",E$="⪵",C$="⋨",A$="∏",S$="∏",T$="⌮",M$="⌒",O$="⌓",R$="∝",N$="∝",L$="∷",D$="∝",I$="≾",P$="⊰",F$="𝒫",B$="𝓅",z$="Ψ",$$="ψ",U$=" ",j$="𝔔",q$="𝔮",H$="⨌",V$="𝕢",G$="ℚ",K$="⁗",Z$="𝒬",W$="𝓆",Y$="ℍ",J$="⨖",Q$="?",X$="≟",eU='"',tU='"',nU="⇛",sU="∽̱",oU="Ŕ",rU="ŕ",iU="√",aU="⦳",lU="⟩",cU="⟫",dU="⦒",uU="⦥",hU="⟩",fU="»",pU="⥵",gU="⇥",mU="⤠",_U="⤳",bU="→",yU="↠",vU="⇒",xU="⤞",wU="↪",kU="↬",EU="⥅",CU="⥴",AU="⤖",SU="↣",TU="↝",MU="⤚",OU="⤜",RU="∶",NU="ℚ",LU="⤍",DU="⤏",IU="⤐",PU="❳",FU="}",BU="]",zU="⦌",$U="⦎",UU="⦐",jU="Ř",qU="ř",HU="Ŗ",VU="ŗ",GU="⌉",KU="}",ZU="Р",WU="р",YU="⤷",JU="⥩",QU="”",XU="”",ej="↳",tj="ℜ",nj="ℛ",sj="ℜ",oj="ℝ",rj="ℜ",ij="▭",aj="®",lj="®",cj="∋",dj="⇋",uj="⥯",hj="⥽",fj="⌋",pj="𝔯",gj="ℜ",mj="⥤",_j="⇁",bj="⇀",yj="⥬",vj="Ρ",xj="ρ",wj="ϱ",kj="⟩",Ej="⇥",Cj="→",Aj="→",Sj="⇒",Tj="⇄",Mj="↣",Oj="⌉",Rj="⟧",Nj="⥝",Lj="⥕",Dj="⇂",Ij="⌋",Pj="⇁",Fj="⇀",Bj="⇄",zj="⇌",$j="⇉",Uj="↝",jj="↦",qj="⊢",Hj="⥛",Vj="⋌",Gj="⧐",Kj="⊳",Zj="⊵",Wj="⥏",Yj="⥜",Jj="⥔",Qj="↾",Xj="⥓",eq="⇀",tq="˚",nq="≓",sq="⇄",oq="⇌",rq="‏",iq="⎱",aq="⎱",lq="⫮",cq="⟭",dq="⇾",uq="⟧",hq="⦆",fq="𝕣",pq="ℝ",gq="⨮",mq="⨵",_q="⥰",bq=")",yq="⦔",vq="⨒",xq="⇉",wq="⇛",kq="›",Eq="𝓇",Cq="ℛ",Aq="↱",Sq="↱",Tq="]",Mq="’",Oq="’",Rq="⋌",Nq="⋊",Lq="▹",Dq="⊵",Iq="▸",Pq="⧎",Fq="⧴",Bq="⥨",zq="℞",$q="Ś",Uq="ś",jq="‚",qq="⪸",Hq="Š",Vq="š",Gq="⪼",Kq="≻",Zq="≽",Wq="⪰",Yq="⪴",Jq="Ş",Qq="ş",Xq="Ŝ",eH="ŝ",tH="⪺",nH="⪶",sH="⋩",oH="⨓",rH="≿",iH="С",aH="с",lH="⊡",cH="⋅",dH="⩦",uH="⤥",hH="↘",fH="⇘",pH="↘",gH="§",mH=";",_H="⤩",bH="∖",yH="∖",vH="✶",xH="𝔖",wH="𝔰",kH="⌢",EH="♯",CH="Щ",AH="щ",SH="Ш",TH="ш",MH="↓",OH="←",RH="∣",NH="∥",LH="→",DH="↑",IH="­",PH="Σ",FH="σ",BH="ς",zH="ς",$H="∼",UH="⩪",jH="≃",qH="≃",HH="⪞",VH="⪠",GH="⪝",KH="⪟",ZH="≆",WH="⨤",YH="⥲",JH="←",QH="∘",XH="∖",eV="⨳",tV="⧤",nV="∣",sV="⌣",oV="⪪",rV="⪬",iV="⪬︀",aV="Ь",lV="ь",cV="⌿",dV="⧄",uV="/",hV="𝕊",fV="𝕤",pV="♠",gV="♠",mV="∥",_V="⊓",bV="⊓︀",yV="⊔",vV="⊔︀",xV="√",wV="⊏",kV="⊑",EV="⊏",CV="⊑",AV="⊐",SV="⊒",TV="⊐",MV="⊒",OV="□",RV="□",NV="⊓",LV="⊏",DV="⊑",IV="⊐",PV="⊒",FV="⊔",BV="▪",zV="□",$V="▪",UV="→",jV="𝒮",qV="𝓈",HV="∖",VV="⌣",GV="⋆",KV="⋆",ZV="☆",WV="★",YV="ϵ",JV="ϕ",QV="¯",XV="⊂",eG="⋐",tG="⪽",nG="⫅",sG="⊆",oG="⫃",rG="⫁",iG="⫋",aG="⊊",lG="⪿",cG="⥹",dG="⊂",uG="⋐",hG="⊆",fG="⫅",pG="⊆",gG="⊊",mG="⫋",_G="⫇",bG="⫕",yG="⫓",vG="⪸",xG="≻",wG="≽",kG="≻",EG="⪰",CG="≽",AG="≿",SG="⪰",TG="⪺",MG="⪶",OG="⋩",RG="≿",NG="∋",LG="∑",DG="∑",IG="♪",PG="¹",FG="²",BG="³",zG="⊃",$G="⋑",UG="⪾",jG="⫘",qG="⫆",HG="⊇",VG="⫄",GG="⊃",KG="⊇",ZG="⟉",WG="⫗",YG="⥻",JG="⫂",QG="⫌",XG="⊋",eK="⫀",tK="⊃",nK="⋑",sK="⊇",oK="⫆",rK="⊋",iK="⫌",aK="⫈",lK="⫔",cK="⫖",dK="⤦",uK="↙",hK="⇙",fK="↙",pK="⤪",gK="ß",mK=" ",_K="⌖",bK="Τ",yK="τ",vK="⎴",xK="Ť",wK="ť",kK="Ţ",EK="ţ",CK="Т",AK="т",SK="⃛",TK="⌕",MK="𝔗",OK="𝔱",RK="∴",NK="∴",LK="∴",DK="Θ",IK="θ",PK="ϑ",FK="ϑ",BK="≈",zK="∼",$K="  ",UK=" ",jK=" ",qK="≈",HK="∼",VK="Þ",GK="þ",KK="˜",ZK="∼",WK="≃",YK="≅",JK="≈",QK="⨱",XK="⊠",eZ="×",tZ="⨰",nZ="∭",sZ="⤨",oZ="⌶",rZ="⫱",iZ="⊤",aZ="𝕋",lZ="𝕥",cZ="⫚",dZ="⤩",uZ="‴",hZ="™",fZ="™",pZ="▵",gZ="▿",mZ="◃",_Z="⊴",bZ="≜",yZ="▹",vZ="⊵",xZ="◬",wZ="≜",kZ="⨺",EZ="⃛",CZ="⨹",AZ="⧍",SZ="⨻",TZ="⏢",MZ="𝒯",OZ="𝓉",RZ="Ц",NZ="ц",LZ="Ћ",DZ="ћ",IZ="Ŧ",PZ="ŧ",FZ="≬",BZ="↞",zZ="↠",$Z="Ú",UZ="ú",jZ="↑",qZ="↟",HZ="⇑",VZ="⥉",GZ="Ў",KZ="ў",ZZ="Ŭ",WZ="ŭ",YZ="Û",JZ="û",QZ="У",XZ="у",eW="⇅",tW="Ű",nW="ű",sW="⥮",oW="⥾",rW="𝔘",iW="𝔲",aW="Ù",lW="ù",cW="⥣",dW="↿",uW="↾",hW="▀",fW="⌜",pW="⌜",gW="⌏",mW="◸",_W="Ū",bW="ū",yW="¨",vW="_",xW="⏟",wW="⎵",kW="⏝",EW="⋃",CW="⊎",AW="Ų",SW="ų",TW="𝕌",MW="𝕦",OW="⤒",RW="↑",NW="↑",LW="⇑",DW="⇅",IW="↕",PW="↕",FW="⇕",BW="⥮",zW="↿",$W="↾",UW="⊎",jW="↖",qW="↗",HW="υ",VW="ϒ",GW="ϒ",KW="Υ",ZW="υ",WW="↥",YW="⊥",JW="⇈",QW="⌝",XW="⌝",eY="⌎",tY="Ů",nY="ů",sY="◹",oY="𝒰",rY="𝓊",iY="⋰",aY="Ũ",lY="ũ",cY="▵",dY="▴",uY="⇈",hY="Ü",fY="ü",pY="⦧",gY="⦜",mY="ϵ",_Y="ϰ",bY="∅",yY="ϕ",vY="ϖ",xY="∝",wY="↕",kY="⇕",EY="ϱ",CY="ς",AY="⊊︀",SY="⫋︀",TY="⊋︀",MY="⫌︀",OY="ϑ",RY="⊲",NY="⊳",LY="⫨",DY="⫫",IY="⫩",PY="В",FY="в",BY="⊢",zY="⊨",$Y="⊩",UY="⊫",jY="⫦",qY="⊻",HY="∨",VY="⋁",GY="≚",KY="⋮",ZY="|",WY="‖",YY="|",JY="‖",QY="∣",XY="|",eJ="❘",tJ="≀",nJ=" ",sJ="𝔙",oJ="𝔳",rJ="⊲",iJ="⊂⃒",aJ="⊃⃒",lJ="𝕍",cJ="𝕧",dJ="∝",uJ="⊳",hJ="𝒱",fJ="𝓋",pJ="⫋︀",gJ="⊊︀",mJ="⫌︀",_J="⊋︀",bJ="⊪",yJ="⦚",vJ="Ŵ",xJ="ŵ",wJ="⩟",kJ="∧",EJ="⋀",CJ="≙",AJ="℘",SJ="𝔚",TJ="𝔴",MJ="𝕎",OJ="𝕨",RJ="℘",NJ="≀",LJ="≀",DJ="𝒲",IJ="𝓌",PJ="⋂",FJ="◯",BJ="⋃",zJ="▽",$J="𝔛",UJ="𝔵",jJ="⟷",qJ="⟺",HJ="Ξ",VJ="ξ",GJ="⟵",KJ="⟸",ZJ="⟼",WJ="⋻",YJ="⨀",JJ="𝕏",QJ="𝕩",XJ="⨁",eQ="⨂",tQ="⟶",nQ="⟹",sQ="𝒳",oQ="𝓍",rQ="⨆",iQ="⨄",aQ="△",lQ="⋁",cQ="⋀",dQ="Ý",uQ="ý",hQ="Я",fQ="я",pQ="Ŷ",gQ="ŷ",mQ="Ы",_Q="ы",bQ="¥",yQ="𝔜",vQ="𝔶",xQ="Ї",wQ="ї",kQ="𝕐",EQ="𝕪",CQ="𝒴",AQ="𝓎",SQ="Ю",TQ="ю",MQ="ÿ",OQ="Ÿ",RQ="Ź",NQ="ź",LQ="Ž",DQ="ž",IQ="З",PQ="з",FQ="Ż",BQ="ż",zQ="ℨ",$Q="​",UQ="Ζ",jQ="ζ",qQ="𝔷",HQ="ℨ",VQ="Ж",GQ="ж",KQ="⇝",ZQ="𝕫",WQ="ℤ",YQ="𝒵",JQ="𝓏",QQ="‍",XQ="‌",eX={Aacute:Fv,aacute:Bv,Abreve:zv,abreve:$v,ac:Uv,acd:jv,acE:qv,Acirc:Hv,acirc:Vv,acute:Gv,Acy:Kv,acy:Zv,AElig:Wv,aelig:Yv,af:Jv,Afr:Qv,afr:Xv,Agrave:ex,agrave:tx,alefsym:nx,aleph:sx,Alpha:ox,alpha:rx,Amacr:ix,amacr:ax,amalg:lx,amp:cx,AMP:dx,andand:ux,And:hx,and:fx,andd:px,andslope:gx,andv:mx,ang:_x,ange:bx,angle:yx,angmsdaa:vx,angmsdab:xx,angmsdac:wx,angmsdad:kx,angmsdae:Ex,angmsdaf:Cx,angmsdag:Ax,angmsdah:Sx,angmsd:Tx,angrt:Mx,angrtvb:Ox,angrtvbd:Rx,angsph:Nx,angst:Lx,angzarr:Dx,Aogon:Ix,aogon:Px,Aopf:Fx,aopf:Bx,apacir:zx,ap:$x,apE:Ux,ape:jx,apid:qx,apos:Hx,ApplyFunction:Vx,approx:Gx,approxeq:Kx,Aring:Zx,aring:Wx,Ascr:Yx,ascr:Jx,Assign:Qx,ast:Xx,asymp:ew,asympeq:tw,Atilde:nw,atilde:sw,Auml:ow,auml:rw,awconint:iw,awint:aw,backcong:lw,backepsilon:cw,backprime:dw,backsim:uw,backsimeq:hw,Backslash:fw,Barv:pw,barvee:gw,barwed:mw,Barwed:_w,barwedge:bw,bbrk:yw,bbrktbrk:vw,bcong:xw,Bcy:ww,bcy:kw,bdquo:Ew,becaus:Cw,because:Aw,Because:Sw,bemptyv:Tw,bepsi:Mw,bernou:Ow,Bernoullis:Rw,Beta:Nw,beta:Lw,beth:Dw,between:Iw,Bfr:Pw,bfr:Fw,bigcap:Bw,bigcirc:zw,bigcup:$w,bigodot:Uw,bigoplus:jw,bigotimes:qw,bigsqcup:Hw,bigstar:Vw,bigtriangledown:Gw,bigtriangleup:Kw,biguplus:Zw,bigvee:Ww,bigwedge:Yw,bkarow:Jw,blacklozenge:Qw,blacksquare:Xw,blacktriangle:ek,blacktriangledown:tk,blacktriangleleft:nk,blacktriangleright:sk,blank:ok,blk12:rk,blk14:ik,blk34:ak,block:lk,bne:ck,bnequiv:dk,bNot:uk,bnot:hk,Bopf:fk,bopf:pk,bot:gk,bottom:mk,bowtie:_k,boxbox:bk,boxdl:yk,boxdL:vk,boxDl:xk,boxDL:wk,boxdr:kk,boxdR:Ek,boxDr:Ck,boxDR:Ak,boxh:Sk,boxH:Tk,boxhd:Mk,boxHd:Ok,boxhD:Rk,boxHD:Nk,boxhu:Lk,boxHu:Dk,boxhU:Ik,boxHU:Pk,boxminus:Fk,boxplus:Bk,boxtimes:zk,boxul:$k,boxuL:Uk,boxUl:jk,boxUL:qk,boxur:Hk,boxuR:Vk,boxUr:Gk,boxUR:Kk,boxv:Zk,boxV:Wk,boxvh:Yk,boxvH:Jk,boxVh:Qk,boxVH:Xk,boxvl:e5,boxvL:t5,boxVl:n5,boxVL:s5,boxvr:o5,boxvR:r5,boxVr:i5,boxVR:a5,bprime:l5,breve:c5,Breve:d5,brvbar:u5,bscr:h5,Bscr:f5,bsemi:p5,bsim:g5,bsime:m5,bsolb:_5,bsol:b5,bsolhsub:y5,bull:v5,bullet:x5,bump:w5,bumpE:k5,bumpe:E5,Bumpeq:C5,bumpeq:A5,Cacute:S5,cacute:T5,capand:M5,capbrcup:O5,capcap:R5,cap:N5,Cap:L5,capcup:D5,capdot:I5,CapitalDifferentialD:P5,caps:F5,caret:B5,caron:z5,Cayleys:$5,ccaps:U5,Ccaron:j5,ccaron:q5,Ccedil:H5,ccedil:V5,Ccirc:G5,ccirc:K5,Cconint:Z5,ccups:W5,ccupssm:Y5,Cdot:J5,cdot:Q5,cedil:X5,Cedilla:e4,cemptyv:t4,cent:n4,centerdot:s4,CenterDot:o4,cfr:r4,Cfr:i4,CHcy:a4,chcy:l4,check:c4,checkmark:d4,Chi:u4,chi:h4,circ:f4,circeq:p4,circlearrowleft:g4,circlearrowright:m4,circledast:_4,circledcirc:b4,circleddash:y4,CircleDot:v4,circledR:x4,circledS:w4,CircleMinus:k4,CirclePlus:E4,CircleTimes:C4,cir:A4,cirE:S4,cire:T4,cirfnint:M4,cirmid:O4,cirscir:R4,ClockwiseContourIntegral:N4,CloseCurlyDoubleQuote:L4,CloseCurlyQuote:D4,clubs:I4,clubsuit:P4,colon:F4,Colon:B4,Colone:z4,colone:$4,coloneq:U4,comma:j4,commat:q4,comp:H4,compfn:V4,complement:G4,complexes:K4,cong:Z4,congdot:W4,Congruent:Y4,conint:J4,Conint:Q4,ContourIntegral:X4,copf:eE,Copf:tE,coprod:nE,Coproduct:sE,copy:oE,COPY:rE,copysr:iE,CounterClockwiseContourIntegral:aE,crarr:lE,cross:cE,Cross:dE,Cscr:uE,cscr:hE,csub:fE,csube:pE,csup:gE,csupe:mE,ctdot:_E,cudarrl:bE,cudarrr:yE,cuepr:vE,cuesc:xE,cularr:wE,cularrp:kE,cupbrcap:EE,cupcap:CE,CupCap:AE,cup:SE,Cup:TE,cupcup:ME,cupdot:OE,cupor:RE,cups:NE,curarr:LE,curarrm:DE,curlyeqprec:IE,curlyeqsucc:PE,curlyvee:FE,curlywedge:BE,curren:zE,curvearrowleft:$E,curvearrowright:UE,cuvee:jE,cuwed:qE,cwconint:HE,cwint:VE,cylcty:GE,dagger:KE,Dagger:ZE,daleth:WE,darr:YE,Darr:JE,dArr:QE,dash:XE,Dashv:e3,dashv:t3,dbkarow:n3,dblac:s3,Dcaron:o3,dcaron:r3,Dcy:i3,dcy:a3,ddagger:l3,ddarr:c3,DD:d3,dd:u3,DDotrahd:h3,ddotseq:f3,deg:p3,Del:g3,Delta:m3,delta:_3,demptyv:b3,dfisht:y3,Dfr:v3,dfr:x3,dHar:w3,dharl:k3,dharr:E3,DiacriticalAcute:C3,DiacriticalDot:A3,DiacriticalDoubleAcute:S3,DiacriticalGrave:T3,DiacriticalTilde:M3,diam:O3,diamond:R3,Diamond:N3,diamondsuit:L3,diams:D3,die:I3,DifferentialD:P3,digamma:F3,disin:B3,div:z3,divide:$3,divideontimes:U3,divonx:j3,DJcy:q3,djcy:H3,dlcorn:V3,dlcrop:G3,dollar:K3,Dopf:Z3,dopf:W3,Dot:Y3,dot:J3,DotDot:Q3,doteq:X3,doteqdot:e9,DotEqual:t9,dotminus:n9,dotplus:s9,dotsquare:o9,doublebarwedge:r9,DoubleContourIntegral:i9,DoubleDot:a9,DoubleDownArrow:l9,DoubleLeftArrow:c9,DoubleLeftRightArrow:d9,DoubleLeftTee:u9,DoubleLongLeftArrow:h9,DoubleLongLeftRightArrow:f9,DoubleLongRightArrow:p9,DoubleRightArrow:g9,DoubleRightTee:m9,DoubleUpArrow:_9,DoubleUpDownArrow:b9,DoubleVerticalBar:y9,DownArrowBar:v9,downarrow:x9,DownArrow:w9,Downarrow:k9,DownArrowUpArrow:E9,DownBreve:C9,downdownarrows:A9,downharpoonleft:S9,downharpoonright:T9,DownLeftRightVector:M9,DownLeftTeeVector:O9,DownLeftVectorBar:R9,DownLeftVector:N9,DownRightTeeVector:L9,DownRightVectorBar:D9,DownRightVector:I9,DownTeeArrow:P9,DownTee:F9,drbkarow:B9,drcorn:z9,drcrop:$9,Dscr:U9,dscr:j9,DScy:q9,dscy:H9,dsol:V9,Dstrok:G9,dstrok:K9,dtdot:Z9,dtri:W9,dtrif:Y9,duarr:J9,duhar:Q9,dwangle:X9,DZcy:eC,dzcy:tC,dzigrarr:nC,Eacute:sC,eacute:oC,easter:rC,Ecaron:iC,ecaron:aC,Ecirc:lC,ecirc:cC,ecir:dC,ecolon:uC,Ecy:hC,ecy:fC,eDDot:pC,Edot:gC,edot:mC,eDot:_C,ee:bC,efDot:yC,Efr:vC,efr:xC,eg:wC,Egrave:kC,egrave:EC,egs:CC,egsdot:AC,el:SC,Element:TC,elinters:MC,ell:OC,els:RC,elsdot:NC,Emacr:LC,emacr:DC,empty:IC,emptyset:PC,EmptySmallSquare:FC,emptyv:BC,EmptyVerySmallSquare:zC,emsp13:$C,emsp14:UC,emsp:jC,ENG:qC,eng:HC,ensp:VC,Eogon:GC,eogon:KC,Eopf:ZC,eopf:WC,epar:YC,eparsl:JC,eplus:QC,epsi:XC,Epsilon:e8,epsilon:t8,epsiv:n8,eqcirc:s8,eqcolon:o8,eqsim:r8,eqslantgtr:i8,eqslantless:a8,Equal:l8,equals:c8,EqualTilde:d8,equest:u8,Equilibrium:h8,equiv:f8,equivDD:p8,eqvparsl:g8,erarr:m8,erDot:_8,escr:b8,Escr:y8,esdot:v8,Esim:x8,esim:w8,Eta:k8,eta:E8,ETH:C8,eth:A8,Euml:S8,euml:T8,euro:M8,excl:O8,exist:R8,Exists:N8,expectation:L8,exponentiale:D8,ExponentialE:I8,fallingdotseq:P8,Fcy:F8,fcy:B8,female:z8,ffilig:$8,fflig:U8,ffllig:j8,Ffr:q8,ffr:H8,filig:V8,FilledSmallSquare:G8,FilledVerySmallSquare:K8,fjlig:Z8,flat:W8,fllig:Y8,fltns:J8,fnof:Q8,Fopf:X8,fopf:e6,forall:t6,ForAll:n6,fork:s6,forkv:o6,Fouriertrf:r6,fpartint:i6,frac12:a6,frac13:l6,frac14:c6,frac15:d6,frac16:u6,frac18:h6,frac23:f6,frac25:p6,frac34:g6,frac35:m6,frac38:_6,frac45:b6,frac56:y6,frac58:v6,frac78:x6,frasl:w6,frown:k6,fscr:E6,Fscr:C6,gacute:A6,Gamma:S6,gamma:T6,Gammad:M6,gammad:O6,gap:R6,Gbreve:N6,gbreve:L6,Gcedil:D6,Gcirc:I6,gcirc:P6,Gcy:F6,gcy:B6,Gdot:z6,gdot:$6,ge:U6,gE:j6,gEl:q6,gel:H6,geq:V6,geqq:G6,geqslant:K6,gescc:Z6,ges:W6,gesdot:Y6,gesdoto:J6,gesdotol:Q6,gesl:X6,gesles:e7,Gfr:t7,gfr:n7,gg:s7,Gg:o7,ggg:r7,gimel:i7,GJcy:a7,gjcy:l7,gla:c7,gl:d7,glE:u7,glj:h7,gnap:f7,gnapprox:p7,gne:g7,gnE:m7,gneq:_7,gneqq:b7,gnsim:y7,Gopf:v7,gopf:x7,grave:w7,GreaterEqual:k7,GreaterEqualLess:E7,GreaterFullEqual:C7,GreaterGreater:A7,GreaterLess:S7,GreaterSlantEqual:T7,GreaterTilde:M7,Gscr:O7,gscr:R7,gsim:N7,gsime:L7,gsiml:D7,gtcc:I7,gtcir:P7,gt:F7,GT:B7,Gt:z7,gtdot:$7,gtlPar:U7,gtquest:j7,gtrapprox:q7,gtrarr:H7,gtrdot:V7,gtreqless:G7,gtreqqless:K7,gtrless:Z7,gtrsim:W7,gvertneqq:Y7,gvnE:J7,Hacek:Q7,hairsp:X7,half:eA,hamilt:tA,HARDcy:nA,hardcy:sA,harrcir:oA,harr:rA,hArr:iA,harrw:aA,Hat:lA,hbar:cA,Hcirc:dA,hcirc:uA,hearts:hA,heartsuit:fA,hellip:pA,hercon:gA,hfr:mA,Hfr:_A,HilbertSpace:bA,hksearow:yA,hkswarow:vA,hoarr:xA,homtht:wA,hookleftarrow:kA,hookrightarrow:EA,hopf:CA,Hopf:AA,horbar:SA,HorizontalLine:TA,hscr:MA,Hscr:OA,hslash:RA,Hstrok:NA,hstrok:LA,HumpDownHump:DA,HumpEqual:IA,hybull:PA,hyphen:FA,Iacute:BA,iacute:zA,ic:$A,Icirc:UA,icirc:jA,Icy:qA,icy:HA,Idot:VA,IEcy:GA,iecy:KA,iexcl:ZA,iff:WA,ifr:YA,Ifr:JA,Igrave:QA,igrave:XA,ii:eS,iiiint:tS,iiint:nS,iinfin:sS,iiota:oS,IJlig:rS,ijlig:iS,Imacr:aS,imacr:lS,image:cS,ImaginaryI:dS,imagline:uS,imagpart:hS,imath:fS,Im:pS,imof:gS,imped:mS,Implies:_S,incare:bS,in:"∈",infin:yS,infintie:vS,inodot:xS,intcal:wS,int:kS,Int:ES,integers:CS,Integral:AS,intercal:SS,Intersection:TS,intlarhk:MS,intprod:OS,InvisibleComma:RS,InvisibleTimes:NS,IOcy:LS,iocy:DS,Iogon:IS,iogon:PS,Iopf:FS,iopf:BS,Iota:zS,iota:$S,iprod:US,iquest:jS,iscr:qS,Iscr:HS,isin:VS,isindot:GS,isinE:KS,isins:ZS,isinsv:WS,isinv:YS,it:JS,Itilde:QS,itilde:XS,Iukcy:eT,iukcy:tT,Iuml:nT,iuml:sT,Jcirc:oT,jcirc:rT,Jcy:iT,jcy:aT,Jfr:lT,jfr:cT,jmath:dT,Jopf:uT,jopf:hT,Jscr:fT,jscr:pT,Jsercy:gT,jsercy:mT,Jukcy:_T,jukcy:bT,Kappa:yT,kappa:vT,kappav:xT,Kcedil:wT,kcedil:kT,Kcy:ET,kcy:CT,Kfr:AT,kfr:ST,kgreen:TT,KHcy:MT,khcy:OT,KJcy:RT,kjcy:NT,Kopf:LT,kopf:DT,Kscr:IT,kscr:PT,lAarr:FT,Lacute:BT,lacute:zT,laemptyv:$T,lagran:UT,Lambda:jT,lambda:qT,lang:HT,Lang:VT,langd:GT,langle:KT,lap:ZT,Laplacetrf:WT,laquo:YT,larrb:JT,larrbfs:QT,larr:XT,Larr:eM,lArr:tM,larrfs:nM,larrhk:sM,larrlp:oM,larrpl:rM,larrsim:iM,larrtl:aM,latail:lM,lAtail:cM,lat:dM,late:uM,lates:hM,lbarr:fM,lBarr:pM,lbbrk:gM,lbrace:mM,lbrack:_M,lbrke:bM,lbrksld:yM,lbrkslu:vM,Lcaron:xM,lcaron:wM,Lcedil:kM,lcedil:EM,lceil:CM,lcub:AM,Lcy:SM,lcy:TM,ldca:MM,ldquo:OM,ldquor:RM,ldrdhar:NM,ldrushar:LM,ldsh:DM,le:IM,lE:PM,LeftAngleBracket:FM,LeftArrowBar:BM,leftarrow:zM,LeftArrow:$M,Leftarrow:UM,LeftArrowRightArrow:jM,leftarrowtail:qM,LeftCeiling:HM,LeftDoubleBracket:VM,LeftDownTeeVector:GM,LeftDownVectorBar:KM,LeftDownVector:ZM,LeftFloor:WM,leftharpoondown:YM,leftharpoonup:JM,leftleftarrows:QM,leftrightarrow:XM,LeftRightArrow:eO,Leftrightarrow:tO,leftrightarrows:nO,leftrightharpoons:sO,leftrightsquigarrow:oO,LeftRightVector:rO,LeftTeeArrow:iO,LeftTee:aO,LeftTeeVector:lO,leftthreetimes:cO,LeftTriangleBar:dO,LeftTriangle:uO,LeftTriangleEqual:hO,LeftUpDownVector:fO,LeftUpTeeVector:pO,LeftUpVectorBar:gO,LeftUpVector:mO,LeftVectorBar:_O,LeftVector:bO,lEg:yO,leg:vO,leq:xO,leqq:wO,leqslant:kO,lescc:EO,les:CO,lesdot:AO,lesdoto:SO,lesdotor:TO,lesg:MO,lesges:OO,lessapprox:RO,lessdot:NO,lesseqgtr:LO,lesseqqgtr:DO,LessEqualGreater:IO,LessFullEqual:PO,LessGreater:FO,lessgtr:BO,LessLess:zO,lesssim:$O,LessSlantEqual:UO,LessTilde:jO,lfisht:qO,lfloor:HO,Lfr:VO,lfr:GO,lg:KO,lgE:ZO,lHar:WO,lhard:YO,lharu:JO,lharul:QO,lhblk:XO,LJcy:eR,ljcy:tR,llarr:nR,ll:sR,Ll:oR,llcorner:rR,Lleftarrow:iR,llhard:aR,lltri:lR,Lmidot:cR,lmidot:dR,lmoustache:uR,lmoust:hR,lnap:fR,lnapprox:pR,lne:gR,lnE:mR,lneq:_R,lneqq:bR,lnsim:yR,loang:vR,loarr:xR,lobrk:wR,longleftarrow:kR,LongLeftArrow:ER,Longleftarrow:CR,longleftrightarrow:AR,LongLeftRightArrow:SR,Longleftrightarrow:TR,longmapsto:MR,longrightarrow:OR,LongRightArrow:RR,Longrightarrow:NR,looparrowleft:LR,looparrowright:DR,lopar:IR,Lopf:PR,lopf:FR,loplus:BR,lotimes:zR,lowast:$R,lowbar:UR,LowerLeftArrow:jR,LowerRightArrow:qR,loz:HR,lozenge:VR,lozf:GR,lpar:KR,lparlt:ZR,lrarr:WR,lrcorner:YR,lrhar:JR,lrhard:QR,lrm:XR,lrtri:eN,lsaquo:tN,lscr:nN,Lscr:sN,lsh:oN,Lsh:rN,lsim:iN,lsime:aN,lsimg:lN,lsqb:cN,lsquo:dN,lsquor:uN,Lstrok:hN,lstrok:fN,ltcc:pN,ltcir:gN,lt:mN,LT:_N,Lt:bN,ltdot:yN,lthree:vN,ltimes:xN,ltlarr:wN,ltquest:kN,ltri:EN,ltrie:CN,ltrif:AN,ltrPar:SN,lurdshar:TN,luruhar:MN,lvertneqq:ON,lvnE:RN,macr:NN,male:LN,malt:DN,maltese:IN,Map:"⤅",map:PN,mapsto:FN,mapstodown:BN,mapstoleft:zN,mapstoup:$N,marker:UN,mcomma:jN,Mcy:qN,mcy:HN,mdash:VN,mDDot:GN,measuredangle:KN,MediumSpace:ZN,Mellintrf:WN,Mfr:YN,mfr:JN,mho:QN,micro:XN,midast:eL,midcir:tL,mid:nL,middot:sL,minusb:oL,minus:rL,minusd:iL,minusdu:aL,MinusPlus:lL,mlcp:cL,mldr:dL,mnplus:uL,models:hL,Mopf:fL,mopf:pL,mp:gL,mscr:mL,Mscr:_L,mstpos:bL,Mu:yL,mu:vL,multimap:xL,mumap:wL,nabla:kL,Nacute:EL,nacute:CL,nang:AL,nap:SL,napE:TL,napid:ML,napos:OL,napprox:RL,natural:NL,naturals:LL,natur:DL,nbsp:IL,nbump:PL,nbumpe:FL,ncap:BL,Ncaron:zL,ncaron:$L,Ncedil:UL,ncedil:jL,ncong:qL,ncongdot:HL,ncup:VL,Ncy:GL,ncy:KL,ndash:ZL,nearhk:WL,nearr:YL,neArr:JL,nearrow:QL,ne:XL,nedot:eD,NegativeMediumSpace:tD,NegativeThickSpace:nD,NegativeThinSpace:sD,NegativeVeryThinSpace:oD,nequiv:rD,nesear:iD,nesim:aD,NestedGreaterGreater:lD,NestedLessLess:cD,NewLine:dD,nexist:uD,nexists:hD,Nfr:fD,nfr:pD,ngE:gD,nge:mD,ngeq:_D,ngeqq:bD,ngeqslant:yD,nges:vD,nGg:xD,ngsim:wD,nGt:kD,ngt:ED,ngtr:CD,nGtv:AD,nharr:SD,nhArr:TD,nhpar:MD,ni:OD,nis:RD,nisd:ND,niv:LD,NJcy:DD,njcy:ID,nlarr:PD,nlArr:FD,nldr:BD,nlE:zD,nle:$D,nleftarrow:UD,nLeftarrow:jD,nleftrightarrow:qD,nLeftrightarrow:HD,nleq:VD,nleqq:GD,nleqslant:KD,nles:ZD,nless:WD,nLl:YD,nlsim:JD,nLt:QD,nlt:XD,nltri:eI,nltrie:tI,nLtv:nI,nmid:sI,NoBreak:oI,NonBreakingSpace:rI,nopf:iI,Nopf:aI,Not:lI,not:cI,NotCongruent:dI,NotCupCap:uI,NotDoubleVerticalBar:hI,NotElement:fI,NotEqual:pI,NotEqualTilde:gI,NotExists:mI,NotGreater:_I,NotGreaterEqual:bI,NotGreaterFullEqual:yI,NotGreaterGreater:vI,NotGreaterLess:xI,NotGreaterSlantEqual:wI,NotGreaterTilde:kI,NotHumpDownHump:EI,NotHumpEqual:CI,notin:AI,notindot:SI,notinE:TI,notinva:MI,notinvb:OI,notinvc:RI,NotLeftTriangleBar:NI,NotLeftTriangle:LI,NotLeftTriangleEqual:DI,NotLess:II,NotLessEqual:PI,NotLessGreater:FI,NotLessLess:BI,NotLessSlantEqual:zI,NotLessTilde:$I,NotNestedGreaterGreater:UI,NotNestedLessLess:jI,notni:qI,notniva:HI,notnivb:VI,notnivc:GI,NotPrecedes:KI,NotPrecedesEqual:ZI,NotPrecedesSlantEqual:WI,NotReverseElement:YI,NotRightTriangleBar:JI,NotRightTriangle:QI,NotRightTriangleEqual:XI,NotSquareSubset:eP,NotSquareSubsetEqual:tP,NotSquareSuperset:nP,NotSquareSupersetEqual:sP,NotSubset:oP,NotSubsetEqual:rP,NotSucceeds:iP,NotSucceedsEqual:aP,NotSucceedsSlantEqual:lP,NotSucceedsTilde:cP,NotSuperset:dP,NotSupersetEqual:uP,NotTilde:hP,NotTildeEqual:fP,NotTildeFullEqual:pP,NotTildeTilde:gP,NotVerticalBar:mP,nparallel:_P,npar:bP,nparsl:yP,npart:vP,npolint:xP,npr:wP,nprcue:kP,nprec:EP,npreceq:CP,npre:AP,nrarrc:SP,nrarr:TP,nrArr:MP,nrarrw:OP,nrightarrow:RP,nRightarrow:NP,nrtri:LP,nrtrie:DP,nsc:IP,nsccue:PP,nsce:FP,Nscr:BP,nscr:zP,nshortmid:$P,nshortparallel:UP,nsim:jP,nsime:qP,nsimeq:HP,nsmid:VP,nspar:GP,nsqsube:KP,nsqsupe:ZP,nsub:WP,nsubE:YP,nsube:JP,nsubset:QP,nsubseteq:XP,nsubseteqq:eF,nsucc:tF,nsucceq:nF,nsup:sF,nsupE:oF,nsupe:rF,nsupset:iF,nsupseteq:aF,nsupseteqq:lF,ntgl:cF,Ntilde:dF,ntilde:uF,ntlg:hF,ntriangleleft:fF,ntrianglelefteq:pF,ntriangleright:gF,ntrianglerighteq:mF,Nu:_F,nu:bF,num:yF,numero:vF,numsp:xF,nvap:wF,nvdash:kF,nvDash:EF,nVdash:CF,nVDash:AF,nvge:SF,nvgt:TF,nvHarr:MF,nvinfin:OF,nvlArr:RF,nvle:NF,nvlt:LF,nvltrie:DF,nvrArr:IF,nvrtrie:PF,nvsim:FF,nwarhk:BF,nwarr:zF,nwArr:$F,nwarrow:UF,nwnear:jF,Oacute:qF,oacute:HF,oast:VF,Ocirc:GF,ocirc:KF,ocir:ZF,Ocy:WF,ocy:YF,odash:JF,Odblac:QF,odblac:XF,odiv:eB,odot:tB,odsold:nB,OElig:sB,oelig:oB,ofcir:rB,Ofr:iB,ofr:aB,ogon:lB,Ograve:cB,ograve:dB,ogt:uB,ohbar:hB,ohm:fB,oint:pB,olarr:gB,olcir:mB,olcross:_B,oline:bB,olt:yB,Omacr:vB,omacr:xB,Omega:wB,omega:kB,Omicron:EB,omicron:CB,omid:AB,ominus:SB,Oopf:TB,oopf:MB,opar:OB,OpenCurlyDoubleQuote:RB,OpenCurlyQuote:NB,operp:LB,oplus:DB,orarr:IB,Or:PB,or:FB,ord:BB,order:zB,orderof:$B,ordf:UB,ordm:jB,origof:qB,oror:HB,orslope:VB,orv:GB,oS:KB,Oscr:ZB,oscr:WB,Oslash:YB,oslash:JB,osol:QB,Otilde:XB,otilde:ez,otimesas:tz,Otimes:nz,otimes:sz,Ouml:oz,ouml:rz,ovbar:iz,OverBar:az,OverBrace:lz,OverBracket:cz,OverParenthesis:dz,para:uz,parallel:hz,par:fz,parsim:pz,parsl:gz,part:mz,PartialD:_z,Pcy:bz,pcy:yz,percnt:vz,period:xz,permil:wz,perp:kz,pertenk:Ez,Pfr:Cz,pfr:Az,Phi:Sz,phi:Tz,phiv:Mz,phmmat:Oz,phone:Rz,Pi:Nz,pi:Lz,pitchfork:Dz,piv:Iz,planck:Pz,planckh:Fz,plankv:Bz,plusacir:zz,plusb:$z,pluscir:Uz,plus:jz,plusdo:qz,plusdu:Hz,pluse:Vz,PlusMinus:Gz,plusmn:Kz,plussim:Zz,plustwo:Wz,pm:Yz,Poincareplane:Jz,pointint:Qz,popf:Xz,Popf:e$,pound:t$,prap:n$,Pr:s$,pr:o$,prcue:r$,precapprox:i$,prec:a$,preccurlyeq:l$,Precedes:c$,PrecedesEqual:d$,PrecedesSlantEqual:u$,PrecedesTilde:h$,preceq:f$,precnapprox:p$,precneqq:g$,precnsim:m$,pre:_$,prE:b$,precsim:y$,prime:v$,Prime:x$,primes:w$,prnap:k$,prnE:E$,prnsim:C$,prod:A$,Product:S$,profalar:T$,profline:M$,profsurf:O$,prop:R$,Proportional:N$,Proportion:L$,propto:D$,prsim:I$,prurel:P$,Pscr:F$,pscr:B$,Psi:z$,psi:$$,puncsp:U$,Qfr:j$,qfr:q$,qint:H$,qopf:V$,Qopf:G$,qprime:K$,Qscr:Z$,qscr:W$,quaternions:Y$,quatint:J$,quest:Q$,questeq:X$,quot:eU,QUOT:tU,rAarr:nU,race:sU,Racute:oU,racute:rU,radic:iU,raemptyv:aU,rang:lU,Rang:cU,rangd:dU,range:uU,rangle:hU,raquo:fU,rarrap:pU,rarrb:gU,rarrbfs:mU,rarrc:_U,rarr:bU,Rarr:yU,rArr:vU,rarrfs:xU,rarrhk:wU,rarrlp:kU,rarrpl:EU,rarrsim:CU,Rarrtl:AU,rarrtl:SU,rarrw:TU,ratail:MU,rAtail:OU,ratio:RU,rationals:NU,rbarr:LU,rBarr:DU,RBarr:IU,rbbrk:PU,rbrace:FU,rbrack:BU,rbrke:zU,rbrksld:$U,rbrkslu:UU,Rcaron:jU,rcaron:qU,Rcedil:HU,rcedil:VU,rceil:GU,rcub:KU,Rcy:ZU,rcy:WU,rdca:YU,rdldhar:JU,rdquo:QU,rdquor:XU,rdsh:ej,real:tj,realine:nj,realpart:sj,reals:oj,Re:rj,rect:ij,reg:aj,REG:lj,ReverseElement:cj,ReverseEquilibrium:dj,ReverseUpEquilibrium:uj,rfisht:hj,rfloor:fj,rfr:pj,Rfr:gj,rHar:mj,rhard:_j,rharu:bj,rharul:yj,Rho:vj,rho:xj,rhov:wj,RightAngleBracket:kj,RightArrowBar:Ej,rightarrow:Cj,RightArrow:Aj,Rightarrow:Sj,RightArrowLeftArrow:Tj,rightarrowtail:Mj,RightCeiling:Oj,RightDoubleBracket:Rj,RightDownTeeVector:Nj,RightDownVectorBar:Lj,RightDownVector:Dj,RightFloor:Ij,rightharpoondown:Pj,rightharpoonup:Fj,rightleftarrows:Bj,rightleftharpoons:zj,rightrightarrows:$j,rightsquigarrow:Uj,RightTeeArrow:jj,RightTee:qj,RightTeeVector:Hj,rightthreetimes:Vj,RightTriangleBar:Gj,RightTriangle:Kj,RightTriangleEqual:Zj,RightUpDownVector:Wj,RightUpTeeVector:Yj,RightUpVectorBar:Jj,RightUpVector:Qj,RightVectorBar:Xj,RightVector:eq,ring:tq,risingdotseq:nq,rlarr:sq,rlhar:oq,rlm:rq,rmoustache:iq,rmoust:aq,rnmid:lq,roang:cq,roarr:dq,robrk:uq,ropar:hq,ropf:fq,Ropf:pq,roplus:gq,rotimes:mq,RoundImplies:_q,rpar:bq,rpargt:yq,rppolint:vq,rrarr:xq,Rrightarrow:wq,rsaquo:kq,rscr:Eq,Rscr:Cq,rsh:Aq,Rsh:Sq,rsqb:Tq,rsquo:Mq,rsquor:Oq,rthree:Rq,rtimes:Nq,rtri:Lq,rtrie:Dq,rtrif:Iq,rtriltri:Pq,RuleDelayed:Fq,ruluhar:Bq,rx:zq,Sacute:$q,sacute:Uq,sbquo:jq,scap:qq,Scaron:Hq,scaron:Vq,Sc:Gq,sc:Kq,sccue:Zq,sce:Wq,scE:Yq,Scedil:Jq,scedil:Qq,Scirc:Xq,scirc:eH,scnap:tH,scnE:nH,scnsim:sH,scpolint:oH,scsim:rH,Scy:iH,scy:aH,sdotb:lH,sdot:cH,sdote:dH,searhk:uH,searr:hH,seArr:fH,searrow:pH,sect:gH,semi:mH,seswar:_H,setminus:bH,setmn:yH,sext:vH,Sfr:xH,sfr:wH,sfrown:kH,sharp:EH,SHCHcy:CH,shchcy:AH,SHcy:SH,shcy:TH,ShortDownArrow:MH,ShortLeftArrow:OH,shortmid:RH,shortparallel:NH,ShortRightArrow:LH,ShortUpArrow:DH,shy:IH,Sigma:PH,sigma:FH,sigmaf:BH,sigmav:zH,sim:$H,simdot:UH,sime:jH,simeq:qH,simg:HH,simgE:VH,siml:GH,simlE:KH,simne:ZH,simplus:WH,simrarr:YH,slarr:JH,SmallCircle:QH,smallsetminus:XH,smashp:eV,smeparsl:tV,smid:nV,smile:sV,smt:oV,smte:rV,smtes:iV,SOFTcy:aV,softcy:lV,solbar:cV,solb:dV,sol:uV,Sopf:hV,sopf:fV,spades:pV,spadesuit:gV,spar:mV,sqcap:_V,sqcaps:bV,sqcup:yV,sqcups:vV,Sqrt:xV,sqsub:wV,sqsube:kV,sqsubset:EV,sqsubseteq:CV,sqsup:AV,sqsupe:SV,sqsupset:TV,sqsupseteq:MV,square:OV,Square:RV,SquareIntersection:NV,SquareSubset:LV,SquareSubsetEqual:DV,SquareSuperset:IV,SquareSupersetEqual:PV,SquareUnion:FV,squarf:BV,squ:zV,squf:$V,srarr:UV,Sscr:jV,sscr:qV,ssetmn:HV,ssmile:VV,sstarf:GV,Star:KV,star:ZV,starf:WV,straightepsilon:YV,straightphi:JV,strns:QV,sub:XV,Sub:eG,subdot:tG,subE:nG,sube:sG,subedot:oG,submult:rG,subnE:iG,subne:aG,subplus:lG,subrarr:cG,subset:dG,Subset:uG,subseteq:hG,subseteqq:fG,SubsetEqual:pG,subsetneq:gG,subsetneqq:mG,subsim:_G,subsub:bG,subsup:yG,succapprox:vG,succ:xG,succcurlyeq:wG,Succeeds:kG,SucceedsEqual:EG,SucceedsSlantEqual:CG,SucceedsTilde:AG,succeq:SG,succnapprox:TG,succneqq:MG,succnsim:OG,succsim:RG,SuchThat:NG,sum:LG,Sum:DG,sung:IG,sup1:PG,sup2:FG,sup3:BG,sup:zG,Sup:$G,supdot:UG,supdsub:jG,supE:qG,supe:HG,supedot:VG,Superset:GG,SupersetEqual:KG,suphsol:ZG,suphsub:WG,suplarr:YG,supmult:JG,supnE:QG,supne:XG,supplus:eK,supset:tK,Supset:nK,supseteq:sK,supseteqq:oK,supsetneq:rK,supsetneqq:iK,supsim:aK,supsub:lK,supsup:cK,swarhk:dK,swarr:uK,swArr:hK,swarrow:fK,swnwar:pK,szlig:gK,Tab:mK,target:_K,Tau:bK,tau:yK,tbrk:vK,Tcaron:xK,tcaron:wK,Tcedil:kK,tcedil:EK,Tcy:CK,tcy:AK,tdot:SK,telrec:TK,Tfr:MK,tfr:OK,there4:RK,therefore:NK,Therefore:LK,Theta:DK,theta:IK,thetasym:PK,thetav:FK,thickapprox:BK,thicksim:zK,ThickSpace:$K,ThinSpace:UK,thinsp:jK,thkap:qK,thksim:HK,THORN:VK,thorn:GK,tilde:KK,Tilde:ZK,TildeEqual:WK,TildeFullEqual:YK,TildeTilde:JK,timesbar:QK,timesb:XK,times:eZ,timesd:tZ,tint:nZ,toea:sZ,topbot:oZ,topcir:rZ,top:iZ,Topf:aZ,topf:lZ,topfork:cZ,tosa:dZ,tprime:uZ,trade:hZ,TRADE:fZ,triangle:pZ,triangledown:gZ,triangleleft:mZ,trianglelefteq:_Z,triangleq:bZ,triangleright:yZ,trianglerighteq:vZ,tridot:xZ,trie:wZ,triminus:kZ,TripleDot:EZ,triplus:CZ,trisb:AZ,tritime:SZ,trpezium:TZ,Tscr:MZ,tscr:OZ,TScy:RZ,tscy:NZ,TSHcy:LZ,tshcy:DZ,Tstrok:IZ,tstrok:PZ,twixt:FZ,twoheadleftarrow:BZ,twoheadrightarrow:zZ,Uacute:$Z,uacute:UZ,uarr:jZ,Uarr:qZ,uArr:HZ,Uarrocir:VZ,Ubrcy:GZ,ubrcy:KZ,Ubreve:ZZ,ubreve:WZ,Ucirc:YZ,ucirc:JZ,Ucy:QZ,ucy:XZ,udarr:eW,Udblac:tW,udblac:nW,udhar:sW,ufisht:oW,Ufr:rW,ufr:iW,Ugrave:aW,ugrave:lW,uHar:cW,uharl:dW,uharr:uW,uhblk:hW,ulcorn:fW,ulcorner:pW,ulcrop:gW,ultri:mW,Umacr:_W,umacr:bW,uml:yW,UnderBar:vW,UnderBrace:xW,UnderBracket:wW,UnderParenthesis:kW,Union:EW,UnionPlus:CW,Uogon:AW,uogon:SW,Uopf:TW,uopf:MW,UpArrowBar:OW,uparrow:RW,UpArrow:NW,Uparrow:LW,UpArrowDownArrow:DW,updownarrow:IW,UpDownArrow:PW,Updownarrow:FW,UpEquilibrium:BW,upharpoonleft:zW,upharpoonright:$W,uplus:UW,UpperLeftArrow:jW,UpperRightArrow:qW,upsi:HW,Upsi:VW,upsih:GW,Upsilon:KW,upsilon:ZW,UpTeeArrow:WW,UpTee:YW,upuparrows:JW,urcorn:QW,urcorner:XW,urcrop:eY,Uring:tY,uring:nY,urtri:sY,Uscr:oY,uscr:rY,utdot:iY,Utilde:aY,utilde:lY,utri:cY,utrif:dY,uuarr:uY,Uuml:hY,uuml:fY,uwangle:pY,vangrt:gY,varepsilon:mY,varkappa:_Y,varnothing:bY,varphi:yY,varpi:vY,varpropto:xY,varr:wY,vArr:kY,varrho:EY,varsigma:CY,varsubsetneq:AY,varsubsetneqq:SY,varsupsetneq:TY,varsupsetneqq:MY,vartheta:OY,vartriangleleft:RY,vartriangleright:NY,vBar:LY,Vbar:DY,vBarv:IY,Vcy:PY,vcy:FY,vdash:BY,vDash:zY,Vdash:$Y,VDash:UY,Vdashl:jY,veebar:qY,vee:HY,Vee:VY,veeeq:GY,vellip:KY,verbar:ZY,Verbar:WY,vert:YY,Vert:JY,VerticalBar:QY,VerticalLine:XY,VerticalSeparator:eJ,VerticalTilde:tJ,VeryThinSpace:nJ,Vfr:sJ,vfr:oJ,vltri:rJ,vnsub:iJ,vnsup:aJ,Vopf:lJ,vopf:cJ,vprop:dJ,vrtri:uJ,Vscr:hJ,vscr:fJ,vsubnE:pJ,vsubne:gJ,vsupnE:mJ,vsupne:_J,Vvdash:bJ,vzigzag:yJ,Wcirc:vJ,wcirc:xJ,wedbar:wJ,wedge:kJ,Wedge:EJ,wedgeq:CJ,weierp:AJ,Wfr:SJ,wfr:TJ,Wopf:MJ,wopf:OJ,wp:RJ,wr:NJ,wreath:LJ,Wscr:DJ,wscr:IJ,xcap:PJ,xcirc:FJ,xcup:BJ,xdtri:zJ,Xfr:$J,xfr:UJ,xharr:jJ,xhArr:qJ,Xi:HJ,xi:VJ,xlarr:GJ,xlArr:KJ,xmap:ZJ,xnis:WJ,xodot:YJ,Xopf:JJ,xopf:QJ,xoplus:XJ,xotime:eQ,xrarr:tQ,xrArr:nQ,Xscr:sQ,xscr:oQ,xsqcup:rQ,xuplus:iQ,xutri:aQ,xvee:lQ,xwedge:cQ,Yacute:dQ,yacute:uQ,YAcy:hQ,yacy:fQ,Ycirc:pQ,ycirc:gQ,Ycy:mQ,ycy:_Q,yen:bQ,Yfr:yQ,yfr:vQ,YIcy:xQ,yicy:wQ,Yopf:kQ,yopf:EQ,Yscr:CQ,yscr:AQ,YUcy:SQ,yucy:TQ,yuml:MQ,Yuml:OQ,Zacute:RQ,zacute:NQ,Zcaron:LQ,zcaron:DQ,Zcy:IQ,zcy:PQ,Zdot:FQ,zdot:BQ,zeetrf:zQ,ZeroWidthSpace:$Q,Zeta:UQ,zeta:jQ,zfr:qQ,Zfr:HQ,ZHcy:VQ,zhcy:GQ,zigrarr:KQ,zopf:ZQ,Zopf:WQ,Zscr:YQ,zscr:JQ,zwj:QQ,zwnj:XQ};var sg=eX,ac=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Js={},Xd={};function tX(t){var e,n,s=Xd[t];if(s)return s;for(s=Xd[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=tX(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}fi.defaultChars=";/?:@&=+$,-_.!~*'()#";fi.componentChars="-_.!~*'()";var nX=fi,eu={};function sX(t){var e,n,s=eu[t];if(s)return s;for(s=eu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}pi.defaultChars=";/?:@&=+$,#";pi.componentChars="";var oX=pi,rX=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Nr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var iX=/^([a-z0-9.+-]+:)/i,aX=/:[0-9]*$/,lX=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,cX=["<",">",'"',"`"," ","\r",` -`," "],dX=["{","}","|","\\","^","`"].concat(cX),uX=["'"].concat(dX),tu=["%","/","?",";","#"].concat(uX),nu=["/","?","#"],hX=255,su=/^[+a-z0-9A-Z_-]{0,63}$/,fX=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ou={javascript:!0,"javascript:":!0},ru={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function pX(t,e){if(t&&t instanceof Nr)return t;var n=new Nr;return n.parse(t,e),n}Nr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=lX.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=iX.exec(a);if(d&&(d=d[0],o=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&ou[d])&&(a=a.substr(2),this.slashes=!0)),!ou[d]&&(i||d&&!ru[d])){var u=-1;for(n=0;n127?b+="x":b+=w[p];if(!b.match(su)){var A=_.slice(0,n),N=_.slice(n+1),O=w.match(fX);O&&(A.push(O[1]),N.unshift(O[2])),N.length&&(a=N.join(".")+a),this.hostname=A.join(".");break}}}}this.hostname.length>hX&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),ru[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Nr.prototype.parseHost=function(t){var e=aX.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var gX=pX;Js.encode=nX;Js.decode=oX;Js.format=rX;Js.parse=gX;var Un={},Hi,iu;function og(){return iu||(iu=1,Hi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Hi}var Vi,au;function rg(){return au||(au=1,Vi=/[\0-\x1F\x7F-\x9F]/),Vi}var Gi,lu;function mX(){return lu||(lu=1,Gi=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Gi}var Ki,cu;function ig(){return cu||(cu=1,Ki=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ki}var du;function _X(){return du||(du=1,Un.Any=og(),Un.Cc=rg(),Un.Cf=mX(),Un.P=ac,Un.Z=ig()),Un}(function(t){function e(P){return Object.prototype.toString.call(P)}function n(P){return e(P)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(P,ue){return s.call(P,ue)}function r(P){var ue=Array.prototype.slice.call(arguments,1);return ue.forEach(function(Y){if(Y){if(typeof Y!="object")throw new TypeError(Y+"must be object");Object.keys(Y).forEach(function(T){P[T]=Y[T]})}}),P}function i(P,ue,Y){return[].concat(P.slice(0,ue),Y,P.slice(ue+1))}function a(P){return!(P>=55296&&P<=57343||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534||P>=0&&P<=8||P===11||P>=14&&P<=31||P>=127&&P<=159||P>1114111)}function l(P){if(P>65535){P-=65536;var ue=55296+(P>>10),Y=56320+(P&1023);return String.fromCharCode(ue,Y)}return String.fromCharCode(P)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=sg;function m(P,ue){var Y=0;return o(g,ue)?g[ue]:ue.charCodeAt(0)===35&&f.test(ue)&&(Y=ue[1].toLowerCase()==="x"?parseInt(ue.slice(2),16):parseInt(ue.slice(1),10),a(Y))?l(Y):P}function _(P){return P.indexOf("\\")<0?P:P.replace(d,"$1")}function w(P){return P.indexOf("\\")<0&&P.indexOf("&")<0?P:P.replace(h,function(ue,Y,T){return Y||m(ue,T)})}var b=/[&<>"]/,p=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function A(P){return x[P]}function N(P){return b.test(P)?P.replace(p,A):P}var O=/[.?*+^$[\]\\(){}|-]/g;function D(P){return P.replace(O,"\\$&")}function y(P){switch(P){case 9:case 32:return!0}return!1}function C(P){if(P>=8192&&P<=8202)return!0;switch(P){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var M=ac;function I(P){return M.test(P)}function B(P){switch(P){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function X(P){return P=P.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(P=P.replace(/ẞ/g,"ß")),P.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Js,t.lib.ucmicro=_X(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=w,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=N,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=C,t.isMdAsciiPunct=B,t.isPunctChar=I,t.escapeRE=D,t.normalizeReference=X})(Ve);var gi={},bX=function(e,n,s){var o,r,i,a,l=-1,d=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=uu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},vX=Ve.unescapeAll,xX=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+ss(t[e].content)+""};Xt.code_block=function(t,e,n,s,o){var r=t[e];return""+ss(t[e].content)+` -`};Xt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?kX(r.info).trim():"",a="",l="",d,u,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?d=n.highlight(r.content,a,l)||ss(r.content):d=ss(r.content),d.indexOf("1?arguments[1]:void 0,p=b!==void 0,x=0,A=h(m),D,O,L,v;if(p&&(b=r(b,w>2?arguments[2]:void 0,2)),A!=null&&!(_==Array&&l(A)))for(v=A.call(m),O=new _;!(L=v.next()).done;x++)u(O,x,p?a(v,b,[L.value,x],!0):L.value);else for(D=d(m.length),O=new _(D);D>x;x++)u(O,x,p?b(m[x],x):m[x]);return O.length=x,O}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(d,u,h){var f=r(d),g=i(f.length),m=a(h,g),_;if(l&&u!=u){for(;g>m;)if(_=f[m++],_!=_)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===u)return l||m||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(d){return i.call(a,d)};case 2:return function(d,u){return i.call(a,d,u)};case 3:return function(d,u,h){return i.call(a,d,u,h)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,d){try{return d?a(r(l)[0],l[1]):a(l)}catch(h){var u=i.return;throw u!==void 0&&r(u.call(i)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,d={next:function(){return{done:!!l++}},return:function(){a=!0}};d[i]=function(){return this},Array.from(d,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},u(g)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",d=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,g;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(d,u){for(var h=i(u),f=l.f,g=a.f,m=0;m",D="java"+x+":",O;for(w.style.display="none",d.appendChild(w),w.src=String(D),O=w.contentWindow.document,O.open(),O.write(p+x+A+"document.F=Object"+p+"/"+x+A),O.close(),_=O.F;b--;)delete _[g][a[b]];return _()};n.exports=Object.create||function(b,p){var x;return b!==null?(m[g]=r(b),x=new m,m[g]=null,x[f]=b):x=_(),p===void 0?x:i(x,p)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=l(h),g=f.length,m=0,_;g>m;)i.f(u,_=f[m++],h[_]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),d=Object.defineProperty;s.f=r?d:function(h,f,g){if(a(h),f=l(f,!0),a(g),i)try{return d(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),d=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(m,_){if(m=l(m),_=d(_,!0),h)try{return f(m,_)}catch{}if(u(m,_))return a(!i.f.call(m,_),m[_])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return r(d,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),d=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),d=a(!1);n.exports=function(u,h){var f=i(u),g=0,m=[],_;for(_ in f)!r(l,_)&&r(f,_)&&m.push(_);for(;h.length>g;)r(f,_=h[g++])&&(~d(m,_)||m.push(_));return m}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(d){var u=i(this,d);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,h){return r(u,h),i?l.call(u,h):u.__proto__=h,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),d=r.Reflect;n.exports=d&&d.ownKeys||function(h){var f=i.f(l(h)),g=a.f;return g?f.concat(g(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),d=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,m=String(u).split("toString");i("inspectSource",function(_){return u.call(_)}),(n.exports=function(_,w,b,p){var x=p?!!p.unsafe:!1,A=p?!!p.enumerable:!1,D=p?!!p.noTargetGet:!1;if(typeof b=="function"&&(typeof w=="string"&&!l(b,"name")&&a(b,"name",w),g(b).source=m.join(typeof w=="string"?w:"")),_===r){A?_[w]=b:d(w,b);return}else x?!D&&_[w]&&(A=!0):delete _[w];A?_[w]=b:a(_,w,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(d,u,h){d&&!i(d=h?d:d.prototype,l)&&r(d,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",d=r[l]||i(l,{});(n.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,d){var u=String(i(a)),h=r(l),f=u.length,g,m;return h<0||h>=f?d?"":void 0:(g=u.charCodeAt(h),g<55296||g>56319||h+1===f||(m=u.charCodeAt(h+1))<56320||m>57343?d?u.charAt(h):g:d?u.slice(h,h+2):(g-55296<<10)+(m-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,d){var u=r(l);return u<0?i(u+d,0):a(u,d)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,d;if(a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(d=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(d=l.call(i)))return d;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),d=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&d[h]||(l?d:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(d){Array.from(d)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",d=i.set,u=i.getterFor(l);a(String,"String",function(h){d(this,{type:l,string:String(h),index:0})},function(){var f=u(this),g=f.string,m=f.index,_;return m>=g.length?{value:void 0,done:!0}:(_=r(g,m,!0),f.index+=_.length,{value:_,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(_){for(var w=1;w2&&arguments[2]!==void 0?arguments[2]:[];f(this,_),this.name=w,this.contents=b,this.tags=p,this.attrs=r({},u.default,{class:"feather feather-"+w})}return i(_,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=r({},this.attrs,b,{class:(0,l.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),_}();function m(_){return Object.keys(_).map(function(w){return w+'="'+_[w]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),d=o("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,g){return f[g.name]=g,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),d=o("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var _=document.querySelectorAll("[data-feather]");Array.from(_).forEach(function(w){return f(w,m)})}function f(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=g(m),b=w["data-feather"];delete w["data-feather"];var p=d.default[b].toSvg(r({},_,w,{class:(0,a.default)(_.class,w.class)})),x=new DOMParser().parseFromString(p,"image/svg+xml"),A=x.querySelector("svg");m.parentNode.replaceChild(A,m)}function g(m){return Array.from(m.attributes).reduce(function(_,w){return _[w.name]=w.value,_},{})}s.default=h},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function l(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return i.default[d].toSvg(u)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Up);var Qy=Up.exports;const ye=ls(Qy);const Xy={key:0,class:"container flex flex-col sm:flex-row items-center"},e2={class:"w-full"},t2={class:"flex flex-row font-medium nav-ul"},jp={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(y(),E("div",Xy,[c("div",e2,[c("div",t2,[le(dt(rn),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Discussions ")]),_:1}),le(dt(rn),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Playground ")]),_:1}),le(dt(rn),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Settings ")]),_:1}),le(dt(rn),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Extensions ")]),_:1}),le(dt(rn),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Training ")]),_:1}),le(dt(rn),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Quantizing ")]),_:1}),le(dt(rn),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:De(()=>[xe(" Help ")]),_:1})])])])):R("",!0)}};const n2={class:"top-0 shadow-lg"},s2={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},o2=c("div",{class:"flex items-center gap-3 flex-1"},[c("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:Ro,alt:"Logo"}),c("div",{class:"flex flex-col"},[c("p",{class:"text-2xl"},"Lord of Large Language Models"),c("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),r2={class:"flex gap-3 flex-1 items-center justify-end"},i2={key:0,title:"Connection status",class:"text-green-500"},a2=c("i",{"data-feather":"zap"},null,-1),l2=[a2],c2={key:1,title:"Connection status",class:"text-red-500"},d2=c("i",{"data-feather":"zap-off"},null,-1),u2=[d2],h2=Vs('
',2),f2={href:"https://twitter.com/SpaceNerduino",target:"_blank"},p2={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},g2={class:"w-10 h-10 rounded-lg object-fill dark:text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1668.56 1221.19",style:{"enable-background":"new 0 0 1668.56 1221.19"},"xml:space":"preserve"},m2=c("g",{id:"layer1",transform:"translate(52.390088,-25.058597)"},[c("path",{id:"path1009",d:`M283.94,167.31l386.39,516.64L281.5,1104h87.51l340.42-367.76L984.48,1104h297.8L874.15,558.3l361.92-390.99\r + h-87.51l-313.51,338.7l-253.31-338.7H283.94z M412.63,231.77h136.81l604.13,807.76h-136.81L412.63,231.77z`})],-1),_2=[m2],b2=c("i",{"data-feather":"sun"},null,-1),y2=[b2],v2=c("i",{"data-feather":"moon"},null,-1),x2=[v2],w2=c("body",null,null,-1),k2={name:"TopBar",computed:{isConnected(){return this.$store.state.isConnected}},data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),_e(()=>{ye.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),_e(()=>{Hi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}_e(()=>{Hi(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}Hi(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:jp}},E2=Object.assign(k2,{setup(t){return(e,n)=>(y(),E(Ae,null,[c("header",n2,[c("nav",s2,[le(dt(rn),{to:{name:"discussions"}},{default:De(()=>[o2]),_:1}),c("div",r2,[e.isConnected?(y(),E("div",i2,l2)):R("",!0),e.isConnected?R("",!0):(y(),E("div",c2,u2)),h2,c("a",f2,[c("div",p2,[(y(),E("svg",g2,_2))])]),c("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},y2),c("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},x2)])]),le(jp)]),w2],64))}}),C2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},A2={class:"flex overflow-hidden flex-grow"},S2={__name:"App",setup(t){return(e,n)=>(y(),E("div",C2,[le(E2),c("div",A2,[le(dt(zp),null,{default:De(({Component:s})=>[(y(),Xe($_,null,[(y(),Xe(Y_(s)))],1024))]),_:1})])]))}},Qt=Object.create(null);Qt.open="0";Qt.close="1";Qt.ping="2";Qt.pong="3";Qt.message="4";Qt.upgrade="5";Qt.noop="6";const br=Object.create(null);Object.keys(Qt).forEach(t=>{br[Qt[t]]=t});const T2={type:"error",data:"parser error"},M2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",O2=typeof ArrayBuffer=="function",R2=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,qp=({type:t,data:e},n,s)=>M2&&e instanceof Blob?n?s(e):Gd(e,s):O2&&(e instanceof ArrayBuffer||R2(e))?n?s(e):Gd(new Blob([e]),s):s(Qt[t]+(e||"")),Gd=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Kd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return d},N2=typeof ArrayBuffer=="function",Hp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Vp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:L2(t.substring(1),e)}:br[n]?t.length>1?{type:br[n],data:t.substring(1)}:{type:br[n]}:T2},L2=(t,e)=>{if(N2){const n=D2(t);return Vp(n,e)}else return{base64:!0,data:t}},Vp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Gp=String.fromCharCode(30),I2=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{qp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Gp))})})},P2=(t,e)=>{const n=t.split(Gp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Zp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const B2=Et.setTimeout,z2=Et.clearTimeout;function fi(t,e){e.useNativeTimers?(t.setTimeoutFn=B2.bind(Et),t.clearTimeoutFn=z2.bind(Et)):(t.setTimeoutFn=Et.setTimeout.bind(Et),t.clearTimeoutFn=Et.clearTimeout.bind(Et))}const $2=1.33;function U2(t){return typeof t=="string"?j2(t):Math.ceil((t.byteLength||t.size)*$2)}function j2(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class q2 extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Wp extends st{constructor(e){super(),this.writable=!1,fi(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new q2(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=Hp(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Yp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),cl=64,H2={};let Zd=0,Qo=0,Wd;function Yd(t){let e="";do e=Yp[t%cl]+e,t=Math.floor(t/cl);while(t>0);return e}function Jp(){const t=Yd(+new Date);return t!==Wd?(Zd=0,Wd=t):t+"."+Yd(Zd++)}for(;Qo{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};P2(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,I2(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Jp()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=Qp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Wt(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Wt extends st{constructor(e,n){super(),fi(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Zp(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new eg(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Wt.requestsCount++,Wt.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=K2,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Wt.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Wt.requestsCount=0;Wt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Jd);else if(typeof addEventListener=="function"){const t="onpagehide"in Et?"pagehide":"unload";addEventListener(t,Jd,!1)}}function Jd(){for(let t in Wt.requests)Wt.requests.hasOwnProperty(t)&&Wt.requests[t].abort()}const tg=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Xo=Et.WebSocket||Et.MozWebSocket,Qd=!0,Y2="arraybuffer",Xd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class J2 extends Wp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=Xd?{}:Zp(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=Qd&&!Xd?n?new Xo(e,n):new Xo(e):new Xo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Y2,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Qd&&this.ws.send(r)}catch{}o&&tg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Jp()),this.supportsBinary||(e.b64=1);const o=Qp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Xo}}const Q2={websocket:J2,polling:W2},X2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ev=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function dl(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=X2.exec(t||""),r={},i=14;for(;i--;)r[ev[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=tv(r,r.path),r.queryKey=nv(r,r.query),r}function tv(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function nv(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let ng=class ms extends st{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=dl(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=dl(n.host).host),fi(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=V2(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Kp,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Q2[e](s)}open(){let e;if(this.opts.rememberUpgrade&&ms.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),s=!1;ms.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;ms.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function d(h){n&&h.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",d)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",d),n.open()}onOpen(){if(this.readyState="open",ms.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){ms.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,sg=Object.prototype.toString,iv=typeof Blob=="function"||typeof Blob<"u"&&sg.call(Blob)==="[object BlobConstructor]",av=typeof File=="function"||typeof File<"u"&&sg.call(File)==="[object FileConstructor]";function rc(t){return ov&&(t instanceof ArrayBuffer||rv(t))||iv&&t instanceof Blob||av&&t instanceof File}function yr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Be.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Be.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Be.EVENT:case Be.BINARY_EVENT:this.onevent(e);break;case Be.ACK:case Be.BINARY_ACK:this.onack(e);break;case Be.DISCONNECT:this.ondisconnect();break;case Be.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Be.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Be.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}Zs.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};Zs.prototype.reset=function(){this.attempts=0};Zs.prototype.setMin=function(t){this.ms=t};Zs.prototype.setMax=function(t){this.max=t};Zs.prototype.setJitter=function(t){this.jitter=t};class fl extends st{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,fi(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Zs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||fv;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new ng(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Nt(n,"open",function(){s.onopen(),e&&e()}),r=Nt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Nt(e,"ping",this.onping.bind(this)),Nt(e,"data",this.ondata.bind(this)),Nt(e,"error",this.onerror.bind(this)),Nt(e,"close",this.onclose.bind(this)),Nt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){tg(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new og(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const oo={};function vr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=sv(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=oo[o]&&r in oo[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new fl(s,e):(oo[o]||(oo[o]=new fl(s,e)),l=oo[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(vr,{Manager:fl,Socket:og,io:vr,connect:vr});const gv=void 0,Ce=new vr(gv,{reconnection:!0,reconnectionAttempts:3,reconnectionDelay:1e3});const ze=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},mv={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),_e(()=>{ye.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),_e(()=>{ye.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Ln=t=>(rs("data-v-3ffdabf3"),t=t(),is(),t),_v={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},bv={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},yv={class:"flex flex-row flex-grow items-center"},vv={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},xv=Ln(()=>c("i",{"data-feather":"check"},null,-1)),wv=Ln(()=>c("span",{class:"sr-only"},"Check icon",-1)),kv=[xv,wv],Ev={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},Cv=Ln(()=>c("i",{"data-feather":"x"},null,-1)),Av=Ln(()=>c("span",{class:"sr-only"},"Cross icon",-1)),Sv=[Cv,Av],Tv=["title"],Mv={class:"flex"},Ov=["onClick"],Rv=Ln(()=>c("span",{class:"sr-only"},"Copy message",-1)),Dv=Ln(()=>c("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Nv=[Rv,Dv],Lv=["onClick"],Iv=Ln(()=>c("span",{class:"sr-only"},"Close",-1)),Pv=Ln(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),Fv=[Iv,Pv];function Bv(t,e,n,s,o,r){return y(),E("div",_v,[le(It,{name:"toastItem",tag:"div"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.toastArr,i=>(y(),E("div",{key:i.id,class:"relative"},[c("div",bv,[c("div",yv,[Sr(t.$slots,"default",{},()=>[i.success?(y(),E("div",vv,kv)):R("",!0),i.success?R("",!0):(y(),E("div",Ev,Sv)),c("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},z(i.message),9,Tv)],!0)]),c("div",Mv,[c("button",{type:"button",onClick:ae(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Nv,8,Ov),c("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Fv,8,Lv)])])]))),128))]),_:3})])}const Ws=ze(mv,[["render",Bv],["__scopeId","data-v-3ffdabf3"]]);var Ve={};const zv="Á",$v="á",Uv="Ă",jv="ă",qv="∾",Hv="∿",Vv="∾̳",Gv="Â",Kv="â",Zv="´",Wv="А",Yv="а",Jv="Æ",Qv="æ",Xv="⁡",ex="𝔄",tx="𝔞",nx="À",sx="à",ox="ℵ",rx="ℵ",ix="Α",ax="α",lx="Ā",cx="ā",dx="⨿",ux="&",hx="&",fx="⩕",px="⩓",gx="∧",mx="⩜",_x="⩘",bx="⩚",yx="∠",vx="⦤",xx="∠",wx="⦨",kx="⦩",Ex="⦪",Cx="⦫",Ax="⦬",Sx="⦭",Tx="⦮",Mx="⦯",Ox="∡",Rx="∟",Dx="⊾",Nx="⦝",Lx="∢",Ix="Å",Px="⍼",Fx="Ą",Bx="ą",zx="𝔸",$x="𝕒",Ux="⩯",jx="≈",qx="⩰",Hx="≊",Vx="≋",Gx="'",Kx="⁡",Zx="≈",Wx="≊",Yx="Å",Jx="å",Qx="𝒜",Xx="𝒶",ew="≔",tw="*",nw="≈",sw="≍",ow="Ã",rw="ã",iw="Ä",aw="ä",lw="∳",cw="⨑",dw="≌",uw="϶",hw="‵",fw="∽",pw="⋍",gw="∖",mw="⫧",_w="⊽",bw="⌅",yw="⌆",vw="⌅",xw="⎵",ww="⎶",kw="≌",Ew="Б",Cw="б",Aw="„",Sw="∵",Tw="∵",Mw="∵",Ow="⦰",Rw="϶",Dw="ℬ",Nw="ℬ",Lw="Β",Iw="β",Pw="ℶ",Fw="≬",Bw="𝔅",zw="𝔟",$w="⋂",Uw="◯",jw="⋃",qw="⨀",Hw="⨁",Vw="⨂",Gw="⨆",Kw="★",Zw="▽",Ww="△",Yw="⨄",Jw="⋁",Qw="⋀",Xw="⤍",ek="⧫",tk="▪",nk="▴",sk="▾",ok="◂",rk="▸",ik="␣",ak="▒",lk="░",ck="▓",dk="█",uk="=⃥",hk="≡⃥",fk="⫭",pk="⌐",gk="𝔹",mk="𝕓",_k="⊥",bk="⊥",yk="⋈",vk="⧉",xk="┐",wk="╕",kk="╖",Ek="╗",Ck="┌",Ak="╒",Sk="╓",Tk="╔",Mk="─",Ok="═",Rk="┬",Dk="╤",Nk="╥",Lk="╦",Ik="┴",Pk="╧",Fk="╨",Bk="╩",zk="⊟",$k="⊞",Uk="⊠",jk="┘",qk="╛",Hk="╜",Vk="╝",Gk="└",Kk="╘",Zk="╙",Wk="╚",Yk="│",Jk="║",Qk="┼",Xk="╪",e5="╫",t5="╬",n5="┤",s5="╡",o5="╢",r5="╣",i5="├",a5="╞",l5="╟",c5="╠",d5="‵",u5="˘",h5="˘",f5="¦",p5="𝒷",g5="ℬ",m5="⁏",_5="∽",b5="⋍",y5="⧅",v5="\\",x5="⟈",w5="•",k5="•",E5="≎",C5="⪮",A5="≏",S5="≎",T5="≏",M5="Ć",O5="ć",R5="⩄",D5="⩉",N5="⩋",L5="∩",I5="⋒",P5="⩇",F5="⩀",B5="ⅅ",z5="∩︀",$5="⁁",U5="ˇ",j5="ℭ",q5="⩍",H5="Č",V5="č",G5="Ç",K5="ç",Z5="Ĉ",W5="ĉ",Y5="∰",J5="⩌",Q5="⩐",X5="Ċ",eE="ċ",tE="¸",nE="¸",sE="⦲",oE="¢",rE="·",iE="·",aE="𝔠",lE="ℭ",cE="Ч",dE="ч",uE="✓",hE="✓",fE="Χ",pE="χ",gE="ˆ",mE="≗",_E="↺",bE="↻",yE="⊛",vE="⊚",xE="⊝",wE="⊙",kE="®",EE="Ⓢ",CE="⊖",AE="⊕",SE="⊗",TE="○",ME="⧃",OE="≗",RE="⨐",DE="⫯",NE="⧂",LE="∲",IE="”",PE="’",FE="♣",BE="♣",zE=":",$E="∷",UE="⩴",jE="≔",qE="≔",HE=",",VE="@",GE="∁",KE="∘",ZE="∁",WE="ℂ",YE="≅",JE="⩭",QE="≡",XE="∮",e4="∯",t4="∮",n4="𝕔",s4="ℂ",o4="∐",r4="∐",i4="©",a4="©",l4="℗",c4="∳",d4="↵",u4="✗",h4="⨯",f4="𝒞",p4="𝒸",g4="⫏",m4="⫑",_4="⫐",b4="⫒",y4="⋯",v4="⤸",x4="⤵",w4="⋞",k4="⋟",E4="↶",C4="⤽",A4="⩈",S4="⩆",T4="≍",M4="∪",O4="⋓",R4="⩊",D4="⊍",N4="⩅",L4="∪︀",I4="↷",P4="⤼",F4="⋞",B4="⋟",z4="⋎",$4="⋏",U4="¤",j4="↶",q4="↷",H4="⋎",V4="⋏",G4="∲",K4="∱",Z4="⌭",W4="†",Y4="‡",J4="ℸ",Q4="↓",X4="↡",e3="⇓",t3="‐",n3="⫤",s3="⊣",o3="⤏",r3="˝",i3="Ď",a3="ď",l3="Д",c3="д",d3="‡",u3="⇊",h3="ⅅ",f3="ⅆ",p3="⤑",g3="⩷",m3="°",_3="∇",b3="Δ",y3="δ",v3="⦱",x3="⥿",w3="𝔇",k3="𝔡",E3="⥥",C3="⇃",A3="⇂",S3="´",T3="˙",M3="˝",O3="`",R3="˜",D3="⋄",N3="⋄",L3="⋄",I3="♦",P3="♦",F3="¨",B3="ⅆ",z3="ϝ",$3="⋲",U3="÷",j3="÷",q3="⋇",H3="⋇",V3="Ђ",G3="ђ",K3="⌞",Z3="⌍",W3="$",Y3="𝔻",J3="𝕕",Q3="¨",X3="˙",eC="⃜",tC="≐",nC="≑",sC="≐",oC="∸",rC="∔",iC="⊡",aC="⌆",lC="∯",cC="¨",dC="⇓",uC="⇐",hC="⇔",fC="⫤",pC="⟸",gC="⟺",mC="⟹",_C="⇒",bC="⊨",yC="⇑",vC="⇕",xC="∥",wC="⤓",kC="↓",EC="↓",CC="⇓",AC="⇵",SC="̑",TC="⇊",MC="⇃",OC="⇂",RC="⥐",DC="⥞",NC="⥖",LC="↽",IC="⥟",PC="⥗",FC="⇁",BC="↧",zC="⊤",$C="⤐",UC="⌟",jC="⌌",qC="𝒟",HC="𝒹",VC="Ѕ",GC="ѕ",KC="⧶",ZC="Đ",WC="đ",YC="⋱",JC="▿",QC="▾",XC="⇵",e9="⥯",t9="⦦",n9="Џ",s9="џ",o9="⟿",r9="É",i9="é",a9="⩮",l9="Ě",c9="ě",d9="Ê",u9="ê",h9="≖",f9="≕",p9="Э",g9="э",m9="⩷",_9="Ė",b9="ė",y9="≑",v9="ⅇ",x9="≒",w9="𝔈",k9="𝔢",E9="⪚",C9="È",A9="è",S9="⪖",T9="⪘",M9="⪙",O9="∈",R9="⏧",D9="ℓ",N9="⪕",L9="⪗",I9="Ē",P9="ē",F9="∅",B9="∅",z9="◻",$9="∅",U9="▫",j9=" ",q9=" ",H9=" ",V9="Ŋ",G9="ŋ",K9=" ",Z9="Ę",W9="ę",Y9="𝔼",J9="𝕖",Q9="⋕",X9="⧣",e8="⩱",t8="ε",n8="Ε",s8="ε",o8="ϵ",r8="≖",i8="≕",a8="≂",l8="⪖",c8="⪕",d8="⩵",u8="=",h8="≂",f8="≟",p8="⇌",g8="≡",m8="⩸",_8="⧥",b8="⥱",y8="≓",v8="ℯ",x8="ℰ",w8="≐",k8="⩳",E8="≂",C8="Η",A8="η",S8="Ð",T8="ð",M8="Ë",O8="ë",R8="€",D8="!",N8="∃",L8="∃",I8="ℰ",P8="ⅇ",F8="ⅇ",B8="≒",z8="Ф",$8="ф",U8="♀",j8="ffi",q8="ff",H8="ffl",V8="𝔉",G8="𝔣",K8="fi",Z8="◼",W8="▪",Y8="fj",J8="♭",Q8="fl",X8="▱",e6="ƒ",t6="𝔽",n6="𝕗",s6="∀",o6="∀",r6="⋔",i6="⫙",a6="ℱ",l6="⨍",c6="½",d6="⅓",u6="¼",h6="⅕",f6="⅙",p6="⅛",g6="⅔",m6="⅖",_6="¾",b6="⅗",y6="⅜",v6="⅘",x6="⅚",w6="⅝",k6="⅞",E6="⁄",C6="⌢",A6="𝒻",S6="ℱ",T6="ǵ",M6="Γ",O6="γ",R6="Ϝ",D6="ϝ",N6="⪆",L6="Ğ",I6="ğ",P6="Ģ",F6="Ĝ",B6="ĝ",z6="Г",$6="г",U6="Ġ",j6="ġ",q6="≥",H6="≧",V6="⪌",G6="⋛",K6="≥",Z6="≧",W6="⩾",Y6="⪩",J6="⩾",Q6="⪀",X6="⪂",e7="⪄",t7="⋛︀",n7="⪔",s7="𝔊",o7="𝔤",r7="≫",i7="⋙",a7="⋙",l7="ℷ",c7="Ѓ",d7="ѓ",u7="⪥",h7="≷",f7="⪒",p7="⪤",g7="⪊",m7="⪊",_7="⪈",b7="≩",y7="⪈",v7="≩",x7="⋧",w7="𝔾",k7="𝕘",E7="`",C7="≥",A7="⋛",S7="≧",T7="⪢",M7="≷",O7="⩾",R7="≳",D7="𝒢",N7="ℊ",L7="≳",I7="⪎",P7="⪐",F7="⪧",B7="⩺",z7=">",$7=">",U7="≫",j7="⋗",q7="⦕",H7="⩼",V7="⪆",G7="⥸",K7="⋗",Z7="⋛",W7="⪌",Y7="≷",J7="≳",Q7="≩︀",X7="≩︀",eA="ˇ",tA=" ",nA="½",sA="ℋ",oA="Ъ",rA="ъ",iA="⥈",aA="↔",lA="⇔",cA="↭",dA="^",uA="ℏ",hA="Ĥ",fA="ĥ",pA="♥",gA="♥",mA="…",_A="⊹",bA="𝔥",yA="ℌ",vA="ℋ",xA="⤥",wA="⤦",kA="⇿",EA="∻",CA="↩",AA="↪",SA="𝕙",TA="ℍ",MA="―",OA="─",RA="𝒽",DA="ℋ",NA="ℏ",LA="Ħ",IA="ħ",PA="≎",FA="≏",BA="⁃",zA="‐",$A="Í",UA="í",jA="⁣",qA="Î",HA="î",VA="И",GA="и",KA="İ",ZA="Е",WA="е",YA="¡",JA="⇔",QA="𝔦",XA="ℑ",eS="Ì",tS="ì",nS="ⅈ",sS="⨌",oS="∭",rS="⧜",iS="℩",aS="IJ",lS="ij",cS="Ī",dS="ī",uS="ℑ",hS="ⅈ",fS="ℐ",pS="ℑ",gS="ı",mS="ℑ",_S="⊷",bS="Ƶ",yS="⇒",vS="℅",xS="∞",wS="⧝",kS="ı",ES="⊺",CS="∫",AS="∬",SS="ℤ",TS="∫",MS="⊺",OS="⋂",RS="⨗",DS="⨼",NS="⁣",LS="⁢",IS="Ё",PS="ё",FS="Į",BS="į",zS="𝕀",$S="𝕚",US="Ι",jS="ι",qS="⨼",HS="¿",VS="𝒾",GS="ℐ",KS="∈",ZS="⋵",WS="⋹",YS="⋴",JS="⋳",QS="∈",XS="⁢",eT="Ĩ",tT="ĩ",nT="І",sT="і",oT="Ï",rT="ï",iT="Ĵ",aT="ĵ",lT="Й",cT="й",dT="𝔍",uT="𝔧",hT="ȷ",fT="𝕁",pT="𝕛",gT="𝒥",mT="𝒿",_T="Ј",bT="ј",yT="Є",vT="є",xT="Κ",wT="κ",kT="ϰ",ET="Ķ",CT="ķ",AT="К",ST="к",TT="𝔎",MT="𝔨",OT="ĸ",RT="Х",DT="х",NT="Ќ",LT="ќ",IT="𝕂",PT="𝕜",FT="𝒦",BT="𝓀",zT="⇚",$T="Ĺ",UT="ĺ",jT="⦴",qT="ℒ",HT="Λ",VT="λ",GT="⟨",KT="⟪",ZT="⦑",WT="⟨",YT="⪅",JT="ℒ",QT="«",XT="⇤",eM="⤟",tM="←",nM="↞",sM="⇐",oM="⤝",rM="↩",iM="↫",aM="⤹",lM="⥳",cM="↢",dM="⤙",uM="⤛",hM="⪫",fM="⪭",pM="⪭︀",gM="⤌",mM="⤎",_M="❲",bM="{",yM="[",vM="⦋",xM="⦏",wM="⦍",kM="Ľ",EM="ľ",CM="Ļ",AM="ļ",SM="⌈",TM="{",MM="Л",OM="л",RM="⤶",DM="“",NM="„",LM="⥧",IM="⥋",PM="↲",FM="≤",BM="≦",zM="⟨",$M="⇤",UM="←",jM="←",qM="⇐",HM="⇆",VM="↢",GM="⌈",KM="⟦",ZM="⥡",WM="⥙",YM="⇃",JM="⌊",QM="↽",XM="↼",eO="⇇",tO="↔",nO="↔",sO="⇔",oO="⇆",rO="⇋",iO="↭",aO="⥎",lO="↤",cO="⊣",dO="⥚",uO="⋋",hO="⧏",fO="⊲",pO="⊴",gO="⥑",mO="⥠",_O="⥘",bO="↿",yO="⥒",vO="↼",xO="⪋",wO="⋚",kO="≤",EO="≦",CO="⩽",AO="⪨",SO="⩽",TO="⩿",MO="⪁",OO="⪃",RO="⋚︀",DO="⪓",NO="⪅",LO="⋖",IO="⋚",PO="⪋",FO="⋚",BO="≦",zO="≶",$O="≶",UO="⪡",jO="≲",qO="⩽",HO="≲",VO="⥼",GO="⌊",KO="𝔏",ZO="𝔩",WO="≶",YO="⪑",JO="⥢",QO="↽",XO="↼",eR="⥪",tR="▄",nR="Љ",sR="љ",oR="⇇",rR="≪",iR="⋘",aR="⌞",lR="⇚",cR="⥫",dR="◺",uR="Ŀ",hR="ŀ",fR="⎰",pR="⎰",gR="⪉",mR="⪉",_R="⪇",bR="≨",yR="⪇",vR="≨",xR="⋦",wR="⟬",kR="⇽",ER="⟦",CR="⟵",AR="⟵",SR="⟸",TR="⟷",MR="⟷",OR="⟺",RR="⟼",DR="⟶",NR="⟶",LR="⟹",IR="↫",PR="↬",FR="⦅",BR="𝕃",zR="𝕝",$R="⨭",UR="⨴",jR="∗",qR="_",HR="↙",VR="↘",GR="◊",KR="◊",ZR="⧫",WR="(",YR="⦓",JR="⇆",QR="⌟",XR="⇋",eD="⥭",tD="‎",nD="⊿",sD="‹",oD="𝓁",rD="ℒ",iD="↰",aD="↰",lD="≲",cD="⪍",dD="⪏",uD="[",hD="‘",fD="‚",pD="Ł",gD="ł",mD="⪦",_D="⩹",bD="<",yD="<",vD="≪",xD="⋖",wD="⋋",kD="⋉",ED="⥶",CD="⩻",AD="◃",SD="⊴",TD="◂",MD="⦖",OD="⥊",RD="⥦",DD="≨︀",ND="≨︀",LD="¯",ID="♂",PD="✠",FD="✠",BD="↦",zD="↦",$D="↧",UD="↤",jD="↥",qD="▮",HD="⨩",VD="М",GD="м",KD="—",ZD="∺",WD="∡",YD=" ",JD="ℳ",QD="𝔐",XD="𝔪",eN="℧",tN="µ",nN="*",sN="⫰",oN="∣",rN="·",iN="⊟",aN="−",lN="∸",cN="⨪",dN="∓",uN="⫛",hN="…",fN="∓",pN="⊧",gN="𝕄",mN="𝕞",_N="∓",bN="𝓂",yN="ℳ",vN="∾",xN="Μ",wN="μ",kN="⊸",EN="⊸",CN="∇",AN="Ń",SN="ń",TN="∠⃒",MN="≉",ON="⩰̸",RN="≋̸",DN="ʼn",NN="≉",LN="♮",IN="ℕ",PN="♮",FN=" ",BN="≎̸",zN="≏̸",$N="⩃",UN="Ň",jN="ň",qN="Ņ",HN="ņ",VN="≇",GN="⩭̸",KN="⩂",ZN="Н",WN="н",YN="–",JN="⤤",QN="↗",XN="⇗",eL="↗",tL="≠",nL="≐̸",sL="​",oL="​",rL="​",iL="​",aL="≢",lL="⤨",cL="≂̸",dL="≫",uL="≪",hL=` +`,fL="∄",pL="∄",gL="𝔑",mL="𝔫",_L="≧̸",bL="≱",yL="≱",vL="≧̸",xL="⩾̸",wL="⩾̸",kL="⋙̸",EL="≵",CL="≫⃒",AL="≯",SL="≯",TL="≫̸",ML="↮",OL="⇎",RL="⫲",DL="∋",NL="⋼",LL="⋺",IL="∋",PL="Њ",FL="њ",BL="↚",zL="⇍",$L="‥",UL="≦̸",jL="≰",qL="↚",HL="⇍",VL="↮",GL="⇎",KL="≰",ZL="≦̸",WL="⩽̸",YL="⩽̸",JL="≮",QL="⋘̸",XL="≴",eI="≪⃒",tI="≮",nI="⋪",sI="⋬",oI="≪̸",rI="∤",iI="⁠",aI=" ",lI="𝕟",cI="ℕ",dI="⫬",uI="¬",hI="≢",fI="≭",pI="∦",gI="∉",mI="≠",_I="≂̸",bI="∄",yI="≯",vI="≱",xI="≧̸",wI="≫̸",kI="≹",EI="⩾̸",CI="≵",AI="≎̸",SI="≏̸",TI="∉",MI="⋵̸",OI="⋹̸",RI="∉",DI="⋷",NI="⋶",LI="⧏̸",II="⋪",PI="⋬",FI="≮",BI="≰",zI="≸",$I="≪̸",UI="⩽̸",jI="≴",qI="⪢̸",HI="⪡̸",VI="∌",GI="∌",KI="⋾",ZI="⋽",WI="⊀",YI="⪯̸",JI="⋠",QI="∌",XI="⧐̸",eP="⋫",tP="⋭",nP="⊏̸",sP="⋢",oP="⊐̸",rP="⋣",iP="⊂⃒",aP="⊈",lP="⊁",cP="⪰̸",dP="⋡",uP="≿̸",hP="⊃⃒",fP="⊉",pP="≁",gP="≄",mP="≇",_P="≉",bP="∤",yP="∦",vP="∦",xP="⫽⃥",wP="∂̸",kP="⨔",EP="⊀",CP="⋠",AP="⊀",SP="⪯̸",TP="⪯̸",MP="⤳̸",OP="↛",RP="⇏",DP="↝̸",NP="↛",LP="⇏",IP="⋫",PP="⋭",FP="⊁",BP="⋡",zP="⪰̸",$P="𝒩",UP="𝓃",jP="∤",qP="∦",HP="≁",VP="≄",GP="≄",KP="∤",ZP="∦",WP="⋢",YP="⋣",JP="⊄",QP="⫅̸",XP="⊈",eF="⊂⃒",tF="⊈",nF="⫅̸",sF="⊁",oF="⪰̸",rF="⊅",iF="⫆̸",aF="⊉",lF="⊃⃒",cF="⊉",dF="⫆̸",uF="≹",hF="Ñ",fF="ñ",pF="≸",gF="⋪",mF="⋬",_F="⋫",bF="⋭",yF="Ν",vF="ν",xF="#",wF="№",kF=" ",EF="≍⃒",CF="⊬",AF="⊭",SF="⊮",TF="⊯",MF="≥⃒",OF=">⃒",RF="⤄",DF="⧞",NF="⤂",LF="≤⃒",IF="<⃒",PF="⊴⃒",FF="⤃",BF="⊵⃒",zF="∼⃒",$F="⤣",UF="↖",jF="⇖",qF="↖",HF="⤧",VF="Ó",GF="ó",KF="⊛",ZF="Ô",WF="ô",YF="⊚",JF="О",QF="о",XF="⊝",eB="Ő",tB="ő",nB="⨸",sB="⊙",oB="⦼",rB="Œ",iB="œ",aB="⦿",lB="𝔒",cB="𝔬",dB="˛",uB="Ò",hB="ò",fB="⧁",pB="⦵",gB="Ω",mB="∮",_B="↺",bB="⦾",yB="⦻",vB="‾",xB="⧀",wB="Ō",kB="ō",EB="Ω",CB="ω",AB="Ο",SB="ο",TB="⦶",MB="⊖",OB="𝕆",RB="𝕠",DB="⦷",NB="“",LB="‘",IB="⦹",PB="⊕",FB="↻",BB="⩔",zB="∨",$B="⩝",UB="ℴ",jB="ℴ",qB="ª",HB="º",VB="⊶",GB="⩖",KB="⩗",ZB="⩛",WB="Ⓢ",YB="𝒪",JB="ℴ",QB="Ø",XB="ø",ez="⊘",tz="Õ",nz="õ",sz="⨶",oz="⨷",rz="⊗",iz="Ö",az="ö",lz="⌽",cz="‾",dz="⏞",uz="⎴",hz="⏜",fz="¶",pz="∥",gz="∥",mz="⫳",_z="⫽",bz="∂",yz="∂",vz="П",xz="п",wz="%",kz=".",Ez="‰",Cz="⊥",Az="‱",Sz="𝔓",Tz="𝔭",Mz="Φ",Oz="φ",Rz="ϕ",Dz="ℳ",Nz="☎",Lz="Π",Iz="π",Pz="⋔",Fz="ϖ",Bz="ℏ",zz="ℎ",$z="ℏ",Uz="⨣",jz="⊞",qz="⨢",Hz="+",Vz="∔",Gz="⨥",Kz="⩲",Zz="±",Wz="±",Yz="⨦",Jz="⨧",Qz="±",Xz="ℌ",e$="⨕",t$="𝕡",n$="ℙ",s$="£",o$="⪷",r$="⪻",i$="≺",a$="≼",l$="⪷",c$="≺",d$="≼",u$="≺",h$="⪯",f$="≼",p$="≾",g$="⪯",m$="⪹",_$="⪵",b$="⋨",y$="⪯",v$="⪳",x$="≾",w$="′",k$="″",E$="ℙ",C$="⪹",A$="⪵",S$="⋨",T$="∏",M$="∏",O$="⌮",R$="⌒",D$="⌓",N$="∝",L$="∝",I$="∷",P$="∝",F$="≾",B$="⊰",z$="𝒫",$$="𝓅",U$="Ψ",j$="ψ",q$=" ",H$="𝔔",V$="𝔮",G$="⨌",K$="𝕢",Z$="ℚ",W$="⁗",Y$="𝒬",J$="𝓆",Q$="ℍ",X$="⨖",eU="?",tU="≟",nU='"',sU='"',oU="⇛",rU="∽̱",iU="Ŕ",aU="ŕ",lU="√",cU="⦳",dU="⟩",uU="⟫",hU="⦒",fU="⦥",pU="⟩",gU="»",mU="⥵",_U="⇥",bU="⤠",yU="⤳",vU="→",xU="↠",wU="⇒",kU="⤞",EU="↪",CU="↬",AU="⥅",SU="⥴",TU="⤖",MU="↣",OU="↝",RU="⤚",DU="⤜",NU="∶",LU="ℚ",IU="⤍",PU="⤏",FU="⤐",BU="❳",zU="}",$U="]",UU="⦌",jU="⦎",qU="⦐",HU="Ř",VU="ř",GU="Ŗ",KU="ŗ",ZU="⌉",WU="}",YU="Р",JU="р",QU="⤷",XU="⥩",ej="”",tj="”",nj="↳",sj="ℜ",oj="ℛ",rj="ℜ",ij="ℝ",aj="ℜ",lj="▭",cj="®",dj="®",uj="∋",hj="⇋",fj="⥯",pj="⥽",gj="⌋",mj="𝔯",_j="ℜ",bj="⥤",yj="⇁",vj="⇀",xj="⥬",wj="Ρ",kj="ρ",Ej="ϱ",Cj="⟩",Aj="⇥",Sj="→",Tj="→",Mj="⇒",Oj="⇄",Rj="↣",Dj="⌉",Nj="⟧",Lj="⥝",Ij="⥕",Pj="⇂",Fj="⌋",Bj="⇁",zj="⇀",$j="⇄",Uj="⇌",jj="⇉",qj="↝",Hj="↦",Vj="⊢",Gj="⥛",Kj="⋌",Zj="⧐",Wj="⊳",Yj="⊵",Jj="⥏",Qj="⥜",Xj="⥔",eq="↾",tq="⥓",nq="⇀",sq="˚",oq="≓",rq="⇄",iq="⇌",aq="‏",lq="⎱",cq="⎱",dq="⫮",uq="⟭",hq="⇾",fq="⟧",pq="⦆",gq="𝕣",mq="ℝ",_q="⨮",bq="⨵",yq="⥰",vq=")",xq="⦔",wq="⨒",kq="⇉",Eq="⇛",Cq="›",Aq="𝓇",Sq="ℛ",Tq="↱",Mq="↱",Oq="]",Rq="’",Dq="’",Nq="⋌",Lq="⋊",Iq="▹",Pq="⊵",Fq="▸",Bq="⧎",zq="⧴",$q="⥨",Uq="℞",jq="Ś",qq="ś",Hq="‚",Vq="⪸",Gq="Š",Kq="š",Zq="⪼",Wq="≻",Yq="≽",Jq="⪰",Qq="⪴",Xq="Ş",eH="ş",tH="Ŝ",nH="ŝ",sH="⪺",oH="⪶",rH="⋩",iH="⨓",aH="≿",lH="С",cH="с",dH="⊡",uH="⋅",hH="⩦",fH="⤥",pH="↘",gH="⇘",mH="↘",_H="§",bH=";",yH="⤩",vH="∖",xH="∖",wH="✶",kH="𝔖",EH="𝔰",CH="⌢",AH="♯",SH="Щ",TH="щ",MH="Ш",OH="ш",RH="↓",DH="←",NH="∣",LH="∥",IH="→",PH="↑",FH="­",BH="Σ",zH="σ",$H="ς",UH="ς",jH="∼",qH="⩪",HH="≃",VH="≃",GH="⪞",KH="⪠",ZH="⪝",WH="⪟",YH="≆",JH="⨤",QH="⥲",XH="←",eV="∘",tV="∖",nV="⨳",sV="⧤",oV="∣",rV="⌣",iV="⪪",aV="⪬",lV="⪬︀",cV="Ь",dV="ь",uV="⌿",hV="⧄",fV="/",pV="𝕊",gV="𝕤",mV="♠",_V="♠",bV="∥",yV="⊓",vV="⊓︀",xV="⊔",wV="⊔︀",kV="√",EV="⊏",CV="⊑",AV="⊏",SV="⊑",TV="⊐",MV="⊒",OV="⊐",RV="⊒",DV="□",NV="□",LV="⊓",IV="⊏",PV="⊑",FV="⊐",BV="⊒",zV="⊔",$V="▪",UV="□",jV="▪",qV="→",HV="𝒮",VV="𝓈",GV="∖",KV="⌣",ZV="⋆",WV="⋆",YV="☆",JV="★",QV="ϵ",XV="ϕ",eG="¯",tG="⊂",nG="⋐",sG="⪽",oG="⫅",rG="⊆",iG="⫃",aG="⫁",lG="⫋",cG="⊊",dG="⪿",uG="⥹",hG="⊂",fG="⋐",pG="⊆",gG="⫅",mG="⊆",_G="⊊",bG="⫋",yG="⫇",vG="⫕",xG="⫓",wG="⪸",kG="≻",EG="≽",CG="≻",AG="⪰",SG="≽",TG="≿",MG="⪰",OG="⪺",RG="⪶",DG="⋩",NG="≿",LG="∋",IG="∑",PG="∑",FG="♪",BG="¹",zG="²",$G="³",UG="⊃",jG="⋑",qG="⪾",HG="⫘",VG="⫆",GG="⊇",KG="⫄",ZG="⊃",WG="⊇",YG="⟉",JG="⫗",QG="⥻",XG="⫂",eK="⫌",tK="⊋",nK="⫀",sK="⊃",oK="⋑",rK="⊇",iK="⫆",aK="⊋",lK="⫌",cK="⫈",dK="⫔",uK="⫖",hK="⤦",fK="↙",pK="⇙",gK="↙",mK="⤪",_K="ß",bK=" ",yK="⌖",vK="Τ",xK="τ",wK="⎴",kK="Ť",EK="ť",CK="Ţ",AK="ţ",SK="Т",TK="т",MK="⃛",OK="⌕",RK="𝔗",DK="𝔱",NK="∴",LK="∴",IK="∴",PK="Θ",FK="θ",BK="ϑ",zK="ϑ",$K="≈",UK="∼",jK="  ",qK=" ",HK=" ",VK="≈",GK="∼",KK="Þ",ZK="þ",WK="˜",YK="∼",JK="≃",QK="≅",XK="≈",eZ="⨱",tZ="⊠",nZ="×",sZ="⨰",oZ="∭",rZ="⤨",iZ="⌶",aZ="⫱",lZ="⊤",cZ="𝕋",dZ="𝕥",uZ="⫚",hZ="⤩",fZ="‴",pZ="™",gZ="™",mZ="▵",_Z="▿",bZ="◃",yZ="⊴",vZ="≜",xZ="▹",wZ="⊵",kZ="◬",EZ="≜",CZ="⨺",AZ="⃛",SZ="⨹",TZ="⧍",MZ="⨻",OZ="⏢",RZ="𝒯",DZ="𝓉",NZ="Ц",LZ="ц",IZ="Ћ",PZ="ћ",FZ="Ŧ",BZ="ŧ",zZ="≬",$Z="↞",UZ="↠",jZ="Ú",qZ="ú",HZ="↑",VZ="↟",GZ="⇑",KZ="⥉",ZZ="Ў",WZ="ў",YZ="Ŭ",JZ="ŭ",QZ="Û",XZ="û",eW="У",tW="у",nW="⇅",sW="Ű",oW="ű",rW="⥮",iW="⥾",aW="𝔘",lW="𝔲",cW="Ù",dW="ù",uW="⥣",hW="↿",fW="↾",pW="▀",gW="⌜",mW="⌜",_W="⌏",bW="◸",yW="Ū",vW="ū",xW="¨",wW="_",kW="⏟",EW="⎵",CW="⏝",AW="⋃",SW="⊎",TW="Ų",MW="ų",OW="𝕌",RW="𝕦",DW="⤒",NW="↑",LW="↑",IW="⇑",PW="⇅",FW="↕",BW="↕",zW="⇕",$W="⥮",UW="↿",jW="↾",qW="⊎",HW="↖",VW="↗",GW="υ",KW="ϒ",ZW="ϒ",WW="Υ",YW="υ",JW="↥",QW="⊥",XW="⇈",eY="⌝",tY="⌝",nY="⌎",sY="Ů",oY="ů",rY="◹",iY="𝒰",aY="𝓊",lY="⋰",cY="Ũ",dY="ũ",uY="▵",hY="▴",fY="⇈",pY="Ü",gY="ü",mY="⦧",_Y="⦜",bY="ϵ",yY="ϰ",vY="∅",xY="ϕ",wY="ϖ",kY="∝",EY="↕",CY="⇕",AY="ϱ",SY="ς",TY="⊊︀",MY="⫋︀",OY="⊋︀",RY="⫌︀",DY="ϑ",NY="⊲",LY="⊳",IY="⫨",PY="⫫",FY="⫩",BY="В",zY="в",$Y="⊢",UY="⊨",jY="⊩",qY="⊫",HY="⫦",VY="⊻",GY="∨",KY="⋁",ZY="≚",WY="⋮",YY="|",JY="‖",QY="|",XY="‖",eJ="∣",tJ="|",nJ="❘",sJ="≀",oJ=" ",rJ="𝔙",iJ="𝔳",aJ="⊲",lJ="⊂⃒",cJ="⊃⃒",dJ="𝕍",uJ="𝕧",hJ="∝",fJ="⊳",pJ="𝒱",gJ="𝓋",mJ="⫋︀",_J="⊊︀",bJ="⫌︀",yJ="⊋︀",vJ="⊪",xJ="⦚",wJ="Ŵ",kJ="ŵ",EJ="⩟",CJ="∧",AJ="⋀",SJ="≙",TJ="℘",MJ="𝔚",OJ="𝔴",RJ="𝕎",DJ="𝕨",NJ="℘",LJ="≀",IJ="≀",PJ="𝒲",FJ="𝓌",BJ="⋂",zJ="◯",$J="⋃",UJ="▽",jJ="𝔛",qJ="𝔵",HJ="⟷",VJ="⟺",GJ="Ξ",KJ="ξ",ZJ="⟵",WJ="⟸",YJ="⟼",JJ="⋻",QJ="⨀",XJ="𝕏",eQ="𝕩",tQ="⨁",nQ="⨂",sQ="⟶",oQ="⟹",rQ="𝒳",iQ="𝓍",aQ="⨆",lQ="⨄",cQ="△",dQ="⋁",uQ="⋀",hQ="Ý",fQ="ý",pQ="Я",gQ="я",mQ="Ŷ",_Q="ŷ",bQ="Ы",yQ="ы",vQ="¥",xQ="𝔜",wQ="𝔶",kQ="Ї",EQ="ї",CQ="𝕐",AQ="𝕪",SQ="𝒴",TQ="𝓎",MQ="Ю",OQ="ю",RQ="ÿ",DQ="Ÿ",NQ="Ź",LQ="ź",IQ="Ž",PQ="ž",FQ="З",BQ="з",zQ="Ż",$Q="ż",UQ="ℨ",jQ="​",qQ="Ζ",HQ="ζ",VQ="𝔷",GQ="ℨ",KQ="Ж",ZQ="ж",WQ="⇝",YQ="𝕫",JQ="ℤ",QQ="𝒵",XQ="𝓏",eX="‍",tX="‌",nX={Aacute:zv,aacute:$v,Abreve:Uv,abreve:jv,ac:qv,acd:Hv,acE:Vv,Acirc:Gv,acirc:Kv,acute:Zv,Acy:Wv,acy:Yv,AElig:Jv,aelig:Qv,af:Xv,Afr:ex,afr:tx,Agrave:nx,agrave:sx,alefsym:ox,aleph:rx,Alpha:ix,alpha:ax,Amacr:lx,amacr:cx,amalg:dx,amp:ux,AMP:hx,andand:fx,And:px,and:gx,andd:mx,andslope:_x,andv:bx,ang:yx,ange:vx,angle:xx,angmsdaa:wx,angmsdab:kx,angmsdac:Ex,angmsdad:Cx,angmsdae:Ax,angmsdaf:Sx,angmsdag:Tx,angmsdah:Mx,angmsd:Ox,angrt:Rx,angrtvb:Dx,angrtvbd:Nx,angsph:Lx,angst:Ix,angzarr:Px,Aogon:Fx,aogon:Bx,Aopf:zx,aopf:$x,apacir:Ux,ap:jx,apE:qx,ape:Hx,apid:Vx,apos:Gx,ApplyFunction:Kx,approx:Zx,approxeq:Wx,Aring:Yx,aring:Jx,Ascr:Qx,ascr:Xx,Assign:ew,ast:tw,asymp:nw,asympeq:sw,Atilde:ow,atilde:rw,Auml:iw,auml:aw,awconint:lw,awint:cw,backcong:dw,backepsilon:uw,backprime:hw,backsim:fw,backsimeq:pw,Backslash:gw,Barv:mw,barvee:_w,barwed:bw,Barwed:yw,barwedge:vw,bbrk:xw,bbrktbrk:ww,bcong:kw,Bcy:Ew,bcy:Cw,bdquo:Aw,becaus:Sw,because:Tw,Because:Mw,bemptyv:Ow,bepsi:Rw,bernou:Dw,Bernoullis:Nw,Beta:Lw,beta:Iw,beth:Pw,between:Fw,Bfr:Bw,bfr:zw,bigcap:$w,bigcirc:Uw,bigcup:jw,bigodot:qw,bigoplus:Hw,bigotimes:Vw,bigsqcup:Gw,bigstar:Kw,bigtriangledown:Zw,bigtriangleup:Ww,biguplus:Yw,bigvee:Jw,bigwedge:Qw,bkarow:Xw,blacklozenge:ek,blacksquare:tk,blacktriangle:nk,blacktriangledown:sk,blacktriangleleft:ok,blacktriangleright:rk,blank:ik,blk12:ak,blk14:lk,blk34:ck,block:dk,bne:uk,bnequiv:hk,bNot:fk,bnot:pk,Bopf:gk,bopf:mk,bot:_k,bottom:bk,bowtie:yk,boxbox:vk,boxdl:xk,boxdL:wk,boxDl:kk,boxDL:Ek,boxdr:Ck,boxdR:Ak,boxDr:Sk,boxDR:Tk,boxh:Mk,boxH:Ok,boxhd:Rk,boxHd:Dk,boxhD:Nk,boxHD:Lk,boxhu:Ik,boxHu:Pk,boxhU:Fk,boxHU:Bk,boxminus:zk,boxplus:$k,boxtimes:Uk,boxul:jk,boxuL:qk,boxUl:Hk,boxUL:Vk,boxur:Gk,boxuR:Kk,boxUr:Zk,boxUR:Wk,boxv:Yk,boxV:Jk,boxvh:Qk,boxvH:Xk,boxVh:e5,boxVH:t5,boxvl:n5,boxvL:s5,boxVl:o5,boxVL:r5,boxvr:i5,boxvR:a5,boxVr:l5,boxVR:c5,bprime:d5,breve:u5,Breve:h5,brvbar:f5,bscr:p5,Bscr:g5,bsemi:m5,bsim:_5,bsime:b5,bsolb:y5,bsol:v5,bsolhsub:x5,bull:w5,bullet:k5,bump:E5,bumpE:C5,bumpe:A5,Bumpeq:S5,bumpeq:T5,Cacute:M5,cacute:O5,capand:R5,capbrcup:D5,capcap:N5,cap:L5,Cap:I5,capcup:P5,capdot:F5,CapitalDifferentialD:B5,caps:z5,caret:$5,caron:U5,Cayleys:j5,ccaps:q5,Ccaron:H5,ccaron:V5,Ccedil:G5,ccedil:K5,Ccirc:Z5,ccirc:W5,Cconint:Y5,ccups:J5,ccupssm:Q5,Cdot:X5,cdot:eE,cedil:tE,Cedilla:nE,cemptyv:sE,cent:oE,centerdot:rE,CenterDot:iE,cfr:aE,Cfr:lE,CHcy:cE,chcy:dE,check:uE,checkmark:hE,Chi:fE,chi:pE,circ:gE,circeq:mE,circlearrowleft:_E,circlearrowright:bE,circledast:yE,circledcirc:vE,circleddash:xE,CircleDot:wE,circledR:kE,circledS:EE,CircleMinus:CE,CirclePlus:AE,CircleTimes:SE,cir:TE,cirE:ME,cire:OE,cirfnint:RE,cirmid:DE,cirscir:NE,ClockwiseContourIntegral:LE,CloseCurlyDoubleQuote:IE,CloseCurlyQuote:PE,clubs:FE,clubsuit:BE,colon:zE,Colon:$E,Colone:UE,colone:jE,coloneq:qE,comma:HE,commat:VE,comp:GE,compfn:KE,complement:ZE,complexes:WE,cong:YE,congdot:JE,Congruent:QE,conint:XE,Conint:e4,ContourIntegral:t4,copf:n4,Copf:s4,coprod:o4,Coproduct:r4,copy:i4,COPY:a4,copysr:l4,CounterClockwiseContourIntegral:c4,crarr:d4,cross:u4,Cross:h4,Cscr:f4,cscr:p4,csub:g4,csube:m4,csup:_4,csupe:b4,ctdot:y4,cudarrl:v4,cudarrr:x4,cuepr:w4,cuesc:k4,cularr:E4,cularrp:C4,cupbrcap:A4,cupcap:S4,CupCap:T4,cup:M4,Cup:O4,cupcup:R4,cupdot:D4,cupor:N4,cups:L4,curarr:I4,curarrm:P4,curlyeqprec:F4,curlyeqsucc:B4,curlyvee:z4,curlywedge:$4,curren:U4,curvearrowleft:j4,curvearrowright:q4,cuvee:H4,cuwed:V4,cwconint:G4,cwint:K4,cylcty:Z4,dagger:W4,Dagger:Y4,daleth:J4,darr:Q4,Darr:X4,dArr:e3,dash:t3,Dashv:n3,dashv:s3,dbkarow:o3,dblac:r3,Dcaron:i3,dcaron:a3,Dcy:l3,dcy:c3,ddagger:d3,ddarr:u3,DD:h3,dd:f3,DDotrahd:p3,ddotseq:g3,deg:m3,Del:_3,Delta:b3,delta:y3,demptyv:v3,dfisht:x3,Dfr:w3,dfr:k3,dHar:E3,dharl:C3,dharr:A3,DiacriticalAcute:S3,DiacriticalDot:T3,DiacriticalDoubleAcute:M3,DiacriticalGrave:O3,DiacriticalTilde:R3,diam:D3,diamond:N3,Diamond:L3,diamondsuit:I3,diams:P3,die:F3,DifferentialD:B3,digamma:z3,disin:$3,div:U3,divide:j3,divideontimes:q3,divonx:H3,DJcy:V3,djcy:G3,dlcorn:K3,dlcrop:Z3,dollar:W3,Dopf:Y3,dopf:J3,Dot:Q3,dot:X3,DotDot:eC,doteq:tC,doteqdot:nC,DotEqual:sC,dotminus:oC,dotplus:rC,dotsquare:iC,doublebarwedge:aC,DoubleContourIntegral:lC,DoubleDot:cC,DoubleDownArrow:dC,DoubleLeftArrow:uC,DoubleLeftRightArrow:hC,DoubleLeftTee:fC,DoubleLongLeftArrow:pC,DoubleLongLeftRightArrow:gC,DoubleLongRightArrow:mC,DoubleRightArrow:_C,DoubleRightTee:bC,DoubleUpArrow:yC,DoubleUpDownArrow:vC,DoubleVerticalBar:xC,DownArrowBar:wC,downarrow:kC,DownArrow:EC,Downarrow:CC,DownArrowUpArrow:AC,DownBreve:SC,downdownarrows:TC,downharpoonleft:MC,downharpoonright:OC,DownLeftRightVector:RC,DownLeftTeeVector:DC,DownLeftVectorBar:NC,DownLeftVector:LC,DownRightTeeVector:IC,DownRightVectorBar:PC,DownRightVector:FC,DownTeeArrow:BC,DownTee:zC,drbkarow:$C,drcorn:UC,drcrop:jC,Dscr:qC,dscr:HC,DScy:VC,dscy:GC,dsol:KC,Dstrok:ZC,dstrok:WC,dtdot:YC,dtri:JC,dtrif:QC,duarr:XC,duhar:e9,dwangle:t9,DZcy:n9,dzcy:s9,dzigrarr:o9,Eacute:r9,eacute:i9,easter:a9,Ecaron:l9,ecaron:c9,Ecirc:d9,ecirc:u9,ecir:h9,ecolon:f9,Ecy:p9,ecy:g9,eDDot:m9,Edot:_9,edot:b9,eDot:y9,ee:v9,efDot:x9,Efr:w9,efr:k9,eg:E9,Egrave:C9,egrave:A9,egs:S9,egsdot:T9,el:M9,Element:O9,elinters:R9,ell:D9,els:N9,elsdot:L9,Emacr:I9,emacr:P9,empty:F9,emptyset:B9,EmptySmallSquare:z9,emptyv:$9,EmptyVerySmallSquare:U9,emsp13:j9,emsp14:q9,emsp:H9,ENG:V9,eng:G9,ensp:K9,Eogon:Z9,eogon:W9,Eopf:Y9,eopf:J9,epar:Q9,eparsl:X9,eplus:e8,epsi:t8,Epsilon:n8,epsilon:s8,epsiv:o8,eqcirc:r8,eqcolon:i8,eqsim:a8,eqslantgtr:l8,eqslantless:c8,Equal:d8,equals:u8,EqualTilde:h8,equest:f8,Equilibrium:p8,equiv:g8,equivDD:m8,eqvparsl:_8,erarr:b8,erDot:y8,escr:v8,Escr:x8,esdot:w8,Esim:k8,esim:E8,Eta:C8,eta:A8,ETH:S8,eth:T8,Euml:M8,euml:O8,euro:R8,excl:D8,exist:N8,Exists:L8,expectation:I8,exponentiale:P8,ExponentialE:F8,fallingdotseq:B8,Fcy:z8,fcy:$8,female:U8,ffilig:j8,fflig:q8,ffllig:H8,Ffr:V8,ffr:G8,filig:K8,FilledSmallSquare:Z8,FilledVerySmallSquare:W8,fjlig:Y8,flat:J8,fllig:Q8,fltns:X8,fnof:e6,Fopf:t6,fopf:n6,forall:s6,ForAll:o6,fork:r6,forkv:i6,Fouriertrf:a6,fpartint:l6,frac12:c6,frac13:d6,frac14:u6,frac15:h6,frac16:f6,frac18:p6,frac23:g6,frac25:m6,frac34:_6,frac35:b6,frac38:y6,frac45:v6,frac56:x6,frac58:w6,frac78:k6,frasl:E6,frown:C6,fscr:A6,Fscr:S6,gacute:T6,Gamma:M6,gamma:O6,Gammad:R6,gammad:D6,gap:N6,Gbreve:L6,gbreve:I6,Gcedil:P6,Gcirc:F6,gcirc:B6,Gcy:z6,gcy:$6,Gdot:U6,gdot:j6,ge:q6,gE:H6,gEl:V6,gel:G6,geq:K6,geqq:Z6,geqslant:W6,gescc:Y6,ges:J6,gesdot:Q6,gesdoto:X6,gesdotol:e7,gesl:t7,gesles:n7,Gfr:s7,gfr:o7,gg:r7,Gg:i7,ggg:a7,gimel:l7,GJcy:c7,gjcy:d7,gla:u7,gl:h7,glE:f7,glj:p7,gnap:g7,gnapprox:m7,gne:_7,gnE:b7,gneq:y7,gneqq:v7,gnsim:x7,Gopf:w7,gopf:k7,grave:E7,GreaterEqual:C7,GreaterEqualLess:A7,GreaterFullEqual:S7,GreaterGreater:T7,GreaterLess:M7,GreaterSlantEqual:O7,GreaterTilde:R7,Gscr:D7,gscr:N7,gsim:L7,gsime:I7,gsiml:P7,gtcc:F7,gtcir:B7,gt:z7,GT:$7,Gt:U7,gtdot:j7,gtlPar:q7,gtquest:H7,gtrapprox:V7,gtrarr:G7,gtrdot:K7,gtreqless:Z7,gtreqqless:W7,gtrless:Y7,gtrsim:J7,gvertneqq:Q7,gvnE:X7,Hacek:eA,hairsp:tA,half:nA,hamilt:sA,HARDcy:oA,hardcy:rA,harrcir:iA,harr:aA,hArr:lA,harrw:cA,Hat:dA,hbar:uA,Hcirc:hA,hcirc:fA,hearts:pA,heartsuit:gA,hellip:mA,hercon:_A,hfr:bA,Hfr:yA,HilbertSpace:vA,hksearow:xA,hkswarow:wA,hoarr:kA,homtht:EA,hookleftarrow:CA,hookrightarrow:AA,hopf:SA,Hopf:TA,horbar:MA,HorizontalLine:OA,hscr:RA,Hscr:DA,hslash:NA,Hstrok:LA,hstrok:IA,HumpDownHump:PA,HumpEqual:FA,hybull:BA,hyphen:zA,Iacute:$A,iacute:UA,ic:jA,Icirc:qA,icirc:HA,Icy:VA,icy:GA,Idot:KA,IEcy:ZA,iecy:WA,iexcl:YA,iff:JA,ifr:QA,Ifr:XA,Igrave:eS,igrave:tS,ii:nS,iiiint:sS,iiint:oS,iinfin:rS,iiota:iS,IJlig:aS,ijlig:lS,Imacr:cS,imacr:dS,image:uS,ImaginaryI:hS,imagline:fS,imagpart:pS,imath:gS,Im:mS,imof:_S,imped:bS,Implies:yS,incare:vS,in:"∈",infin:xS,infintie:wS,inodot:kS,intcal:ES,int:CS,Int:AS,integers:SS,Integral:TS,intercal:MS,Intersection:OS,intlarhk:RS,intprod:DS,InvisibleComma:NS,InvisibleTimes:LS,IOcy:IS,iocy:PS,Iogon:FS,iogon:BS,Iopf:zS,iopf:$S,Iota:US,iota:jS,iprod:qS,iquest:HS,iscr:VS,Iscr:GS,isin:KS,isindot:ZS,isinE:WS,isins:YS,isinsv:JS,isinv:QS,it:XS,Itilde:eT,itilde:tT,Iukcy:nT,iukcy:sT,Iuml:oT,iuml:rT,Jcirc:iT,jcirc:aT,Jcy:lT,jcy:cT,Jfr:dT,jfr:uT,jmath:hT,Jopf:fT,jopf:pT,Jscr:gT,jscr:mT,Jsercy:_T,jsercy:bT,Jukcy:yT,jukcy:vT,Kappa:xT,kappa:wT,kappav:kT,Kcedil:ET,kcedil:CT,Kcy:AT,kcy:ST,Kfr:TT,kfr:MT,kgreen:OT,KHcy:RT,khcy:DT,KJcy:NT,kjcy:LT,Kopf:IT,kopf:PT,Kscr:FT,kscr:BT,lAarr:zT,Lacute:$T,lacute:UT,laemptyv:jT,lagran:qT,Lambda:HT,lambda:VT,lang:GT,Lang:KT,langd:ZT,langle:WT,lap:YT,Laplacetrf:JT,laquo:QT,larrb:XT,larrbfs:eM,larr:tM,Larr:nM,lArr:sM,larrfs:oM,larrhk:rM,larrlp:iM,larrpl:aM,larrsim:lM,larrtl:cM,latail:dM,lAtail:uM,lat:hM,late:fM,lates:pM,lbarr:gM,lBarr:mM,lbbrk:_M,lbrace:bM,lbrack:yM,lbrke:vM,lbrksld:xM,lbrkslu:wM,Lcaron:kM,lcaron:EM,Lcedil:CM,lcedil:AM,lceil:SM,lcub:TM,Lcy:MM,lcy:OM,ldca:RM,ldquo:DM,ldquor:NM,ldrdhar:LM,ldrushar:IM,ldsh:PM,le:FM,lE:BM,LeftAngleBracket:zM,LeftArrowBar:$M,leftarrow:UM,LeftArrow:jM,Leftarrow:qM,LeftArrowRightArrow:HM,leftarrowtail:VM,LeftCeiling:GM,LeftDoubleBracket:KM,LeftDownTeeVector:ZM,LeftDownVectorBar:WM,LeftDownVector:YM,LeftFloor:JM,leftharpoondown:QM,leftharpoonup:XM,leftleftarrows:eO,leftrightarrow:tO,LeftRightArrow:nO,Leftrightarrow:sO,leftrightarrows:oO,leftrightharpoons:rO,leftrightsquigarrow:iO,LeftRightVector:aO,LeftTeeArrow:lO,LeftTee:cO,LeftTeeVector:dO,leftthreetimes:uO,LeftTriangleBar:hO,LeftTriangle:fO,LeftTriangleEqual:pO,LeftUpDownVector:gO,LeftUpTeeVector:mO,LeftUpVectorBar:_O,LeftUpVector:bO,LeftVectorBar:yO,LeftVector:vO,lEg:xO,leg:wO,leq:kO,leqq:EO,leqslant:CO,lescc:AO,les:SO,lesdot:TO,lesdoto:MO,lesdotor:OO,lesg:RO,lesges:DO,lessapprox:NO,lessdot:LO,lesseqgtr:IO,lesseqqgtr:PO,LessEqualGreater:FO,LessFullEqual:BO,LessGreater:zO,lessgtr:$O,LessLess:UO,lesssim:jO,LessSlantEqual:qO,LessTilde:HO,lfisht:VO,lfloor:GO,Lfr:KO,lfr:ZO,lg:WO,lgE:YO,lHar:JO,lhard:QO,lharu:XO,lharul:eR,lhblk:tR,LJcy:nR,ljcy:sR,llarr:oR,ll:rR,Ll:iR,llcorner:aR,Lleftarrow:lR,llhard:cR,lltri:dR,Lmidot:uR,lmidot:hR,lmoustache:fR,lmoust:pR,lnap:gR,lnapprox:mR,lne:_R,lnE:bR,lneq:yR,lneqq:vR,lnsim:xR,loang:wR,loarr:kR,lobrk:ER,longleftarrow:CR,LongLeftArrow:AR,Longleftarrow:SR,longleftrightarrow:TR,LongLeftRightArrow:MR,Longleftrightarrow:OR,longmapsto:RR,longrightarrow:DR,LongRightArrow:NR,Longrightarrow:LR,looparrowleft:IR,looparrowright:PR,lopar:FR,Lopf:BR,lopf:zR,loplus:$R,lotimes:UR,lowast:jR,lowbar:qR,LowerLeftArrow:HR,LowerRightArrow:VR,loz:GR,lozenge:KR,lozf:ZR,lpar:WR,lparlt:YR,lrarr:JR,lrcorner:QR,lrhar:XR,lrhard:eD,lrm:tD,lrtri:nD,lsaquo:sD,lscr:oD,Lscr:rD,lsh:iD,Lsh:aD,lsim:lD,lsime:cD,lsimg:dD,lsqb:uD,lsquo:hD,lsquor:fD,Lstrok:pD,lstrok:gD,ltcc:mD,ltcir:_D,lt:bD,LT:yD,Lt:vD,ltdot:xD,lthree:wD,ltimes:kD,ltlarr:ED,ltquest:CD,ltri:AD,ltrie:SD,ltrif:TD,ltrPar:MD,lurdshar:OD,luruhar:RD,lvertneqq:DD,lvnE:ND,macr:LD,male:ID,malt:PD,maltese:FD,Map:"⤅",map:BD,mapsto:zD,mapstodown:$D,mapstoleft:UD,mapstoup:jD,marker:qD,mcomma:HD,Mcy:VD,mcy:GD,mdash:KD,mDDot:ZD,measuredangle:WD,MediumSpace:YD,Mellintrf:JD,Mfr:QD,mfr:XD,mho:eN,micro:tN,midast:nN,midcir:sN,mid:oN,middot:rN,minusb:iN,minus:aN,minusd:lN,minusdu:cN,MinusPlus:dN,mlcp:uN,mldr:hN,mnplus:fN,models:pN,Mopf:gN,mopf:mN,mp:_N,mscr:bN,Mscr:yN,mstpos:vN,Mu:xN,mu:wN,multimap:kN,mumap:EN,nabla:CN,Nacute:AN,nacute:SN,nang:TN,nap:MN,napE:ON,napid:RN,napos:DN,napprox:NN,natural:LN,naturals:IN,natur:PN,nbsp:FN,nbump:BN,nbumpe:zN,ncap:$N,Ncaron:UN,ncaron:jN,Ncedil:qN,ncedil:HN,ncong:VN,ncongdot:GN,ncup:KN,Ncy:ZN,ncy:WN,ndash:YN,nearhk:JN,nearr:QN,neArr:XN,nearrow:eL,ne:tL,nedot:nL,NegativeMediumSpace:sL,NegativeThickSpace:oL,NegativeThinSpace:rL,NegativeVeryThinSpace:iL,nequiv:aL,nesear:lL,nesim:cL,NestedGreaterGreater:dL,NestedLessLess:uL,NewLine:hL,nexist:fL,nexists:pL,Nfr:gL,nfr:mL,ngE:_L,nge:bL,ngeq:yL,ngeqq:vL,ngeqslant:xL,nges:wL,nGg:kL,ngsim:EL,nGt:CL,ngt:AL,ngtr:SL,nGtv:TL,nharr:ML,nhArr:OL,nhpar:RL,ni:DL,nis:NL,nisd:LL,niv:IL,NJcy:PL,njcy:FL,nlarr:BL,nlArr:zL,nldr:$L,nlE:UL,nle:jL,nleftarrow:qL,nLeftarrow:HL,nleftrightarrow:VL,nLeftrightarrow:GL,nleq:KL,nleqq:ZL,nleqslant:WL,nles:YL,nless:JL,nLl:QL,nlsim:XL,nLt:eI,nlt:tI,nltri:nI,nltrie:sI,nLtv:oI,nmid:rI,NoBreak:iI,NonBreakingSpace:aI,nopf:lI,Nopf:cI,Not:dI,not:uI,NotCongruent:hI,NotCupCap:fI,NotDoubleVerticalBar:pI,NotElement:gI,NotEqual:mI,NotEqualTilde:_I,NotExists:bI,NotGreater:yI,NotGreaterEqual:vI,NotGreaterFullEqual:xI,NotGreaterGreater:wI,NotGreaterLess:kI,NotGreaterSlantEqual:EI,NotGreaterTilde:CI,NotHumpDownHump:AI,NotHumpEqual:SI,notin:TI,notindot:MI,notinE:OI,notinva:RI,notinvb:DI,notinvc:NI,NotLeftTriangleBar:LI,NotLeftTriangle:II,NotLeftTriangleEqual:PI,NotLess:FI,NotLessEqual:BI,NotLessGreater:zI,NotLessLess:$I,NotLessSlantEqual:UI,NotLessTilde:jI,NotNestedGreaterGreater:qI,NotNestedLessLess:HI,notni:VI,notniva:GI,notnivb:KI,notnivc:ZI,NotPrecedes:WI,NotPrecedesEqual:YI,NotPrecedesSlantEqual:JI,NotReverseElement:QI,NotRightTriangleBar:XI,NotRightTriangle:eP,NotRightTriangleEqual:tP,NotSquareSubset:nP,NotSquareSubsetEqual:sP,NotSquareSuperset:oP,NotSquareSupersetEqual:rP,NotSubset:iP,NotSubsetEqual:aP,NotSucceeds:lP,NotSucceedsEqual:cP,NotSucceedsSlantEqual:dP,NotSucceedsTilde:uP,NotSuperset:hP,NotSupersetEqual:fP,NotTilde:pP,NotTildeEqual:gP,NotTildeFullEqual:mP,NotTildeTilde:_P,NotVerticalBar:bP,nparallel:yP,npar:vP,nparsl:xP,npart:wP,npolint:kP,npr:EP,nprcue:CP,nprec:AP,npreceq:SP,npre:TP,nrarrc:MP,nrarr:OP,nrArr:RP,nrarrw:DP,nrightarrow:NP,nRightarrow:LP,nrtri:IP,nrtrie:PP,nsc:FP,nsccue:BP,nsce:zP,Nscr:$P,nscr:UP,nshortmid:jP,nshortparallel:qP,nsim:HP,nsime:VP,nsimeq:GP,nsmid:KP,nspar:ZP,nsqsube:WP,nsqsupe:YP,nsub:JP,nsubE:QP,nsube:XP,nsubset:eF,nsubseteq:tF,nsubseteqq:nF,nsucc:sF,nsucceq:oF,nsup:rF,nsupE:iF,nsupe:aF,nsupset:lF,nsupseteq:cF,nsupseteqq:dF,ntgl:uF,Ntilde:hF,ntilde:fF,ntlg:pF,ntriangleleft:gF,ntrianglelefteq:mF,ntriangleright:_F,ntrianglerighteq:bF,Nu:yF,nu:vF,num:xF,numero:wF,numsp:kF,nvap:EF,nvdash:CF,nvDash:AF,nVdash:SF,nVDash:TF,nvge:MF,nvgt:OF,nvHarr:RF,nvinfin:DF,nvlArr:NF,nvle:LF,nvlt:IF,nvltrie:PF,nvrArr:FF,nvrtrie:BF,nvsim:zF,nwarhk:$F,nwarr:UF,nwArr:jF,nwarrow:qF,nwnear:HF,Oacute:VF,oacute:GF,oast:KF,Ocirc:ZF,ocirc:WF,ocir:YF,Ocy:JF,ocy:QF,odash:XF,Odblac:eB,odblac:tB,odiv:nB,odot:sB,odsold:oB,OElig:rB,oelig:iB,ofcir:aB,Ofr:lB,ofr:cB,ogon:dB,Ograve:uB,ograve:hB,ogt:fB,ohbar:pB,ohm:gB,oint:mB,olarr:_B,olcir:bB,olcross:yB,oline:vB,olt:xB,Omacr:wB,omacr:kB,Omega:EB,omega:CB,Omicron:AB,omicron:SB,omid:TB,ominus:MB,Oopf:OB,oopf:RB,opar:DB,OpenCurlyDoubleQuote:NB,OpenCurlyQuote:LB,operp:IB,oplus:PB,orarr:FB,Or:BB,or:zB,ord:$B,order:UB,orderof:jB,ordf:qB,ordm:HB,origof:VB,oror:GB,orslope:KB,orv:ZB,oS:WB,Oscr:YB,oscr:JB,Oslash:QB,oslash:XB,osol:ez,Otilde:tz,otilde:nz,otimesas:sz,Otimes:oz,otimes:rz,Ouml:iz,ouml:az,ovbar:lz,OverBar:cz,OverBrace:dz,OverBracket:uz,OverParenthesis:hz,para:fz,parallel:pz,par:gz,parsim:mz,parsl:_z,part:bz,PartialD:yz,Pcy:vz,pcy:xz,percnt:wz,period:kz,permil:Ez,perp:Cz,pertenk:Az,Pfr:Sz,pfr:Tz,Phi:Mz,phi:Oz,phiv:Rz,phmmat:Dz,phone:Nz,Pi:Lz,pi:Iz,pitchfork:Pz,piv:Fz,planck:Bz,planckh:zz,plankv:$z,plusacir:Uz,plusb:jz,pluscir:qz,plus:Hz,plusdo:Vz,plusdu:Gz,pluse:Kz,PlusMinus:Zz,plusmn:Wz,plussim:Yz,plustwo:Jz,pm:Qz,Poincareplane:Xz,pointint:e$,popf:t$,Popf:n$,pound:s$,prap:o$,Pr:r$,pr:i$,prcue:a$,precapprox:l$,prec:c$,preccurlyeq:d$,Precedes:u$,PrecedesEqual:h$,PrecedesSlantEqual:f$,PrecedesTilde:p$,preceq:g$,precnapprox:m$,precneqq:_$,precnsim:b$,pre:y$,prE:v$,precsim:x$,prime:w$,Prime:k$,primes:E$,prnap:C$,prnE:A$,prnsim:S$,prod:T$,Product:M$,profalar:O$,profline:R$,profsurf:D$,prop:N$,Proportional:L$,Proportion:I$,propto:P$,prsim:F$,prurel:B$,Pscr:z$,pscr:$$,Psi:U$,psi:j$,puncsp:q$,Qfr:H$,qfr:V$,qint:G$,qopf:K$,Qopf:Z$,qprime:W$,Qscr:Y$,qscr:J$,quaternions:Q$,quatint:X$,quest:eU,questeq:tU,quot:nU,QUOT:sU,rAarr:oU,race:rU,Racute:iU,racute:aU,radic:lU,raemptyv:cU,rang:dU,Rang:uU,rangd:hU,range:fU,rangle:pU,raquo:gU,rarrap:mU,rarrb:_U,rarrbfs:bU,rarrc:yU,rarr:vU,Rarr:xU,rArr:wU,rarrfs:kU,rarrhk:EU,rarrlp:CU,rarrpl:AU,rarrsim:SU,Rarrtl:TU,rarrtl:MU,rarrw:OU,ratail:RU,rAtail:DU,ratio:NU,rationals:LU,rbarr:IU,rBarr:PU,RBarr:FU,rbbrk:BU,rbrace:zU,rbrack:$U,rbrke:UU,rbrksld:jU,rbrkslu:qU,Rcaron:HU,rcaron:VU,Rcedil:GU,rcedil:KU,rceil:ZU,rcub:WU,Rcy:YU,rcy:JU,rdca:QU,rdldhar:XU,rdquo:ej,rdquor:tj,rdsh:nj,real:sj,realine:oj,realpart:rj,reals:ij,Re:aj,rect:lj,reg:cj,REG:dj,ReverseElement:uj,ReverseEquilibrium:hj,ReverseUpEquilibrium:fj,rfisht:pj,rfloor:gj,rfr:mj,Rfr:_j,rHar:bj,rhard:yj,rharu:vj,rharul:xj,Rho:wj,rho:kj,rhov:Ej,RightAngleBracket:Cj,RightArrowBar:Aj,rightarrow:Sj,RightArrow:Tj,Rightarrow:Mj,RightArrowLeftArrow:Oj,rightarrowtail:Rj,RightCeiling:Dj,RightDoubleBracket:Nj,RightDownTeeVector:Lj,RightDownVectorBar:Ij,RightDownVector:Pj,RightFloor:Fj,rightharpoondown:Bj,rightharpoonup:zj,rightleftarrows:$j,rightleftharpoons:Uj,rightrightarrows:jj,rightsquigarrow:qj,RightTeeArrow:Hj,RightTee:Vj,RightTeeVector:Gj,rightthreetimes:Kj,RightTriangleBar:Zj,RightTriangle:Wj,RightTriangleEqual:Yj,RightUpDownVector:Jj,RightUpTeeVector:Qj,RightUpVectorBar:Xj,RightUpVector:eq,RightVectorBar:tq,RightVector:nq,ring:sq,risingdotseq:oq,rlarr:rq,rlhar:iq,rlm:aq,rmoustache:lq,rmoust:cq,rnmid:dq,roang:uq,roarr:hq,robrk:fq,ropar:pq,ropf:gq,Ropf:mq,roplus:_q,rotimes:bq,RoundImplies:yq,rpar:vq,rpargt:xq,rppolint:wq,rrarr:kq,Rrightarrow:Eq,rsaquo:Cq,rscr:Aq,Rscr:Sq,rsh:Tq,Rsh:Mq,rsqb:Oq,rsquo:Rq,rsquor:Dq,rthree:Nq,rtimes:Lq,rtri:Iq,rtrie:Pq,rtrif:Fq,rtriltri:Bq,RuleDelayed:zq,ruluhar:$q,rx:Uq,Sacute:jq,sacute:qq,sbquo:Hq,scap:Vq,Scaron:Gq,scaron:Kq,Sc:Zq,sc:Wq,sccue:Yq,sce:Jq,scE:Qq,Scedil:Xq,scedil:eH,Scirc:tH,scirc:nH,scnap:sH,scnE:oH,scnsim:rH,scpolint:iH,scsim:aH,Scy:lH,scy:cH,sdotb:dH,sdot:uH,sdote:hH,searhk:fH,searr:pH,seArr:gH,searrow:mH,sect:_H,semi:bH,seswar:yH,setminus:vH,setmn:xH,sext:wH,Sfr:kH,sfr:EH,sfrown:CH,sharp:AH,SHCHcy:SH,shchcy:TH,SHcy:MH,shcy:OH,ShortDownArrow:RH,ShortLeftArrow:DH,shortmid:NH,shortparallel:LH,ShortRightArrow:IH,ShortUpArrow:PH,shy:FH,Sigma:BH,sigma:zH,sigmaf:$H,sigmav:UH,sim:jH,simdot:qH,sime:HH,simeq:VH,simg:GH,simgE:KH,siml:ZH,simlE:WH,simne:YH,simplus:JH,simrarr:QH,slarr:XH,SmallCircle:eV,smallsetminus:tV,smashp:nV,smeparsl:sV,smid:oV,smile:rV,smt:iV,smte:aV,smtes:lV,SOFTcy:cV,softcy:dV,solbar:uV,solb:hV,sol:fV,Sopf:pV,sopf:gV,spades:mV,spadesuit:_V,spar:bV,sqcap:yV,sqcaps:vV,sqcup:xV,sqcups:wV,Sqrt:kV,sqsub:EV,sqsube:CV,sqsubset:AV,sqsubseteq:SV,sqsup:TV,sqsupe:MV,sqsupset:OV,sqsupseteq:RV,square:DV,Square:NV,SquareIntersection:LV,SquareSubset:IV,SquareSubsetEqual:PV,SquareSuperset:FV,SquareSupersetEqual:BV,SquareUnion:zV,squarf:$V,squ:UV,squf:jV,srarr:qV,Sscr:HV,sscr:VV,ssetmn:GV,ssmile:KV,sstarf:ZV,Star:WV,star:YV,starf:JV,straightepsilon:QV,straightphi:XV,strns:eG,sub:tG,Sub:nG,subdot:sG,subE:oG,sube:rG,subedot:iG,submult:aG,subnE:lG,subne:cG,subplus:dG,subrarr:uG,subset:hG,Subset:fG,subseteq:pG,subseteqq:gG,SubsetEqual:mG,subsetneq:_G,subsetneqq:bG,subsim:yG,subsub:vG,subsup:xG,succapprox:wG,succ:kG,succcurlyeq:EG,Succeeds:CG,SucceedsEqual:AG,SucceedsSlantEqual:SG,SucceedsTilde:TG,succeq:MG,succnapprox:OG,succneqq:RG,succnsim:DG,succsim:NG,SuchThat:LG,sum:IG,Sum:PG,sung:FG,sup1:BG,sup2:zG,sup3:$G,sup:UG,Sup:jG,supdot:qG,supdsub:HG,supE:VG,supe:GG,supedot:KG,Superset:ZG,SupersetEqual:WG,suphsol:YG,suphsub:JG,suplarr:QG,supmult:XG,supnE:eK,supne:tK,supplus:nK,supset:sK,Supset:oK,supseteq:rK,supseteqq:iK,supsetneq:aK,supsetneqq:lK,supsim:cK,supsub:dK,supsup:uK,swarhk:hK,swarr:fK,swArr:pK,swarrow:gK,swnwar:mK,szlig:_K,Tab:bK,target:yK,Tau:vK,tau:xK,tbrk:wK,Tcaron:kK,tcaron:EK,Tcedil:CK,tcedil:AK,Tcy:SK,tcy:TK,tdot:MK,telrec:OK,Tfr:RK,tfr:DK,there4:NK,therefore:LK,Therefore:IK,Theta:PK,theta:FK,thetasym:BK,thetav:zK,thickapprox:$K,thicksim:UK,ThickSpace:jK,ThinSpace:qK,thinsp:HK,thkap:VK,thksim:GK,THORN:KK,thorn:ZK,tilde:WK,Tilde:YK,TildeEqual:JK,TildeFullEqual:QK,TildeTilde:XK,timesbar:eZ,timesb:tZ,times:nZ,timesd:sZ,tint:oZ,toea:rZ,topbot:iZ,topcir:aZ,top:lZ,Topf:cZ,topf:dZ,topfork:uZ,tosa:hZ,tprime:fZ,trade:pZ,TRADE:gZ,triangle:mZ,triangledown:_Z,triangleleft:bZ,trianglelefteq:yZ,triangleq:vZ,triangleright:xZ,trianglerighteq:wZ,tridot:kZ,trie:EZ,triminus:CZ,TripleDot:AZ,triplus:SZ,trisb:TZ,tritime:MZ,trpezium:OZ,Tscr:RZ,tscr:DZ,TScy:NZ,tscy:LZ,TSHcy:IZ,tshcy:PZ,Tstrok:FZ,tstrok:BZ,twixt:zZ,twoheadleftarrow:$Z,twoheadrightarrow:UZ,Uacute:jZ,uacute:qZ,uarr:HZ,Uarr:VZ,uArr:GZ,Uarrocir:KZ,Ubrcy:ZZ,ubrcy:WZ,Ubreve:YZ,ubreve:JZ,Ucirc:QZ,ucirc:XZ,Ucy:eW,ucy:tW,udarr:nW,Udblac:sW,udblac:oW,udhar:rW,ufisht:iW,Ufr:aW,ufr:lW,Ugrave:cW,ugrave:dW,uHar:uW,uharl:hW,uharr:fW,uhblk:pW,ulcorn:gW,ulcorner:mW,ulcrop:_W,ultri:bW,Umacr:yW,umacr:vW,uml:xW,UnderBar:wW,UnderBrace:kW,UnderBracket:EW,UnderParenthesis:CW,Union:AW,UnionPlus:SW,Uogon:TW,uogon:MW,Uopf:OW,uopf:RW,UpArrowBar:DW,uparrow:NW,UpArrow:LW,Uparrow:IW,UpArrowDownArrow:PW,updownarrow:FW,UpDownArrow:BW,Updownarrow:zW,UpEquilibrium:$W,upharpoonleft:UW,upharpoonright:jW,uplus:qW,UpperLeftArrow:HW,UpperRightArrow:VW,upsi:GW,Upsi:KW,upsih:ZW,Upsilon:WW,upsilon:YW,UpTeeArrow:JW,UpTee:QW,upuparrows:XW,urcorn:eY,urcorner:tY,urcrop:nY,Uring:sY,uring:oY,urtri:rY,Uscr:iY,uscr:aY,utdot:lY,Utilde:cY,utilde:dY,utri:uY,utrif:hY,uuarr:fY,Uuml:pY,uuml:gY,uwangle:mY,vangrt:_Y,varepsilon:bY,varkappa:yY,varnothing:vY,varphi:xY,varpi:wY,varpropto:kY,varr:EY,vArr:CY,varrho:AY,varsigma:SY,varsubsetneq:TY,varsubsetneqq:MY,varsupsetneq:OY,varsupsetneqq:RY,vartheta:DY,vartriangleleft:NY,vartriangleright:LY,vBar:IY,Vbar:PY,vBarv:FY,Vcy:BY,vcy:zY,vdash:$Y,vDash:UY,Vdash:jY,VDash:qY,Vdashl:HY,veebar:VY,vee:GY,Vee:KY,veeeq:ZY,vellip:WY,verbar:YY,Verbar:JY,vert:QY,Vert:XY,VerticalBar:eJ,VerticalLine:tJ,VerticalSeparator:nJ,VerticalTilde:sJ,VeryThinSpace:oJ,Vfr:rJ,vfr:iJ,vltri:aJ,vnsub:lJ,vnsup:cJ,Vopf:dJ,vopf:uJ,vprop:hJ,vrtri:fJ,Vscr:pJ,vscr:gJ,vsubnE:mJ,vsubne:_J,vsupnE:bJ,vsupne:yJ,Vvdash:vJ,vzigzag:xJ,Wcirc:wJ,wcirc:kJ,wedbar:EJ,wedge:CJ,Wedge:AJ,wedgeq:SJ,weierp:TJ,Wfr:MJ,wfr:OJ,Wopf:RJ,wopf:DJ,wp:NJ,wr:LJ,wreath:IJ,Wscr:PJ,wscr:FJ,xcap:BJ,xcirc:zJ,xcup:$J,xdtri:UJ,Xfr:jJ,xfr:qJ,xharr:HJ,xhArr:VJ,Xi:GJ,xi:KJ,xlarr:ZJ,xlArr:WJ,xmap:YJ,xnis:JJ,xodot:QJ,Xopf:XJ,xopf:eQ,xoplus:tQ,xotime:nQ,xrarr:sQ,xrArr:oQ,Xscr:rQ,xscr:iQ,xsqcup:aQ,xuplus:lQ,xutri:cQ,xvee:dQ,xwedge:uQ,Yacute:hQ,yacute:fQ,YAcy:pQ,yacy:gQ,Ycirc:mQ,ycirc:_Q,Ycy:bQ,ycy:yQ,yen:vQ,Yfr:xQ,yfr:wQ,YIcy:kQ,yicy:EQ,Yopf:CQ,yopf:AQ,Yscr:SQ,yscr:TQ,YUcy:MQ,yucy:OQ,yuml:RQ,Yuml:DQ,Zacute:NQ,zacute:LQ,Zcaron:IQ,zcaron:PQ,Zcy:FQ,zcy:BQ,Zdot:zQ,zdot:$Q,zeetrf:UQ,ZeroWidthSpace:jQ,Zeta:qQ,zeta:HQ,zfr:VQ,Zfr:GQ,ZHcy:KQ,zhcy:ZQ,zigrarr:WQ,zopf:YQ,Zopf:JQ,Zscr:QQ,zscr:XQ,zwj:eX,zwnj:tX};var rg=nX,ac=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ys={},eu={};function sX(t){var e,n,s=eu[t];if(s)return s;for(s=eu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=sX(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}pi.defaultChars=";/?:@&=+$,-_.!~*'()#";pi.componentChars="-_.!~*'()";var oX=pi,tu={};function rX(t){var e,n,s=tu[t];if(s)return s;for(s=tu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}gi.defaultChars=";/?:@&=+$,#";gi.componentChars="";var iX=gi,aX=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Nr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var lX=/^([a-z0-9.+-]+:)/i,cX=/:[0-9]*$/,dX=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,uX=["<",">",'"',"`"," ","\r",` +`," "],hX=["{","}","|","\\","^","`"].concat(uX),fX=["'"].concat(hX),nu=["%","/","?",";","#"].concat(fX),su=["/","?","#"],pX=255,ou=/^[+a-z0-9A-Z_-]{0,63}$/,gX=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ru={javascript:!0,"javascript:":!0},iu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function mX(t,e){if(t&&t instanceof Nr)return t;var n=new Nr;return n.parse(t,e),n}Nr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=dX.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=lX.exec(a);if(d&&(d=d[0],o=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(d&&ru[d])&&(a=a.substr(2),this.slashes=!0)),!ru[d]&&(i||d&&!iu[d])){var u=-1;for(n=0;n127?b+="x":b+=w[p];if(!b.match(ou)){var A=_.slice(0,n),D=_.slice(n+1),O=w.match(gX);O&&(A.push(O[1]),D.unshift(O[2])),D.length&&(a=D.join(".")+a),this.hostname=A.join(".");break}}}}this.hostname.length>pX&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=a.indexOf("#");L!==-1&&(this.hash=a.substr(L),a=a.slice(0,L));var v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),iu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Nr.prototype.parseHost=function(t){var e=cX.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var _X=mX;Ys.encode=oX;Ys.decode=iX;Ys.format=aX;Ys.parse=_X;var $n={},Vi,au;function ig(){return au||(au=1,Vi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Vi}var Gi,lu;function ag(){return lu||(lu=1,Gi=/[\0-\x1F\x7F-\x9F]/),Gi}var Ki,cu;function bX(){return cu||(cu=1,Ki=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Ki}var Zi,du;function lg(){return du||(du=1,Zi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Zi}var uu;function yX(){return uu||(uu=1,$n.Any=ig(),$n.Cc=ag(),$n.Cf=bX(),$n.P=ac,$n.Z=lg()),$n}(function(t){function e(P){return Object.prototype.toString.call(P)}function n(P){return e(P)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(P,ue){return s.call(P,ue)}function r(P){var ue=Array.prototype.slice.call(arguments,1);return ue.forEach(function(Y){if(Y){if(typeof Y!="object")throw new TypeError(Y+"must be object");Object.keys(Y).forEach(function(T){P[T]=Y[T]})}}),P}function i(P,ue,Y){return[].concat(P.slice(0,ue),Y,P.slice(ue+1))}function a(P){return!(P>=55296&&P<=57343||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534||P>=0&&P<=8||P===11||P>=14&&P<=31||P>=127&&P<=159||P>1114111)}function l(P){if(P>65535){P-=65536;var ue=55296+(P>>10),Y=56320+(P&1023);return String.fromCharCode(ue,Y)}return String.fromCharCode(P)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=rg;function m(P,ue){var Y=0;return o(g,ue)?g[ue]:ue.charCodeAt(0)===35&&f.test(ue)&&(Y=ue[1].toLowerCase()==="x"?parseInt(ue.slice(2),16):parseInt(ue.slice(1),10),a(Y))?l(Y):P}function _(P){return P.indexOf("\\")<0?P:P.replace(d,"$1")}function w(P){return P.indexOf("\\")<0&&P.indexOf("&")<0?P:P.replace(h,function(ue,Y,T){return Y||m(ue,T)})}var b=/[&<>"]/,p=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function A(P){return x[P]}function D(P){return b.test(P)?P.replace(p,A):P}var O=/[.?*+^$[\]\\(){}|-]/g;function L(P){return P.replace(O,"\\$&")}function v(P){switch(P){case 9:case 32:return!0}return!1}function C(P){if(P>=8192&&P<=8202)return!0;switch(P){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var M=ac;function I(P){return M.test(P)}function B(P){switch(P){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function X(P){return P=P.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(P=P.replace(/ẞ/g,"ß")),P.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Ys,t.lib.ucmicro=yX(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=_,t.unescapeAll=w,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=D,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=C,t.isMdAsciiPunct=B,t.isPunctChar=I,t.escapeRE=L,t.normalizeReference=X})(Ve);var mi={},vX=function(e,n,s){var o,r,i,a,l=-1,d=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=hu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},wX=Ve.unescapeAll,kX=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+ns(t[e].content)+""};en.code_block=function(t,e,n,s,o){var r=t[e];return""+ns(t[e].content)+` +`};en.fence=function(t,e,n,s,o){var r=t[e],i=r.info?CX(r.info).trim():"",a="",l="",d,u,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?d=n.highlight(r.content,a,l)||ns(r.content):d=ns(r.content),d.indexOf(""+d+` `):"
"+d+`
-`};Xt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Xt.hardbreak=function(t,e,n){return n.xhtmlOut?`
+`};en.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};en.hardbreak=function(t,e,n){return n.xhtmlOut?`
`:`
-`};Xt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
+`};en.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Xt.text=function(t,e){return ss(t[e].content)};Xt.html_block=function(t,e){return t[e].content};Xt.html_inline=function(t,e){return t[e].content};function Qs(){this.rules=wX({},Xt)}Qs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n -`:">",r)};Qs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function NX(t){return/^<\/a\s*>/i.test(t)}var LX=function(e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,w,b,p=e.tokens,x;if(e.md.options.linkify){for(s=0,o=p.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(RX(a.content)&&m>0&&m--,NX(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),d=0;df&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",w]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),f=x[d].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(IX,FX)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function zX(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&ag.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var $X=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(DX.test(e.tokens[n].content)&&BX(e.tokens[n].children),ag.test(e.tokens[n].content)&&zX(e.tokens[n].children))},hu=Ve.isWhiteSpace,fu=Ve.isPunctChar,pu=Ve.isMdAsciiPunct,UX=/['"]/,gu=/['"]/g,mu="’";function Xo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function jX(t,e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,w,b,p,x,A,N,O;for(A=[],n=0;n=0&&!(A[p].level<=l);p--);if(A.length=p+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(p=n-1;p>=0&&!(t[p].type==="softbreak"||t[p].type==="hardbreak");p--)if(t[p].content){u=t[p].content.charCodeAt(t[p].content.length-1);break}if(h=32,i=48&&u<=57&&(b=w=!1),w&&b&&(w=f,b=g),!w&&!b){x&&(s.content=Xo(s.content,r.index,mu));continue}if(b){for(p=A.length-1;p>=0&&(d=A[p],!(A[p].level=0;n--)e.tokens[n].type!=="inline"||!UX.test(e.tokens[n].content)||jX(e.tokens[n].children,e)},HX=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Xs.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var cc=Xs,VX=cc;function lg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}lg.prototype.Token=VX;var GX=lg,KX=lc,Zi=[["normalize",SX],["block",TX],["inline",MX],["linkify",LX],["replacements",$X],["smartquotes",qX],["text_join",HX]];function dc(){this.ruler=new KX;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(N=e.src.charCodeAt(a++),N!==124&&N!==45&&N!==58)||a>=e.eMarks[u]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Wi(O))||N===45&&Wi(O))return!1;for(;a=4||(h=_u(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(p=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=w=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(h=_u(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=b=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` -`,i.map=[n,e.line],!0},JX=function(e,n,s,o){var r,i,a,l,d,u,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(d=g,g=e.skipChars(g,r),i=g-d,i<3)||(h=e.src.slice(d,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=d=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-d=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=I,p=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=n+1;f=I));f++){if(e.src.charCodeAt(M++)===62&&!y){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=I,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),p.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(u)break;for(N=!1,a=0,d=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=C,e.parentType=b,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(i=1;d=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(T=!0),(I=vu(e,n))>=0){if(h=!0,X=e.bMarks[n]+e.tShift[n],b=Number(e.src.slice(X,I-1)),T&&b!==1)return!1}else if((I=yu(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(I)>=e.eMarks[n])return!1;if(w=e.src.charCodeAt(I-1),o)return!0;for(_=e.tokens.length,h?(Y=e.push("ordered_list_open","ol",1),b!==1&&(Y.attrs=[["start",b]])):Y=e.push("bullet_list_open","ul",1),Y.map=m=[n,0],Y.markup=String.fromCharCode(w),x=n,B=!1,ue=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=p?d=1:d=A-u,d>4&&(d=1),l=u+d,Y=e.push("list_item_open","li",1),Y.markup=String.fromCharCode(w),Y.map=f=[n,0],h&&(Y.info=e.src.slice(X,I-1)),C=e.tight,y=e.tShift[n],D=e.sCount[n],N=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=A,i>=p&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||B)&&(H=!1),B=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=N,e.tShift[n]=y,e.sCount[n]=D,e.tight=C,Y=e.push("list_item_close","li",-1),Y.markup=String.fromCharCode(w),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(P=!1,a=0,g=ue.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[y]<0)){for(p=!1,u=0,h=x.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:A,href:d}),e.parentType=m,e.line=n+N+1),!0)},ree=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],mi={},iee="[a-zA-Z_:][a-zA-Z0-9:._-]*",aee="[^\"'=<>`\\x00-\\x20]+",lee="'[^']*'",cee='"[^"]*"',dee="(?:"+aee+"|"+lee+"|"+cee+")",uee="(?:\\s+"+iee+"(?:\\s*=\\s*"+dee+")?)",dg="<[A-Za-z][A-Za-z0-9\\-]*"+uee+"*\\s*\\/?>",ug="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",hee="|",fee="<[?][\\s\\S]*?[?]>",pee="]*>",gee="",mee=new RegExp("^(?:"+dg+"|"+ug+"|"+hee+"|"+fee+"|"+pee+"|"+gee+")"),_ee=new RegExp("^(?:"+dg+"|"+ug+")");mi.HTML_TAG_RE=mee;mi.HTML_OPEN_CLOSE_TAG_RE=_ee;var bee=ree,yee=mi.HTML_OPEN_CLOSE_TAG_RE,ps=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(yee.source+"\\s*$"),/^$/,!1]],vee=function(e,n,s,o){var r,i,a,l,d=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(l=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(i=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&xu(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(d,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},wee=function(e,n,s){var o,r,i,a,l,d,u,h,f,g=n+1,m,_=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d=u)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=_.length;i3)&&!(e.sCount[d]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};en.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};en.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!_i(this.src.charCodeAt(--e)))return e+1;return e};en.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};en.prototype.getLines=function(e,n,s,o){var r,i,a,l,d,u,h,f=e;if(e>=n)return"";for(u=new Array(n-e),r=0;fs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,d):u[r]=this.src.slice(l,d)}return u.join("")};en.prototype.Token=hg;var Eee=en,Cee=lc,tr=[["table",WX,["paragraph","reference"]],["code",YX],["fence",JX,["paragraph","reference","blockquote","list"]],["blockquote",QX,["paragraph","reference","blockquote","list"]],["hr",eee,["paragraph","reference","blockquote","list"]],["list",nee,["paragraph","reference","blockquote"]],["reference",oee],["html_block",vee,["paragraph","reference","blockquote"]],["heading",xee,["paragraph","reference","blockquote"]],["lheading",wee],["paragraph",kee]];function bi(){this.ruler=new Cee;for(var t=0;t=n||t.sCount[a]=d){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Mee),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),d=e.md.normalizeLink(l),!e.md.validateLink(d))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Ree=Ve.isSpace,Nee=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){uc[t.charCodeAt(0)]=1});var Dee=function(e,n){var s,o,r,i,a,l=e.pos,d=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=d))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&uc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Iee=function(e,n){var s,o,r,i,a,l,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}vi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Eu(e,e.delimiters),n=0;n=_)return!1;if(w=l,d=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?l=d.pos:f="",w=l;l<_&&(o=e.src.charCodeAt(l),!(!Ji(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&w!==l&&d.ok)for(g=d.str,l=d.pos;l<_&&(o=e.src.charCodeAt(l),!(!Ji(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(w=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(w,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Pee(r)],!u)return e.pos=m,!1;f=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=_,!0},Bee=Ve.normalizeReference,Qi=Ve.isSpace,zee=function(e,n){var s,o,r,i,a,l,d,u,h,f,g,m,_,w="",b=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d=p)return!1;for(_=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(w=e.md.normalizeLink(h.str),e.md.validateLink(w)?d=h.pos:w=""),_=d;d=p||e.src.charCodeAt(d)!==41)return e.pos=b,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?i=e.src.slice(_,d++):d=a+1):d=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Bee(i)],!u)return e.pos=b,!1;w=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",w],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=p,!0},$ee=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Uee=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,jee=function(e,n){var s,o,r,i,a,l,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++d>=l||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,d),Uee.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):$ee.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},qee=mi.HTML_TAG_RE;function Hee(t){return/^\s]/i.test(t)}function Vee(t){return/^<\/a\s*>/i.test(t)}function Gee(t){var e=t|32;return e>=97&&e<=122}var Kee=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!Gee(s))||(o=e.src.slice(a).match(qee),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Hee(i.content)&&e.linkLevel++,Vee(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Cu=sg,Zee=Ve.has,Wee=Ve.isValidEntityCode,Au=Ve.fromCodePoint,Yee=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Jee=/^&([a-z][a-z0-9]{1,31});/i,Qee=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(Yee),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=Wee(o)?Au(o):Au(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Jee),r&&Zee(Cu,r[1]))return n||(i=e.push("text_special","",0),i.content=Cu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Su(t,e){var n,s,o,r,i,a,l,d,u={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){d=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+d,m[s]=d,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Xee=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Su(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Bo.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,d,u,h,f=!0,g=!0,m=this.posMax,_=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};zo.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ta}function fl(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function xi(t){return Object.prototype.toString.call(t)}function ote(t){return xi(t)==="[object String]"}function rte(t){return xi(t)==="[object Object]"}function ite(t){return xi(t)==="[object RegExp]"}function Lu(t){return xi(t)==="[object Function]"}function ate(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var fg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function lte(t){return Object.keys(t||{}).reduce(function(e,n){return e||fg.hasOwnProperty(n)},!1)}var cte={"http:":{validate:function(t,e,n){var s=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(s)?s.match(n.re.mailto)[0].length:0}}},dte="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",ute="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function hte(t){t.__index__=-1,t.__text_cache__=""}function fte(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Du(){return function(t,e){e.normalize(t)}}function Lr(t){var e=t.re=ste()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(dte),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var d={validate:null,link:null};if(t.__compiled__[a]=d,rte(l)){ite(l.validate)?d.validate=fte(l.validate):Lu(l.validate)?d.validate=l.validate:r(a,l),Lu(l.normalize)?d.normalize=l.normalize:l.normalize?r(a,l):d.normalize=Du();return}if(ote(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Du()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(ate).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),hte(t)}function pte(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function pl(t,e){var n=new pte(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);e||lte(t)&&(e=t,t={}),this.__opts__=fl({},fg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fl({},cte,t),this.__compiled__={},this.__tlds__=ute,this.__tlds_replaced__=!1,this.re={},Lr(this)}vt.prototype.add=function(e,n){return this.__schemas__[e]=n,Lr(this),this};vt.prototype.set=function(e){return this.__opts__=fl(this.__opts__,e),this};vt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,d,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};vt.prototype.pretest=function(e){return this.re.pretest.test(e)};vt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};vt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(pl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(pl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};vt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,pl(this,0)):null};vt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),Lr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Lr(this),this)};vt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};vt.prototype.onCompile=function(){};var gte=vt;const As=2147483647,Vt=36,fc=1,Ro=26,mte=38,_te=700,pg=72,gg=128,mg="-",bte=/^xn--/,yte=/[^\0-\x7F]/,vte=/[\x2E\u3002\uFF0E\uFF61]/g,xte={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},na=Vt-fc,Gt=Math.floor,sa=String.fromCharCode;function En(t){throw new RangeError(xte[t])}function wte(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function _g(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(vte,".");const o=t.split("."),r=wte(o,e).join(".");return s+r}function pc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),kte=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Iu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},yg=function(t,e,n){let s=0;for(t=n?Gt(t/_te):t>>1,t+=Gt(t/e);t>na*Ro>>1;s+=Vt)t=Gt(t/na);return Gt(s+(na+1)*t/(t+mte))},gc=function(t){const e=[],n=t.length;let s=0,o=gg,r=pg,i=t.lastIndexOf(mg);i<0&&(i=0);for(let a=0;a=128&&En("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&En("invalid-input");const f=kte(t.charCodeAt(a++));f>=Vt&&En("invalid-input"),f>Gt((As-s)/u)&&En("overflow"),s+=f*u;const g=h<=r?fc:h>=r+Ro?Ro:h-r;if(fGt(As/m)&&En("overflow"),u*=m}const d=e.length+1;r=yg(s-l,d,l==0),Gt(s/d)>As-o&&En("overflow"),o+=Gt(s/d),s%=d,e.splice(s++,0,o)}return String.fromCodePoint(...e)},mc=function(t){const e=[];t=pc(t);const n=t.length;let s=gg,o=0,r=pg;for(const l of t)l<128&&e.push(sa(l));const i=e.length;let a=i;for(i&&e.push(mg);a=s&&uGt((As-o)/d)&&En("overflow"),o+=(l-s)*d,s=l;for(const u of t)if(uAs&&En("overflow"),u===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?fc:f>=r+Ro?Ro:f-r;if(h=0))try{e.hostname=wg.toASCII(e.hostname)}catch{}return Yn.encode(Yn.format(e))}function Ute(t){var e=Yn.parse(t,!0);if(e.hostname&&(!e.protocol||kg.indexOf(e.protocol)>=0))try{e.hostname=wg.toUnicode(e.hostname)}catch{}return Yn.decode(Yn.format(e),Yn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||po.isString(t)||(e=t||{},t="default"),this.inline=new Dte,this.block=new Lte,this.core=new Nte,this.renderer=new Rte,this.linkify=new Ite,this.validateLink=zte,this.normalizeLink=$te,this.normalizeLinkText=Ute,this.utils=po,this.helpers=po.assign({},Ote),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return po.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(po.isString(t)&&(n=t,t=Pte[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Mt.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Mt.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var jte=Mt,qte=jte;const Hte=cs(qte),Vte="😀",Gte="😃",Kte="😄",Zte="😁",Wte="😆",Yte="😆",Jte="😅",Qte="🤣",Xte="😂",ene="🙂",tne="🙃",nne="😉",sne="😊",one="😇",rne="🥰",ine="😍",ane="🤩",lne="😘",cne="😗",dne="☺️",une="😚",hne="😙",fne="🥲",pne="😋",gne="😛",mne="😜",_ne="🤪",bne="😝",yne="🤑",vne="🤗",xne="🤭",wne="🤫",kne="🤔",Ene="🤐",Cne="🤨",Ane="😐",Sne="😑",Tne="😶",Mne="😏",One="😒",Rne="🙄",Nne="😬",Lne="🤥",Dne="😌",Ine="😔",Pne="😪",Fne="🤤",Bne="😴",zne="😷",$ne="🤒",Une="🤕",jne="🤢",qne="🤮",Hne="🤧",Vne="🥵",Gne="🥶",Kne="🥴",Zne="😵",Wne="🤯",Yne="🤠",Jne="🥳",Qne="🥸",Xne="😎",ese="🤓",tse="🧐",nse="😕",sse="😟",ose="🙁",rse="☹️",ise="😮",ase="😯",lse="😲",cse="😳",dse="🥺",use="😦",hse="😧",fse="😨",pse="😰",gse="😥",mse="😢",_se="😭",bse="😱",yse="😖",vse="😣",xse="😞",wse="😓",kse="😩",Ese="😫",Cse="🥱",Ase="😤",Sse="😡",Tse="😡",Mse="😠",Ose="🤬",Rse="😈",Nse="👿",Lse="💀",Dse="☠️",Ise="💩",Pse="💩",Fse="💩",Bse="🤡",zse="👹",$se="👺",Use="👻",jse="👽",qse="👾",Hse="🤖",Vse="😺",Gse="😸",Kse="😹",Zse="😻",Wse="😼",Yse="😽",Jse="🙀",Qse="😿",Xse="😾",eoe="🙈",toe="🙉",noe="🙊",soe="💋",ooe="💌",roe="💘",ioe="💝",aoe="💖",loe="💗",coe="💓",doe="💞",uoe="💕",hoe="💟",foe="❣️",poe="💔",goe="❤️",moe="🧡",_oe="💛",boe="💚",yoe="💙",voe="💜",xoe="🤎",woe="🖤",koe="🤍",Eoe="💢",Coe="💥",Aoe="💥",Soe="💫",Toe="💦",Moe="💨",Ooe="🕳️",Roe="💣",Noe="💬",Loe="👁️‍🗨️",Doe="🗨️",Ioe="🗯️",Poe="💭",Foe="💤",Boe="👋",zoe="🤚",$oe="🖐️",Uoe="✋",joe="✋",qoe="🖖",Hoe="👌",Voe="🤌",Goe="🤏",Koe="✌️",Zoe="🤞",Woe="🤟",Yoe="🤘",Joe="🤙",Qoe="👈",Xoe="👉",ere="👆",tre="🖕",nre="🖕",sre="👇",ore="☝️",rre="👍",ire="👎",are="✊",lre="✊",cre="👊",dre="👊",ure="👊",hre="🤛",fre="🤜",pre="👏",gre="🙌",mre="👐",_re="🤲",bre="🤝",yre="🙏",vre="✍️",xre="💅",wre="🤳",kre="💪",Ere="🦾",Cre="🦿",Are="🦵",Sre="🦶",Tre="👂",Mre="🦻",Ore="👃",Rre="🧠",Nre="🫀",Lre="🫁",Dre="🦷",Ire="🦴",Pre="👀",Fre="👁️",Bre="👅",zre="👄",$re="👶",Ure="🧒",jre="👦",qre="👧",Hre="🧑",Vre="👱",Gre="👨",Kre="🧔",Zre="👨‍🦰",Wre="👨‍🦱",Yre="👨‍🦳",Jre="👨‍🦲",Qre="👩",Xre="👩‍🦰",eie="🧑‍🦰",tie="👩‍🦱",nie="🧑‍🦱",sie="👩‍🦳",oie="🧑‍🦳",rie="👩‍🦲",iie="🧑‍🦲",aie="👱‍♀️",lie="👱‍♀️",cie="👱‍♂️",die="🧓",uie="👴",hie="👵",fie="🙍",pie="🙍‍♂️",gie="🙍‍♀️",mie="🙎",_ie="🙎‍♂️",bie="🙎‍♀️",yie="🙅",vie="🙅‍♂️",xie="🙅‍♂️",wie="🙅‍♀️",kie="🙅‍♀️",Eie="🙆",Cie="🙆‍♂️",Aie="🙆‍♀️",Sie="💁",Tie="💁",Mie="💁‍♂️",Oie="💁‍♂️",Rie="💁‍♀️",Nie="💁‍♀️",Lie="🙋",Die="🙋‍♂️",Iie="🙋‍♀️",Pie="🧏",Fie="🧏‍♂️",Bie="🧏‍♀️",zie="🙇",$ie="🙇‍♂️",Uie="🙇‍♀️",jie="🤦",qie="🤦‍♂️",Hie="🤦‍♀️",Vie="🤷",Gie="🤷‍♂️",Kie="🤷‍♀️",Zie="🧑‍⚕️",Wie="👨‍⚕️",Yie="👩‍⚕️",Jie="🧑‍🎓",Qie="👨‍🎓",Xie="👩‍🎓",eae="🧑‍🏫",tae="👨‍🏫",nae="👩‍🏫",sae="🧑‍⚖️",oae="👨‍⚖️",rae="👩‍⚖️",iae="🧑‍🌾",aae="👨‍🌾",lae="👩‍🌾",cae="🧑‍🍳",dae="👨‍🍳",uae="👩‍🍳",hae="🧑‍🔧",fae="👨‍🔧",pae="👩‍🔧",gae="🧑‍🏭",mae="👨‍🏭",_ae="👩‍🏭",bae="🧑‍💼",yae="👨‍💼",vae="👩‍💼",xae="🧑‍🔬",wae="👨‍🔬",kae="👩‍🔬",Eae="🧑‍💻",Cae="👨‍💻",Aae="👩‍💻",Sae="🧑‍🎤",Tae="👨‍🎤",Mae="👩‍🎤",Oae="🧑‍🎨",Rae="👨‍🎨",Nae="👩‍🎨",Lae="🧑‍✈️",Dae="👨‍✈️",Iae="👩‍✈️",Pae="🧑‍🚀",Fae="👨‍🚀",Bae="👩‍🚀",zae="🧑‍🚒",$ae="👨‍🚒",Uae="👩‍🚒",jae="👮",qae="👮",Hae="👮‍♂️",Vae="👮‍♀️",Gae="🕵️",Kae="🕵️‍♂️",Zae="🕵️‍♀️",Wae="💂",Yae="💂‍♂️",Jae="💂‍♀️",Qae="🥷",Xae="👷",ele="👷‍♂️",tle="👷‍♀️",nle="🤴",sle="👸",ole="👳",rle="👳‍♂️",ile="👳‍♀️",ale="👲",lle="🧕",cle="🤵",dle="🤵‍♂️",ule="🤵‍♀️",hle="👰",fle="👰‍♂️",ple="👰‍♀️",gle="👰‍♀️",mle="🤰",_le="🤱",ble="👩‍🍼",yle="👨‍🍼",vle="🧑‍🍼",xle="👼",wle="🎅",kle="🤶",Ele="🧑‍🎄",Cle="🦸",Ale="🦸‍♂️",Sle="🦸‍♀️",Tle="🦹",Mle="🦹‍♂️",Ole="🦹‍♀️",Rle="🧙",Nle="🧙‍♂️",Lle="🧙‍♀️",Dle="🧚",Ile="🧚‍♂️",Ple="🧚‍♀️",Fle="🧛",Ble="🧛‍♂️",zle="🧛‍♀️",$le="🧜",Ule="🧜‍♂️",jle="🧜‍♀️",qle="🧝",Hle="🧝‍♂️",Vle="🧝‍♀️",Gle="🧞",Kle="🧞‍♂️",Zle="🧞‍♀️",Wle="🧟",Yle="🧟‍♂️",Jle="🧟‍♀️",Qle="💆",Xle="💆‍♂️",ece="💆‍♀️",tce="💇",nce="💇‍♂️",sce="💇‍♀️",oce="🚶",rce="🚶‍♂️",ice="🚶‍♀️",ace="🧍",lce="🧍‍♂️",cce="🧍‍♀️",dce="🧎",uce="🧎‍♂️",hce="🧎‍♀️",fce="🧑‍🦯",pce="👨‍🦯",gce="👩‍🦯",mce="🧑‍🦼",_ce="👨‍🦼",bce="👩‍🦼",yce="🧑‍🦽",vce="👨‍🦽",xce="👩‍🦽",wce="🏃",kce="🏃",Ece="🏃‍♂️",Cce="🏃‍♀️",Ace="💃",Sce="💃",Tce="🕺",Mce="🕴️",Oce="👯",Rce="👯‍♂️",Nce="👯‍♀️",Lce="🧖",Dce="🧖‍♂️",Ice="🧖‍♀️",Pce="🧗",Fce="🧗‍♂️",Bce="🧗‍♀️",zce="🤺",$ce="🏇",Uce="⛷️",jce="🏂",qce="🏌️",Hce="🏌️‍♂️",Vce="🏌️‍♀️",Gce="🏄",Kce="🏄‍♂️",Zce="🏄‍♀️",Wce="🚣",Yce="🚣‍♂️",Jce="🚣‍♀️",Qce="🏊",Xce="🏊‍♂️",ede="🏊‍♀️",tde="⛹️",nde="⛹️‍♂️",sde="⛹️‍♂️",ode="⛹️‍♀️",rde="⛹️‍♀️",ide="🏋️",ade="🏋️‍♂️",lde="🏋️‍♀️",cde="🚴",dde="🚴‍♂️",ude="🚴‍♀️",hde="🚵",fde="🚵‍♂️",pde="🚵‍♀️",gde="🤸",mde="🤸‍♂️",_de="🤸‍♀️",bde="🤼",yde="🤼‍♂️",vde="🤼‍♀️",xde="🤽",wde="🤽‍♂️",kde="🤽‍♀️",Ede="🤾",Cde="🤾‍♂️",Ade="🤾‍♀️",Sde="🤹",Tde="🤹‍♂️",Mde="🤹‍♀️",Ode="🧘",Rde="🧘‍♂️",Nde="🧘‍♀️",Lde="🛀",Dde="🛌",Ide="🧑‍🤝‍🧑",Pde="👭",Fde="👫",Bde="👬",zde="💏",$de="👩‍❤️‍💋‍👨",Ude="👨‍❤️‍💋‍👨",jde="👩‍❤️‍💋‍👩",qde="💑",Hde="👩‍❤️‍👨",Vde="👨‍❤️‍👨",Gde="👩‍❤️‍👩",Kde="👪",Zde="👨‍👩‍👦",Wde="👨‍👩‍👧",Yde="👨‍👩‍👧‍👦",Jde="👨‍👩‍👦‍👦",Qde="👨‍👩‍👧‍👧",Xde="👨‍👨‍👦",eue="👨‍👨‍👧",tue="👨‍👨‍👧‍👦",nue="👨‍👨‍👦‍👦",sue="👨‍👨‍👧‍👧",oue="👩‍👩‍👦",rue="👩‍👩‍👧",iue="👩‍👩‍👧‍👦",aue="👩‍👩‍👦‍👦",lue="👩‍👩‍👧‍👧",cue="👨‍👦",due="👨‍👦‍👦",uue="👨‍👧",hue="👨‍👧‍👦",fue="👨‍👧‍👧",pue="👩‍👦",gue="👩‍👦‍👦",mue="👩‍👧",_ue="👩‍👧‍👦",bue="👩‍👧‍👧",yue="🗣️",vue="👤",xue="👥",wue="🫂",kue="👣",Eue="🐵",Cue="🐒",Aue="🦍",Sue="🦧",Tue="🐶",Mue="🐕",Oue="🦮",Rue="🐕‍🦺",Nue="🐩",Lue="🐺",Due="🦊",Iue="🦝",Pue="🐱",Fue="🐈",Bue="🐈‍⬛",zue="🦁",$ue="🐯",Uue="🐅",jue="🐆",que="🐴",Hue="🐎",Vue="🦄",Gue="🦓",Kue="🦌",Zue="🦬",Wue="🐮",Yue="🐂",Jue="🐃",Que="🐄",Xue="🐷",ehe="🐖",the="🐗",nhe="🐽",she="🐏",ohe="🐑",rhe="🐐",ihe="🐪",ahe="🐫",lhe="🦙",che="🦒",dhe="🐘",uhe="🦣",hhe="🦏",fhe="🦛",phe="🐭",ghe="🐁",mhe="🐀",_he="🐹",bhe="🐰",yhe="🐇",vhe="🐿️",xhe="🦫",whe="🦔",khe="🦇",Ehe="🐻",Che="🐻‍❄️",Ahe="🐨",She="🐼",The="🦥",Mhe="🦦",Ohe="🦨",Rhe="🦘",Nhe="🦡",Lhe="🐾",Dhe="🐾",Ihe="🦃",Phe="🐔",Fhe="🐓",Bhe="🐣",zhe="🐤",$he="🐥",Uhe="🐦",jhe="🐧",qhe="🕊️",Hhe="🦅",Vhe="🦆",Ghe="🦢",Khe="🦉",Zhe="🦤",Whe="🪶",Yhe="🦩",Jhe="🦚",Qhe="🦜",Xhe="🐸",efe="🐊",tfe="🐢",nfe="🦎",sfe="🐍",ofe="🐲",rfe="🐉",ife="🦕",afe="🐳",lfe="🐋",cfe="🐬",dfe="🐬",ufe="🦭",hfe="🐟",ffe="🐠",pfe="🐡",gfe="🦈",mfe="🐙",_fe="🐚",bfe="🐌",yfe="🦋",vfe="🐛",xfe="🐜",wfe="🐝",kfe="🐝",Efe="🪲",Cfe="🐞",Afe="🦗",Sfe="🪳",Tfe="🕷️",Mfe="🕸️",Ofe="🦂",Rfe="🦟",Nfe="🪰",Lfe="🪱",Dfe="🦠",Ife="💐",Pfe="🌸",Ffe="💮",Bfe="🏵️",zfe="🌹",$fe="🥀",Ufe="🌺",jfe="🌻",qfe="🌼",Hfe="🌷",Vfe="🌱",Gfe="🪴",Kfe="🌲",Zfe="🌳",Wfe="🌴",Yfe="🌵",Jfe="🌾",Qfe="🌿",Xfe="☘️",epe="🍀",tpe="🍁",npe="🍂",spe="🍃",ope="🍇",rpe="🍈",ipe="🍉",ape="🍊",lpe="🍊",cpe="🍊",dpe="🍋",upe="🍌",hpe="🍍",fpe="🥭",ppe="🍎",gpe="🍏",mpe="🍐",_pe="🍑",bpe="🍒",ype="🍓",vpe="🫐",xpe="🥝",wpe="🍅",kpe="🫒",Epe="🥥",Cpe="🥑",Ape="🍆",Spe="🥔",Tpe="🥕",Mpe="🌽",Ope="🌶️",Rpe="🫑",Npe="🥒",Lpe="🥬",Dpe="🥦",Ipe="🧄",Ppe="🧅",Fpe="🍄",Bpe="🥜",zpe="🌰",$pe="🍞",Upe="🥐",jpe="🥖",qpe="🫓",Hpe="🥨",Vpe="🥯",Gpe="🥞",Kpe="🧇",Zpe="🧀",Wpe="🍖",Ype="🍗",Jpe="🥩",Qpe="🥓",Xpe="🍔",ege="🍟",tge="🍕",nge="🌭",sge="🥪",oge="🌮",rge="🌯",ige="🫔",age="🥙",lge="🧆",cge="🥚",dge="🍳",uge="🥘",hge="🍲",fge="🫕",pge="🥣",gge="🥗",mge="🍿",_ge="🧈",bge="🧂",yge="🥫",vge="🍱",xge="🍘",wge="🍙",kge="🍚",Ege="🍛",Cge="🍜",Age="🍝",Sge="🍠",Tge="🍢",Mge="🍣",Oge="🍤",Rge="🍥",Nge="🥮",Lge="🍡",Dge="🥟",Ige="🥠",Pge="🥡",Fge="🦀",Bge="🦞",zge="🦐",$ge="🦑",Uge="🦪",jge="🍦",qge="🍧",Hge="🍨",Vge="🍩",Gge="🍪",Kge="🎂",Zge="🍰",Wge="🧁",Yge="🥧",Jge="🍫",Qge="🍬",Xge="🍭",eme="🍮",tme="🍯",nme="🍼",sme="🥛",ome="☕",rme="🫖",ime="🍵",ame="🍶",lme="🍾",cme="🍷",dme="🍸",ume="🍹",hme="🍺",fme="🍻",pme="🥂",gme="🥃",mme="🥤",_me="🧋",bme="🧃",yme="🧉",vme="🧊",xme="🥢",wme="🍽️",kme="🍴",Eme="🥄",Cme="🔪",Ame="🔪",Sme="🏺",Tme="🌍",Mme="🌎",Ome="🌏",Rme="🌐",Nme="🗺️",Lme="🗾",Dme="🧭",Ime="🏔️",Pme="⛰️",Fme="🌋",Bme="🗻",zme="🏕️",$me="🏖️",Ume="🏜️",jme="🏝️",qme="🏞️",Hme="🏟️",Vme="🏛️",Gme="🏗️",Kme="🧱",Zme="🪨",Wme="🪵",Yme="🛖",Jme="🏘️",Qme="🏚️",Xme="🏠",e_e="🏡",t_e="🏢",n_e="🏣",s_e="🏤",o_e="🏥",r_e="🏦",i_e="🏨",a_e="🏩",l_e="🏪",c_e="🏫",d_e="🏬",u_e="🏭",h_e="🏯",f_e="🏰",p_e="💒",g_e="🗼",m_e="🗽",__e="⛪",b_e="🕌",y_e="🛕",v_e="🕍",x_e="⛩️",w_e="🕋",k_e="⛲",E_e="⛺",C_e="🌁",A_e="🌃",S_e="🏙️",T_e="🌄",M_e="🌅",O_e="🌆",R_e="🌇",N_e="🌉",L_e="♨️",D_e="🎠",I_e="🎡",P_e="🎢",F_e="💈",B_e="🎪",z_e="🚂",$_e="🚃",U_e="🚄",j_e="🚅",q_e="🚆",H_e="🚇",V_e="🚈",G_e="🚉",K_e="🚊",Z_e="🚝",W_e="🚞",Y_e="🚋",J_e="🚌",Q_e="🚍",X_e="🚎",e1e="🚐",t1e="🚑",n1e="🚒",s1e="🚓",o1e="🚔",r1e="🚕",i1e="🚖",a1e="🚗",l1e="🚗",c1e="🚘",d1e="🚙",u1e="🛻",h1e="🚚",f1e="🚛",p1e="🚜",g1e="🏎️",m1e="🏍️",_1e="🛵",b1e="🦽",y1e="🦼",v1e="🛺",x1e="🚲",w1e="🛴",k1e="🛹",E1e="🛼",C1e="🚏",A1e="🛣️",S1e="🛤️",T1e="🛢️",M1e="⛽",O1e="🚨",R1e="🚥",N1e="🚦",L1e="🛑",D1e="🚧",I1e="⚓",P1e="⛵",F1e="⛵",B1e="🛶",z1e="🚤",$1e="🛳️",U1e="⛴️",j1e="🛥️",q1e="🚢",H1e="✈️",V1e="🛩️",G1e="🛫",K1e="🛬",Z1e="🪂",W1e="💺",Y1e="🚁",J1e="🚟",Q1e="🚠",X1e="🚡",e0e="🛰️",t0e="🚀",n0e="🛸",s0e="🛎️",o0e="🧳",r0e="⌛",i0e="⏳",a0e="⌚",l0e="⏰",c0e="⏱️",d0e="⏲️",u0e="🕰️",h0e="🕛",f0e="🕧",p0e="🕐",g0e="🕜",m0e="🕑",_0e="🕝",b0e="🕒",y0e="🕞",v0e="🕓",x0e="🕟",w0e="🕔",k0e="🕠",E0e="🕕",C0e="🕡",A0e="🕖",S0e="🕢",T0e="🕗",M0e="🕣",O0e="🕘",R0e="🕤",N0e="🕙",L0e="🕥",D0e="🕚",I0e="🕦",P0e="🌑",F0e="🌒",B0e="🌓",z0e="🌔",$0e="🌔",U0e="🌕",j0e="🌖",q0e="🌗",H0e="🌘",V0e="🌙",G0e="🌚",K0e="🌛",Z0e="🌜",W0e="🌡️",Y0e="☀️",J0e="🌝",Q0e="🌞",X0e="🪐",ebe="⭐",tbe="🌟",nbe="🌠",sbe="🌌",obe="☁️",rbe="⛅",ibe="⛈️",abe="🌤️",lbe="🌥️",cbe="🌦️",dbe="🌧️",ube="🌨️",hbe="🌩️",fbe="🌪️",pbe="🌫️",gbe="🌬️",mbe="🌀",_be="🌈",bbe="🌂",ybe="☂️",vbe="☔",xbe="⛱️",wbe="⚡",kbe="❄️",Ebe="☃️",Cbe="⛄",Abe="☄️",Sbe="🔥",Tbe="💧",Mbe="🌊",Obe="🎃",Rbe="🎄",Nbe="🎆",Lbe="🎇",Dbe="🧨",Ibe="✨",Pbe="🎈",Fbe="🎉",Bbe="🎊",zbe="🎋",$be="🎍",Ube="🎎",jbe="🎏",qbe="🎐",Hbe="🎑",Vbe="🧧",Gbe="🎀",Kbe="🎁",Zbe="🎗️",Wbe="🎟️",Ybe="🎫",Jbe="🎖️",Qbe="🏆",Xbe="🏅",eye="⚽",tye="⚾",nye="🥎",sye="🏀",oye="🏐",rye="🏈",iye="🏉",aye="🎾",lye="🥏",cye="🎳",dye="🏏",uye="🏑",hye="🏒",fye="🥍",pye="🏓",gye="🏸",mye="🥊",_ye="🥋",bye="🥅",yye="⛳",vye="⛸️",xye="🎣",wye="🤿",kye="🎽",Eye="🎿",Cye="🛷",Aye="🥌",Sye="🎯",Tye="🪀",Mye="🪁",Oye="🔮",Rye="🪄",Nye="🧿",Lye="🎮",Dye="🕹️",Iye="🎰",Pye="🎲",Fye="🧩",Bye="🧸",zye="🪅",$ye="🪆",Uye="♠️",jye="♥️",qye="♦️",Hye="♣️",Vye="♟️",Gye="🃏",Kye="🀄",Zye="🎴",Wye="🎭",Yye="🖼️",Jye="🎨",Qye="🧵",Xye="🪡",e2e="🧶",t2e="🪢",n2e="👓",s2e="🕶️",o2e="🥽",r2e="🥼",i2e="🦺",a2e="👔",l2e="👕",c2e="👕",d2e="👖",u2e="🧣",h2e="🧤",f2e="🧥",p2e="🧦",g2e="👗",m2e="👘",_2e="🥻",b2e="🩱",y2e="🩲",v2e="🩳",x2e="👙",w2e="👚",k2e="👛",E2e="👜",C2e="👝",A2e="🛍️",S2e="🎒",T2e="🩴",M2e="👞",O2e="👞",R2e="👟",N2e="🥾",L2e="🥿",D2e="👠",I2e="👡",P2e="🩰",F2e="👢",B2e="👑",z2e="👒",$2e="🎩",U2e="🎓",j2e="🧢",q2e="🪖",H2e="⛑️",V2e="📿",G2e="💄",K2e="💍",Z2e="💎",W2e="🔇",Y2e="🔈",J2e="🔉",Q2e="🔊",X2e="📢",eve="📣",tve="📯",nve="🔔",sve="🔕",ove="🎼",rve="🎵",ive="🎶",ave="🎙️",lve="🎚️",cve="🎛️",dve="🎤",uve="🎧",hve="📻",fve="🎷",pve="🪗",gve="🎸",mve="🎹",_ve="🎺",bve="🎻",yve="🪕",vve="🥁",xve="🪘",wve="📱",kve="📲",Eve="☎️",Cve="☎️",Ave="📞",Sve="📟",Tve="📠",Mve="🔋",Ove="🔌",Rve="💻",Nve="🖥️",Lve="🖨️",Dve="⌨️",Ive="🖱️",Pve="🖲️",Fve="💽",Bve="💾",zve="💿",$ve="📀",Uve="🧮",jve="🎥",qve="🎞️",Hve="📽️",Vve="🎬",Gve="📺",Kve="📷",Zve="📸",Wve="📹",Yve="📼",Jve="🔍",Qve="🔎",Xve="🕯️",exe="💡",txe="🔦",nxe="🏮",sxe="🏮",oxe="🪔",rxe="📔",ixe="📕",axe="📖",lxe="📖",cxe="📗",dxe="📘",uxe="📙",hxe="📚",fxe="📓",pxe="📒",gxe="📃",mxe="📜",_xe="📄",bxe="📰",yxe="🗞️",vxe="📑",xxe="🔖",wxe="🏷️",kxe="💰",Exe="🪙",Cxe="💴",Axe="💵",Sxe="💶",Txe="💷",Mxe="💸",Oxe="💳",Rxe="🧾",Nxe="💹",Lxe="✉️",Dxe="📧",Ixe="📨",Pxe="📩",Fxe="📤",Bxe="📥",zxe="📫",$xe="📪",Uxe="📬",jxe="📭",qxe="📮",Hxe="🗳️",Vxe="✏️",Gxe="✒️",Kxe="🖋️",Zxe="🖊️",Wxe="🖌️",Yxe="🖍️",Jxe="📝",Qxe="📝",Xxe="💼",ewe="📁",twe="📂",nwe="🗂️",swe="📅",owe="📆",rwe="🗒️",iwe="🗓️",awe="📇",lwe="📈",cwe="📉",dwe="📊",uwe="📋",hwe="📌",fwe="📍",pwe="📎",gwe="🖇️",mwe="📏",_we="📐",bwe="✂️",ywe="🗃️",vwe="🗄️",xwe="🗑️",wwe="🔒",kwe="🔓",Ewe="🔏",Cwe="🔐",Awe="🔑",Swe="🗝️",Twe="🔨",Mwe="🪓",Owe="⛏️",Rwe="⚒️",Nwe="🛠️",Lwe="🗡️",Dwe="⚔️",Iwe="🔫",Pwe="🪃",Fwe="🏹",Bwe="🛡️",zwe="🪚",$we="🔧",Uwe="🪛",jwe="🔩",qwe="⚙️",Hwe="🗜️",Vwe="⚖️",Gwe="🦯",Kwe="🔗",Zwe="⛓️",Wwe="🪝",Ywe="🧰",Jwe="🧲",Qwe="🪜",Xwe="⚗️",eke="🧪",tke="🧫",nke="🧬",ske="🔬",oke="🔭",rke="📡",ike="💉",ake="🩸",lke="💊",cke="🩹",dke="🩺",uke="🚪",hke="🛗",fke="🪞",pke="🪟",gke="🛏️",mke="🛋️",_ke="🪑",bke="🚽",yke="🪠",vke="🚿",xke="🛁",wke="🪤",kke="🪒",Eke="🧴",Cke="🧷",Ake="🧹",Ske="🧺",Tke="🧻",Mke="🪣",Oke="🧼",Rke="🪥",Nke="🧽",Lke="🧯",Dke="🛒",Ike="🚬",Pke="⚰️",Fke="🪦",Bke="⚱️",zke="🗿",$ke="🪧",Uke="🏧",jke="🚮",qke="🚰",Hke="♿",Vke="🚹",Gke="🚺",Kke="🚻",Zke="🚼",Wke="🚾",Yke="🛂",Jke="🛃",Qke="🛄",Xke="🛅",e5e="⚠️",t5e="🚸",n5e="⛔",s5e="🚫",o5e="🚳",r5e="🚭",i5e="🚯",a5e="🚷",l5e="📵",c5e="🔞",d5e="☢️",u5e="☣️",h5e="⬆️",f5e="↗️",p5e="➡️",g5e="↘️",m5e="⬇️",_5e="↙️",b5e="⬅️",y5e="↖️",v5e="↕️",x5e="↔️",w5e="↩️",k5e="↪️",E5e="⤴️",C5e="⤵️",A5e="🔃",S5e="🔄",T5e="🔙",M5e="🔚",O5e="🔛",R5e="🔜",N5e="🔝",L5e="🛐",D5e="⚛️",I5e="🕉️",P5e="✡️",F5e="☸️",B5e="☯️",z5e="✝️",$5e="☦️",U5e="☪️",j5e="☮️",q5e="🕎",H5e="🔯",V5e="♈",G5e="♉",K5e="♊",Z5e="♋",W5e="♌",Y5e="♍",J5e="♎",Q5e="♏",X5e="♐",e4e="♑",t4e="♒",n4e="♓",s4e="⛎",o4e="🔀",r4e="🔁",i4e="🔂",a4e="▶️",l4e="⏩",c4e="⏭️",d4e="⏯️",u4e="◀️",h4e="⏪",f4e="⏮️",p4e="🔼",g4e="⏫",m4e="🔽",_4e="⏬",b4e="⏸️",y4e="⏹️",v4e="⏺️",x4e="⏏️",w4e="🎦",k4e="🔅",E4e="🔆",C4e="📶",A4e="📳",S4e="📴",T4e="♀️",M4e="♂️",O4e="⚧️",R4e="✖️",N4e="➕",L4e="➖",D4e="➗",I4e="♾️",P4e="‼️",F4e="⁉️",B4e="❓",z4e="❔",$4e="❕",U4e="❗",j4e="❗",q4e="〰️",H4e="💱",V4e="💲",G4e="⚕️",K4e="♻️",Z4e="⚜️",W4e="🔱",Y4e="📛",J4e="🔰",Q4e="⭕",X4e="✅",eEe="☑️",tEe="✔️",nEe="❌",sEe="❎",oEe="➰",rEe="➿",iEe="〽️",aEe="✳️",lEe="✴️",cEe="❇️",dEe="©️",uEe="®️",hEe="™️",fEe="#️⃣",pEe="*️⃣",gEe="0️⃣",mEe="1️⃣",_Ee="2️⃣",bEe="3️⃣",yEe="4️⃣",vEe="5️⃣",xEe="6️⃣",wEe="7️⃣",kEe="8️⃣",EEe="9️⃣",CEe="🔟",AEe="🔠",SEe="🔡",TEe="🔣",MEe="🔤",OEe="🅰️",REe="🆎",NEe="🅱️",LEe="🆑",DEe="🆒",IEe="🆓",PEe="ℹ️",FEe="🆔",BEe="Ⓜ️",zEe="🆖",$Ee="🅾️",UEe="🆗",jEe="🅿️",qEe="🆘",HEe="🆙",VEe="🆚",GEe="🈁",KEe="🈂️",ZEe="🉐",WEe="🉑",YEe="㊗️",JEe="㊙️",QEe="🈵",XEe="🔴",e3e="🟠",t3e="🟡",n3e="🟢",s3e="🔵",o3e="🟣",r3e="🟤",i3e="⚫",a3e="⚪",l3e="🟥",c3e="🟧",d3e="🟨",u3e="🟩",h3e="🟦",f3e="🟪",p3e="🟫",g3e="⬛",m3e="⬜",_3e="◼️",b3e="◻️",y3e="◾",v3e="◽",x3e="▪️",w3e="▫️",k3e="🔶",E3e="🔷",C3e="🔸",A3e="🔹",S3e="🔺",T3e="🔻",M3e="💠",O3e="🔘",R3e="🔳",N3e="🔲",L3e="🏁",D3e="🚩",I3e="🎌",P3e="🏴",F3e="🏳️",B3e="🏳️‍🌈",z3e="🏳️‍⚧️",$3e="🏴‍☠️",U3e="🇦🇨",j3e="🇦🇩",q3e="🇦🇪",H3e="🇦🇫",V3e="🇦🇬",G3e="🇦🇮",K3e="🇦🇱",Z3e="🇦🇲",W3e="🇦🇴",Y3e="🇦🇶",J3e="🇦🇷",Q3e="🇦🇸",X3e="🇦🇹",e9e="🇦🇺",t9e="🇦🇼",n9e="🇦🇽",s9e="🇦🇿",o9e="🇧🇦",r9e="🇧🇧",i9e="🇧🇩",a9e="🇧🇪",l9e="🇧🇫",c9e="🇧🇬",d9e="🇧🇭",u9e="🇧🇮",h9e="🇧🇯",f9e="🇧🇱",p9e="🇧🇲",g9e="🇧🇳",m9e="🇧🇴",_9e="🇧🇶",b9e="🇧🇷",y9e="🇧🇸",v9e="🇧🇹",x9e="🇧🇻",w9e="🇧🇼",k9e="🇧🇾",E9e="🇧🇿",C9e="🇨🇦",A9e="🇨🇨",S9e="🇨🇩",T9e="🇨🇫",M9e="🇨🇬",O9e="🇨🇭",R9e="🇨🇮",N9e="🇨🇰",L9e="🇨🇱",D9e="🇨🇲",I9e="🇨🇳",P9e="🇨🇴",F9e="🇨🇵",B9e="🇨🇷",z9e="🇨🇺",$9e="🇨🇻",U9e="🇨🇼",j9e="🇨🇽",q9e="🇨🇾",H9e="🇨🇿",V9e="🇩🇪",G9e="🇩🇬",K9e="🇩🇯",Z9e="🇩🇰",W9e="🇩🇲",Y9e="🇩🇴",J9e="🇩🇿",Q9e="🇪🇦",X9e="🇪🇨",eCe="🇪🇪",tCe="🇪🇬",nCe="🇪🇭",sCe="🇪🇷",oCe="🇪🇸",rCe="🇪🇹",iCe="🇪🇺",aCe="🇪🇺",lCe="🇫🇮",cCe="🇫🇯",dCe="🇫🇰",uCe="🇫🇲",hCe="🇫🇴",fCe="🇫🇷",pCe="🇬🇦",gCe="🇬🇧",mCe="🇬🇧",_Ce="🇬🇩",bCe="🇬🇪",yCe="🇬🇫",vCe="🇬🇬",xCe="🇬🇭",wCe="🇬🇮",kCe="🇬🇱",ECe="🇬🇲",CCe="🇬🇳",ACe="🇬🇵",SCe="🇬🇶",TCe="🇬🇷",MCe="🇬🇸",OCe="🇬🇹",RCe="🇬🇺",NCe="🇬🇼",LCe="🇬🇾",DCe="🇭🇰",ICe="🇭🇲",PCe="🇭🇳",FCe="🇭🇷",BCe="🇭🇹",zCe="🇭🇺",$Ce="🇮🇨",UCe="🇮🇩",jCe="🇮🇪",qCe="🇮🇱",HCe="🇮🇲",VCe="🇮🇳",GCe="🇮🇴",KCe="🇮🇶",ZCe="🇮🇷",WCe="🇮🇸",YCe="🇮🇹",JCe="🇯🇪",QCe="🇯🇲",XCe="🇯🇴",e8e="🇯🇵",t8e="🇰🇪",n8e="🇰🇬",s8e="🇰🇭",o8e="🇰🇮",r8e="🇰🇲",i8e="🇰🇳",a8e="🇰🇵",l8e="🇰🇷",c8e="🇰🇼",d8e="🇰🇾",u8e="🇰🇿",h8e="🇱🇦",f8e="🇱🇧",p8e="🇱🇨",g8e="🇱🇮",m8e="🇱🇰",_8e="🇱🇷",b8e="🇱🇸",y8e="🇱🇹",v8e="🇱🇺",x8e="🇱🇻",w8e="🇱🇾",k8e="🇲🇦",E8e="🇲🇨",C8e="🇲🇩",A8e="🇲🇪",S8e="🇲🇫",T8e="🇲🇬",M8e="🇲🇭",O8e="🇲🇰",R8e="🇲🇱",N8e="🇲🇲",L8e="🇲🇳",D8e="🇲🇴",I8e="🇲🇵",P8e="🇲🇶",F8e="🇲🇷",B8e="🇲🇸",z8e="🇲🇹",$8e="🇲🇺",U8e="🇲🇻",j8e="🇲🇼",q8e="🇲🇽",H8e="🇲🇾",V8e="🇲🇿",G8e="🇳🇦",K8e="🇳🇨",Z8e="🇳🇪",W8e="🇳🇫",Y8e="🇳🇬",J8e="🇳🇮",Q8e="🇳🇱",X8e="🇳🇴",e6e="🇳🇵",t6e="🇳🇷",n6e="🇳🇺",s6e="🇳🇿",o6e="🇴🇲",r6e="🇵🇦",i6e="🇵🇪",a6e="🇵🇫",l6e="🇵🇬",c6e="🇵🇭",d6e="🇵🇰",u6e="🇵🇱",h6e="🇵🇲",f6e="🇵🇳",p6e="🇵🇷",g6e="🇵🇸",m6e="🇵🇹",_6e="🇵🇼",b6e="🇵🇾",y6e="🇶🇦",v6e="🇷🇪",x6e="🇷🇴",w6e="🇷🇸",k6e="🇷🇺",E6e="🇷🇼",C6e="🇸🇦",A6e="🇸🇧",S6e="🇸🇨",T6e="🇸🇩",M6e="🇸🇪",O6e="🇸🇬",R6e="🇸🇭",N6e="🇸🇮",L6e="🇸🇯",D6e="🇸🇰",I6e="🇸🇱",P6e="🇸🇲",F6e="🇸🇳",B6e="🇸🇴",z6e="🇸🇷",$6e="🇸🇸",U6e="🇸🇹",j6e="🇸🇻",q6e="🇸🇽",H6e="🇸🇾",V6e="🇸🇿",G6e="🇹🇦",K6e="🇹🇨",Z6e="🇹🇩",W6e="🇹🇫",Y6e="🇹🇬",J6e="🇹🇭",Q6e="🇹🇯",X6e="🇹🇰",e7e="🇹🇱",t7e="🇹🇲",n7e="🇹🇳",s7e="🇹🇴",o7e="🇹🇷",r7e="🇹🇹",i7e="🇹🇻",a7e="🇹🇼",l7e="🇹🇿",c7e="🇺🇦",d7e="🇺🇬",u7e="🇺🇲",h7e="🇺🇳",f7e="🇺🇸",p7e="🇺🇾",g7e="🇺🇿",m7e="🇻🇦",_7e="🇻🇨",b7e="🇻🇪",y7e="🇻🇬",v7e="🇻🇮",x7e="🇻🇳",w7e="🇻🇺",k7e="🇼🇫",E7e="🇼🇸",C7e="🇽🇰",A7e="🇾🇪",S7e="🇾🇹",T7e="🇿🇦",M7e="🇿🇲",O7e="🇿🇼",R7e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",N7e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",L7e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",D7e={100:"💯",1234:"🔢",grinning:Vte,smiley:Gte,smile:Kte,grin:Zte,laughing:Wte,satisfied:Yte,sweat_smile:Jte,rofl:Qte,joy:Xte,slightly_smiling_face:ene,upside_down_face:tne,wink:nne,blush:sne,innocent:one,smiling_face_with_three_hearts:rne,heart_eyes:ine,star_struck:ane,kissing_heart:lne,kissing:cne,relaxed:dne,kissing_closed_eyes:une,kissing_smiling_eyes:hne,smiling_face_with_tear:fne,yum:pne,stuck_out_tongue:gne,stuck_out_tongue_winking_eye:mne,zany_face:_ne,stuck_out_tongue_closed_eyes:bne,money_mouth_face:yne,hugs:vne,hand_over_mouth:xne,shushing_face:wne,thinking:kne,zipper_mouth_face:Ene,raised_eyebrow:Cne,neutral_face:Ane,expressionless:Sne,no_mouth:Tne,smirk:Mne,unamused:One,roll_eyes:Rne,grimacing:Nne,lying_face:Lne,relieved:Dne,pensive:Ine,sleepy:Pne,drooling_face:Fne,sleeping:Bne,mask:zne,face_with_thermometer:$ne,face_with_head_bandage:Une,nauseated_face:jne,vomiting_face:qne,sneezing_face:Hne,hot_face:Vne,cold_face:Gne,woozy_face:Kne,dizzy_face:Zne,exploding_head:Wne,cowboy_hat_face:Yne,partying_face:Jne,disguised_face:Qne,sunglasses:Xne,nerd_face:ese,monocle_face:tse,confused:nse,worried:sse,slightly_frowning_face:ose,frowning_face:rse,open_mouth:ise,hushed:ase,astonished:lse,flushed:cse,pleading_face:dse,frowning:use,anguished:hse,fearful:fse,cold_sweat:pse,disappointed_relieved:gse,cry:mse,sob:_se,scream:bse,confounded:yse,persevere:vse,disappointed:xse,sweat:wse,weary:kse,tired_face:Ese,yawning_face:Cse,triumph:Ase,rage:Sse,pout:Tse,angry:Mse,cursing_face:Ose,smiling_imp:Rse,imp:Nse,skull:Lse,skull_and_crossbones:Dse,hankey:Ise,poop:Pse,shit:Fse,clown_face:Bse,japanese_ogre:zse,japanese_goblin:$se,ghost:Use,alien:jse,space_invader:qse,robot:Hse,smiley_cat:Vse,smile_cat:Gse,joy_cat:Kse,heart_eyes_cat:Zse,smirk_cat:Wse,kissing_cat:Yse,scream_cat:Jse,crying_cat_face:Qse,pouting_cat:Xse,see_no_evil:eoe,hear_no_evil:toe,speak_no_evil:noe,kiss:soe,love_letter:ooe,cupid:roe,gift_heart:ioe,sparkling_heart:aoe,heartpulse:loe,heartbeat:coe,revolving_hearts:doe,two_hearts:uoe,heart_decoration:hoe,heavy_heart_exclamation:foe,broken_heart:poe,heart:goe,orange_heart:moe,yellow_heart:_oe,green_heart:boe,blue_heart:yoe,purple_heart:voe,brown_heart:xoe,black_heart:woe,white_heart:koe,anger:Eoe,boom:Coe,collision:Aoe,dizzy:Soe,sweat_drops:Toe,dash:Moe,hole:Ooe,bomb:Roe,speech_balloon:Noe,eye_speech_bubble:Loe,left_speech_bubble:Doe,right_anger_bubble:Ioe,thought_balloon:Poe,zzz:Foe,wave:Boe,raised_back_of_hand:zoe,raised_hand_with_fingers_splayed:$oe,hand:Uoe,raised_hand:joe,vulcan_salute:qoe,ok_hand:Hoe,pinched_fingers:Voe,pinching_hand:Goe,v:Koe,crossed_fingers:Zoe,love_you_gesture:Woe,metal:Yoe,call_me_hand:Joe,point_left:Qoe,point_right:Xoe,point_up_2:ere,middle_finger:tre,fu:nre,point_down:sre,point_up:ore,"+1":"👍",thumbsup:rre,"-1":"👎",thumbsdown:ire,fist_raised:are,fist:lre,fist_oncoming:cre,facepunch:dre,punch:ure,fist_left:hre,fist_right:fre,clap:pre,raised_hands:gre,open_hands:mre,palms_up_together:_re,handshake:bre,pray:yre,writing_hand:vre,nail_care:xre,selfie:wre,muscle:kre,mechanical_arm:Ere,mechanical_leg:Cre,leg:Are,foot:Sre,ear:Tre,ear_with_hearing_aid:Mre,nose:Ore,brain:Rre,anatomical_heart:Nre,lungs:Lre,tooth:Dre,bone:Ire,eyes:Pre,eye:Fre,tongue:Bre,lips:zre,baby:$re,child:Ure,boy:jre,girl:qre,adult:Hre,blond_haired_person:Vre,man:Gre,bearded_person:Kre,red_haired_man:Zre,curly_haired_man:Wre,white_haired_man:Yre,bald_man:Jre,woman:Qre,red_haired_woman:Xre,person_red_hair:eie,curly_haired_woman:tie,person_curly_hair:nie,white_haired_woman:sie,person_white_hair:oie,bald_woman:rie,person_bald:iie,blond_haired_woman:aie,blonde_woman:lie,blond_haired_man:cie,older_adult:die,older_man:uie,older_woman:hie,frowning_person:fie,frowning_man:pie,frowning_woman:gie,pouting_face:mie,pouting_man:_ie,pouting_woman:bie,no_good:yie,no_good_man:vie,ng_man:xie,no_good_woman:wie,ng_woman:kie,ok_person:Eie,ok_man:Cie,ok_woman:Aie,tipping_hand_person:Sie,information_desk_person:Tie,tipping_hand_man:Mie,sassy_man:Oie,tipping_hand_woman:Rie,sassy_woman:Nie,raising_hand:Lie,raising_hand_man:Die,raising_hand_woman:Iie,deaf_person:Pie,deaf_man:Fie,deaf_woman:Bie,bow:zie,bowing_man:$ie,bowing_woman:Uie,facepalm:jie,man_facepalming:qie,woman_facepalming:Hie,shrug:Vie,man_shrugging:Gie,woman_shrugging:Kie,health_worker:Zie,man_health_worker:Wie,woman_health_worker:Yie,student:Jie,man_student:Qie,woman_student:Xie,teacher:eae,man_teacher:tae,woman_teacher:nae,judge:sae,man_judge:oae,woman_judge:rae,farmer:iae,man_farmer:aae,woman_farmer:lae,cook:cae,man_cook:dae,woman_cook:uae,mechanic:hae,man_mechanic:fae,woman_mechanic:pae,factory_worker:gae,man_factory_worker:mae,woman_factory_worker:_ae,office_worker:bae,man_office_worker:yae,woman_office_worker:vae,scientist:xae,man_scientist:wae,woman_scientist:kae,technologist:Eae,man_technologist:Cae,woman_technologist:Aae,singer:Sae,man_singer:Tae,woman_singer:Mae,artist:Oae,man_artist:Rae,woman_artist:Nae,pilot:Lae,man_pilot:Dae,woman_pilot:Iae,astronaut:Pae,man_astronaut:Fae,woman_astronaut:Bae,firefighter:zae,man_firefighter:$ae,woman_firefighter:Uae,police_officer:jae,cop:qae,policeman:Hae,policewoman:Vae,detective:Gae,male_detective:Kae,female_detective:Zae,guard:Wae,guardsman:Yae,guardswoman:Jae,ninja:Qae,construction_worker:Xae,construction_worker_man:ele,construction_worker_woman:tle,prince:nle,princess:sle,person_with_turban:ole,man_with_turban:rle,woman_with_turban:ile,man_with_gua_pi_mao:ale,woman_with_headscarf:lle,person_in_tuxedo:cle,man_in_tuxedo:dle,woman_in_tuxedo:ule,person_with_veil:hle,man_with_veil:fle,woman_with_veil:ple,bride_with_veil:gle,pregnant_woman:mle,breast_feeding:_le,woman_feeding_baby:ble,man_feeding_baby:yle,person_feeding_baby:vle,angel:xle,santa:wle,mrs_claus:kle,mx_claus:Ele,superhero:Cle,superhero_man:Ale,superhero_woman:Sle,supervillain:Tle,supervillain_man:Mle,supervillain_woman:Ole,mage:Rle,mage_man:Nle,mage_woman:Lle,fairy:Dle,fairy_man:Ile,fairy_woman:Ple,vampire:Fle,vampire_man:Ble,vampire_woman:zle,merperson:$le,merman:Ule,mermaid:jle,elf:qle,elf_man:Hle,elf_woman:Vle,genie:Gle,genie_man:Kle,genie_woman:Zle,zombie:Wle,zombie_man:Yle,zombie_woman:Jle,massage:Qle,massage_man:Xle,massage_woman:ece,haircut:tce,haircut_man:nce,haircut_woman:sce,walking:oce,walking_man:rce,walking_woman:ice,standing_person:ace,standing_man:lce,standing_woman:cce,kneeling_person:dce,kneeling_man:uce,kneeling_woman:hce,person_with_probing_cane:fce,man_with_probing_cane:pce,woman_with_probing_cane:gce,person_in_motorized_wheelchair:mce,man_in_motorized_wheelchair:_ce,woman_in_motorized_wheelchair:bce,person_in_manual_wheelchair:yce,man_in_manual_wheelchair:vce,woman_in_manual_wheelchair:xce,runner:wce,running:kce,running_man:Ece,running_woman:Cce,woman_dancing:Ace,dancer:Sce,man_dancing:Tce,business_suit_levitating:Mce,dancers:Oce,dancing_men:Rce,dancing_women:Nce,sauna_person:Lce,sauna_man:Dce,sauna_woman:Ice,climbing:Pce,climbing_man:Fce,climbing_woman:Bce,person_fencing:zce,horse_racing:$ce,skier:Uce,snowboarder:jce,golfing:qce,golfing_man:Hce,golfing_woman:Vce,surfer:Gce,surfing_man:Kce,surfing_woman:Zce,rowboat:Wce,rowing_man:Yce,rowing_woman:Jce,swimmer:Qce,swimming_man:Xce,swimming_woman:ede,bouncing_ball_person:tde,bouncing_ball_man:nde,basketball_man:sde,bouncing_ball_woman:ode,basketball_woman:rde,weight_lifting:ide,weight_lifting_man:ade,weight_lifting_woman:lde,bicyclist:cde,biking_man:dde,biking_woman:ude,mountain_bicyclist:hde,mountain_biking_man:fde,mountain_biking_woman:pde,cartwheeling:gde,man_cartwheeling:mde,woman_cartwheeling:_de,wrestling:bde,men_wrestling:yde,women_wrestling:vde,water_polo:xde,man_playing_water_polo:wde,woman_playing_water_polo:kde,handball_person:Ede,man_playing_handball:Cde,woman_playing_handball:Ade,juggling_person:Sde,man_juggling:Tde,woman_juggling:Mde,lotus_position:Ode,lotus_position_man:Rde,lotus_position_woman:Nde,bath:Lde,sleeping_bed:Dde,people_holding_hands:Ide,two_women_holding_hands:Pde,couple:Fde,two_men_holding_hands:Bde,couplekiss:zde,couplekiss_man_woman:$de,couplekiss_man_man:Ude,couplekiss_woman_woman:jde,couple_with_heart:qde,couple_with_heart_woman_man:Hde,couple_with_heart_man_man:Vde,couple_with_heart_woman_woman:Gde,family:Kde,family_man_woman_boy:Zde,family_man_woman_girl:Wde,family_man_woman_girl_boy:Yde,family_man_woman_boy_boy:Jde,family_man_woman_girl_girl:Qde,family_man_man_boy:Xde,family_man_man_girl:eue,family_man_man_girl_boy:tue,family_man_man_boy_boy:nue,family_man_man_girl_girl:sue,family_woman_woman_boy:oue,family_woman_woman_girl:rue,family_woman_woman_girl_boy:iue,family_woman_woman_boy_boy:aue,family_woman_woman_girl_girl:lue,family_man_boy:cue,family_man_boy_boy:due,family_man_girl:uue,family_man_girl_boy:hue,family_man_girl_girl:fue,family_woman_boy:pue,family_woman_boy_boy:gue,family_woman_girl:mue,family_woman_girl_boy:_ue,family_woman_girl_girl:bue,speaking_head:yue,bust_in_silhouette:vue,busts_in_silhouette:xue,people_hugging:wue,footprints:kue,monkey_face:Eue,monkey:Cue,gorilla:Aue,orangutan:Sue,dog:Tue,dog2:Mue,guide_dog:Oue,service_dog:Rue,poodle:Nue,wolf:Lue,fox_face:Due,raccoon:Iue,cat:Pue,cat2:Fue,black_cat:Bue,lion:zue,tiger:$ue,tiger2:Uue,leopard:jue,horse:que,racehorse:Hue,unicorn:Vue,zebra:Gue,deer:Kue,bison:Zue,cow:Wue,ox:Yue,water_buffalo:Jue,cow2:Que,pig:Xue,pig2:ehe,boar:the,pig_nose:nhe,ram:she,sheep:ohe,goat:rhe,dromedary_camel:ihe,camel:ahe,llama:lhe,giraffe:che,elephant:dhe,mammoth:uhe,rhinoceros:hhe,hippopotamus:fhe,mouse:phe,mouse2:ghe,rat:mhe,hamster:_he,rabbit:bhe,rabbit2:yhe,chipmunk:vhe,beaver:xhe,hedgehog:whe,bat:khe,bear:Ehe,polar_bear:Che,koala:Ahe,panda_face:She,sloth:The,otter:Mhe,skunk:Ohe,kangaroo:Rhe,badger:Nhe,feet:Lhe,paw_prints:Dhe,turkey:Ihe,chicken:Phe,rooster:Fhe,hatching_chick:Bhe,baby_chick:zhe,hatched_chick:$he,bird:Uhe,penguin:jhe,dove:qhe,eagle:Hhe,duck:Vhe,swan:Ghe,owl:Khe,dodo:Zhe,feather:Whe,flamingo:Yhe,peacock:Jhe,parrot:Qhe,frog:Xhe,crocodile:efe,turtle:tfe,lizard:nfe,snake:sfe,dragon_face:ofe,dragon:rfe,sauropod:ife,"t-rex":"🦖",whale:afe,whale2:lfe,dolphin:cfe,flipper:dfe,seal:ufe,fish:hfe,tropical_fish:ffe,blowfish:pfe,shark:gfe,octopus:mfe,shell:_fe,snail:bfe,butterfly:yfe,bug:vfe,ant:xfe,bee:wfe,honeybee:kfe,beetle:Efe,lady_beetle:Cfe,cricket:Afe,cockroach:Sfe,spider:Tfe,spider_web:Mfe,scorpion:Ofe,mosquito:Rfe,fly:Nfe,worm:Lfe,microbe:Dfe,bouquet:Ife,cherry_blossom:Pfe,white_flower:Ffe,rosette:Bfe,rose:zfe,wilted_flower:$fe,hibiscus:Ufe,sunflower:jfe,blossom:qfe,tulip:Hfe,seedling:Vfe,potted_plant:Gfe,evergreen_tree:Kfe,deciduous_tree:Zfe,palm_tree:Wfe,cactus:Yfe,ear_of_rice:Jfe,herb:Qfe,shamrock:Xfe,four_leaf_clover:epe,maple_leaf:tpe,fallen_leaf:npe,leaves:spe,grapes:ope,melon:rpe,watermelon:ipe,tangerine:ape,orange:lpe,mandarin:cpe,lemon:dpe,banana:upe,pineapple:hpe,mango:fpe,apple:ppe,green_apple:gpe,pear:mpe,peach:_pe,cherries:bpe,strawberry:ype,blueberries:vpe,kiwi_fruit:xpe,tomato:wpe,olive:kpe,coconut:Epe,avocado:Cpe,eggplant:Ape,potato:Spe,carrot:Tpe,corn:Mpe,hot_pepper:Ope,bell_pepper:Rpe,cucumber:Npe,leafy_green:Lpe,broccoli:Dpe,garlic:Ipe,onion:Ppe,mushroom:Fpe,peanuts:Bpe,chestnut:zpe,bread:$pe,croissant:Upe,baguette_bread:jpe,flatbread:qpe,pretzel:Hpe,bagel:Vpe,pancakes:Gpe,waffle:Kpe,cheese:Zpe,meat_on_bone:Wpe,poultry_leg:Ype,cut_of_meat:Jpe,bacon:Qpe,hamburger:Xpe,fries:ege,pizza:tge,hotdog:nge,sandwich:sge,taco:oge,burrito:rge,tamale:ige,stuffed_flatbread:age,falafel:lge,egg:cge,fried_egg:dge,shallow_pan_of_food:uge,stew:hge,fondue:fge,bowl_with_spoon:pge,green_salad:gge,popcorn:mge,butter:_ge,salt:bge,canned_food:yge,bento:vge,rice_cracker:xge,rice_ball:wge,rice:kge,curry:Ege,ramen:Cge,spaghetti:Age,sweet_potato:Sge,oden:Tge,sushi:Mge,fried_shrimp:Oge,fish_cake:Rge,moon_cake:Nge,dango:Lge,dumpling:Dge,fortune_cookie:Ige,takeout_box:Pge,crab:Fge,lobster:Bge,shrimp:zge,squid:$ge,oyster:Uge,icecream:jge,shaved_ice:qge,ice_cream:Hge,doughnut:Vge,cookie:Gge,birthday:Kge,cake:Zge,cupcake:Wge,pie:Yge,chocolate_bar:Jge,candy:Qge,lollipop:Xge,custard:eme,honey_pot:tme,baby_bottle:nme,milk_glass:sme,coffee:ome,teapot:rme,tea:ime,sake:ame,champagne:lme,wine_glass:cme,cocktail:dme,tropical_drink:ume,beer:hme,beers:fme,clinking_glasses:pme,tumbler_glass:gme,cup_with_straw:mme,bubble_tea:_me,beverage_box:bme,mate:yme,ice_cube:vme,chopsticks:xme,plate_with_cutlery:wme,fork_and_knife:kme,spoon:Eme,hocho:Cme,knife:Ame,amphora:Sme,earth_africa:Tme,earth_americas:Mme,earth_asia:Ome,globe_with_meridians:Rme,world_map:Nme,japan:Lme,compass:Dme,mountain_snow:Ime,mountain:Pme,volcano:Fme,mount_fuji:Bme,camping:zme,beach_umbrella:$me,desert:Ume,desert_island:jme,national_park:qme,stadium:Hme,classical_building:Vme,building_construction:Gme,bricks:Kme,rock:Zme,wood:Wme,hut:Yme,houses:Jme,derelict_house:Qme,house:Xme,house_with_garden:e_e,office:t_e,post_office:n_e,european_post_office:s_e,hospital:o_e,bank:r_e,hotel:i_e,love_hotel:a_e,convenience_store:l_e,school:c_e,department_store:d_e,factory:u_e,japanese_castle:h_e,european_castle:f_e,wedding:p_e,tokyo_tower:g_e,statue_of_liberty:m_e,church:__e,mosque:b_e,hindu_temple:y_e,synagogue:v_e,shinto_shrine:x_e,kaaba:w_e,fountain:k_e,tent:E_e,foggy:C_e,night_with_stars:A_e,cityscape:S_e,sunrise_over_mountains:T_e,sunrise:M_e,city_sunset:O_e,city_sunrise:R_e,bridge_at_night:N_e,hotsprings:L_e,carousel_horse:D_e,ferris_wheel:I_e,roller_coaster:P_e,barber:F_e,circus_tent:B_e,steam_locomotive:z_e,railway_car:$_e,bullettrain_side:U_e,bullettrain_front:j_e,train2:q_e,metro:H_e,light_rail:V_e,station:G_e,tram:K_e,monorail:Z_e,mountain_railway:W_e,train:Y_e,bus:J_e,oncoming_bus:Q_e,trolleybus:X_e,minibus:e1e,ambulance:t1e,fire_engine:n1e,police_car:s1e,oncoming_police_car:o1e,taxi:r1e,oncoming_taxi:i1e,car:a1e,red_car:l1e,oncoming_automobile:c1e,blue_car:d1e,pickup_truck:u1e,truck:h1e,articulated_lorry:f1e,tractor:p1e,racing_car:g1e,motorcycle:m1e,motor_scooter:_1e,manual_wheelchair:b1e,motorized_wheelchair:y1e,auto_rickshaw:v1e,bike:x1e,kick_scooter:w1e,skateboard:k1e,roller_skate:E1e,busstop:C1e,motorway:A1e,railway_track:S1e,oil_drum:T1e,fuelpump:M1e,rotating_light:O1e,traffic_light:R1e,vertical_traffic_light:N1e,stop_sign:L1e,construction:D1e,anchor:I1e,boat:P1e,sailboat:F1e,canoe:B1e,speedboat:z1e,passenger_ship:$1e,ferry:U1e,motor_boat:j1e,ship:q1e,airplane:H1e,small_airplane:V1e,flight_departure:G1e,flight_arrival:K1e,parachute:Z1e,seat:W1e,helicopter:Y1e,suspension_railway:J1e,mountain_cableway:Q1e,aerial_tramway:X1e,artificial_satellite:e0e,rocket:t0e,flying_saucer:n0e,bellhop_bell:s0e,luggage:o0e,hourglass:r0e,hourglass_flowing_sand:i0e,watch:a0e,alarm_clock:l0e,stopwatch:c0e,timer_clock:d0e,mantelpiece_clock:u0e,clock12:h0e,clock1230:f0e,clock1:p0e,clock130:g0e,clock2:m0e,clock230:_0e,clock3:b0e,clock330:y0e,clock4:v0e,clock430:x0e,clock5:w0e,clock530:k0e,clock6:E0e,clock630:C0e,clock7:A0e,clock730:S0e,clock8:T0e,clock830:M0e,clock9:O0e,clock930:R0e,clock10:N0e,clock1030:L0e,clock11:D0e,clock1130:I0e,new_moon:P0e,waxing_crescent_moon:F0e,first_quarter_moon:B0e,moon:z0e,waxing_gibbous_moon:$0e,full_moon:U0e,waning_gibbous_moon:j0e,last_quarter_moon:q0e,waning_crescent_moon:H0e,crescent_moon:V0e,new_moon_with_face:G0e,first_quarter_moon_with_face:K0e,last_quarter_moon_with_face:Z0e,thermometer:W0e,sunny:Y0e,full_moon_with_face:J0e,sun_with_face:Q0e,ringed_planet:X0e,star:ebe,star2:tbe,stars:nbe,milky_way:sbe,cloud:obe,partly_sunny:rbe,cloud_with_lightning_and_rain:ibe,sun_behind_small_cloud:abe,sun_behind_large_cloud:lbe,sun_behind_rain_cloud:cbe,cloud_with_rain:dbe,cloud_with_snow:ube,cloud_with_lightning:hbe,tornado:fbe,fog:pbe,wind_face:gbe,cyclone:mbe,rainbow:_be,closed_umbrella:bbe,open_umbrella:ybe,umbrella:vbe,parasol_on_ground:xbe,zap:wbe,snowflake:kbe,snowman_with_snow:Ebe,snowman:Cbe,comet:Abe,fire:Sbe,droplet:Tbe,ocean:Mbe,jack_o_lantern:Obe,christmas_tree:Rbe,fireworks:Nbe,sparkler:Lbe,firecracker:Dbe,sparkles:Ibe,balloon:Pbe,tada:Fbe,confetti_ball:Bbe,tanabata_tree:zbe,bamboo:$be,dolls:Ube,flags:jbe,wind_chime:qbe,rice_scene:Hbe,red_envelope:Vbe,ribbon:Gbe,gift:Kbe,reminder_ribbon:Zbe,tickets:Wbe,ticket:Ybe,medal_military:Jbe,trophy:Qbe,medal_sports:Xbe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:eye,baseball:tye,softball:nye,basketball:sye,volleyball:oye,football:rye,rugby_football:iye,tennis:aye,flying_disc:lye,bowling:cye,cricket_game:dye,field_hockey:uye,ice_hockey:hye,lacrosse:fye,ping_pong:pye,badminton:gye,boxing_glove:mye,martial_arts_uniform:_ye,goal_net:bye,golf:yye,ice_skate:vye,fishing_pole_and_fish:xye,diving_mask:wye,running_shirt_with_sash:kye,ski:Eye,sled:Cye,curling_stone:Aye,dart:Sye,yo_yo:Tye,kite:Mye,"8ball":"🎱",crystal_ball:Oye,magic_wand:Rye,nazar_amulet:Nye,video_game:Lye,joystick:Dye,slot_machine:Iye,game_die:Pye,jigsaw:Fye,teddy_bear:Bye,pinata:zye,nesting_dolls:$ye,spades:Uye,hearts:jye,diamonds:qye,clubs:Hye,chess_pawn:Vye,black_joker:Gye,mahjong:Kye,flower_playing_cards:Zye,performing_arts:Wye,framed_picture:Yye,art:Jye,thread:Qye,sewing_needle:Xye,yarn:e2e,knot:t2e,eyeglasses:n2e,dark_sunglasses:s2e,goggles:o2e,lab_coat:r2e,safety_vest:i2e,necktie:a2e,shirt:l2e,tshirt:c2e,jeans:d2e,scarf:u2e,gloves:h2e,coat:f2e,socks:p2e,dress:g2e,kimono:m2e,sari:_2e,one_piece_swimsuit:b2e,swim_brief:y2e,shorts:v2e,bikini:x2e,womans_clothes:w2e,purse:k2e,handbag:E2e,pouch:C2e,shopping:A2e,school_satchel:S2e,thong_sandal:T2e,mans_shoe:M2e,shoe:O2e,athletic_shoe:R2e,hiking_boot:N2e,flat_shoe:L2e,high_heel:D2e,sandal:I2e,ballet_shoes:P2e,boot:F2e,crown:B2e,womans_hat:z2e,tophat:$2e,mortar_board:U2e,billed_cap:j2e,military_helmet:q2e,rescue_worker_helmet:H2e,prayer_beads:V2e,lipstick:G2e,ring:K2e,gem:Z2e,mute:W2e,speaker:Y2e,sound:J2e,loud_sound:Q2e,loudspeaker:X2e,mega:eve,postal_horn:tve,bell:nve,no_bell:sve,musical_score:ove,musical_note:rve,notes:ive,studio_microphone:ave,level_slider:lve,control_knobs:cve,microphone:dve,headphones:uve,radio:hve,saxophone:fve,accordion:pve,guitar:gve,musical_keyboard:mve,trumpet:_ve,violin:bve,banjo:yve,drum:vve,long_drum:xve,iphone:wve,calling:kve,phone:Eve,telephone:Cve,telephone_receiver:Ave,pager:Sve,fax:Tve,battery:Mve,electric_plug:Ove,computer:Rve,desktop_computer:Nve,printer:Lve,keyboard:Dve,computer_mouse:Ive,trackball:Pve,minidisc:Fve,floppy_disk:Bve,cd:zve,dvd:$ve,abacus:Uve,movie_camera:jve,film_strip:qve,film_projector:Hve,clapper:Vve,tv:Gve,camera:Kve,camera_flash:Zve,video_camera:Wve,vhs:Yve,mag:Jve,mag_right:Qve,candle:Xve,bulb:exe,flashlight:txe,izakaya_lantern:nxe,lantern:sxe,diya_lamp:oxe,notebook_with_decorative_cover:rxe,closed_book:ixe,book:axe,open_book:lxe,green_book:cxe,blue_book:dxe,orange_book:uxe,books:hxe,notebook:fxe,ledger:pxe,page_with_curl:gxe,scroll:mxe,page_facing_up:_xe,newspaper:bxe,newspaper_roll:yxe,bookmark_tabs:vxe,bookmark:xxe,label:wxe,moneybag:kxe,coin:Exe,yen:Cxe,dollar:Axe,euro:Sxe,pound:Txe,money_with_wings:Mxe,credit_card:Oxe,receipt:Rxe,chart:Nxe,envelope:Lxe,email:Dxe,"e-mail":"📧",incoming_envelope:Ixe,envelope_with_arrow:Pxe,outbox_tray:Fxe,inbox_tray:Bxe,package:"📦",mailbox:zxe,mailbox_closed:$xe,mailbox_with_mail:Uxe,mailbox_with_no_mail:jxe,postbox:qxe,ballot_box:Hxe,pencil2:Vxe,black_nib:Gxe,fountain_pen:Kxe,pen:Zxe,paintbrush:Wxe,crayon:Yxe,memo:Jxe,pencil:Qxe,briefcase:Xxe,file_folder:ewe,open_file_folder:twe,card_index_dividers:nwe,date:swe,calendar:owe,spiral_notepad:rwe,spiral_calendar:iwe,card_index:awe,chart_with_upwards_trend:lwe,chart_with_downwards_trend:cwe,bar_chart:dwe,clipboard:uwe,pushpin:hwe,round_pushpin:fwe,paperclip:pwe,paperclips:gwe,straight_ruler:mwe,triangular_ruler:_we,scissors:bwe,card_file_box:ywe,file_cabinet:vwe,wastebasket:xwe,lock:wwe,unlock:kwe,lock_with_ink_pen:Ewe,closed_lock_with_key:Cwe,key:Awe,old_key:Swe,hammer:Twe,axe:Mwe,pick:Owe,hammer_and_pick:Rwe,hammer_and_wrench:Nwe,dagger:Lwe,crossed_swords:Dwe,gun:Iwe,boomerang:Pwe,bow_and_arrow:Fwe,shield:Bwe,carpentry_saw:zwe,wrench:$we,screwdriver:Uwe,nut_and_bolt:jwe,gear:qwe,clamp:Hwe,balance_scale:Vwe,probing_cane:Gwe,link:Kwe,chains:Zwe,hook:Wwe,toolbox:Ywe,magnet:Jwe,ladder:Qwe,alembic:Xwe,test_tube:eke,petri_dish:tke,dna:nke,microscope:ske,telescope:oke,satellite:rke,syringe:ike,drop_of_blood:ake,pill:lke,adhesive_bandage:cke,stethoscope:dke,door:uke,elevator:hke,mirror:fke,window:pke,bed:gke,couch_and_lamp:mke,chair:_ke,toilet:bke,plunger:yke,shower:vke,bathtub:xke,mouse_trap:wke,razor:kke,lotion_bottle:Eke,safety_pin:Cke,broom:Ake,basket:Ske,roll_of_paper:Tke,bucket:Mke,soap:Oke,toothbrush:Rke,sponge:Nke,fire_extinguisher:Lke,shopping_cart:Dke,smoking:Ike,coffin:Pke,headstone:Fke,funeral_urn:Bke,moyai:zke,placard:$ke,atm:Uke,put_litter_in_its_place:jke,potable_water:qke,wheelchair:Hke,mens:Vke,womens:Gke,restroom:Kke,baby_symbol:Zke,wc:Wke,passport_control:Yke,customs:Jke,baggage_claim:Qke,left_luggage:Xke,warning:e5e,children_crossing:t5e,no_entry:n5e,no_entry_sign:s5e,no_bicycles:o5e,no_smoking:r5e,do_not_litter:i5e,"non-potable_water":"🚱",no_pedestrians:a5e,no_mobile_phones:l5e,underage:c5e,radioactive:d5e,biohazard:u5e,arrow_up:h5e,arrow_upper_right:f5e,arrow_right:p5e,arrow_lower_right:g5e,arrow_down:m5e,arrow_lower_left:_5e,arrow_left:b5e,arrow_upper_left:y5e,arrow_up_down:v5e,left_right_arrow:x5e,leftwards_arrow_with_hook:w5e,arrow_right_hook:k5e,arrow_heading_up:E5e,arrow_heading_down:C5e,arrows_clockwise:A5e,arrows_counterclockwise:S5e,back:T5e,end:M5e,on:O5e,soon:R5e,top:N5e,place_of_worship:L5e,atom_symbol:D5e,om:I5e,star_of_david:P5e,wheel_of_dharma:F5e,yin_yang:B5e,latin_cross:z5e,orthodox_cross:$5e,star_and_crescent:U5e,peace_symbol:j5e,menorah:q5e,six_pointed_star:H5e,aries:V5e,taurus:G5e,gemini:K5e,cancer:Z5e,leo:W5e,virgo:Y5e,libra:J5e,scorpius:Q5e,sagittarius:X5e,capricorn:e4e,aquarius:t4e,pisces:n4e,ophiuchus:s4e,twisted_rightwards_arrows:o4e,repeat:r4e,repeat_one:i4e,arrow_forward:a4e,fast_forward:l4e,next_track_button:c4e,play_or_pause_button:d4e,arrow_backward:u4e,rewind:h4e,previous_track_button:f4e,arrow_up_small:p4e,arrow_double_up:g4e,arrow_down_small:m4e,arrow_double_down:_4e,pause_button:b4e,stop_button:y4e,record_button:v4e,eject_button:x4e,cinema:w4e,low_brightness:k4e,high_brightness:E4e,signal_strength:C4e,vibration_mode:A4e,mobile_phone_off:S4e,female_sign:T4e,male_sign:M4e,transgender_symbol:O4e,heavy_multiplication_x:R4e,heavy_plus_sign:N4e,heavy_minus_sign:L4e,heavy_division_sign:D4e,infinity:I4e,bangbang:P4e,interrobang:F4e,question:B4e,grey_question:z4e,grey_exclamation:$4e,exclamation:U4e,heavy_exclamation_mark:j4e,wavy_dash:q4e,currency_exchange:H4e,heavy_dollar_sign:V4e,medical_symbol:G4e,recycle:K4e,fleur_de_lis:Z4e,trident:W4e,name_badge:Y4e,beginner:J4e,o:Q4e,white_check_mark:X4e,ballot_box_with_check:eEe,heavy_check_mark:tEe,x:nEe,negative_squared_cross_mark:sEe,curly_loop:oEe,loop:rEe,part_alternation_mark:iEe,eight_spoked_asterisk:aEe,eight_pointed_black_star:lEe,sparkle:cEe,copyright:dEe,registered:uEe,tm:hEe,hash:fEe,asterisk:pEe,zero:gEe,one:mEe,two:_Ee,three:bEe,four:yEe,five:vEe,six:xEe,seven:wEe,eight:kEe,nine:EEe,keycap_ten:CEe,capital_abcd:AEe,abcd:SEe,symbols:TEe,abc:MEe,a:OEe,ab:REe,b:NEe,cl:LEe,cool:DEe,free:IEe,information_source:PEe,id:FEe,m:BEe,new:"🆕",ng:zEe,o2:$Ee,ok:UEe,parking:jEe,sos:qEe,up:HEe,vs:VEe,koko:GEe,sa:KEe,ideograph_advantage:ZEe,accept:WEe,congratulations:YEe,secret:JEe,u6e80:QEe,red_circle:XEe,orange_circle:e3e,yellow_circle:t3e,green_circle:n3e,large_blue_circle:s3e,purple_circle:o3e,brown_circle:r3e,black_circle:i3e,white_circle:a3e,red_square:l3e,orange_square:c3e,yellow_square:d3e,green_square:u3e,blue_square:h3e,purple_square:f3e,brown_square:p3e,black_large_square:g3e,white_large_square:m3e,black_medium_square:_3e,white_medium_square:b3e,black_medium_small_square:y3e,white_medium_small_square:v3e,black_small_square:x3e,white_small_square:w3e,large_orange_diamond:k3e,large_blue_diamond:E3e,small_orange_diamond:C3e,small_blue_diamond:A3e,small_red_triangle:S3e,small_red_triangle_down:T3e,diamond_shape_with_a_dot_inside:M3e,radio_button:O3e,white_square_button:R3e,black_square_button:N3e,checkered_flag:L3e,triangular_flag_on_post:D3e,crossed_flags:I3e,black_flag:P3e,white_flag:F3e,rainbow_flag:B3e,transgender_flag:z3e,pirate_flag:$3e,ascension_island:U3e,andorra:j3e,united_arab_emirates:q3e,afghanistan:H3e,antigua_barbuda:V3e,anguilla:G3e,albania:K3e,armenia:Z3e,angola:W3e,antarctica:Y3e,argentina:J3e,american_samoa:Q3e,austria:X3e,australia:e9e,aruba:t9e,aland_islands:n9e,azerbaijan:s9e,bosnia_herzegovina:o9e,barbados:r9e,bangladesh:i9e,belgium:a9e,burkina_faso:l9e,bulgaria:c9e,bahrain:d9e,burundi:u9e,benin:h9e,st_barthelemy:f9e,bermuda:p9e,brunei:g9e,bolivia:m9e,caribbean_netherlands:_9e,brazil:b9e,bahamas:y9e,bhutan:v9e,bouvet_island:x9e,botswana:w9e,belarus:k9e,belize:E9e,canada:C9e,cocos_islands:A9e,congo_kinshasa:S9e,central_african_republic:T9e,congo_brazzaville:M9e,switzerland:O9e,cote_divoire:R9e,cook_islands:N9e,chile:L9e,cameroon:D9e,cn:I9e,colombia:P9e,clipperton_island:F9e,costa_rica:B9e,cuba:z9e,cape_verde:$9e,curacao:U9e,christmas_island:j9e,cyprus:q9e,czech_republic:H9e,de:V9e,diego_garcia:G9e,djibouti:K9e,denmark:Z9e,dominica:W9e,dominican_republic:Y9e,algeria:J9e,ceuta_melilla:Q9e,ecuador:X9e,estonia:eCe,egypt:tCe,western_sahara:nCe,eritrea:sCe,es:oCe,ethiopia:rCe,eu:iCe,european_union:aCe,finland:lCe,fiji:cCe,falkland_islands:dCe,micronesia:uCe,faroe_islands:hCe,fr:fCe,gabon:pCe,gb:gCe,uk:mCe,grenada:_Ce,georgia:bCe,french_guiana:yCe,guernsey:vCe,ghana:xCe,gibraltar:wCe,greenland:kCe,gambia:ECe,guinea:CCe,guadeloupe:ACe,equatorial_guinea:SCe,greece:TCe,south_georgia_south_sandwich_islands:MCe,guatemala:OCe,guam:RCe,guinea_bissau:NCe,guyana:LCe,hong_kong:DCe,heard_mcdonald_islands:ICe,honduras:PCe,croatia:FCe,haiti:BCe,hungary:zCe,canary_islands:$Ce,indonesia:UCe,ireland:jCe,israel:qCe,isle_of_man:HCe,india:VCe,british_indian_ocean_territory:GCe,iraq:KCe,iran:ZCe,iceland:WCe,it:YCe,jersey:JCe,jamaica:QCe,jordan:XCe,jp:e8e,kenya:t8e,kyrgyzstan:n8e,cambodia:s8e,kiribati:o8e,comoros:r8e,st_kitts_nevis:i8e,north_korea:a8e,kr:l8e,kuwait:c8e,cayman_islands:d8e,kazakhstan:u8e,laos:h8e,lebanon:f8e,st_lucia:p8e,liechtenstein:g8e,sri_lanka:m8e,liberia:_8e,lesotho:b8e,lithuania:y8e,luxembourg:v8e,latvia:x8e,libya:w8e,morocco:k8e,monaco:E8e,moldova:C8e,montenegro:A8e,st_martin:S8e,madagascar:T8e,marshall_islands:M8e,macedonia:O8e,mali:R8e,myanmar:N8e,mongolia:L8e,macau:D8e,northern_mariana_islands:I8e,martinique:P8e,mauritania:F8e,montserrat:B8e,malta:z8e,mauritius:$8e,maldives:U8e,malawi:j8e,mexico:q8e,malaysia:H8e,mozambique:V8e,namibia:G8e,new_caledonia:K8e,niger:Z8e,norfolk_island:W8e,nigeria:Y8e,nicaragua:J8e,netherlands:Q8e,norway:X8e,nepal:e6e,nauru:t6e,niue:n6e,new_zealand:s6e,oman:o6e,panama:r6e,peru:i6e,french_polynesia:a6e,papua_new_guinea:l6e,philippines:c6e,pakistan:d6e,poland:u6e,st_pierre_miquelon:h6e,pitcairn_islands:f6e,puerto_rico:p6e,palestinian_territories:g6e,portugal:m6e,palau:_6e,paraguay:b6e,qatar:y6e,reunion:v6e,romania:x6e,serbia:w6e,ru:k6e,rwanda:E6e,saudi_arabia:C6e,solomon_islands:A6e,seychelles:S6e,sudan:T6e,sweden:M6e,singapore:O6e,st_helena:R6e,slovenia:N6e,svalbard_jan_mayen:L6e,slovakia:D6e,sierra_leone:I6e,san_marino:P6e,senegal:F6e,somalia:B6e,suriname:z6e,south_sudan:$6e,sao_tome_principe:U6e,el_salvador:j6e,sint_maarten:q6e,syria:H6e,swaziland:V6e,tristan_da_cunha:G6e,turks_caicos_islands:K6e,chad:Z6e,french_southern_territories:W6e,togo:Y6e,thailand:J6e,tajikistan:Q6e,tokelau:X6e,timor_leste:e7e,turkmenistan:t7e,tunisia:n7e,tonga:s7e,tr:o7e,trinidad_tobago:r7e,tuvalu:i7e,taiwan:a7e,tanzania:l7e,ukraine:c7e,uganda:d7e,us_outlying_islands:u7e,united_nations:h7e,us:f7e,uruguay:p7e,uzbekistan:g7e,vatican_city:m7e,st_vincent_grenadines:_7e,venezuela:b7e,british_virgin_islands:y7e,us_virgin_islands:v7e,vietnam:x7e,vanuatu:w7e,wallis_futuna:k7e,samoa:E7e,kosovo:C7e,yemen:A7e,mayotte:S7e,south_africa:T7e,zambia:M7e,zimbabwe:O7e,england:R7e,scotland:N7e,wales:L7e};var I7e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(p[b-1])||b+w.lengthm&&(g=new f("text","",0),g.content=u.slice(m,b),_.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],_.push(g),m=b+w.length}),m=0;f--)w=_[f],(w.type==="link_open"||w.type==="link_close")&&w.info==="auto"&&(p-=w.nesting),w.type==="text"&&p===0&&o.test(w.content)&&(b[g].children=_=i(_,f,d(w.content,w.level,h.Token)))}};function B7e(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var z7e=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,d){return e.enabled.indexOf(d)>=0&&(l[d]=n[d]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,d){return n[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){l[u]=d}),l):(l[e.shortcuts[d]]=d,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return B7e(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},$7e=P7e,U7e=F7e,j7e=z7e,q7e=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=j7e(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=$7e,e.core.ruler.after("linkify","emoji",U7e(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},H7e=D7e,V7e=I7e,G7e=q7e,K7e=function(e,n){var s={defs:H7e,shortcuts:V7e,enabled:[]},o=e.utils.assign({},s,n||{});G7e(e,o)};const Z7e=cs(K7e);var Pu=!1,Is={false:"push",true:"unshift",after:"push",before:"unshift"},Dr={isPermalinkSymbol:!0};function gl(t,e,n,s){var o;if(!Pu){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Pu=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Dr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Is[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Is[e.permalinkBefore]].apply(o,i)}function Eg(t){return"#"+t}function Cg(t){return{}}var W7e={class:"header-anchor",symbol:"#",renderHref:Eg,renderAttrs:Cg};function $o(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},W7e),e.renderPermalinkImpl=t,e}var wi=$o(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Dr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Is[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Is[e.placement]].apply(r,i)});Object.assign(wi.defaults,{space:!0,placement:"after",ariaHidden:!1});var qn=$o(wi.renderPermalinkImpl);qn.defaults=Object.assign({},wi.defaults,{ariaHidden:!0});var Ag=$o(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Ag.defaults,{safariReaderFix:!1});var Fu=$o(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var d=typeof e.space=="string"?e.space:" ";a[Is[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[Is[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Dr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Dr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(u)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` +`:">",r)};Js.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function LX(t){return/^<\/a\s*>/i.test(t)}var IX=function(e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,w,b,p=e.tokens,x;if(e.md.options.linkify){for(s=0,o=p.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(NX(a.content)&&m>0&&m--,LX(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),d=0;df&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",w]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),f=x[d].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(FX,zX)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function UX(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&cg.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var jX=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(PX.test(e.tokens[n].content)&&$X(e.tokens[n].children),cg.test(e.tokens[n].content)&&UX(e.tokens[n].children))},fu=Ve.isWhiteSpace,pu=Ve.isPunctChar,gu=Ve.isMdAsciiPunct,qX=/['"]/,mu=/['"]/g,_u="’";function er(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function HX(t,e){var n,s,o,r,i,a,l,d,u,h,f,g,m,_,w,b,p,x,A,D,O;for(A=[],n=0;n=0&&!(A[p].level<=l);p--);if(A.length=p+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(p=n-1;p>=0&&!(t[p].type==="softbreak"||t[p].type==="hardbreak");p--)if(t[p].content){u=t[p].content.charCodeAt(t[p].content.length-1);break}if(h=32,i=48&&u<=57&&(b=w=!1),w&&b&&(w=f,b=g),!w&&!b){x&&(s.content=er(s.content,r.index,_u));continue}if(b){for(p=A.length-1;p>=0&&(d=A[p],!(A[p].level=0;n--)e.tokens[n].type!=="inline"||!qX.test(e.tokens[n].content)||HX(e.tokens[n].children,e)},GX=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Qs.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var cc=Qs,KX=cc;function dg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}dg.prototype.Token=KX;var ZX=dg,WX=lc,Wi=[["normalize",MX],["block",OX],["inline",RX],["linkify",IX],["replacements",jX],["smartquotes",VX],["text_join",GX]];function dc(){this.ruler=new WX;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(D=e.src.charCodeAt(a++),D!==124&&D!==45&&D!==58)||a>=e.eMarks[u]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Yi(O))||D===45&&Yi(O))return!1;for(;a=4||(h=bu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(p=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=w=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(h=bu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=b=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[u,u+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` +`,i.map=[n,e.line],!0},XX=function(e,n,s,o){var r,i,a,l,d,u,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(d=g,g=e.skipChars(g,r),i=g-d,i<3)||(h=e.src.slice(d,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=d=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-d=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=I,p=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=n+1;f=I));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=I,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),p.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(u)break;for(D=!1,a=0,d=O.length;a",L.map=h=[n,0],e.md.block.tokenize(e,n,f),L=e.push("blockquote_close","blockquote",-1),L.markup=">",e.lineMax=C,e.parentType=b,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(i=1;d=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(T=!0),(I=xu(e,n))>=0){if(h=!0,X=e.bMarks[n]+e.tShift[n],b=Number(e.src.slice(X,I-1)),T&&b!==1)return!1}else if((I=vu(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(I)>=e.eMarks[n])return!1;if(w=e.src.charCodeAt(I-1),o)return!0;for(_=e.tokens.length,h?(Y=e.push("ordered_list_open","ol",1),b!==1&&(Y.attrs=[["start",b]])):Y=e.push("bullet_list_open","ul",1),Y.map=m=[n,0],Y.markup=String.fromCharCode(w),x=n,B=!1,ue=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=p?d=1:d=A-u,d>4&&(d=1),l=u+d,Y=e.push("list_item_open","li",1),Y.markup=String.fromCharCode(w),Y.map=f=[n,0],h&&(Y.info=e.src.slice(X,I-1)),C=e.tight,v=e.tShift[n],L=e.sCount[n],D=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=A,i>=p&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||B)&&(H=!1),B=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=D,e.tShift[n]=v,e.sCount[n]=L,e.tight=C,Y=e.push("list_item_close","li",-1),Y.markup=String.fromCharCode(w),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(P=!1,a=0,g=ue.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(p=!1,u=0,h=x.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:A,href:d}),e.parentType=m,e.line=n+D+1),!0)},aee=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_i={},lee="[a-zA-Z_:][a-zA-Z0-9:._-]*",cee="[^\"'=<>`\\x00-\\x20]+",dee="'[^']*'",uee='"[^"]*"',hee="(?:"+cee+"|"+dee+"|"+uee+")",fee="(?:\\s+"+lee+"(?:\\s*=\\s*"+hee+")?)",hg="<[A-Za-z][A-Za-z0-9\\-]*"+fee+"*\\s*\\/?>",fg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",pee="|",gee="<[?][\\s\\S]*?[?]>",mee="]*>",_ee="",bee=new RegExp("^(?:"+hg+"|"+fg+"|"+pee+"|"+gee+"|"+mee+"|"+_ee+")"),yee=new RegExp("^(?:"+hg+"|"+fg+")");_i.HTML_TAG_RE=bee;_i.HTML_OPEN_CLOSE_TAG_RE=yee;var vee=aee,xee=_i.HTML_OPEN_CLOSE_TAG_RE,fs=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(xee.source+"\\s*$"),/^$/,!1]],wee=function(e,n,s,o){var r,i,a,l,d=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(l=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(i=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&wu(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(d,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},Eee=function(e,n,s){var o,r,i,a,l,d,u,h,f,g=n+1,m,_=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(d=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],d=u)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=_.length;i3)&&!(e.sCount[d]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};tn.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};tn.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!bi(this.src.charCodeAt(--e)))return e+1;return e};tn.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};tn.prototype.getLines=function(e,n,s,o){var r,i,a,l,d,u,h,f=e;if(e>=n)return"";for(u=new Array(n-e),r=0;fs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,d):u[r]=this.src.slice(l,d)}return u.join("")};tn.prototype.Token=pg;var Aee=tn,See=lc,nr=[["table",JX,["paragraph","reference"]],["code",QX],["fence",XX,["paragraph","reference","blockquote","list"]],["blockquote",eee,["paragraph","reference","blockquote","list"]],["hr",nee,["paragraph","reference","blockquote","list"]],["list",oee,["paragraph","reference","blockquote"]],["reference",iee],["html_block",wee,["paragraph","reference","blockquote"]],["heading",kee,["paragraph","reference","blockquote"]],["lheading",Eee],["paragraph",Cee]];function yi(){this.ruler=new See;for(var t=0;t=n||t.sCount[a]=d){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Ree),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),d=e.md.normalizeLink(l),!e.md.validateLink(d))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Nee=Ve.isSpace,Lee=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){uc[t.charCodeAt(0)]=1});var Pee=function(e,n){var s,o,r,i,a,l=e.pos,d=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=d))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&uc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Fee=function(e,n){var s,o,r,i,a,l,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}xi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Cu(e,e.delimiters),n=0;n=_)return!1;if(w=l,d=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?l=d.pos:f="",w=l;l<_&&(o=e.src.charCodeAt(l),!(!Qi(o)&&o!==10));l++);if(d=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&w!==l&&d.ok)for(g=d.str,l=d.pos;l<_&&(o=e.src.charCodeAt(l),!(!Qi(o)&&o!==10));l++);}(l>=_||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<_&&e.src.charCodeAt(l)===91?(w=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(w,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Bee(r)],!u)return e.pos=m,!1;f=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=_,!0},$ee=Ve.normalizeReference,Xi=Ve.isSpace,Uee=function(e,n){var s,o,r,i,a,l,d,u,h,f,g,m,_,w="",b=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d=p)return!1;for(_=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(w=e.md.normalizeLink(h.str),e.md.validateLink(w)?d=h.pos:w=""),_=d;d=p||e.src.charCodeAt(d)!==41)return e.pos=b,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?i=e.src.slice(_,d++):d=a+1):d=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[$ee(i)],!u)return e.pos=b,!1;w=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",w],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=p,!0},jee=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,qee=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Hee=function(e,n){var s,o,r,i,a,l,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++d>=l||(i=e.src.charCodeAt(d),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,d),qee.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):jee.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},Vee=_i.HTML_TAG_RE;function Gee(t){return/^\s]/i.test(t)}function Kee(t){return/^<\/a\s*>/i.test(t)}function Zee(t){var e=t|32;return e>=97&&e<=122}var Wee=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!Zee(s))||(o=e.src.slice(a).match(Vee),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Gee(i.content)&&e.linkLevel++,Kee(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Au=rg,Yee=Ve.has,Jee=Ve.isValidEntityCode,Su=Ve.fromCodePoint,Qee=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Xee=/^&([a-z][a-z0-9]{1,31});/i,ete=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(Qee),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=Jee(o)?Su(o):Su(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Xee),r&&Yee(Au,r[1]))return n||(i=e.push("text_special","",0),i.content=Au[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Tu(t,e){var n,s,o,r,i,a,l,d,u={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){d=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+d,m[s]=d,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var tte=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Tu(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};zo.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,d,u,h,f=!0,g=!0,m=this.posMax,_=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};$o.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),na}function pl(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function wi(t){return Object.prototype.toString.call(t)}function ite(t){return wi(t)==="[object String]"}function ate(t){return wi(t)==="[object Object]"}function lte(t){return wi(t)==="[object RegExp]"}function Lu(t){return wi(t)==="[object Function]"}function cte(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var gg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function dte(t){return Object.keys(t||{}).reduce(function(e,n){return e||gg.hasOwnProperty(n)},!1)}var ute={"http:":{validate:function(t,e,n){var s=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(s)?s.match(n.re.mailto)[0].length:0}}},hte="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",fte="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function pte(t){t.__index__=-1,t.__text_cache__=""}function gte(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Iu(){return function(t,e){e.normalize(t)}}function Lr(t){var e=t.re=rte()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(hte),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var d={validate:null,link:null};if(t.__compiled__[a]=d,ate(l)){lte(l.validate)?d.validate=gte(l.validate):Lu(l.validate)?d.validate=l.validate:r(a,l),Lu(l.normalize)?d.normalize=l.normalize:l.normalize?r(a,l):d.normalize=Iu();return}if(ite(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Iu()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(cte).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),pte(t)}function mte(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function gl(t,e){var n=new mte(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);e||dte(t)&&(e=t,t={}),this.__opts__=pl({},gg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pl({},ute,t),this.__compiled__={},this.__tlds__=fte,this.__tlds_replaced__=!1,this.re={},Lr(this)}vt.prototype.add=function(e,n){return this.__schemas__[e]=n,Lr(this),this};vt.prototype.set=function(e){return this.__opts__=pl(this.__opts__,e),this};vt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,d,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};vt.prototype.pretest=function(e){return this.re.pretest.test(e)};vt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};vt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(gl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(gl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};vt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,gl(this,0)):null};vt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),Lr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Lr(this),this)};vt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};vt.prototype.onCompile=function(){};var _te=vt;const Cs=2147483647,Gt=36,fc=1,Do=26,bte=38,yte=700,mg=72,_g=128,bg="-",vte=/^xn--/,xte=/[^\0-\x7F]/,wte=/[\x2E\u3002\uFF0E\uFF61]/g,kte={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},sa=Gt-fc,Kt=Math.floor,oa=String.fromCharCode;function En(t){throw new RangeError(kte[t])}function Ete(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function yg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(wte,".");const o=t.split("."),r=Ete(o,e).join(".");return s+r}function pc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Cte=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Gt},Pu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},xg=function(t,e,n){let s=0;for(t=n?Kt(t/yte):t>>1,t+=Kt(t/e);t>sa*Do>>1;s+=Gt)t=Kt(t/sa);return Kt(s+(sa+1)*t/(t+bte))},gc=function(t){const e=[],n=t.length;let s=0,o=_g,r=mg,i=t.lastIndexOf(bg);i<0&&(i=0);for(let a=0;a=128&&En("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&En("invalid-input");const f=Cte(t.charCodeAt(a++));f>=Gt&&En("invalid-input"),f>Kt((Cs-s)/u)&&En("overflow"),s+=f*u;const g=h<=r?fc:h>=r+Do?Do:h-r;if(fKt(Cs/m)&&En("overflow"),u*=m}const d=e.length+1;r=xg(s-l,d,l==0),Kt(s/d)>Cs-o&&En("overflow"),o+=Kt(s/d),s%=d,e.splice(s++,0,o)}return String.fromCodePoint(...e)},mc=function(t){const e=[];t=pc(t);const n=t.length;let s=_g,o=0,r=mg;for(const l of t)l<128&&e.push(oa(l));const i=e.length;let a=i;for(i&&e.push(bg);a=s&&uKt((Cs-o)/d)&&En("overflow"),o+=(l-s)*d,s=l;for(const u of t)if(uCs&&En("overflow"),u===s){let h=o;for(let f=Gt;;f+=Gt){const g=f<=r?fc:f>=r+Do?Do:f-r;if(h=0))try{e.hostname=Eg.toASCII(e.hostname)}catch{}return Wn.encode(Wn.format(e))}function qte(t){var e=Wn.parse(t,!0);if(e.hostname&&(!e.protocol||Cg.indexOf(e.protocol)>=0))try{e.hostname=Eg.toUnicode(e.hostname)}catch{}return Wn.decode(Wn.format(e),Wn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||po.isString(t)||(e=t||{},t="default"),this.inline=new Pte,this.block=new Ite,this.core=new Lte,this.renderer=new Nte,this.linkify=new Fte,this.validateLink=Ute,this.normalizeLink=jte,this.normalizeLinkText=qte,this.utils=po,this.helpers=po.assign({},Dte),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return po.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(po.isString(t)&&(n=t,t=Bte[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Mt.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Mt.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Hte=Mt,Vte=Hte;const Gte=ls(Vte),Kte="😀",Zte="😃",Wte="😄",Yte="😁",Jte="😆",Qte="😆",Xte="😅",ene="🤣",tne="😂",nne="🙂",sne="🙃",one="😉",rne="😊",ine="😇",ane="🥰",lne="😍",cne="🤩",dne="😘",une="😗",hne="☺️",fne="😚",pne="😙",gne="🥲",mne="😋",_ne="😛",bne="😜",yne="🤪",vne="😝",xne="🤑",wne="🤗",kne="🤭",Ene="🤫",Cne="🤔",Ane="🤐",Sne="🤨",Tne="😐",Mne="😑",One="😶",Rne="😏",Dne="😒",Nne="🙄",Lne="😬",Ine="🤥",Pne="😌",Fne="😔",Bne="😪",zne="🤤",$ne="😴",Une="😷",jne="🤒",qne="🤕",Hne="🤢",Vne="🤮",Gne="🤧",Kne="🥵",Zne="🥶",Wne="🥴",Yne="😵",Jne="🤯",Qne="🤠",Xne="🥳",ese="🥸",tse="😎",nse="🤓",sse="🧐",ose="😕",rse="😟",ise="🙁",ase="☹️",lse="😮",cse="😯",dse="😲",use="😳",hse="🥺",fse="😦",pse="😧",gse="😨",mse="😰",_se="😥",bse="😢",yse="😭",vse="😱",xse="😖",wse="😣",kse="😞",Ese="😓",Cse="😩",Ase="😫",Sse="🥱",Tse="😤",Mse="😡",Ose="😡",Rse="😠",Dse="🤬",Nse="😈",Lse="👿",Ise="💀",Pse="☠️",Fse="💩",Bse="💩",zse="💩",$se="🤡",Use="👹",jse="👺",qse="👻",Hse="👽",Vse="👾",Gse="🤖",Kse="😺",Zse="😸",Wse="😹",Yse="😻",Jse="😼",Qse="😽",Xse="🙀",eoe="😿",toe="😾",noe="🙈",soe="🙉",ooe="🙊",roe="💋",ioe="💌",aoe="💘",loe="💝",coe="💖",doe="💗",uoe="💓",hoe="💞",foe="💕",poe="💟",goe="❣️",moe="💔",_oe="❤️",boe="🧡",yoe="💛",voe="💚",xoe="💙",woe="💜",koe="🤎",Eoe="🖤",Coe="🤍",Aoe="💢",Soe="💥",Toe="💥",Moe="💫",Ooe="💦",Roe="💨",Doe="🕳️",Noe="💣",Loe="💬",Ioe="👁️‍🗨️",Poe="🗨️",Foe="🗯️",Boe="💭",zoe="💤",$oe="👋",Uoe="🤚",joe="🖐️",qoe="✋",Hoe="✋",Voe="🖖",Goe="👌",Koe="🤌",Zoe="🤏",Woe="✌️",Yoe="🤞",Joe="🤟",Qoe="🤘",Xoe="🤙",ere="👈",tre="👉",nre="👆",sre="🖕",ore="🖕",rre="👇",ire="☝️",are="👍",lre="👎",cre="✊",dre="✊",ure="👊",hre="👊",fre="👊",pre="🤛",gre="🤜",mre="👏",_re="🙌",bre="👐",yre="🤲",vre="🤝",xre="🙏",wre="✍️",kre="💅",Ere="🤳",Cre="💪",Are="🦾",Sre="🦿",Tre="🦵",Mre="🦶",Ore="👂",Rre="🦻",Dre="👃",Nre="🧠",Lre="🫀",Ire="🫁",Pre="🦷",Fre="🦴",Bre="👀",zre="👁️",$re="👅",Ure="👄",jre="👶",qre="🧒",Hre="👦",Vre="👧",Gre="🧑",Kre="👱",Zre="👨",Wre="🧔",Yre="👨‍🦰",Jre="👨‍🦱",Qre="👨‍🦳",Xre="👨‍🦲",eie="👩",tie="👩‍🦰",nie="🧑‍🦰",sie="👩‍🦱",oie="🧑‍🦱",rie="👩‍🦳",iie="🧑‍🦳",aie="👩‍🦲",lie="🧑‍🦲",cie="👱‍♀️",die="👱‍♀️",uie="👱‍♂️",hie="🧓",fie="👴",pie="👵",gie="🙍",mie="🙍‍♂️",_ie="🙍‍♀️",bie="🙎",yie="🙎‍♂️",vie="🙎‍♀️",xie="🙅",wie="🙅‍♂️",kie="🙅‍♂️",Eie="🙅‍♀️",Cie="🙅‍♀️",Aie="🙆",Sie="🙆‍♂️",Tie="🙆‍♀️",Mie="💁",Oie="💁",Rie="💁‍♂️",Die="💁‍♂️",Nie="💁‍♀️",Lie="💁‍♀️",Iie="🙋",Pie="🙋‍♂️",Fie="🙋‍♀️",Bie="🧏",zie="🧏‍♂️",$ie="🧏‍♀️",Uie="🙇",jie="🙇‍♂️",qie="🙇‍♀️",Hie="🤦",Vie="🤦‍♂️",Gie="🤦‍♀️",Kie="🤷",Zie="🤷‍♂️",Wie="🤷‍♀️",Yie="🧑‍⚕️",Jie="👨‍⚕️",Qie="👩‍⚕️",Xie="🧑‍🎓",eae="👨‍🎓",tae="👩‍🎓",nae="🧑‍🏫",sae="👨‍🏫",oae="👩‍🏫",rae="🧑‍⚖️",iae="👨‍⚖️",aae="👩‍⚖️",lae="🧑‍🌾",cae="👨‍🌾",dae="👩‍🌾",uae="🧑‍🍳",hae="👨‍🍳",fae="👩‍🍳",pae="🧑‍🔧",gae="👨‍🔧",mae="👩‍🔧",_ae="🧑‍🏭",bae="👨‍🏭",yae="👩‍🏭",vae="🧑‍💼",xae="👨‍💼",wae="👩‍💼",kae="🧑‍🔬",Eae="👨‍🔬",Cae="👩‍🔬",Aae="🧑‍💻",Sae="👨‍💻",Tae="👩‍💻",Mae="🧑‍🎤",Oae="👨‍🎤",Rae="👩‍🎤",Dae="🧑‍🎨",Nae="👨‍🎨",Lae="👩‍🎨",Iae="🧑‍✈️",Pae="👨‍✈️",Fae="👩‍✈️",Bae="🧑‍🚀",zae="👨‍🚀",$ae="👩‍🚀",Uae="🧑‍🚒",jae="👨‍🚒",qae="👩‍🚒",Hae="👮",Vae="👮",Gae="👮‍♂️",Kae="👮‍♀️",Zae="🕵️",Wae="🕵️‍♂️",Yae="🕵️‍♀️",Jae="💂",Qae="💂‍♂️",Xae="💂‍♀️",ele="🥷",tle="👷",nle="👷‍♂️",sle="👷‍♀️",ole="🤴",rle="👸",ile="👳",ale="👳‍♂️",lle="👳‍♀️",cle="👲",dle="🧕",ule="🤵",hle="🤵‍♂️",fle="🤵‍♀️",ple="👰",gle="👰‍♂️",mle="👰‍♀️",_le="👰‍♀️",ble="🤰",yle="🤱",vle="👩‍🍼",xle="👨‍🍼",wle="🧑‍🍼",kle="👼",Ele="🎅",Cle="🤶",Ale="🧑‍🎄",Sle="🦸",Tle="🦸‍♂️",Mle="🦸‍♀️",Ole="🦹",Rle="🦹‍♂️",Dle="🦹‍♀️",Nle="🧙",Lle="🧙‍♂️",Ile="🧙‍♀️",Ple="🧚",Fle="🧚‍♂️",Ble="🧚‍♀️",zle="🧛",$le="🧛‍♂️",Ule="🧛‍♀️",jle="🧜",qle="🧜‍♂️",Hle="🧜‍♀️",Vle="🧝",Gle="🧝‍♂️",Kle="🧝‍♀️",Zle="🧞",Wle="🧞‍♂️",Yle="🧞‍♀️",Jle="🧟",Qle="🧟‍♂️",Xle="🧟‍♀️",ece="💆",tce="💆‍♂️",nce="💆‍♀️",sce="💇",oce="💇‍♂️",rce="💇‍♀️",ice="🚶",ace="🚶‍♂️",lce="🚶‍♀️",cce="🧍",dce="🧍‍♂️",uce="🧍‍♀️",hce="🧎",fce="🧎‍♂️",pce="🧎‍♀️",gce="🧑‍🦯",mce="👨‍🦯",_ce="👩‍🦯",bce="🧑‍🦼",yce="👨‍🦼",vce="👩‍🦼",xce="🧑‍🦽",wce="👨‍🦽",kce="👩‍🦽",Ece="🏃",Cce="🏃",Ace="🏃‍♂️",Sce="🏃‍♀️",Tce="💃",Mce="💃",Oce="🕺",Rce="🕴️",Dce="👯",Nce="👯‍♂️",Lce="👯‍♀️",Ice="🧖",Pce="🧖‍♂️",Fce="🧖‍♀️",Bce="🧗",zce="🧗‍♂️",$ce="🧗‍♀️",Uce="🤺",jce="🏇",qce="⛷️",Hce="🏂",Vce="🏌️",Gce="🏌️‍♂️",Kce="🏌️‍♀️",Zce="🏄",Wce="🏄‍♂️",Yce="🏄‍♀️",Jce="🚣",Qce="🚣‍♂️",Xce="🚣‍♀️",ede="🏊",tde="🏊‍♂️",nde="🏊‍♀️",sde="⛹️",ode="⛹️‍♂️",rde="⛹️‍♂️",ide="⛹️‍♀️",ade="⛹️‍♀️",lde="🏋️",cde="🏋️‍♂️",dde="🏋️‍♀️",ude="🚴",hde="🚴‍♂️",fde="🚴‍♀️",pde="🚵",gde="🚵‍♂️",mde="🚵‍♀️",_de="🤸",bde="🤸‍♂️",yde="🤸‍♀️",vde="🤼",xde="🤼‍♂️",wde="🤼‍♀️",kde="🤽",Ede="🤽‍♂️",Cde="🤽‍♀️",Ade="🤾",Sde="🤾‍♂️",Tde="🤾‍♀️",Mde="🤹",Ode="🤹‍♂️",Rde="🤹‍♀️",Dde="🧘",Nde="🧘‍♂️",Lde="🧘‍♀️",Ide="🛀",Pde="🛌",Fde="🧑‍🤝‍🧑",Bde="👭",zde="👫",$de="👬",Ude="💏",jde="👩‍❤️‍💋‍👨",qde="👨‍❤️‍💋‍👨",Hde="👩‍❤️‍💋‍👩",Vde="💑",Gde="👩‍❤️‍👨",Kde="👨‍❤️‍👨",Zde="👩‍❤️‍👩",Wde="👪",Yde="👨‍👩‍👦",Jde="👨‍👩‍👧",Qde="👨‍👩‍👧‍👦",Xde="👨‍👩‍👦‍👦",eue="👨‍👩‍👧‍👧",tue="👨‍👨‍👦",nue="👨‍👨‍👧",sue="👨‍👨‍👧‍👦",oue="👨‍👨‍👦‍👦",rue="👨‍👨‍👧‍👧",iue="👩‍👩‍👦",aue="👩‍👩‍👧",lue="👩‍👩‍👧‍👦",cue="👩‍👩‍👦‍👦",due="👩‍👩‍👧‍👧",uue="👨‍👦",hue="👨‍👦‍👦",fue="👨‍👧",pue="👨‍👧‍👦",gue="👨‍👧‍👧",mue="👩‍👦",_ue="👩‍👦‍👦",bue="👩‍👧",yue="👩‍👧‍👦",vue="👩‍👧‍👧",xue="🗣️",wue="👤",kue="👥",Eue="🫂",Cue="👣",Aue="🐵",Sue="🐒",Tue="🦍",Mue="🦧",Oue="🐶",Rue="🐕",Due="🦮",Nue="🐕‍🦺",Lue="🐩",Iue="🐺",Pue="🦊",Fue="🦝",Bue="🐱",zue="🐈",$ue="🐈‍⬛",Uue="🦁",jue="🐯",que="🐅",Hue="🐆",Vue="🐴",Gue="🐎",Kue="🦄",Zue="🦓",Wue="🦌",Yue="🦬",Jue="🐮",Que="🐂",Xue="🐃",ehe="🐄",the="🐷",nhe="🐖",she="🐗",ohe="🐽",rhe="🐏",ihe="🐑",ahe="🐐",lhe="🐪",che="🐫",dhe="🦙",uhe="🦒",hhe="🐘",fhe="🦣",phe="🦏",ghe="🦛",mhe="🐭",_he="🐁",bhe="🐀",yhe="🐹",vhe="🐰",xhe="🐇",whe="🐿️",khe="🦫",Ehe="🦔",Che="🦇",Ahe="🐻",She="🐻‍❄️",The="🐨",Mhe="🐼",Ohe="🦥",Rhe="🦦",Dhe="🦨",Nhe="🦘",Lhe="🦡",Ihe="🐾",Phe="🐾",Fhe="🦃",Bhe="🐔",zhe="🐓",$he="🐣",Uhe="🐤",jhe="🐥",qhe="🐦",Hhe="🐧",Vhe="🕊️",Ghe="🦅",Khe="🦆",Zhe="🦢",Whe="🦉",Yhe="🦤",Jhe="🪶",Qhe="🦩",Xhe="🦚",efe="🦜",tfe="🐸",nfe="🐊",sfe="🐢",ofe="🦎",rfe="🐍",ife="🐲",afe="🐉",lfe="🦕",cfe="🐳",dfe="🐋",ufe="🐬",hfe="🐬",ffe="🦭",pfe="🐟",gfe="🐠",mfe="🐡",_fe="🦈",bfe="🐙",yfe="🐚",vfe="🐌",xfe="🦋",wfe="🐛",kfe="🐜",Efe="🐝",Cfe="🐝",Afe="🪲",Sfe="🐞",Tfe="🦗",Mfe="🪳",Ofe="🕷️",Rfe="🕸️",Dfe="🦂",Nfe="🦟",Lfe="🪰",Ife="🪱",Pfe="🦠",Ffe="💐",Bfe="🌸",zfe="💮",$fe="🏵️",Ufe="🌹",jfe="🥀",qfe="🌺",Hfe="🌻",Vfe="🌼",Gfe="🌷",Kfe="🌱",Zfe="🪴",Wfe="🌲",Yfe="🌳",Jfe="🌴",Qfe="🌵",Xfe="🌾",epe="🌿",tpe="☘️",npe="🍀",spe="🍁",ope="🍂",rpe="🍃",ipe="🍇",ape="🍈",lpe="🍉",cpe="🍊",dpe="🍊",upe="🍊",hpe="🍋",fpe="🍌",ppe="🍍",gpe="🥭",mpe="🍎",_pe="🍏",bpe="🍐",ype="🍑",vpe="🍒",xpe="🍓",wpe="🫐",kpe="🥝",Epe="🍅",Cpe="🫒",Ape="🥥",Spe="🥑",Tpe="🍆",Mpe="🥔",Ope="🥕",Rpe="🌽",Dpe="🌶️",Npe="🫑",Lpe="🥒",Ipe="🥬",Ppe="🥦",Fpe="🧄",Bpe="🧅",zpe="🍄",$pe="🥜",Upe="🌰",jpe="🍞",qpe="🥐",Hpe="🥖",Vpe="🫓",Gpe="🥨",Kpe="🥯",Zpe="🥞",Wpe="🧇",Ype="🧀",Jpe="🍖",Qpe="🍗",Xpe="🥩",ege="🥓",tge="🍔",nge="🍟",sge="🍕",oge="🌭",rge="🥪",ige="🌮",age="🌯",lge="🫔",cge="🥙",dge="🧆",uge="🥚",hge="🍳",fge="🥘",pge="🍲",gge="🫕",mge="🥣",_ge="🥗",bge="🍿",yge="🧈",vge="🧂",xge="🥫",wge="🍱",kge="🍘",Ege="🍙",Cge="🍚",Age="🍛",Sge="🍜",Tge="🍝",Mge="🍠",Oge="🍢",Rge="🍣",Dge="🍤",Nge="🍥",Lge="🥮",Ige="🍡",Pge="🥟",Fge="🥠",Bge="🥡",zge="🦀",$ge="🦞",Uge="🦐",jge="🦑",qge="🦪",Hge="🍦",Vge="🍧",Gge="🍨",Kge="🍩",Zge="🍪",Wge="🎂",Yge="🍰",Jge="🧁",Qge="🥧",Xge="🍫",eme="🍬",tme="🍭",nme="🍮",sme="🍯",ome="🍼",rme="🥛",ime="☕",ame="🫖",lme="🍵",cme="🍶",dme="🍾",ume="🍷",hme="🍸",fme="🍹",pme="🍺",gme="🍻",mme="🥂",_me="🥃",bme="🥤",yme="🧋",vme="🧃",xme="🧉",wme="🧊",kme="🥢",Eme="🍽️",Cme="🍴",Ame="🥄",Sme="🔪",Tme="🔪",Mme="🏺",Ome="🌍",Rme="🌎",Dme="🌏",Nme="🌐",Lme="🗺️",Ime="🗾",Pme="🧭",Fme="🏔️",Bme="⛰️",zme="🌋",$me="🗻",Ume="🏕️",jme="🏖️",qme="🏜️",Hme="🏝️",Vme="🏞️",Gme="🏟️",Kme="🏛️",Zme="🏗️",Wme="🧱",Yme="🪨",Jme="🪵",Qme="🛖",Xme="🏘️",e_e="🏚️",t_e="🏠",n_e="🏡",s_e="🏢",o_e="🏣",r_e="🏤",i_e="🏥",a_e="🏦",l_e="🏨",c_e="🏩",d_e="🏪",u_e="🏫",h_e="🏬",f_e="🏭",p_e="🏯",g_e="🏰",m_e="💒",__e="🗼",b_e="🗽",y_e="⛪",v_e="🕌",x_e="🛕",w_e="🕍",k_e="⛩️",E_e="🕋",C_e="⛲",A_e="⛺",S_e="🌁",T_e="🌃",M_e="🏙️",O_e="🌄",R_e="🌅",D_e="🌆",N_e="🌇",L_e="🌉",I_e="♨️",P_e="🎠",F_e="🎡",B_e="🎢",z_e="💈",$_e="🎪",U_e="🚂",j_e="🚃",q_e="🚄",H_e="🚅",V_e="🚆",G_e="🚇",K_e="🚈",Z_e="🚉",W_e="🚊",Y_e="🚝",J_e="🚞",Q_e="🚋",X_e="🚌",e1e="🚍",t1e="🚎",n1e="🚐",s1e="🚑",o1e="🚒",r1e="🚓",i1e="🚔",a1e="🚕",l1e="🚖",c1e="🚗",d1e="🚗",u1e="🚘",h1e="🚙",f1e="🛻",p1e="🚚",g1e="🚛",m1e="🚜",_1e="🏎️",b1e="🏍️",y1e="🛵",v1e="🦽",x1e="🦼",w1e="🛺",k1e="🚲",E1e="🛴",C1e="🛹",A1e="🛼",S1e="🚏",T1e="🛣️",M1e="🛤️",O1e="🛢️",R1e="⛽",D1e="🚨",N1e="🚥",L1e="🚦",I1e="🛑",P1e="🚧",F1e="⚓",B1e="⛵",z1e="⛵",$1e="🛶",U1e="🚤",j1e="🛳️",q1e="⛴️",H1e="🛥️",V1e="🚢",G1e="✈️",K1e="🛩️",Z1e="🛫",W1e="🛬",Y1e="🪂",J1e="💺",Q1e="🚁",X1e="🚟",e0e="🚠",t0e="🚡",n0e="🛰️",s0e="🚀",o0e="🛸",r0e="🛎️",i0e="🧳",a0e="⌛",l0e="⏳",c0e="⌚",d0e="⏰",u0e="⏱️",h0e="⏲️",f0e="🕰️",p0e="🕛",g0e="🕧",m0e="🕐",_0e="🕜",b0e="🕑",y0e="🕝",v0e="🕒",x0e="🕞",w0e="🕓",k0e="🕟",E0e="🕔",C0e="🕠",A0e="🕕",S0e="🕡",T0e="🕖",M0e="🕢",O0e="🕗",R0e="🕣",D0e="🕘",N0e="🕤",L0e="🕙",I0e="🕥",P0e="🕚",F0e="🕦",B0e="🌑",z0e="🌒",$0e="🌓",U0e="🌔",j0e="🌔",q0e="🌕",H0e="🌖",V0e="🌗",G0e="🌘",K0e="🌙",Z0e="🌚",W0e="🌛",Y0e="🌜",J0e="🌡️",Q0e="☀️",X0e="🌝",ebe="🌞",tbe="🪐",nbe="⭐",sbe="🌟",obe="🌠",rbe="🌌",ibe="☁️",abe="⛅",lbe="⛈️",cbe="🌤️",dbe="🌥️",ube="🌦️",hbe="🌧️",fbe="🌨️",pbe="🌩️",gbe="🌪️",mbe="🌫️",_be="🌬️",bbe="🌀",ybe="🌈",vbe="🌂",xbe="☂️",wbe="☔",kbe="⛱️",Ebe="⚡",Cbe="❄️",Abe="☃️",Sbe="⛄",Tbe="☄️",Mbe="🔥",Obe="💧",Rbe="🌊",Dbe="🎃",Nbe="🎄",Lbe="🎆",Ibe="🎇",Pbe="🧨",Fbe="✨",Bbe="🎈",zbe="🎉",$be="🎊",Ube="🎋",jbe="🎍",qbe="🎎",Hbe="🎏",Vbe="🎐",Gbe="🎑",Kbe="🧧",Zbe="🎀",Wbe="🎁",Ybe="🎗️",Jbe="🎟️",Qbe="🎫",Xbe="🎖️",eye="🏆",tye="🏅",nye="⚽",sye="⚾",oye="🥎",rye="🏀",iye="🏐",aye="🏈",lye="🏉",cye="🎾",dye="🥏",uye="🎳",hye="🏏",fye="🏑",pye="🏒",gye="🥍",mye="🏓",_ye="🏸",bye="🥊",yye="🥋",vye="🥅",xye="⛳",wye="⛸️",kye="🎣",Eye="🤿",Cye="🎽",Aye="🎿",Sye="🛷",Tye="🥌",Mye="🎯",Oye="🪀",Rye="🪁",Dye="🔮",Nye="🪄",Lye="🧿",Iye="🎮",Pye="🕹️",Fye="🎰",Bye="🎲",zye="🧩",$ye="🧸",Uye="🪅",jye="🪆",qye="♠️",Hye="♥️",Vye="♦️",Gye="♣️",Kye="♟️",Zye="🃏",Wye="🀄",Yye="🎴",Jye="🎭",Qye="🖼️",Xye="🎨",e2e="🧵",t2e="🪡",n2e="🧶",s2e="🪢",o2e="👓",r2e="🕶️",i2e="🥽",a2e="🥼",l2e="🦺",c2e="👔",d2e="👕",u2e="👕",h2e="👖",f2e="🧣",p2e="🧤",g2e="🧥",m2e="🧦",_2e="👗",b2e="👘",y2e="🥻",v2e="🩱",x2e="🩲",w2e="🩳",k2e="👙",E2e="👚",C2e="👛",A2e="👜",S2e="👝",T2e="🛍️",M2e="🎒",O2e="🩴",R2e="👞",D2e="👞",N2e="👟",L2e="🥾",I2e="🥿",P2e="👠",F2e="👡",B2e="🩰",z2e="👢",$2e="👑",U2e="👒",j2e="🎩",q2e="🎓",H2e="🧢",V2e="🪖",G2e="⛑️",K2e="📿",Z2e="💄",W2e="💍",Y2e="💎",J2e="🔇",Q2e="🔈",X2e="🔉",eve="🔊",tve="📢",nve="📣",sve="📯",ove="🔔",rve="🔕",ive="🎼",ave="🎵",lve="🎶",cve="🎙️",dve="🎚️",uve="🎛️",hve="🎤",fve="🎧",pve="📻",gve="🎷",mve="🪗",_ve="🎸",bve="🎹",yve="🎺",vve="🎻",xve="🪕",wve="🥁",kve="🪘",Eve="📱",Cve="📲",Ave="☎️",Sve="☎️",Tve="📞",Mve="📟",Ove="📠",Rve="🔋",Dve="🔌",Nve="💻",Lve="🖥️",Ive="🖨️",Pve="⌨️",Fve="🖱️",Bve="🖲️",zve="💽",$ve="💾",Uve="💿",jve="📀",qve="🧮",Hve="🎥",Vve="🎞️",Gve="📽️",Kve="🎬",Zve="📺",Wve="📷",Yve="📸",Jve="📹",Qve="📼",Xve="🔍",exe="🔎",txe="🕯️",nxe="💡",sxe="🔦",oxe="🏮",rxe="🏮",ixe="🪔",axe="📔",lxe="📕",cxe="📖",dxe="📖",uxe="📗",hxe="📘",fxe="📙",pxe="📚",gxe="📓",mxe="📒",_xe="📃",bxe="📜",yxe="📄",vxe="📰",xxe="🗞️",wxe="📑",kxe="🔖",Exe="🏷️",Cxe="💰",Axe="🪙",Sxe="💴",Txe="💵",Mxe="💶",Oxe="💷",Rxe="💸",Dxe="💳",Nxe="🧾",Lxe="💹",Ixe="✉️",Pxe="📧",Fxe="📨",Bxe="📩",zxe="📤",$xe="📥",Uxe="📫",jxe="📪",qxe="📬",Hxe="📭",Vxe="📮",Gxe="🗳️",Kxe="✏️",Zxe="✒️",Wxe="🖋️",Yxe="🖊️",Jxe="🖌️",Qxe="🖍️",Xxe="📝",ewe="📝",twe="💼",nwe="📁",swe="📂",owe="🗂️",rwe="📅",iwe="📆",awe="🗒️",lwe="🗓️",cwe="📇",dwe="📈",uwe="📉",hwe="📊",fwe="📋",pwe="📌",gwe="📍",mwe="📎",_we="🖇️",bwe="📏",ywe="📐",vwe="✂️",xwe="🗃️",wwe="🗄️",kwe="🗑️",Ewe="🔒",Cwe="🔓",Awe="🔏",Swe="🔐",Twe="🔑",Mwe="🗝️",Owe="🔨",Rwe="🪓",Dwe="⛏️",Nwe="⚒️",Lwe="🛠️",Iwe="🗡️",Pwe="⚔️",Fwe="🔫",Bwe="🪃",zwe="🏹",$we="🛡️",Uwe="🪚",jwe="🔧",qwe="🪛",Hwe="🔩",Vwe="⚙️",Gwe="🗜️",Kwe="⚖️",Zwe="🦯",Wwe="🔗",Ywe="⛓️",Jwe="🪝",Qwe="🧰",Xwe="🧲",eke="🪜",tke="⚗️",nke="🧪",ske="🧫",oke="🧬",rke="🔬",ike="🔭",ake="📡",lke="💉",cke="🩸",dke="💊",uke="🩹",hke="🩺",fke="🚪",pke="🛗",gke="🪞",mke="🪟",_ke="🛏️",bke="🛋️",yke="🪑",vke="🚽",xke="🪠",wke="🚿",kke="🛁",Eke="🪤",Cke="🪒",Ake="🧴",Ske="🧷",Tke="🧹",Mke="🧺",Oke="🧻",Rke="🪣",Dke="🧼",Nke="🪥",Lke="🧽",Ike="🧯",Pke="🛒",Fke="🚬",Bke="⚰️",zke="🪦",$ke="⚱️",Uke="🗿",jke="🪧",qke="🏧",Hke="🚮",Vke="🚰",Gke="♿",Kke="🚹",Zke="🚺",Wke="🚻",Yke="🚼",Jke="🚾",Qke="🛂",Xke="🛃",e5e="🛄",t5e="🛅",n5e="⚠️",s5e="🚸",o5e="⛔",r5e="🚫",i5e="🚳",a5e="🚭",l5e="🚯",c5e="🚷",d5e="📵",u5e="🔞",h5e="☢️",f5e="☣️",p5e="⬆️",g5e="↗️",m5e="➡️",_5e="↘️",b5e="⬇️",y5e="↙️",v5e="⬅️",x5e="↖️",w5e="↕️",k5e="↔️",E5e="↩️",C5e="↪️",A5e="⤴️",S5e="⤵️",T5e="🔃",M5e="🔄",O5e="🔙",R5e="🔚",D5e="🔛",N5e="🔜",L5e="🔝",I5e="🛐",P5e="⚛️",F5e="🕉️",B5e="✡️",z5e="☸️",$5e="☯️",U5e="✝️",j5e="☦️",q5e="☪️",H5e="☮️",V5e="🕎",G5e="🔯",K5e="♈",Z5e="♉",W5e="♊",Y5e="♋",J5e="♌",Q5e="♍",X5e="♎",eEe="♏",tEe="♐",nEe="♑",sEe="♒",oEe="♓",rEe="⛎",iEe="🔀",aEe="🔁",lEe="🔂",cEe="▶️",dEe="⏩",uEe="⏭️",hEe="⏯️",fEe="◀️",pEe="⏪",gEe="⏮️",mEe="🔼",_Ee="⏫",bEe="🔽",yEe="⏬",vEe="⏸️",xEe="⏹️",wEe="⏺️",kEe="⏏️",EEe="🎦",CEe="🔅",AEe="🔆",SEe="📶",TEe="📳",MEe="📴",OEe="♀️",REe="♂️",DEe="⚧️",NEe="✖️",LEe="➕",IEe="➖",PEe="➗",FEe="♾️",BEe="‼️",zEe="⁉️",$Ee="❓",UEe="❔",jEe="❕",qEe="❗",HEe="❗",VEe="〰️",GEe="💱",KEe="💲",ZEe="⚕️",WEe="♻️",YEe="⚜️",JEe="🔱",QEe="📛",XEe="🔰",e4e="⭕",t4e="✅",n4e="☑️",s4e="✔️",o4e="❌",r4e="❎",i4e="➰",a4e="➿",l4e="〽️",c4e="✳️",d4e="✴️",u4e="❇️",h4e="©️",f4e="®️",p4e="™️",g4e="#️⃣",m4e="*️⃣",_4e="0️⃣",b4e="1️⃣",y4e="2️⃣",v4e="3️⃣",x4e="4️⃣",w4e="5️⃣",k4e="6️⃣",E4e="7️⃣",C4e="8️⃣",A4e="9️⃣",S4e="🔟",T4e="🔠",M4e="🔡",O4e="🔣",R4e="🔤",D4e="🅰️",N4e="🆎",L4e="🅱️",I4e="🆑",P4e="🆒",F4e="🆓",B4e="ℹ️",z4e="🆔",$4e="Ⓜ️",U4e="🆖",j4e="🅾️",q4e="🆗",H4e="🅿️",V4e="🆘",G4e="🆙",K4e="🆚",Z4e="🈁",W4e="🈂️",Y4e="🉐",J4e="🉑",Q4e="㊗️",X4e="㊙️",e3e="🈵",t3e="🔴",n3e="🟠",s3e="🟡",o3e="🟢",r3e="🔵",i3e="🟣",a3e="🟤",l3e="⚫",c3e="⚪",d3e="🟥",u3e="🟧",h3e="🟨",f3e="🟩",p3e="🟦",g3e="🟪",m3e="🟫",_3e="⬛",b3e="⬜",y3e="◼️",v3e="◻️",x3e="◾",w3e="◽",k3e="▪️",E3e="▫️",C3e="🔶",A3e="🔷",S3e="🔸",T3e="🔹",M3e="🔺",O3e="🔻",R3e="💠",D3e="🔘",N3e="🔳",L3e="🔲",I3e="🏁",P3e="🚩",F3e="🎌",B3e="🏴",z3e="🏳️",$3e="🏳️‍🌈",U3e="🏳️‍⚧️",j3e="🏴‍☠️",q3e="🇦🇨",H3e="🇦🇩",V3e="🇦🇪",G3e="🇦🇫",K3e="🇦🇬",Z3e="🇦🇮",W3e="🇦🇱",Y3e="🇦🇲",J3e="🇦🇴",Q3e="🇦🇶",X3e="🇦🇷",eCe="🇦🇸",tCe="🇦🇹",nCe="🇦🇺",sCe="🇦🇼",oCe="🇦🇽",rCe="🇦🇿",iCe="🇧🇦",aCe="🇧🇧",lCe="🇧🇩",cCe="🇧🇪",dCe="🇧🇫",uCe="🇧🇬",hCe="🇧🇭",fCe="🇧🇮",pCe="🇧🇯",gCe="🇧🇱",mCe="🇧🇲",_Ce="🇧🇳",bCe="🇧🇴",yCe="🇧🇶",vCe="🇧🇷",xCe="🇧🇸",wCe="🇧🇹",kCe="🇧🇻",ECe="🇧🇼",CCe="🇧🇾",ACe="🇧🇿",SCe="🇨🇦",TCe="🇨🇨",MCe="🇨🇩",OCe="🇨🇫",RCe="🇨🇬",DCe="🇨🇭",NCe="🇨🇮",LCe="🇨🇰",ICe="🇨🇱",PCe="🇨🇲",FCe="🇨🇳",BCe="🇨🇴",zCe="🇨🇵",$Ce="🇨🇷",UCe="🇨🇺",jCe="🇨🇻",qCe="🇨🇼",HCe="🇨🇽",VCe="🇨🇾",GCe="🇨🇿",KCe="🇩🇪",ZCe="🇩🇬",WCe="🇩🇯",YCe="🇩🇰",JCe="🇩🇲",QCe="🇩🇴",XCe="🇩🇿",e9e="🇪🇦",t9e="🇪🇨",n9e="🇪🇪",s9e="🇪🇬",o9e="🇪🇭",r9e="🇪🇷",i9e="🇪🇸",a9e="🇪🇹",l9e="🇪🇺",c9e="🇪🇺",d9e="🇫🇮",u9e="🇫🇯",h9e="🇫🇰",f9e="🇫🇲",p9e="🇫🇴",g9e="🇫🇷",m9e="🇬🇦",_9e="🇬🇧",b9e="🇬🇧",y9e="🇬🇩",v9e="🇬🇪",x9e="🇬🇫",w9e="🇬🇬",k9e="🇬🇭",E9e="🇬🇮",C9e="🇬🇱",A9e="🇬🇲",S9e="🇬🇳",T9e="🇬🇵",M9e="🇬🇶",O9e="🇬🇷",R9e="🇬🇸",D9e="🇬🇹",N9e="🇬🇺",L9e="🇬🇼",I9e="🇬🇾",P9e="🇭🇰",F9e="🇭🇲",B9e="🇭🇳",z9e="🇭🇷",$9e="🇭🇹",U9e="🇭🇺",j9e="🇮🇨",q9e="🇮🇩",H9e="🇮🇪",V9e="🇮🇱",G9e="🇮🇲",K9e="🇮🇳",Z9e="🇮🇴",W9e="🇮🇶",Y9e="🇮🇷",J9e="🇮🇸",Q9e="🇮🇹",X9e="🇯🇪",e8e="🇯🇲",t8e="🇯🇴",n8e="🇯🇵",s8e="🇰🇪",o8e="🇰🇬",r8e="🇰🇭",i8e="🇰🇮",a8e="🇰🇲",l8e="🇰🇳",c8e="🇰🇵",d8e="🇰🇷",u8e="🇰🇼",h8e="🇰🇾",f8e="🇰🇿",p8e="🇱🇦",g8e="🇱🇧",m8e="🇱🇨",_8e="🇱🇮",b8e="🇱🇰",y8e="🇱🇷",v8e="🇱🇸",x8e="🇱🇹",w8e="🇱🇺",k8e="🇱🇻",E8e="🇱🇾",C8e="🇲🇦",A8e="🇲🇨",S8e="🇲🇩",T8e="🇲🇪",M8e="🇲🇫",O8e="🇲🇬",R8e="🇲🇭",D8e="🇲🇰",N8e="🇲🇱",L8e="🇲🇲",I8e="🇲🇳",P8e="🇲🇴",F8e="🇲🇵",B8e="🇲🇶",z8e="🇲🇷",$8e="🇲🇸",U8e="🇲🇹",j8e="🇲🇺",q8e="🇲🇻",H8e="🇲🇼",V8e="🇲🇽",G8e="🇲🇾",K8e="🇲🇿",Z8e="🇳🇦",W8e="🇳🇨",Y8e="🇳🇪",J8e="🇳🇫",Q8e="🇳🇬",X8e="🇳🇮",e6e="🇳🇱",t6e="🇳🇴",n6e="🇳🇵",s6e="🇳🇷",o6e="🇳🇺",r6e="🇳🇿",i6e="🇴🇲",a6e="🇵🇦",l6e="🇵🇪",c6e="🇵🇫",d6e="🇵🇬",u6e="🇵🇭",h6e="🇵🇰",f6e="🇵🇱",p6e="🇵🇲",g6e="🇵🇳",m6e="🇵🇷",_6e="🇵🇸",b6e="🇵🇹",y6e="🇵🇼",v6e="🇵🇾",x6e="🇶🇦",w6e="🇷🇪",k6e="🇷🇴",E6e="🇷🇸",C6e="🇷🇺",A6e="🇷🇼",S6e="🇸🇦",T6e="🇸🇧",M6e="🇸🇨",O6e="🇸🇩",R6e="🇸🇪",D6e="🇸🇬",N6e="🇸🇭",L6e="🇸🇮",I6e="🇸🇯",P6e="🇸🇰",F6e="🇸🇱",B6e="🇸🇲",z6e="🇸🇳",$6e="🇸🇴",U6e="🇸🇷",j6e="🇸🇸",q6e="🇸🇹",H6e="🇸🇻",V6e="🇸🇽",G6e="🇸🇾",K6e="🇸🇿",Z6e="🇹🇦",W6e="🇹🇨",Y6e="🇹🇩",J6e="🇹🇫",Q6e="🇹🇬",X6e="🇹🇭",e7e="🇹🇯",t7e="🇹🇰",n7e="🇹🇱",s7e="🇹🇲",o7e="🇹🇳",r7e="🇹🇴",i7e="🇹🇷",a7e="🇹🇹",l7e="🇹🇻",c7e="🇹🇼",d7e="🇹🇿",u7e="🇺🇦",h7e="🇺🇬",f7e="🇺🇲",p7e="🇺🇳",g7e="🇺🇸",m7e="🇺🇾",_7e="🇺🇿",b7e="🇻🇦",y7e="🇻🇨",v7e="🇻🇪",x7e="🇻🇬",w7e="🇻🇮",k7e="🇻🇳",E7e="🇻🇺",C7e="🇼🇫",A7e="🇼🇸",S7e="🇽🇰",T7e="🇾🇪",M7e="🇾🇹",O7e="🇿🇦",R7e="🇿🇲",D7e="🇿🇼",N7e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",L7e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",I7e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",P7e={100:"💯",1234:"🔢",grinning:Kte,smiley:Zte,smile:Wte,grin:Yte,laughing:Jte,satisfied:Qte,sweat_smile:Xte,rofl:ene,joy:tne,slightly_smiling_face:nne,upside_down_face:sne,wink:one,blush:rne,innocent:ine,smiling_face_with_three_hearts:ane,heart_eyes:lne,star_struck:cne,kissing_heart:dne,kissing:une,relaxed:hne,kissing_closed_eyes:fne,kissing_smiling_eyes:pne,smiling_face_with_tear:gne,yum:mne,stuck_out_tongue:_ne,stuck_out_tongue_winking_eye:bne,zany_face:yne,stuck_out_tongue_closed_eyes:vne,money_mouth_face:xne,hugs:wne,hand_over_mouth:kne,shushing_face:Ene,thinking:Cne,zipper_mouth_face:Ane,raised_eyebrow:Sne,neutral_face:Tne,expressionless:Mne,no_mouth:One,smirk:Rne,unamused:Dne,roll_eyes:Nne,grimacing:Lne,lying_face:Ine,relieved:Pne,pensive:Fne,sleepy:Bne,drooling_face:zne,sleeping:$ne,mask:Une,face_with_thermometer:jne,face_with_head_bandage:qne,nauseated_face:Hne,vomiting_face:Vne,sneezing_face:Gne,hot_face:Kne,cold_face:Zne,woozy_face:Wne,dizzy_face:Yne,exploding_head:Jne,cowboy_hat_face:Qne,partying_face:Xne,disguised_face:ese,sunglasses:tse,nerd_face:nse,monocle_face:sse,confused:ose,worried:rse,slightly_frowning_face:ise,frowning_face:ase,open_mouth:lse,hushed:cse,astonished:dse,flushed:use,pleading_face:hse,frowning:fse,anguished:pse,fearful:gse,cold_sweat:mse,disappointed_relieved:_se,cry:bse,sob:yse,scream:vse,confounded:xse,persevere:wse,disappointed:kse,sweat:Ese,weary:Cse,tired_face:Ase,yawning_face:Sse,triumph:Tse,rage:Mse,pout:Ose,angry:Rse,cursing_face:Dse,smiling_imp:Nse,imp:Lse,skull:Ise,skull_and_crossbones:Pse,hankey:Fse,poop:Bse,shit:zse,clown_face:$se,japanese_ogre:Use,japanese_goblin:jse,ghost:qse,alien:Hse,space_invader:Vse,robot:Gse,smiley_cat:Kse,smile_cat:Zse,joy_cat:Wse,heart_eyes_cat:Yse,smirk_cat:Jse,kissing_cat:Qse,scream_cat:Xse,crying_cat_face:eoe,pouting_cat:toe,see_no_evil:noe,hear_no_evil:soe,speak_no_evil:ooe,kiss:roe,love_letter:ioe,cupid:aoe,gift_heart:loe,sparkling_heart:coe,heartpulse:doe,heartbeat:uoe,revolving_hearts:hoe,two_hearts:foe,heart_decoration:poe,heavy_heart_exclamation:goe,broken_heart:moe,heart:_oe,orange_heart:boe,yellow_heart:yoe,green_heart:voe,blue_heart:xoe,purple_heart:woe,brown_heart:koe,black_heart:Eoe,white_heart:Coe,anger:Aoe,boom:Soe,collision:Toe,dizzy:Moe,sweat_drops:Ooe,dash:Roe,hole:Doe,bomb:Noe,speech_balloon:Loe,eye_speech_bubble:Ioe,left_speech_bubble:Poe,right_anger_bubble:Foe,thought_balloon:Boe,zzz:zoe,wave:$oe,raised_back_of_hand:Uoe,raised_hand_with_fingers_splayed:joe,hand:qoe,raised_hand:Hoe,vulcan_salute:Voe,ok_hand:Goe,pinched_fingers:Koe,pinching_hand:Zoe,v:Woe,crossed_fingers:Yoe,love_you_gesture:Joe,metal:Qoe,call_me_hand:Xoe,point_left:ere,point_right:tre,point_up_2:nre,middle_finger:sre,fu:ore,point_down:rre,point_up:ire,"+1":"👍",thumbsup:are,"-1":"👎",thumbsdown:lre,fist_raised:cre,fist:dre,fist_oncoming:ure,facepunch:hre,punch:fre,fist_left:pre,fist_right:gre,clap:mre,raised_hands:_re,open_hands:bre,palms_up_together:yre,handshake:vre,pray:xre,writing_hand:wre,nail_care:kre,selfie:Ere,muscle:Cre,mechanical_arm:Are,mechanical_leg:Sre,leg:Tre,foot:Mre,ear:Ore,ear_with_hearing_aid:Rre,nose:Dre,brain:Nre,anatomical_heart:Lre,lungs:Ire,tooth:Pre,bone:Fre,eyes:Bre,eye:zre,tongue:$re,lips:Ure,baby:jre,child:qre,boy:Hre,girl:Vre,adult:Gre,blond_haired_person:Kre,man:Zre,bearded_person:Wre,red_haired_man:Yre,curly_haired_man:Jre,white_haired_man:Qre,bald_man:Xre,woman:eie,red_haired_woman:tie,person_red_hair:nie,curly_haired_woman:sie,person_curly_hair:oie,white_haired_woman:rie,person_white_hair:iie,bald_woman:aie,person_bald:lie,blond_haired_woman:cie,blonde_woman:die,blond_haired_man:uie,older_adult:hie,older_man:fie,older_woman:pie,frowning_person:gie,frowning_man:mie,frowning_woman:_ie,pouting_face:bie,pouting_man:yie,pouting_woman:vie,no_good:xie,no_good_man:wie,ng_man:kie,no_good_woman:Eie,ng_woman:Cie,ok_person:Aie,ok_man:Sie,ok_woman:Tie,tipping_hand_person:Mie,information_desk_person:Oie,tipping_hand_man:Rie,sassy_man:Die,tipping_hand_woman:Nie,sassy_woman:Lie,raising_hand:Iie,raising_hand_man:Pie,raising_hand_woman:Fie,deaf_person:Bie,deaf_man:zie,deaf_woman:$ie,bow:Uie,bowing_man:jie,bowing_woman:qie,facepalm:Hie,man_facepalming:Vie,woman_facepalming:Gie,shrug:Kie,man_shrugging:Zie,woman_shrugging:Wie,health_worker:Yie,man_health_worker:Jie,woman_health_worker:Qie,student:Xie,man_student:eae,woman_student:tae,teacher:nae,man_teacher:sae,woman_teacher:oae,judge:rae,man_judge:iae,woman_judge:aae,farmer:lae,man_farmer:cae,woman_farmer:dae,cook:uae,man_cook:hae,woman_cook:fae,mechanic:pae,man_mechanic:gae,woman_mechanic:mae,factory_worker:_ae,man_factory_worker:bae,woman_factory_worker:yae,office_worker:vae,man_office_worker:xae,woman_office_worker:wae,scientist:kae,man_scientist:Eae,woman_scientist:Cae,technologist:Aae,man_technologist:Sae,woman_technologist:Tae,singer:Mae,man_singer:Oae,woman_singer:Rae,artist:Dae,man_artist:Nae,woman_artist:Lae,pilot:Iae,man_pilot:Pae,woman_pilot:Fae,astronaut:Bae,man_astronaut:zae,woman_astronaut:$ae,firefighter:Uae,man_firefighter:jae,woman_firefighter:qae,police_officer:Hae,cop:Vae,policeman:Gae,policewoman:Kae,detective:Zae,male_detective:Wae,female_detective:Yae,guard:Jae,guardsman:Qae,guardswoman:Xae,ninja:ele,construction_worker:tle,construction_worker_man:nle,construction_worker_woman:sle,prince:ole,princess:rle,person_with_turban:ile,man_with_turban:ale,woman_with_turban:lle,man_with_gua_pi_mao:cle,woman_with_headscarf:dle,person_in_tuxedo:ule,man_in_tuxedo:hle,woman_in_tuxedo:fle,person_with_veil:ple,man_with_veil:gle,woman_with_veil:mle,bride_with_veil:_le,pregnant_woman:ble,breast_feeding:yle,woman_feeding_baby:vle,man_feeding_baby:xle,person_feeding_baby:wle,angel:kle,santa:Ele,mrs_claus:Cle,mx_claus:Ale,superhero:Sle,superhero_man:Tle,superhero_woman:Mle,supervillain:Ole,supervillain_man:Rle,supervillain_woman:Dle,mage:Nle,mage_man:Lle,mage_woman:Ile,fairy:Ple,fairy_man:Fle,fairy_woman:Ble,vampire:zle,vampire_man:$le,vampire_woman:Ule,merperson:jle,merman:qle,mermaid:Hle,elf:Vle,elf_man:Gle,elf_woman:Kle,genie:Zle,genie_man:Wle,genie_woman:Yle,zombie:Jle,zombie_man:Qle,zombie_woman:Xle,massage:ece,massage_man:tce,massage_woman:nce,haircut:sce,haircut_man:oce,haircut_woman:rce,walking:ice,walking_man:ace,walking_woman:lce,standing_person:cce,standing_man:dce,standing_woman:uce,kneeling_person:hce,kneeling_man:fce,kneeling_woman:pce,person_with_probing_cane:gce,man_with_probing_cane:mce,woman_with_probing_cane:_ce,person_in_motorized_wheelchair:bce,man_in_motorized_wheelchair:yce,woman_in_motorized_wheelchair:vce,person_in_manual_wheelchair:xce,man_in_manual_wheelchair:wce,woman_in_manual_wheelchair:kce,runner:Ece,running:Cce,running_man:Ace,running_woman:Sce,woman_dancing:Tce,dancer:Mce,man_dancing:Oce,business_suit_levitating:Rce,dancers:Dce,dancing_men:Nce,dancing_women:Lce,sauna_person:Ice,sauna_man:Pce,sauna_woman:Fce,climbing:Bce,climbing_man:zce,climbing_woman:$ce,person_fencing:Uce,horse_racing:jce,skier:qce,snowboarder:Hce,golfing:Vce,golfing_man:Gce,golfing_woman:Kce,surfer:Zce,surfing_man:Wce,surfing_woman:Yce,rowboat:Jce,rowing_man:Qce,rowing_woman:Xce,swimmer:ede,swimming_man:tde,swimming_woman:nde,bouncing_ball_person:sde,bouncing_ball_man:ode,basketball_man:rde,bouncing_ball_woman:ide,basketball_woman:ade,weight_lifting:lde,weight_lifting_man:cde,weight_lifting_woman:dde,bicyclist:ude,biking_man:hde,biking_woman:fde,mountain_bicyclist:pde,mountain_biking_man:gde,mountain_biking_woman:mde,cartwheeling:_de,man_cartwheeling:bde,woman_cartwheeling:yde,wrestling:vde,men_wrestling:xde,women_wrestling:wde,water_polo:kde,man_playing_water_polo:Ede,woman_playing_water_polo:Cde,handball_person:Ade,man_playing_handball:Sde,woman_playing_handball:Tde,juggling_person:Mde,man_juggling:Ode,woman_juggling:Rde,lotus_position:Dde,lotus_position_man:Nde,lotus_position_woman:Lde,bath:Ide,sleeping_bed:Pde,people_holding_hands:Fde,two_women_holding_hands:Bde,couple:zde,two_men_holding_hands:$de,couplekiss:Ude,couplekiss_man_woman:jde,couplekiss_man_man:qde,couplekiss_woman_woman:Hde,couple_with_heart:Vde,couple_with_heart_woman_man:Gde,couple_with_heart_man_man:Kde,couple_with_heart_woman_woman:Zde,family:Wde,family_man_woman_boy:Yde,family_man_woman_girl:Jde,family_man_woman_girl_boy:Qde,family_man_woman_boy_boy:Xde,family_man_woman_girl_girl:eue,family_man_man_boy:tue,family_man_man_girl:nue,family_man_man_girl_boy:sue,family_man_man_boy_boy:oue,family_man_man_girl_girl:rue,family_woman_woman_boy:iue,family_woman_woman_girl:aue,family_woman_woman_girl_boy:lue,family_woman_woman_boy_boy:cue,family_woman_woman_girl_girl:due,family_man_boy:uue,family_man_boy_boy:hue,family_man_girl:fue,family_man_girl_boy:pue,family_man_girl_girl:gue,family_woman_boy:mue,family_woman_boy_boy:_ue,family_woman_girl:bue,family_woman_girl_boy:yue,family_woman_girl_girl:vue,speaking_head:xue,bust_in_silhouette:wue,busts_in_silhouette:kue,people_hugging:Eue,footprints:Cue,monkey_face:Aue,monkey:Sue,gorilla:Tue,orangutan:Mue,dog:Oue,dog2:Rue,guide_dog:Due,service_dog:Nue,poodle:Lue,wolf:Iue,fox_face:Pue,raccoon:Fue,cat:Bue,cat2:zue,black_cat:$ue,lion:Uue,tiger:jue,tiger2:que,leopard:Hue,horse:Vue,racehorse:Gue,unicorn:Kue,zebra:Zue,deer:Wue,bison:Yue,cow:Jue,ox:Que,water_buffalo:Xue,cow2:ehe,pig:the,pig2:nhe,boar:she,pig_nose:ohe,ram:rhe,sheep:ihe,goat:ahe,dromedary_camel:lhe,camel:che,llama:dhe,giraffe:uhe,elephant:hhe,mammoth:fhe,rhinoceros:phe,hippopotamus:ghe,mouse:mhe,mouse2:_he,rat:bhe,hamster:yhe,rabbit:vhe,rabbit2:xhe,chipmunk:whe,beaver:khe,hedgehog:Ehe,bat:Che,bear:Ahe,polar_bear:She,koala:The,panda_face:Mhe,sloth:Ohe,otter:Rhe,skunk:Dhe,kangaroo:Nhe,badger:Lhe,feet:Ihe,paw_prints:Phe,turkey:Fhe,chicken:Bhe,rooster:zhe,hatching_chick:$he,baby_chick:Uhe,hatched_chick:jhe,bird:qhe,penguin:Hhe,dove:Vhe,eagle:Ghe,duck:Khe,swan:Zhe,owl:Whe,dodo:Yhe,feather:Jhe,flamingo:Qhe,peacock:Xhe,parrot:efe,frog:tfe,crocodile:nfe,turtle:sfe,lizard:ofe,snake:rfe,dragon_face:ife,dragon:afe,sauropod:lfe,"t-rex":"🦖",whale:cfe,whale2:dfe,dolphin:ufe,flipper:hfe,seal:ffe,fish:pfe,tropical_fish:gfe,blowfish:mfe,shark:_fe,octopus:bfe,shell:yfe,snail:vfe,butterfly:xfe,bug:wfe,ant:kfe,bee:Efe,honeybee:Cfe,beetle:Afe,lady_beetle:Sfe,cricket:Tfe,cockroach:Mfe,spider:Ofe,spider_web:Rfe,scorpion:Dfe,mosquito:Nfe,fly:Lfe,worm:Ife,microbe:Pfe,bouquet:Ffe,cherry_blossom:Bfe,white_flower:zfe,rosette:$fe,rose:Ufe,wilted_flower:jfe,hibiscus:qfe,sunflower:Hfe,blossom:Vfe,tulip:Gfe,seedling:Kfe,potted_plant:Zfe,evergreen_tree:Wfe,deciduous_tree:Yfe,palm_tree:Jfe,cactus:Qfe,ear_of_rice:Xfe,herb:epe,shamrock:tpe,four_leaf_clover:npe,maple_leaf:spe,fallen_leaf:ope,leaves:rpe,grapes:ipe,melon:ape,watermelon:lpe,tangerine:cpe,orange:dpe,mandarin:upe,lemon:hpe,banana:fpe,pineapple:ppe,mango:gpe,apple:mpe,green_apple:_pe,pear:bpe,peach:ype,cherries:vpe,strawberry:xpe,blueberries:wpe,kiwi_fruit:kpe,tomato:Epe,olive:Cpe,coconut:Ape,avocado:Spe,eggplant:Tpe,potato:Mpe,carrot:Ope,corn:Rpe,hot_pepper:Dpe,bell_pepper:Npe,cucumber:Lpe,leafy_green:Ipe,broccoli:Ppe,garlic:Fpe,onion:Bpe,mushroom:zpe,peanuts:$pe,chestnut:Upe,bread:jpe,croissant:qpe,baguette_bread:Hpe,flatbread:Vpe,pretzel:Gpe,bagel:Kpe,pancakes:Zpe,waffle:Wpe,cheese:Ype,meat_on_bone:Jpe,poultry_leg:Qpe,cut_of_meat:Xpe,bacon:ege,hamburger:tge,fries:nge,pizza:sge,hotdog:oge,sandwich:rge,taco:ige,burrito:age,tamale:lge,stuffed_flatbread:cge,falafel:dge,egg:uge,fried_egg:hge,shallow_pan_of_food:fge,stew:pge,fondue:gge,bowl_with_spoon:mge,green_salad:_ge,popcorn:bge,butter:yge,salt:vge,canned_food:xge,bento:wge,rice_cracker:kge,rice_ball:Ege,rice:Cge,curry:Age,ramen:Sge,spaghetti:Tge,sweet_potato:Mge,oden:Oge,sushi:Rge,fried_shrimp:Dge,fish_cake:Nge,moon_cake:Lge,dango:Ige,dumpling:Pge,fortune_cookie:Fge,takeout_box:Bge,crab:zge,lobster:$ge,shrimp:Uge,squid:jge,oyster:qge,icecream:Hge,shaved_ice:Vge,ice_cream:Gge,doughnut:Kge,cookie:Zge,birthday:Wge,cake:Yge,cupcake:Jge,pie:Qge,chocolate_bar:Xge,candy:eme,lollipop:tme,custard:nme,honey_pot:sme,baby_bottle:ome,milk_glass:rme,coffee:ime,teapot:ame,tea:lme,sake:cme,champagne:dme,wine_glass:ume,cocktail:hme,tropical_drink:fme,beer:pme,beers:gme,clinking_glasses:mme,tumbler_glass:_me,cup_with_straw:bme,bubble_tea:yme,beverage_box:vme,mate:xme,ice_cube:wme,chopsticks:kme,plate_with_cutlery:Eme,fork_and_knife:Cme,spoon:Ame,hocho:Sme,knife:Tme,amphora:Mme,earth_africa:Ome,earth_americas:Rme,earth_asia:Dme,globe_with_meridians:Nme,world_map:Lme,japan:Ime,compass:Pme,mountain_snow:Fme,mountain:Bme,volcano:zme,mount_fuji:$me,camping:Ume,beach_umbrella:jme,desert:qme,desert_island:Hme,national_park:Vme,stadium:Gme,classical_building:Kme,building_construction:Zme,bricks:Wme,rock:Yme,wood:Jme,hut:Qme,houses:Xme,derelict_house:e_e,house:t_e,house_with_garden:n_e,office:s_e,post_office:o_e,european_post_office:r_e,hospital:i_e,bank:a_e,hotel:l_e,love_hotel:c_e,convenience_store:d_e,school:u_e,department_store:h_e,factory:f_e,japanese_castle:p_e,european_castle:g_e,wedding:m_e,tokyo_tower:__e,statue_of_liberty:b_e,church:y_e,mosque:v_e,hindu_temple:x_e,synagogue:w_e,shinto_shrine:k_e,kaaba:E_e,fountain:C_e,tent:A_e,foggy:S_e,night_with_stars:T_e,cityscape:M_e,sunrise_over_mountains:O_e,sunrise:R_e,city_sunset:D_e,city_sunrise:N_e,bridge_at_night:L_e,hotsprings:I_e,carousel_horse:P_e,ferris_wheel:F_e,roller_coaster:B_e,barber:z_e,circus_tent:$_e,steam_locomotive:U_e,railway_car:j_e,bullettrain_side:q_e,bullettrain_front:H_e,train2:V_e,metro:G_e,light_rail:K_e,station:Z_e,tram:W_e,monorail:Y_e,mountain_railway:J_e,train:Q_e,bus:X_e,oncoming_bus:e1e,trolleybus:t1e,minibus:n1e,ambulance:s1e,fire_engine:o1e,police_car:r1e,oncoming_police_car:i1e,taxi:a1e,oncoming_taxi:l1e,car:c1e,red_car:d1e,oncoming_automobile:u1e,blue_car:h1e,pickup_truck:f1e,truck:p1e,articulated_lorry:g1e,tractor:m1e,racing_car:_1e,motorcycle:b1e,motor_scooter:y1e,manual_wheelchair:v1e,motorized_wheelchair:x1e,auto_rickshaw:w1e,bike:k1e,kick_scooter:E1e,skateboard:C1e,roller_skate:A1e,busstop:S1e,motorway:T1e,railway_track:M1e,oil_drum:O1e,fuelpump:R1e,rotating_light:D1e,traffic_light:N1e,vertical_traffic_light:L1e,stop_sign:I1e,construction:P1e,anchor:F1e,boat:B1e,sailboat:z1e,canoe:$1e,speedboat:U1e,passenger_ship:j1e,ferry:q1e,motor_boat:H1e,ship:V1e,airplane:G1e,small_airplane:K1e,flight_departure:Z1e,flight_arrival:W1e,parachute:Y1e,seat:J1e,helicopter:Q1e,suspension_railway:X1e,mountain_cableway:e0e,aerial_tramway:t0e,artificial_satellite:n0e,rocket:s0e,flying_saucer:o0e,bellhop_bell:r0e,luggage:i0e,hourglass:a0e,hourglass_flowing_sand:l0e,watch:c0e,alarm_clock:d0e,stopwatch:u0e,timer_clock:h0e,mantelpiece_clock:f0e,clock12:p0e,clock1230:g0e,clock1:m0e,clock130:_0e,clock2:b0e,clock230:y0e,clock3:v0e,clock330:x0e,clock4:w0e,clock430:k0e,clock5:E0e,clock530:C0e,clock6:A0e,clock630:S0e,clock7:T0e,clock730:M0e,clock8:O0e,clock830:R0e,clock9:D0e,clock930:N0e,clock10:L0e,clock1030:I0e,clock11:P0e,clock1130:F0e,new_moon:B0e,waxing_crescent_moon:z0e,first_quarter_moon:$0e,moon:U0e,waxing_gibbous_moon:j0e,full_moon:q0e,waning_gibbous_moon:H0e,last_quarter_moon:V0e,waning_crescent_moon:G0e,crescent_moon:K0e,new_moon_with_face:Z0e,first_quarter_moon_with_face:W0e,last_quarter_moon_with_face:Y0e,thermometer:J0e,sunny:Q0e,full_moon_with_face:X0e,sun_with_face:ebe,ringed_planet:tbe,star:nbe,star2:sbe,stars:obe,milky_way:rbe,cloud:ibe,partly_sunny:abe,cloud_with_lightning_and_rain:lbe,sun_behind_small_cloud:cbe,sun_behind_large_cloud:dbe,sun_behind_rain_cloud:ube,cloud_with_rain:hbe,cloud_with_snow:fbe,cloud_with_lightning:pbe,tornado:gbe,fog:mbe,wind_face:_be,cyclone:bbe,rainbow:ybe,closed_umbrella:vbe,open_umbrella:xbe,umbrella:wbe,parasol_on_ground:kbe,zap:Ebe,snowflake:Cbe,snowman_with_snow:Abe,snowman:Sbe,comet:Tbe,fire:Mbe,droplet:Obe,ocean:Rbe,jack_o_lantern:Dbe,christmas_tree:Nbe,fireworks:Lbe,sparkler:Ibe,firecracker:Pbe,sparkles:Fbe,balloon:Bbe,tada:zbe,confetti_ball:$be,tanabata_tree:Ube,bamboo:jbe,dolls:qbe,flags:Hbe,wind_chime:Vbe,rice_scene:Gbe,red_envelope:Kbe,ribbon:Zbe,gift:Wbe,reminder_ribbon:Ybe,tickets:Jbe,ticket:Qbe,medal_military:Xbe,trophy:eye,medal_sports:tye,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:nye,baseball:sye,softball:oye,basketball:rye,volleyball:iye,football:aye,rugby_football:lye,tennis:cye,flying_disc:dye,bowling:uye,cricket_game:hye,field_hockey:fye,ice_hockey:pye,lacrosse:gye,ping_pong:mye,badminton:_ye,boxing_glove:bye,martial_arts_uniform:yye,goal_net:vye,golf:xye,ice_skate:wye,fishing_pole_and_fish:kye,diving_mask:Eye,running_shirt_with_sash:Cye,ski:Aye,sled:Sye,curling_stone:Tye,dart:Mye,yo_yo:Oye,kite:Rye,"8ball":"🎱",crystal_ball:Dye,magic_wand:Nye,nazar_amulet:Lye,video_game:Iye,joystick:Pye,slot_machine:Fye,game_die:Bye,jigsaw:zye,teddy_bear:$ye,pinata:Uye,nesting_dolls:jye,spades:qye,hearts:Hye,diamonds:Vye,clubs:Gye,chess_pawn:Kye,black_joker:Zye,mahjong:Wye,flower_playing_cards:Yye,performing_arts:Jye,framed_picture:Qye,art:Xye,thread:e2e,sewing_needle:t2e,yarn:n2e,knot:s2e,eyeglasses:o2e,dark_sunglasses:r2e,goggles:i2e,lab_coat:a2e,safety_vest:l2e,necktie:c2e,shirt:d2e,tshirt:u2e,jeans:h2e,scarf:f2e,gloves:p2e,coat:g2e,socks:m2e,dress:_2e,kimono:b2e,sari:y2e,one_piece_swimsuit:v2e,swim_brief:x2e,shorts:w2e,bikini:k2e,womans_clothes:E2e,purse:C2e,handbag:A2e,pouch:S2e,shopping:T2e,school_satchel:M2e,thong_sandal:O2e,mans_shoe:R2e,shoe:D2e,athletic_shoe:N2e,hiking_boot:L2e,flat_shoe:I2e,high_heel:P2e,sandal:F2e,ballet_shoes:B2e,boot:z2e,crown:$2e,womans_hat:U2e,tophat:j2e,mortar_board:q2e,billed_cap:H2e,military_helmet:V2e,rescue_worker_helmet:G2e,prayer_beads:K2e,lipstick:Z2e,ring:W2e,gem:Y2e,mute:J2e,speaker:Q2e,sound:X2e,loud_sound:eve,loudspeaker:tve,mega:nve,postal_horn:sve,bell:ove,no_bell:rve,musical_score:ive,musical_note:ave,notes:lve,studio_microphone:cve,level_slider:dve,control_knobs:uve,microphone:hve,headphones:fve,radio:pve,saxophone:gve,accordion:mve,guitar:_ve,musical_keyboard:bve,trumpet:yve,violin:vve,banjo:xve,drum:wve,long_drum:kve,iphone:Eve,calling:Cve,phone:Ave,telephone:Sve,telephone_receiver:Tve,pager:Mve,fax:Ove,battery:Rve,electric_plug:Dve,computer:Nve,desktop_computer:Lve,printer:Ive,keyboard:Pve,computer_mouse:Fve,trackball:Bve,minidisc:zve,floppy_disk:$ve,cd:Uve,dvd:jve,abacus:qve,movie_camera:Hve,film_strip:Vve,film_projector:Gve,clapper:Kve,tv:Zve,camera:Wve,camera_flash:Yve,video_camera:Jve,vhs:Qve,mag:Xve,mag_right:exe,candle:txe,bulb:nxe,flashlight:sxe,izakaya_lantern:oxe,lantern:rxe,diya_lamp:ixe,notebook_with_decorative_cover:axe,closed_book:lxe,book:cxe,open_book:dxe,green_book:uxe,blue_book:hxe,orange_book:fxe,books:pxe,notebook:gxe,ledger:mxe,page_with_curl:_xe,scroll:bxe,page_facing_up:yxe,newspaper:vxe,newspaper_roll:xxe,bookmark_tabs:wxe,bookmark:kxe,label:Exe,moneybag:Cxe,coin:Axe,yen:Sxe,dollar:Txe,euro:Mxe,pound:Oxe,money_with_wings:Rxe,credit_card:Dxe,receipt:Nxe,chart:Lxe,envelope:Ixe,email:Pxe,"e-mail":"📧",incoming_envelope:Fxe,envelope_with_arrow:Bxe,outbox_tray:zxe,inbox_tray:$xe,package:"📦",mailbox:Uxe,mailbox_closed:jxe,mailbox_with_mail:qxe,mailbox_with_no_mail:Hxe,postbox:Vxe,ballot_box:Gxe,pencil2:Kxe,black_nib:Zxe,fountain_pen:Wxe,pen:Yxe,paintbrush:Jxe,crayon:Qxe,memo:Xxe,pencil:ewe,briefcase:twe,file_folder:nwe,open_file_folder:swe,card_index_dividers:owe,date:rwe,calendar:iwe,spiral_notepad:awe,spiral_calendar:lwe,card_index:cwe,chart_with_upwards_trend:dwe,chart_with_downwards_trend:uwe,bar_chart:hwe,clipboard:fwe,pushpin:pwe,round_pushpin:gwe,paperclip:mwe,paperclips:_we,straight_ruler:bwe,triangular_ruler:ywe,scissors:vwe,card_file_box:xwe,file_cabinet:wwe,wastebasket:kwe,lock:Ewe,unlock:Cwe,lock_with_ink_pen:Awe,closed_lock_with_key:Swe,key:Twe,old_key:Mwe,hammer:Owe,axe:Rwe,pick:Dwe,hammer_and_pick:Nwe,hammer_and_wrench:Lwe,dagger:Iwe,crossed_swords:Pwe,gun:Fwe,boomerang:Bwe,bow_and_arrow:zwe,shield:$we,carpentry_saw:Uwe,wrench:jwe,screwdriver:qwe,nut_and_bolt:Hwe,gear:Vwe,clamp:Gwe,balance_scale:Kwe,probing_cane:Zwe,link:Wwe,chains:Ywe,hook:Jwe,toolbox:Qwe,magnet:Xwe,ladder:eke,alembic:tke,test_tube:nke,petri_dish:ske,dna:oke,microscope:rke,telescope:ike,satellite:ake,syringe:lke,drop_of_blood:cke,pill:dke,adhesive_bandage:uke,stethoscope:hke,door:fke,elevator:pke,mirror:gke,window:mke,bed:_ke,couch_and_lamp:bke,chair:yke,toilet:vke,plunger:xke,shower:wke,bathtub:kke,mouse_trap:Eke,razor:Cke,lotion_bottle:Ake,safety_pin:Ske,broom:Tke,basket:Mke,roll_of_paper:Oke,bucket:Rke,soap:Dke,toothbrush:Nke,sponge:Lke,fire_extinguisher:Ike,shopping_cart:Pke,smoking:Fke,coffin:Bke,headstone:zke,funeral_urn:$ke,moyai:Uke,placard:jke,atm:qke,put_litter_in_its_place:Hke,potable_water:Vke,wheelchair:Gke,mens:Kke,womens:Zke,restroom:Wke,baby_symbol:Yke,wc:Jke,passport_control:Qke,customs:Xke,baggage_claim:e5e,left_luggage:t5e,warning:n5e,children_crossing:s5e,no_entry:o5e,no_entry_sign:r5e,no_bicycles:i5e,no_smoking:a5e,do_not_litter:l5e,"non-potable_water":"🚱",no_pedestrians:c5e,no_mobile_phones:d5e,underage:u5e,radioactive:h5e,biohazard:f5e,arrow_up:p5e,arrow_upper_right:g5e,arrow_right:m5e,arrow_lower_right:_5e,arrow_down:b5e,arrow_lower_left:y5e,arrow_left:v5e,arrow_upper_left:x5e,arrow_up_down:w5e,left_right_arrow:k5e,leftwards_arrow_with_hook:E5e,arrow_right_hook:C5e,arrow_heading_up:A5e,arrow_heading_down:S5e,arrows_clockwise:T5e,arrows_counterclockwise:M5e,back:O5e,end:R5e,on:D5e,soon:N5e,top:L5e,place_of_worship:I5e,atom_symbol:P5e,om:F5e,star_of_david:B5e,wheel_of_dharma:z5e,yin_yang:$5e,latin_cross:U5e,orthodox_cross:j5e,star_and_crescent:q5e,peace_symbol:H5e,menorah:V5e,six_pointed_star:G5e,aries:K5e,taurus:Z5e,gemini:W5e,cancer:Y5e,leo:J5e,virgo:Q5e,libra:X5e,scorpius:eEe,sagittarius:tEe,capricorn:nEe,aquarius:sEe,pisces:oEe,ophiuchus:rEe,twisted_rightwards_arrows:iEe,repeat:aEe,repeat_one:lEe,arrow_forward:cEe,fast_forward:dEe,next_track_button:uEe,play_or_pause_button:hEe,arrow_backward:fEe,rewind:pEe,previous_track_button:gEe,arrow_up_small:mEe,arrow_double_up:_Ee,arrow_down_small:bEe,arrow_double_down:yEe,pause_button:vEe,stop_button:xEe,record_button:wEe,eject_button:kEe,cinema:EEe,low_brightness:CEe,high_brightness:AEe,signal_strength:SEe,vibration_mode:TEe,mobile_phone_off:MEe,female_sign:OEe,male_sign:REe,transgender_symbol:DEe,heavy_multiplication_x:NEe,heavy_plus_sign:LEe,heavy_minus_sign:IEe,heavy_division_sign:PEe,infinity:FEe,bangbang:BEe,interrobang:zEe,question:$Ee,grey_question:UEe,grey_exclamation:jEe,exclamation:qEe,heavy_exclamation_mark:HEe,wavy_dash:VEe,currency_exchange:GEe,heavy_dollar_sign:KEe,medical_symbol:ZEe,recycle:WEe,fleur_de_lis:YEe,trident:JEe,name_badge:QEe,beginner:XEe,o:e4e,white_check_mark:t4e,ballot_box_with_check:n4e,heavy_check_mark:s4e,x:o4e,negative_squared_cross_mark:r4e,curly_loop:i4e,loop:a4e,part_alternation_mark:l4e,eight_spoked_asterisk:c4e,eight_pointed_black_star:d4e,sparkle:u4e,copyright:h4e,registered:f4e,tm:p4e,hash:g4e,asterisk:m4e,zero:_4e,one:b4e,two:y4e,three:v4e,four:x4e,five:w4e,six:k4e,seven:E4e,eight:C4e,nine:A4e,keycap_ten:S4e,capital_abcd:T4e,abcd:M4e,symbols:O4e,abc:R4e,a:D4e,ab:N4e,b:L4e,cl:I4e,cool:P4e,free:F4e,information_source:B4e,id:z4e,m:$4e,new:"🆕",ng:U4e,o2:j4e,ok:q4e,parking:H4e,sos:V4e,up:G4e,vs:K4e,koko:Z4e,sa:W4e,ideograph_advantage:Y4e,accept:J4e,congratulations:Q4e,secret:X4e,u6e80:e3e,red_circle:t3e,orange_circle:n3e,yellow_circle:s3e,green_circle:o3e,large_blue_circle:r3e,purple_circle:i3e,brown_circle:a3e,black_circle:l3e,white_circle:c3e,red_square:d3e,orange_square:u3e,yellow_square:h3e,green_square:f3e,blue_square:p3e,purple_square:g3e,brown_square:m3e,black_large_square:_3e,white_large_square:b3e,black_medium_square:y3e,white_medium_square:v3e,black_medium_small_square:x3e,white_medium_small_square:w3e,black_small_square:k3e,white_small_square:E3e,large_orange_diamond:C3e,large_blue_diamond:A3e,small_orange_diamond:S3e,small_blue_diamond:T3e,small_red_triangle:M3e,small_red_triangle_down:O3e,diamond_shape_with_a_dot_inside:R3e,radio_button:D3e,white_square_button:N3e,black_square_button:L3e,checkered_flag:I3e,triangular_flag_on_post:P3e,crossed_flags:F3e,black_flag:B3e,white_flag:z3e,rainbow_flag:$3e,transgender_flag:U3e,pirate_flag:j3e,ascension_island:q3e,andorra:H3e,united_arab_emirates:V3e,afghanistan:G3e,antigua_barbuda:K3e,anguilla:Z3e,albania:W3e,armenia:Y3e,angola:J3e,antarctica:Q3e,argentina:X3e,american_samoa:eCe,austria:tCe,australia:nCe,aruba:sCe,aland_islands:oCe,azerbaijan:rCe,bosnia_herzegovina:iCe,barbados:aCe,bangladesh:lCe,belgium:cCe,burkina_faso:dCe,bulgaria:uCe,bahrain:hCe,burundi:fCe,benin:pCe,st_barthelemy:gCe,bermuda:mCe,brunei:_Ce,bolivia:bCe,caribbean_netherlands:yCe,brazil:vCe,bahamas:xCe,bhutan:wCe,bouvet_island:kCe,botswana:ECe,belarus:CCe,belize:ACe,canada:SCe,cocos_islands:TCe,congo_kinshasa:MCe,central_african_republic:OCe,congo_brazzaville:RCe,switzerland:DCe,cote_divoire:NCe,cook_islands:LCe,chile:ICe,cameroon:PCe,cn:FCe,colombia:BCe,clipperton_island:zCe,costa_rica:$Ce,cuba:UCe,cape_verde:jCe,curacao:qCe,christmas_island:HCe,cyprus:VCe,czech_republic:GCe,de:KCe,diego_garcia:ZCe,djibouti:WCe,denmark:YCe,dominica:JCe,dominican_republic:QCe,algeria:XCe,ceuta_melilla:e9e,ecuador:t9e,estonia:n9e,egypt:s9e,western_sahara:o9e,eritrea:r9e,es:i9e,ethiopia:a9e,eu:l9e,european_union:c9e,finland:d9e,fiji:u9e,falkland_islands:h9e,micronesia:f9e,faroe_islands:p9e,fr:g9e,gabon:m9e,gb:_9e,uk:b9e,grenada:y9e,georgia:v9e,french_guiana:x9e,guernsey:w9e,ghana:k9e,gibraltar:E9e,greenland:C9e,gambia:A9e,guinea:S9e,guadeloupe:T9e,equatorial_guinea:M9e,greece:O9e,south_georgia_south_sandwich_islands:R9e,guatemala:D9e,guam:N9e,guinea_bissau:L9e,guyana:I9e,hong_kong:P9e,heard_mcdonald_islands:F9e,honduras:B9e,croatia:z9e,haiti:$9e,hungary:U9e,canary_islands:j9e,indonesia:q9e,ireland:H9e,israel:V9e,isle_of_man:G9e,india:K9e,british_indian_ocean_territory:Z9e,iraq:W9e,iran:Y9e,iceland:J9e,it:Q9e,jersey:X9e,jamaica:e8e,jordan:t8e,jp:n8e,kenya:s8e,kyrgyzstan:o8e,cambodia:r8e,kiribati:i8e,comoros:a8e,st_kitts_nevis:l8e,north_korea:c8e,kr:d8e,kuwait:u8e,cayman_islands:h8e,kazakhstan:f8e,laos:p8e,lebanon:g8e,st_lucia:m8e,liechtenstein:_8e,sri_lanka:b8e,liberia:y8e,lesotho:v8e,lithuania:x8e,luxembourg:w8e,latvia:k8e,libya:E8e,morocco:C8e,monaco:A8e,moldova:S8e,montenegro:T8e,st_martin:M8e,madagascar:O8e,marshall_islands:R8e,macedonia:D8e,mali:N8e,myanmar:L8e,mongolia:I8e,macau:P8e,northern_mariana_islands:F8e,martinique:B8e,mauritania:z8e,montserrat:$8e,malta:U8e,mauritius:j8e,maldives:q8e,malawi:H8e,mexico:V8e,malaysia:G8e,mozambique:K8e,namibia:Z8e,new_caledonia:W8e,niger:Y8e,norfolk_island:J8e,nigeria:Q8e,nicaragua:X8e,netherlands:e6e,norway:t6e,nepal:n6e,nauru:s6e,niue:o6e,new_zealand:r6e,oman:i6e,panama:a6e,peru:l6e,french_polynesia:c6e,papua_new_guinea:d6e,philippines:u6e,pakistan:h6e,poland:f6e,st_pierre_miquelon:p6e,pitcairn_islands:g6e,puerto_rico:m6e,palestinian_territories:_6e,portugal:b6e,palau:y6e,paraguay:v6e,qatar:x6e,reunion:w6e,romania:k6e,serbia:E6e,ru:C6e,rwanda:A6e,saudi_arabia:S6e,solomon_islands:T6e,seychelles:M6e,sudan:O6e,sweden:R6e,singapore:D6e,st_helena:N6e,slovenia:L6e,svalbard_jan_mayen:I6e,slovakia:P6e,sierra_leone:F6e,san_marino:B6e,senegal:z6e,somalia:$6e,suriname:U6e,south_sudan:j6e,sao_tome_principe:q6e,el_salvador:H6e,sint_maarten:V6e,syria:G6e,swaziland:K6e,tristan_da_cunha:Z6e,turks_caicos_islands:W6e,chad:Y6e,french_southern_territories:J6e,togo:Q6e,thailand:X6e,tajikistan:e7e,tokelau:t7e,timor_leste:n7e,turkmenistan:s7e,tunisia:o7e,tonga:r7e,tr:i7e,trinidad_tobago:a7e,tuvalu:l7e,taiwan:c7e,tanzania:d7e,ukraine:u7e,uganda:h7e,us_outlying_islands:f7e,united_nations:p7e,us:g7e,uruguay:m7e,uzbekistan:_7e,vatican_city:b7e,st_vincent_grenadines:y7e,venezuela:v7e,british_virgin_islands:x7e,us_virgin_islands:w7e,vietnam:k7e,vanuatu:E7e,wallis_futuna:C7e,samoa:A7e,kosovo:S7e,yemen:T7e,mayotte:M7e,south_africa:O7e,zambia:R7e,zimbabwe:D7e,england:N7e,scotland:L7e,wales:I7e};var F7e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(p[b-1])||b+w.lengthm&&(g=new f("text","",0),g.content=u.slice(m,b),_.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],_.push(g),m=b+w.length}),m=0;f--)w=_[f],(w.type==="link_open"||w.type==="link_close")&&w.info==="auto"&&(p-=w.nesting),w.type==="text"&&p===0&&o.test(w.content)&&(b[g].children=_=i(_,f,d(w.content,w.level,h.Token)))}};function $7e(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var U7e=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,d){return e.enabled.indexOf(d)>=0&&(l[d]=n[d]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,d){return n[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){l[u]=d}),l):(l[e.shortcuts[d]]=d,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return $7e(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},j7e=B7e,q7e=z7e,H7e=U7e,V7e=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=H7e(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=j7e,e.core.ruler.after("linkify","emoji",q7e(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},G7e=P7e,K7e=F7e,Z7e=V7e,W7e=function(e,n){var s={defs:G7e,shortcuts:K7e,enabled:[]},o=e.utils.assign({},s,n||{});Z7e(e,o)};const Y7e=ls(W7e);var Fu=!1,Ls={false:"push",true:"unshift",after:"push",before:"unshift"},Ir={isPermalinkSymbol:!0};function ml(t,e,n,s){var o;if(!Fu){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Fu=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Ir}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ls[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ls[e.permalinkBefore]].apply(o,i)}function Ag(t){return"#"+t}function Sg(t){return{}}var J7e={class:"header-anchor",symbol:"#",renderHref:Ag,renderAttrs:Sg};function Uo(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},J7e),e.renderPermalinkImpl=t,e}var ki=Uo(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Ir}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ls[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ls[e.placement]].apply(r,i)});Object.assign(ki.defaults,{space:!0,placement:"after",ariaHidden:!1});var jn=Uo(ki.renderPermalinkImpl);jn.defaults=Object.assign({},ki.defaults,{ariaHidden:!0});var Tg=Uo(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Tg.defaults,{safariReaderFix:!1});var Bu=Uo(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var d=typeof e.space=="string"?e.space:" ";a[Ls[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[Ls[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Ir}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Ir}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(u)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` `})),s.tokens.splice(o+3+u.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` -`})))});function Bu(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function bs(t,e){e=Object.assign({},bs.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const J7e=cs(Y7e);function Sg(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&Sg(n)}),t}class zu{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Tg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Mn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const Q7e="",$u=t=>!!t.scope,X7e=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class eAe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Tg(e)}openNode(e){if(!$u(e))return;const n=X7e(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){$u(e)&&(this.buffer+=Q7e)}value(){return this.buffer}span(e){this.buffer+=``}}const Uu=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class _c{constructor(){this.rootNode=Uu(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=Uu({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(s=>this._walk(e,s)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{_c._collapse(n)}))}}class tAe extends _c{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new eAe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function No(t){return t?typeof t=="string"?t:t.source:null}function Mg(t){return ds("(?=",t,")")}function nAe(t){return ds("(?:",t,")*")}function sAe(t){return ds("(?:",t,")?")}function ds(...t){return t.map(n=>No(n)).join("")}function oAe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function bc(...t){return"("+(oAe(t).capture?"":"?:")+t.map(s=>No(s)).join("|")+")"}function Og(t){return new RegExp(t.toString()+"|").exec("").length-1}function rAe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const iAe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function yc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=No(s),i="";for(;r.length>0;){const a=iAe.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const aAe=/\b\B/,Rg="[a-zA-Z]\\w*",vc="[a-zA-Z_]\\w*",Ng="\\b\\d+(\\.\\d+)?",Lg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Dg="\\b(0b[01]+)",lAe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",cAe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ds(e,/.*\b/,t.binary,/\b.*/)),Mn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Lo={begin:"\\\\[\\s\\S]",relevance:0},dAe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Lo]},uAe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Lo]},hAe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ki=function(t,e,n={}){const s=Mn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=bc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:ds(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},fAe=ki("//","$"),pAe=ki("/\\*","\\*/"),gAe=ki("#","$"),mAe={scope:"number",begin:Ng,relevance:0},_Ae={scope:"number",begin:Lg,relevance:0},bAe={scope:"number",begin:Dg,relevance:0},yAe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Lo,{begin:/\[/,end:/\]/,relevance:0,contains:[Lo]}]}]},vAe={scope:"title",begin:Rg,relevance:0},xAe={scope:"title",begin:vc,relevance:0},wAe={begin:"\\.\\s*"+vc,relevance:0},kAe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var nr=Object.freeze({__proto__:null,MATCH_NOTHING_RE:aAe,IDENT_RE:Rg,UNDERSCORE_IDENT_RE:vc,NUMBER_RE:Ng,C_NUMBER_RE:Lg,BINARY_NUMBER_RE:Dg,RE_STARTERS_RE:lAe,SHEBANG:cAe,BACKSLASH_ESCAPE:Lo,APOS_STRING_MODE:dAe,QUOTE_STRING_MODE:uAe,PHRASAL_WORDS_MODE:hAe,COMMENT:ki,C_LINE_COMMENT_MODE:fAe,C_BLOCK_COMMENT_MODE:pAe,HASH_COMMENT_MODE:gAe,NUMBER_MODE:mAe,C_NUMBER_MODE:_Ae,BINARY_NUMBER_MODE:bAe,REGEXP_MODE:yAe,TITLE_MODE:vAe,UNDERSCORE_TITLE_MODE:xAe,METHOD_GUARD:wAe,END_SAME_AS_BEGIN:kAe});function EAe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function CAe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function AAe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=EAe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function SAe(t,e){Array.isArray(t.illegal)&&(t.illegal=bc(...t.illegal))}function TAe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function MAe(t,e){t.relevance===void 0&&(t.relevance=1)}const OAe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=ds(n.beforeMatch,Mg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},RAe=["of","and","for","in","not","or","if","then","parent","list","value"],NAe="keyword";function Ig(t,e,n=NAe){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Ig(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,LAe(l[0],l[1])]})}}function LAe(t,e){return e?Number(e):DAe(t)?0:1}function DAe(t){return RAe.includes(t.toLowerCase())}const ju={},es=t=>{console.error(t)},qu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},gs=(t,e)=>{ju[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),ju[`${t}/${e}`]=!0)},Ir=new Error;function Pg(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=Og(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function IAe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw es("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ir;if(typeof t.beginScope!="object"||t.beginScope===null)throw es("beginScope must be object"),Ir;Pg(t,t.begin,{key:"beginScope"}),t.begin=yc(t.begin,{joinWith:""})}}function PAe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw es("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ir;if(typeof t.endScope!="object"||t.endScope===null)throw es("endScope must be object"),Ir;Pg(t,t.end,{key:"endScope"}),t.end=yc(t.end,{joinWith:""})}}function FAe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function BAe(t){FAe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),IAe(t),PAe(t)}function zAe(t){function e(i,a){return new RegExp(No(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=Og(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(yc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const d=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return l.splice(0,d),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([d,u])=>l.addRule(d,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let d=l.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[CAe,TAe,BAe,OAe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[AAe,SAe,MAe].forEach(u=>u(i,a)),i.isCompiled=!0;let d=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),d=i.keywords.$pattern,delete i.keywords.$pattern),d=d||/\w+/,i.keywords&&(i.keywords=Ig(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(d,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=No(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return $Ae(u==="self"?i:u)})),i.contains.forEach(function(u){r(u,l)}),i.starts&&r(i.starts,a),l.matcher=o(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Mn(t.classNameAliases||{}),r(t)}function Fg(t){return t?t.endsWithParent||Fg(t.starts):!1}function $Ae(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Mn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Fg(t)?Mn(t,{starts:t.starts?Mn(t.starts):null}):Object.isFrozen(t)?Mn(t):t}var UAe="11.8.0";class jAe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const oa=Tg,Hu=Mn,Vu=Symbol("nomatch"),qAe=7,Bg=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:tAe};function l(T){return a.noHighlightRe.test(T)}function d(T){let H=T.className+" ";H+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(H);if(G){const we=C(G[1]);return we||(qu(r.replace("{}",G[1])),qu("Falling back to no-highlight mode for this block.",T)),we?G[1]:"no-highlight"}return H.split(/\s+/).find(we=>l(we)||C(we))}function u(T,H,G){let we="",be="";typeof H=="object"?(we=T,G=H.ignoreIllegals,be=H.language):(gs("10.7.0","highlight(lang, code, ...args) has been deprecated."),gs("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),be=T,we=H),G===void 0&&(G=!0);const ne={code:we,language:be};ue("before:highlight",ne);const Ee=ne.result?ne.result:h(ne.language,ne.code,G);return Ee.code=ne.code,ue("after:highlight",Ee),Ee}function h(T,H,G,we){const be=Object.create(null);function ne(W,ie){return W.keywords[ie]}function Ee(){if(!j.keywords){q.addText(J);return}let W=0;j.keywordPatternRe.lastIndex=0;let ie=j.keywordPatternRe.exec(J),me="";for(;ie;){me+=J.substring(W,ie.index);const Oe=U.case_insensitive?ie[0].toLowerCase():ie[0],$e=ne(j,Oe);if($e){const[Ze,Fe]=$e;if(q.addText(me),me="",be[Oe]=(be[Oe]||0)+1,be[Oe]<=qAe&&(de+=Fe),Ze.startsWith("_"))me+=ie[0];else{const nt=U.classNameAliases[Ze]||Ze;ee(ie[0],nt)}}else me+=ie[0];W=j.keywordPatternRe.lastIndex,ie=j.keywordPatternRe.exec(J)}me+=J.substring(W),q.addText(me)}function Me(){if(J==="")return;let W=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){q.addText(J);return}W=h(j.subLanguage,J,!0,re[j.subLanguage]),re[j.subLanguage]=W._top}else W=g(J,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(de+=W.relevance),q.__addSublanguage(W._emitter,W.language)}function L(){j.subLanguage!=null?Me():Ee(),J=""}function ee(W,ie){W!==""&&(q.startScope(ie),q.addText(W),q.endScope())}function V(W,ie){let me=1;const Oe=ie.length-1;for(;me<=Oe;){if(!W._emit[me]){me++;continue}const $e=U.classNameAliases[W[me]]||W[me],Ze=ie[me];$e?ee(Ze,$e):(J=Ze,Ee(),J=""),me++}}function se(W,ie){return W.scope&&typeof W.scope=="string"&&q.openNode(U.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(ee(J,U.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),J=""):W.beginScope._multi&&(V(W.beginScope,ie),J="")),j=Object.create(W,{parent:{value:j}}),j}function te(W,ie,me){let Oe=rAe(W.endRe,me);if(Oe){if(W["on:end"]){const $e=new zu(W);W["on:end"](ie,$e),$e.isMatchIgnored&&(Oe=!1)}if(Oe){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return te(W.parent,ie,me)}function ge(W){return j.matcher.regexIndex===0?(J+=W[0],1):(Se=!0,0)}function he(W){const ie=W[0],me=W.rule,Oe=new zu(me),$e=[me.__beforeBegin,me["on:begin"]];for(const Ze of $e)if(Ze&&(Ze(W,Oe),Oe.isMatchIgnored))return ge(ie);return me.skip?J+=ie:(me.excludeBegin&&(J+=ie),L(),!me.returnBegin&&!me.excludeBegin&&(J=ie)),se(me,W),me.returnBegin?0:ie.length}function k(W){const ie=W[0],me=H.substring(W.index),Oe=te(j,W,me);if(!Oe)return Vu;const $e=j;j.endScope&&j.endScope._wrap?(L(),ee(ie,j.endScope._wrap)):j.endScope&&j.endScope._multi?(L(),V(j.endScope,W)):$e.skip?J+=ie:($e.returnEnd||$e.excludeEnd||(J+=ie),L(),$e.excludeEnd&&(J=ie));do j.scope&&q.closeNode(),!j.skip&&!j.subLanguage&&(de+=j.relevance),j=j.parent;while(j!==Oe.parent);return Oe.starts&&se(Oe.starts,W),$e.returnEnd?0:ie.length}function S(){const W=[];for(let ie=j;ie!==U;ie=ie.parent)ie.scope&&W.unshift(ie.scope);W.forEach(ie=>q.openNode(ie))}let F={};function $(W,ie){const me=ie&&ie[0];if(J+=W,me==null)return L(),0;if(F.type==="begin"&&ie.type==="end"&&F.index===ie.index&&me===""){if(J+=H.slice(ie.index,ie.index+1),!o){const Oe=new Error(`0 width match regex (${T})`);throw Oe.languageName=T,Oe.badRule=F.rule,Oe}return 1}if(F=ie,ie.type==="begin")return he(ie);if(ie.type==="illegal"&&!G){const Oe=new Error('Illegal lexeme "'+me+'" for mode "'+(j.scope||"")+'"');throw Oe.mode=j,Oe}else if(ie.type==="end"){const Oe=k(ie);if(Oe!==Vu)return Oe}if(ie.type==="illegal"&&me==="")return 1;if(fe>1e5&&fe>ie.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=me,me.length}const U=C(T);if(!U)throw es(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const oe=zAe(U);let ce="",j=we||oe;const re={},q=new a.__emitter(a);S();let J="",de=0,pe=0,fe=0,Se=!1;try{if(U.__emitTokens)U.__emitTokens(H,q);else{for(j.matcher.considerAll();;){fe++,Se?Se=!1:j.matcher.considerAll(),j.matcher.lastIndex=pe;const W=j.matcher.exec(H);if(!W)break;const ie=H.substring(pe,W.index),me=$(ie,W);pe=W.index+me}$(H.substring(pe))}return q.finalize(),ce=q.toHTML(),{language:T,value:ce,relevance:de,illegal:!1,_emitter:q,_top:j}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:oa(H),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:pe,context:H.slice(pe-100,pe+100),mode:W.mode,resultSoFar:ce},_emitter:q};if(o)return{language:T,value:oa(H),illegal:!1,relevance:0,errorRaised:W,_emitter:q,_top:j};throw W}}function f(T){const H={value:oa(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return H._emitter.addText(T),H}function g(T,H){H=H||a.languages||Object.keys(e);const G=f(T),we=H.filter(C).filter(I).map(L=>h(L,T,!1));we.unshift(G);const be=we.sort((L,ee)=>{if(L.relevance!==ee.relevance)return ee.relevance-L.relevance;if(L.language&&ee.language){if(C(L.language).supersetOf===ee.language)return 1;if(C(ee.language).supersetOf===L.language)return-1}return 0}),[ne,Ee]=be,Me=ne;return Me.secondBest=Ee,Me}function m(T,H,G){const we=H&&n[H]||G;T.classList.add("hljs"),T.classList.add(`language-${we}`)}function _(T){let H=null;const G=d(T);if(l(G))return;if(ue("before:highlightElement",{el:T,language:G}),T.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(T)),a.throwUnescapedHTML))throw new jAe("One of your code blocks includes unescaped HTML.",T.innerHTML);H=T;const we=H.textContent,be=G?u(we,{language:G,ignoreIllegals:!0}):g(we);T.innerHTML=be.value,m(T,G,be.language),T.result={language:be.language,re:be.relevance,relevance:be.relevance},be.secondBest&&(T.secondBest={language:be.secondBest.language,relevance:be.secondBest.relevance}),ue("after:highlightElement",{el:T,result:be,text:we})}function w(T){a=Hu(a,T)}const b=()=>{A(),gs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function p(){A(),gs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function A(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(_)}function N(){x&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function O(T,H){let G=null;try{G=H(t)}catch(we){if(es("Language definition for '{}' could not be registered.".replace("{}",T)),o)es(we);else throw we;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=H.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const H of Object.keys(n))n[H]===T&&delete n[H]}function y(){return Object.keys(e)}function C(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:H}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=H})}function I(T){const H=C(T);return H&&!H.disableAutodetect}function B(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=H=>{T["before:highlightBlock"](Object.assign({block:H.el},H))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=H=>{T["after:highlightBlock"](Object.assign({block:H.el},H))})}function X(T){B(T),s.push(T)}function P(T){const H=s.indexOf(T);H!==-1&&s.splice(H,1)}function ue(T,H){const G=T;s.forEach(function(we){we[G]&&we[G](H)})}function Y(T){return gs("10.7.0","highlightBlock will be removed entirely in v12.0"),gs("10.7.0","Please use highlightElement now."),_(T)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:A,highlightElement:_,highlightBlock:Y,configure:w,initHighlighting:b,initHighlightingOnLoad:p,registerLanguage:O,unregisterLanguage:D,listLanguages:y,getLanguage:C,registerAliases:M,autoDetection:I,inherit:Hu,addPlugin:X,removePlugin:P}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=UAe,t.regex={concat:ds,lookahead:Mg,either:bc,optional:sAe,anyNumberOfTimes:nAe};for(const T in nr)typeof nr[T]=="object"&&Sg(nr[T]);return Object.assign(t,nr),t},Ps=Bg({});Ps.newInstance=()=>Bg({});var HAe=Ps;Ps.HighlightJS=Ps;Ps.default=Ps;var ra,Gu;function VAe(){if(Gu)return ra;Gu=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),d=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,d,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,d,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ra=t,ra}var ia,Ku;function GAe(){if(Ku)return ia;Ku=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},d={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],w={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],p=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:_,built_in:[...b,...p,"set","shopt",...x,...A]},contains:[f,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,w,a,l,d,s]}}return ia=t,ia}var aa,Zu;function KAe(){if(Zu)return aa;Zu=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",b={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:p.concat([{begin:/\(/,end:/\)/,keywords:b,contains:p.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:b}}}return aa=t,aa}var la,Wu;function ZAe(){if(Wu)return la;Wu=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],p=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],N={type:w,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},O={className:"function.dispatch",relevance:0,keywords:{_hint:p},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:N,contains:D.concat([{begin:/\(/,end:/\)/,keywords:N,contains:D.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:N,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:N,illegal:"",keywords:N,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:N},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return la=t,la}var ca,Yu;function WAe(){if(Yu)return ca;Yu=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},_={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},w=e.inherit(_,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],g.contains=[w,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},b,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[b,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}return ca=t,ca}var da,Ju;function YAe(){if(Ju)return da;Ju=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,d=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return da=i,da}var ua,Qu;function JAe(){if(Qu)return ua;Qu=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),g=e.inherit(h,{contains:[]});u.contains.push(g),h.contains.push(f);let m=[s,d];return[u,h,f,g].forEach(b=>{b.contains=b.contains.concat(m)}),m=m.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,u,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,d,a]}}return ua=t,ua}var ha,Xu;function QAe(){if(Xu)return ha;Xu=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return ha=t,ha}var fa,eh;function XAe(){if(eh)return fa;eh=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},w={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[w]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(d,u),relevance:0}].concat(d,u);h.contains=D,w.contains=D;const y="[>?]>",C="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",I=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+C+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(I).concat(u).concat(D)}}return fa=t,fa}var pa,th;function eSe(){if(th)return pa;th=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",d=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},_={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},w={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[w,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[_,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,_]}}return _a=r,_a}var ba,rh;function oSe(){if(rh)return ba;rh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(d){const u=d.regex,h=(V,{after:se})=>{const te="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,se)=>{const te=V[0].length+V.index,ge=V.input[te];if(ge==="<"||ge===","){se.ignoreMatch();return}ge===">"&&(h(V,{after:te})||se.ignoreMatch());let he;const k=V.input.substring(te);if(he=k.match(/^\s*=/)){se.ignoreMatch();return}if((he=k.match(/^\s+extends\s+/))&&he.index===0){se.ignoreMatch();return}}},w={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",p=`\\.(${b})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${x})((${p})|\\.)?|(${p}))[eE][+-]?(${b})\\b`},{begin:`\\b(${x})\\b((${p})\\b|\\.)?|(${p})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:w,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,N],subLanguage:"css"}},y={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,N]},I={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},B=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,y,C,{match:/\$\d+/},A];N.contains=B.concat({begin:/\{/,end:/\}/,keywords:w,contains:["self"].concat(B)});const X=[].concat(I,N.contains),P=X.concat([{begin:/\(/,end:/\)/,keywords:w,contains:["self"].concat(X)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,contains:P},Y={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},H={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ue],illegal:/%/},we={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function be(V){return u.concat("(?!",V.join("|"),")")}const ne={match:u.concat(/\b/,be([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Me={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",ee={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ue]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:w,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,D,y,C,I,{match:/\$\d+/},A,T,{className:"attr",begin:f+u.lookahead(":"),relevance:0},ee,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,d.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ue,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ue]},ne,we,Y,Me,{match:/\$[(.]/}]}}return ba=l,ba}var ya,ih;function rSe(){if(ih)return ya;ih=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return ya=t,ya}var va,ah;function iSe(){if(ah)return va;ah=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,_=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),w={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},b=w;return b.variants[1].contains=[w],w.variants[1].contains=[b],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,_,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[w,r.C_LINE_COMMENT_MODE,_],relevance:0},r.C_LINE_COMMENT_MODE,_,f,g,h,r.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},m]}}return va=o,va}var xa,lh;function aSe(){if(lh)return xa;lh=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const d=t(l),u=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],_=[],w=function(I){return{className:"string",begin:"~?"+I+".*?"+I}},b=function(I,B,X){return{className:I,begin:B,relevance:X}},p={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:p,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,w("'"),w('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,b("variable","@@?"+f,10),b("variable","@\\{"+f+"\\}"),b("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const A=_.concat({begin:/\{/,end:/\}/,contains:m}),N={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:p,returnEnd:!0,contains:_,relevance:0}},y={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:A}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,b("keyword","all\\b"),b("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,b("selector-tag",g,0),b("selector-id","#"+g),b("selector-class","\\."+g,0),b("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:A},{begin:"!important"},d.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[C]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,y,M,O,C,N,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return xa=a,xa}var wa,ch;function lSe(){if(ch)return wa;ch=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return wa=t,wa}var ka,dh;function cSe(){if(dh)return ka;dh=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},d=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,_,w="\\1")=>{const b=w==="\\1"?w:n.concat(w,_);return n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,w,o)},f=(m,_,w)=>n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,w,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",n.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return Ea=t,Ea}var Ca,hh;function uSe(){if(hh)return Ca;hh=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},d={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Ca=t,Ca}var Aa,fh;function hSe(){if(fh)return Aa;fh=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},d=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(P,ue)=>{ue.data._beginMatch=P[1]||P[2]},"on:end":(P,ue)=>{ue.data._beginMatch!==P[1]&&ue.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ -]`,m={scope:"string",variants:[u,d,h,f]},_={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},w=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],p=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:b,literal:(P=>{const ue=[];return P.forEach(Y=>{ue.push(Y),Y.toLowerCase()===Y?ue.push(Y.toUpperCase()):ue.push(Y.toLowerCase())}),ue})(w),built_in:p},N=P=>P.map(ue=>ue.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",N(p).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[C,i,y,e.C_BLOCK_COMMENT_MODE,m,_,O]},I={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",N(b).join("\\b|"),"|",N(p).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(I);const B=[C,y,e.C_BLOCK_COMMENT_MODE,m,_,O],X={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:w,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:w,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:A,contains:[X,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,I,y,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,m,_]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,_]}}return Aa=t,Aa}var Sa,ph;function fSe(){if(ph)return Sa;ph=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Sa=t,Sa}var Ta,gh;function pSe(){if(gh)return Ta;gh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ta=t,Ta}var Ma,mh;function gSe(){if(mh)return Ma;mh=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${o.join("|")}`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},b={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},p={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",d,w,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,w,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[d,w,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[p]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[w,p,f]}]}}return Ma=t,Ma}var Oa,_h;function mSe(){if(_h)return Oa;_h=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Oa=t,Oa}var Ra,bh;function _Se(){if(bh)return Ra;bh=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ra=t,Ra}var Na,yh;function bSe(){if(yh)return Na;yh=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return Na=t,Na}var La,vh;function ySe(){if(vh)return La;vh=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),d=o,u=s,h="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return La=i,La}var Da,xh;function vSe(){if(xh)return Da;xh=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Da=t,Da}var Ia,wh;function xSe(){if(wh)return Ia;wh=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],d=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],m=h,_=[...u,...d].filter(A=>!h.includes(A)),w={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},b={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},p={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(A,{exceptions:N,when:O}={}){const D=O;return N=N||[],A.map(y=>y.match(/\|\d+$/)||N.includes(y)?y:D(y)?`${y}|0`:y)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(_,{when:A=>A.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:_.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},p,w,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,b]}}return Ia=t,Ia}var Pa,kh;function wSe(){if(kh)return Pa;kh=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(M=>t(M)).join("")}function s(y){const C=y[y.length-1];return typeof C=="object"&&C.constructor===Object?(y.splice(y.length-1,1),C):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(I=>t(I)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),w=n(m,_,"*"),b=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),p=o(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(b,p,"*"),A=n(/[A-Z]/,p,"*"),N=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(y){const C={match:/\s+/,relevance:0},M=y.COMMENT("/\\*","\\*/",{contains:["self"]}),I=[y.C_LINE_COMMENT_MODE,M],B={match:[/\./,o(...i,...a)],className:{2:"keyword"}},X={match:n(/\./,o(...d)),relevance:0},P=d.filter(Fe=>typeof Fe=="string").concat(["_|0"]),ue=d.filter(Fe=>typeof Fe!="string").concat(l).map(r),Y={variants:[{className:"keyword",match:o(...ue,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:P.concat(f),literal:u},H=[B,X,Y],G={match:n(/\./,o(...g)),relevance:0},we={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},be=[G,we],ne={match:/->/,relevance:0},Ee={className:"operator",relevance:0,variants:[{match:w},{match:`\\.(\\.|${_})+`}]},Me=[ne,Ee],L="([0-9]_*)+",ee="([0-9a-fA-F]_*)+",V={className:"number",relevance:0,variants:[{match:`\\b(${L})(\\.(${L}))?([eE][+-]?(${L}))?\\b`},{match:`\\b0x(${ee})(\\.(${ee}))?([pP][+-]?(${L}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},se=(Fe="")=>({className:"subst",variants:[{match:n(/\\/,Fe,/[0\\tnr"']/)},{match:n(/\\/,Fe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),te=(Fe="")=>({className:"subst",match:n(/\\/,Fe,/[\t ]*(?:[\r\n]|\r\n)/)}),ge=(Fe="")=>({className:"subst",label:"interpol",begin:n(/\\/,Fe,/\(/),end:/\)/}),he=(Fe="")=>({begin:n(Fe,/"""/),end:n(/"""/,Fe),contains:[se(Fe),te(Fe),ge(Fe)]}),k=(Fe="")=>({begin:n(Fe,/"/),end:n(/"/,Fe),contains:[se(Fe),ge(Fe)]}),S={className:"string",variants:[he(),he("#"),he("##"),he("###"),k(),k("#"),k("##"),k("###")]},F={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},U={className:"variable",match:`\\$${p}+`},oe=[F,$,U],ce={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Me,V,S]}]}},j={className:"keyword",match:n(/@/,o(...N))},re={className:"meta",match:n(/@/,x)},q=[ce,j,re],J={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,p,"+")},{className:"type",match:A,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(A)),relevance:0}]},de={begin://,keywords:T,contains:[...I,...H,...q,ne,J]};J.contains.push(de);const pe={match:n(x,/\s*:/),keywords:"_|0",relevance:0},fe={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",pe,...I,...H,...be,...Me,V,S,...oe,...q,J]},Se={begin://,contains:[...I,J]},W={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},ie={begin:/\(/,end:/\)/,keywords:T,contains:[W,...I,...H,...Me,V,S,...q,J,fe],endsParent:!0,illegal:/["']/},me={match:[/func/,/\s+/,o(F.match,x,w)],className:{1:"keyword",3:"title.function"},contains:[Se,ie,C],illegal:[/\[/,/%/]},Oe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Se,ie,C],illegal:/\[|%/},$e={match:[/operator/,/\s+/,w],className:{1:"keyword",3:"title"}},Ze={begin:[/precedencegroup/,/\s+/,A],className:{1:"keyword",3:"title"},contains:[J],keywords:[...h,...u],end:/}/};for(const Fe of S.variants){const nt=Fe.contains.find(ct=>ct.label==="interpol");nt.keywords=T;const ot=[...H,...be,...Me,V,S,...oe];nt.contains=[...ot,{begin:/\(/,end:/\)/,contains:["self",...ot]}]}return{name:"Swift",keywords:T,contains:[...I,me,Oe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...H]},$e,Ze,{beginKeywords:"import",end:/$/,contains:[...I],relevance:0},...H,...be,...Me,V,S,...oe,...q,J,fe]}}return Pa=D,Pa}var Fa,Eh;function kSe(){if(Eh)return Fa;Eh=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+d+u+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},w=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,_,i],b=[...w];return b.pop(),b.push(a),g.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:w}}return Fa=t,Fa}var Ba,Ch;function ESe(){if(Ch)return Ba;Ch=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const h=u.regex,f=(se,{after:te})=>{const ge="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,w={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(se,te)=>{const ge=se[0].length+se.index,he=se.input[ge];if(he==="<"||he===","){te.ignoreMatch();return}he===">"&&(f(se,{after:ge})||te.ignoreMatch());let k;const S=se.input.substring(ge);if(k=S.match(/^\s*=/)){te.ignoreMatch();return}if((k=S.match(/^\s+extends\s+/))&&k.index===0){te.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},p="[0-9](_?[0-9])*",x=`\\.(${p})`,A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${A})((${x})|\\.)?|(${x}))[eE][+-]?(${p})\\b`},{begin:`\\b(${A})\\b((${x})\\b|\\.)?|(${x})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"css"}},C={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,O]},B={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},X=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,C,M,{match:/\$\d+/},N];O.contains=X.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(X)});const P=[].concat(B,O.contains),ue=P.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(P)}]),Y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ue},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},we={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Y],illegal:/%/},be={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ne(se){return h.concat("(?!",se.join("|"),")")}const Ee={match:h.concat(/\b/,ne([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Me={begin:h.concat(/\./,h.lookahead(h.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},L={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Y]},ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:ue,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,C,M,B,{match:/\$\d+/},N,H,{className:"attr",begin:g+h.lookahead(":"),relevance:0},V,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,u.REGEXP_MODE,{className:"function",begin:ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ue}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:w.begin,"on:begin":w.isTrulyOpeningTag,end:w.end}],subLanguage:"xml",contains:[{begin:w.begin,end:w.end,skip:!0,contains:["self"]}]}]},we,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Y,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Me,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Y]},Ee,be,T,L,{match:/\$[(.]/}]}}function d(u){const h=l(u),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},w={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},b=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],p={$pattern:t,keyword:e.concat(b),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},A=(O,D,y)=>{const C=O.contains.findIndex(M=>M.label===D);if(C===-1)throw new Error("can not find mode to replace");O.contains.splice(C,1,y)};Object.assign(h.keywords,p),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,_]),A(h,"shebang",u.SHEBANG()),A(h,"use_strict",w);const N=h.contains.find(O=>O.label==="func.def");return N.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Ba=d,Ba}var za,Ah;function CSe(){if(Ah)return za;Ah=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,d,u,h,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return za=t,za}var $a,Sh;function ASe(){if(Sh)return $a;Sh=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,d,u,l]}}return $a=t,$a}var De=HAe;De.registerLanguage("xml",VAe());De.registerLanguage("bash",GAe());De.registerLanguage("c",KAe());De.registerLanguage("cpp",ZAe());De.registerLanguage("csharp",WAe());De.registerLanguage("css",YAe());De.registerLanguage("markdown",JAe());De.registerLanguage("diff",QAe());De.registerLanguage("ruby",XAe());De.registerLanguage("go",eSe());De.registerLanguage("graphql",tSe());De.registerLanguage("ini",nSe());De.registerLanguage("java",sSe());De.registerLanguage("javascript",oSe());De.registerLanguage("json",rSe());De.registerLanguage("kotlin",iSe());De.registerLanguage("less",aSe());De.registerLanguage("lua",lSe());De.registerLanguage("makefile",cSe());De.registerLanguage("perl",dSe());De.registerLanguage("objectivec",uSe());De.registerLanguage("php",hSe());De.registerLanguage("php-template",fSe());De.registerLanguage("plaintext",pSe());De.registerLanguage("python",gSe());De.registerLanguage("python-repl",mSe());De.registerLanguage("r",_Se());De.registerLanguage("rust",bSe());De.registerLanguage("scss",ySe());De.registerLanguage("shell",vSe());De.registerLanguage("sql",xSe());De.registerLanguage("swift",wSe());De.registerLanguage("yaml",kSe());De.registerLanguage("typescript",ESe());De.registerLanguage("vbnet",CSe());De.registerLanguage("wasm",ASe());De.HighlightJS=De;De.default=De;var SSe=De;const go=cs(SSe);var Pn={};Pn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let d="",u="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g=s+1:u.length>=s}let r,i,a,l;const d=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,d),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+d),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Pn.removeDelimiter=function(t,e){const n=ml(e.leftDelimiter),s=ml(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function ml(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Pn.escapeRegExp=ml;Pn.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const TSe=/[&<>"]/,MSe=/[&<>"]/g,OSe={"&":"&","<":"<",">":">",'"':"""};function RSe(t){return OSe[t]}Pn.escapeHtml=function(t){return TSe.test(t)?t.replace(MSe,RSe):t};const Pe=Pn;var NSe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Pe.escapeRegExp(t.leftDelimiter)+"[^"+Pe.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Pe.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Pe.getAttrs(o.info,r,t);Pe.addAttrs(i,o),o.info=Pe.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Pe.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Pe.getAttrs(r.content,0,t);Pe.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Pe.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Pe.getMatchingOpeningToken(n,s),i=Pe.getAttrs(o.content,0,t);Pe.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Pe.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,0,t),l=Pe.getMatchingOpeningToken(n[s].children,o-1);Pe.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Pe.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Pe.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Pe.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Pe.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Pe.getAttrs(r,0,t),a=Pe.getMatchingOpeningToken(n,s);Pe.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Pe.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Pe.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Th(l)!==" "?l:l.slice(0,-1)}},{name:` -{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Pe.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Pe.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Pe.getMatchingOpeningToken(n,a);Pe.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Pe.getAttrs(r,i,t);Pe.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Pe.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const d=Pe.getMatchingOpeningToken(n,l);Pe.addAttrs(a,d);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Th(u)!==" "?u:u.slice(0,-1)}}]};function Th(t){return t.slice(-1)[0]}const LSe=NSe,DSe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var ISe=function(e,n){let s=Object.assign({},DSe);s=Object.assign(s,n);const o=LSe(s);function r(i){const a=i.tokens;for(let l=0;l{const m=_l(a,l,g);return m.j!==null&&(h=m.j),m.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function _l(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=BSe(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&PSe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,d=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>_l(d,u.position,u).match),a){const u=zSe(l).position;s.j=u>=0?u:d.length+u}}else for(let u=0;u_l(d,u,h).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(FSe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function PSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function FSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function BSe(t,e){return e>=0?t[e]:t[t.length+e]}function zSe(t){return t.slice(-1)[0]||{}}const $Se=cs(ISe);function USe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const bl=new Hte("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=USe();if(e&&go.getLanguage(e))try{const r=go.highlight(e,t).value;return'
'+e+'
'+r+'
'}catch(r){console.error(`Syntax highlighting failed for language '${e}':`,r)}let s=e=="python"?'':"";return'
'+e+''+s+'
'+go.highlightAuto(t).value+'
'},bulletListMarker:"-"}).use($Se).use(bs).use(J7e).use(Z7e);go.configure({languages:[]});go.configure({languages:["javascript"]});bl.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const jSe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` +`})))});function zu(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function _s(t,e){e=Object.assign({},_s.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const X7e=ls(Q7e);function Mg(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&Mg(n)}),t}class $u{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Og(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Mn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const eAe="
",Uu=t=>!!t.scope,tAe=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class nAe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Og(e)}openNode(e){if(!Uu(e))return;const n=tAe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Uu(e)&&(this.buffer+=eAe)}value(){return this.buffer}span(e){this.buffer+=``}}const ju=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class _c{constructor(){this.rootNode=ju(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=ju({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(s=>this._walk(e,s)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{_c._collapse(n)}))}}class sAe extends _c{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new nAe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function No(t){return t?typeof t=="string"?t:t.source:null}function Rg(t){return cs("(?=",t,")")}function oAe(t){return cs("(?:",t,")*")}function rAe(t){return cs("(?:",t,")?")}function cs(...t){return t.map(n=>No(n)).join("")}function iAe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function bc(...t){return"("+(iAe(t).capture?"":"?:")+t.map(s=>No(s)).join("|")+")"}function Dg(t){return new RegExp(t.toString()+"|").exec("").length-1}function aAe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const lAe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function yc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=No(s),i="";for(;r.length>0;){const a=lAe.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const cAe=/\b\B/,Ng="[a-zA-Z]\\w*",vc="[a-zA-Z_]\\w*",Lg="\\b\\d+(\\.\\d+)?",Ig="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Pg="\\b(0b[01]+)",dAe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",uAe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=cs(e,/.*\b/,t.binary,/\b.*/)),Mn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Lo={begin:"\\\\[\\s\\S]",relevance:0},hAe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Lo]},fAe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Lo]},pAe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ei=function(t,e,n={}){const s=Mn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=bc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:cs(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},gAe=Ei("//","$"),mAe=Ei("/\\*","\\*/"),_Ae=Ei("#","$"),bAe={scope:"number",begin:Lg,relevance:0},yAe={scope:"number",begin:Ig,relevance:0},vAe={scope:"number",begin:Pg,relevance:0},xAe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Lo,{begin:/\[/,end:/\]/,relevance:0,contains:[Lo]}]}]},wAe={scope:"title",begin:Ng,relevance:0},kAe={scope:"title",begin:vc,relevance:0},EAe={begin:"\\.\\s*"+vc,relevance:0},CAe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var sr=Object.freeze({__proto__:null,MATCH_NOTHING_RE:cAe,IDENT_RE:Ng,UNDERSCORE_IDENT_RE:vc,NUMBER_RE:Lg,C_NUMBER_RE:Ig,BINARY_NUMBER_RE:Pg,RE_STARTERS_RE:dAe,SHEBANG:uAe,BACKSLASH_ESCAPE:Lo,APOS_STRING_MODE:hAe,QUOTE_STRING_MODE:fAe,PHRASAL_WORDS_MODE:pAe,COMMENT:Ei,C_LINE_COMMENT_MODE:gAe,C_BLOCK_COMMENT_MODE:mAe,HASH_COMMENT_MODE:_Ae,NUMBER_MODE:bAe,C_NUMBER_MODE:yAe,BINARY_NUMBER_MODE:vAe,REGEXP_MODE:xAe,TITLE_MODE:wAe,UNDERSCORE_TITLE_MODE:kAe,METHOD_GUARD:EAe,END_SAME_AS_BEGIN:CAe});function AAe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function SAe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function TAe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=AAe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function MAe(t,e){Array.isArray(t.illegal)&&(t.illegal=bc(...t.illegal))}function OAe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function RAe(t,e){t.relevance===void 0&&(t.relevance=1)}const DAe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=cs(n.beforeMatch,Rg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},NAe=["of","and","for","in","not","or","if","then","parent","list","value"],LAe="keyword";function Fg(t,e,n=LAe){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Fg(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,IAe(l[0],l[1])]})}}function IAe(t,e){return e?Number(e):PAe(t)?0:1}function PAe(t){return NAe.includes(t.toLowerCase())}const qu={},Xn=t=>{console.error(t)},Hu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ps=(t,e)=>{qu[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),qu[`${t}/${e}`]=!0)},Pr=new Error;function Bg(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=Dg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function FAe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Xn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Pr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Xn("beginScope must be object"),Pr;Bg(t,t.begin,{key:"beginScope"}),t.begin=yc(t.begin,{joinWith:""})}}function BAe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Xn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Pr;if(typeof t.endScope!="object"||t.endScope===null)throw Xn("endScope must be object"),Pr;Bg(t,t.end,{key:"endScope"}),t.end=yc(t.end,{joinWith:""})}}function zAe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function $Ae(t){zAe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),FAe(t),BAe(t)}function UAe(t){function e(i,a){return new RegExp(No(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=Dg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(yc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const d=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return l.splice(0,d),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([d,u])=>l.addRule(d,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let d=l.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[SAe,OAe,$Ae,DAe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[TAe,MAe,RAe].forEach(u=>u(i,a)),i.isCompiled=!0;let d=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),d=i.keywords.$pattern,delete i.keywords.$pattern),d=d||/\w+/,i.keywords&&(i.keywords=Fg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(d,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=No(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return jAe(u==="self"?i:u)})),i.contains.forEach(function(u){r(u,l)}),i.starts&&r(i.starts,a),l.matcher=o(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Mn(t.classNameAliases||{}),r(t)}function zg(t){return t?t.endsWithParent||zg(t.starts):!1}function jAe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Mn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:zg(t)?Mn(t,{starts:t.starts?Mn(t.starts):null}):Object.isFrozen(t)?Mn(t):t}var qAe="11.8.0";class HAe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const ra=Og,Vu=Mn,Gu=Symbol("nomatch"),VAe=7,$g=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:sAe};function l(T){return a.noHighlightRe.test(T)}function d(T){let H=T.className+" ";H+=T.parentNode?T.parentNode.className:"";const K=a.languageDetectRe.exec(H);if(K){const we=C(K[1]);return we||(Hu(r.replace("{}",K[1])),Hu("Falling back to no-highlight mode for this block.",T)),we?K[1]:"no-highlight"}return H.split(/\s+/).find(we=>l(we)||C(we))}function u(T,H,K){let we="",be="";typeof H=="object"?(we=T,K=H.ignoreIllegals,be=H.language):(ps("10.7.0","highlight(lang, code, ...args) has been deprecated."),ps("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),be=T,we=H),K===void 0&&(K=!0);const ne={code:we,language:be};ue("before:highlight",ne);const Ee=ne.result?ne.result:h(ne.language,ne.code,K);return Ee.code=ne.code,ue("after:highlight",Ee),Ee}function h(T,H,K,we){const be=Object.create(null);function ne(W,ie){return W.keywords[ie]}function Ee(){if(!j.keywords){q.addText(J);return}let W=0;j.keywordPatternRe.lastIndex=0;let ie=j.keywordPatternRe.exec(J),me="";for(;ie;){me+=J.substring(W,ie.index);const Oe=U.case_insensitive?ie[0].toLowerCase():ie[0],$e=ne(j,Oe);if($e){const[Ze,Fe]=$e;if(q.addText(me),me="",be[Oe]=(be[Oe]||0)+1,be[Oe]<=VAe&&(de+=Fe),Ze.startsWith("_"))me+=ie[0];else{const nt=U.classNameAliases[Ze]||Ze;ee(ie[0],nt)}}else me+=ie[0];W=j.keywordPatternRe.lastIndex,ie=j.keywordPatternRe.exec(J)}me+=J.substring(W),q.addText(me)}function Me(){if(J==="")return;let W=null;if(typeof j.subLanguage=="string"){if(!e[j.subLanguage]){q.addText(J);return}W=h(j.subLanguage,J,!0,re[j.subLanguage]),re[j.subLanguage]=W._top}else W=g(J,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(de+=W.relevance),q.__addSublanguage(W._emitter,W.language)}function N(){j.subLanguage!=null?Me():Ee(),J=""}function ee(W,ie){W!==""&&(q.startScope(ie),q.addText(W),q.endScope())}function V(W,ie){let me=1;const Oe=ie.length-1;for(;me<=Oe;){if(!W._emit[me]){me++;continue}const $e=U.classNameAliases[W[me]]||W[me],Ze=ie[me];$e?ee(Ze,$e):(J=Ze,Ee(),J=""),me++}}function se(W,ie){return W.scope&&typeof W.scope=="string"&&q.openNode(U.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(ee(J,U.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),J=""):W.beginScope._multi&&(V(W.beginScope,ie),J="")),j=Object.create(W,{parent:{value:j}}),j}function te(W,ie,me){let Oe=aAe(W.endRe,me);if(Oe){if(W["on:end"]){const $e=new $u(W);W["on:end"](ie,$e),$e.isMatchIgnored&&(Oe=!1)}if(Oe){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return te(W.parent,ie,me)}function ge(W){return j.matcher.regexIndex===0?(J+=W[0],1):(Se=!0,0)}function he(W){const ie=W[0],me=W.rule,Oe=new $u(me),$e=[me.__beforeBegin,me["on:begin"]];for(const Ze of $e)if(Ze&&(Ze(W,Oe),Oe.isMatchIgnored))return ge(ie);return me.skip?J+=ie:(me.excludeBegin&&(J+=ie),N(),!me.returnBegin&&!me.excludeBegin&&(J=ie)),se(me,W),me.returnBegin?0:ie.length}function k(W){const ie=W[0],me=H.substring(W.index),Oe=te(j,W,me);if(!Oe)return Gu;const $e=j;j.endScope&&j.endScope._wrap?(N(),ee(ie,j.endScope._wrap)):j.endScope&&j.endScope._multi?(N(),V(j.endScope,W)):$e.skip?J+=ie:($e.returnEnd||$e.excludeEnd||(J+=ie),N(),$e.excludeEnd&&(J=ie));do j.scope&&q.closeNode(),!j.skip&&!j.subLanguage&&(de+=j.relevance),j=j.parent;while(j!==Oe.parent);return Oe.starts&&se(Oe.starts,W),$e.returnEnd?0:ie.length}function S(){const W=[];for(let ie=j;ie!==U;ie=ie.parent)ie.scope&&W.unshift(ie.scope);W.forEach(ie=>q.openNode(ie))}let F={};function $(W,ie){const me=ie&&ie[0];if(J+=W,me==null)return N(),0;if(F.type==="begin"&&ie.type==="end"&&F.index===ie.index&&me===""){if(J+=H.slice(ie.index,ie.index+1),!o){const Oe=new Error(`0 width match regex (${T})`);throw Oe.languageName=T,Oe.badRule=F.rule,Oe}return 1}if(F=ie,ie.type==="begin")return he(ie);if(ie.type==="illegal"&&!K){const Oe=new Error('Illegal lexeme "'+me+'" for mode "'+(j.scope||"")+'"');throw Oe.mode=j,Oe}else if(ie.type==="end"){const Oe=k(ie);if(Oe!==Gu)return Oe}if(ie.type==="illegal"&&me==="")return 1;if(fe>1e5&&fe>ie.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=me,me.length}const U=C(T);if(!U)throw Xn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const oe=UAe(U);let ce="",j=we||oe;const re={},q=new a.__emitter(a);S();let J="",de=0,pe=0,fe=0,Se=!1;try{if(U.__emitTokens)U.__emitTokens(H,q);else{for(j.matcher.considerAll();;){fe++,Se?Se=!1:j.matcher.considerAll(),j.matcher.lastIndex=pe;const W=j.matcher.exec(H);if(!W)break;const ie=H.substring(pe,W.index),me=$(ie,W);pe=W.index+me}$(H.substring(pe))}return q.finalize(),ce=q.toHTML(),{language:T,value:ce,relevance:de,illegal:!1,_emitter:q,_top:j}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:ra(H),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:pe,context:H.slice(pe-100,pe+100),mode:W.mode,resultSoFar:ce},_emitter:q};if(o)return{language:T,value:ra(H),illegal:!1,relevance:0,errorRaised:W,_emitter:q,_top:j};throw W}}function f(T){const H={value:ra(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return H._emitter.addText(T),H}function g(T,H){H=H||a.languages||Object.keys(e);const K=f(T),we=H.filter(C).filter(I).map(N=>h(N,T,!1));we.unshift(K);const be=we.sort((N,ee)=>{if(N.relevance!==ee.relevance)return ee.relevance-N.relevance;if(N.language&&ee.language){if(C(N.language).supersetOf===ee.language)return 1;if(C(ee.language).supersetOf===N.language)return-1}return 0}),[ne,Ee]=be,Me=ne;return Me.secondBest=Ee,Me}function m(T,H,K){const we=H&&n[H]||K;T.classList.add("hljs"),T.classList.add(`language-${we}`)}function _(T){let H=null;const K=d(T);if(l(K))return;if(ue("before:highlightElement",{el:T,language:K}),T.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(T)),a.throwUnescapedHTML))throw new HAe("One of your code blocks includes unescaped HTML.",T.innerHTML);H=T;const we=H.textContent,be=K?u(we,{language:K,ignoreIllegals:!0}):g(we);T.innerHTML=be.value,m(T,K,be.language),T.result={language:be.language,re:be.relevance,relevance:be.relevance},be.secondBest&&(T.secondBest={language:be.secondBest.language,relevance:be.secondBest.relevance}),ue("after:highlightElement",{el:T,result:be,text:we})}function w(T){a=Vu(a,T)}const b=()=>{A(),ps("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function p(){A(),ps("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function A(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(_)}function D(){x&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",D,!1);function O(T,H){let K=null;try{K=H(t)}catch(we){if(Xn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Xn(we);else throw we;K=i}K.name||(K.name=T),e[T]=K,K.rawDefinition=H.bind(null,t),K.aliases&&M(K.aliases,{languageName:T})}function L(T){delete e[T];for(const H of Object.keys(n))n[H]===T&&delete n[H]}function v(){return Object.keys(e)}function C(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:H}){typeof T=="string"&&(T=[T]),T.forEach(K=>{n[K.toLowerCase()]=H})}function I(T){const H=C(T);return H&&!H.disableAutodetect}function B(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=H=>{T["before:highlightBlock"](Object.assign({block:H.el},H))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=H=>{T["after:highlightBlock"](Object.assign({block:H.el},H))})}function X(T){B(T),s.push(T)}function P(T){const H=s.indexOf(T);H!==-1&&s.splice(H,1)}function ue(T,H){const K=T;s.forEach(function(we){we[K]&&we[K](H)})}function Y(T){return ps("10.7.0","highlightBlock will be removed entirely in v12.0"),ps("10.7.0","Please use highlightElement now."),_(T)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:A,highlightElement:_,highlightBlock:Y,configure:w,initHighlighting:b,initHighlightingOnLoad:p,registerLanguage:O,unregisterLanguage:L,listLanguages:v,getLanguage:C,registerAliases:M,autoDetection:I,inherit:Vu,addPlugin:X,removePlugin:P}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=qAe,t.regex={concat:cs,lookahead:Rg,either:bc,optional:rAe,anyNumberOfTimes:oAe};for(const T in sr)typeof sr[T]=="object"&&Mg(sr[T]);return Object.assign(t,sr),t},Is=$g({});Is.newInstance=()=>$g({});var GAe=Is;Is.HighlightJS=Is;Is.default=Is;var ia,Ku;function KAe(){if(Ku)return ia;Ku=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),d=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,d,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,d,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ia=t,ia}var aa,Zu;function ZAe(){if(Zu)return aa;Zu=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},d={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],w={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],p=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:_,built_in:[...b,...p,"set","shopt",...x,...A]},contains:[f,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,w,a,l,d,s]}}return aa=t,aa}var la,Wu;function WAe(){if(Wu)return la;Wu=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",b={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:p.concat([{begin:/\(/,end:/\)/,keywords:b,contains:p.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:b}}}return la=t,la}var ca,Yu;function YAe(){if(Yu)return ca;Yu=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],p=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],D={type:w,keyword:_,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},O={className:"function.dispatch",relevance:0,keywords:{_hint:p},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},L=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:D,contains:L.concat([{begin:/\(/,end:/\)/,keywords:D,contains:L.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:D,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:D,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:D,illegal:"",keywords:D,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:D},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ca=t,ca}var da,Ju;function JAe(){if(Ju)return da;Ju=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},_={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},w=e.inherit(_,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],g.contains=[w,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[_,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},b,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[b,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}return da=t,da}var ua,Qu;function QAe(){if(Qu)return ua;Qu=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,d=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return ua=i,ua}var ha,Xu;function XAe(){if(Xu)return ha;Xu=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),g=e.inherit(h,{contains:[]});u.contains.push(g),h.contains.push(f);let m=[s,d];return[u,h,f,g].forEach(b=>{b.contains=b.contains.concat(m)}),m=m.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,u,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,d,a]}}return ha=t,ha}var fa,eh;function eSe(){if(eh)return fa;eh=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return fa=t,fa}var pa,th;function tSe(){if(th)return pa;th=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},w={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},L=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[w]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(d,u),relevance:0}].concat(d,u);h.contains=L,w.contains=L;const v="[>?]>",C="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",I=[{begin:/^\s*=>/,starts:{end:"$",contains:L}},{className:"meta.prompt",begin:"^("+v+"|"+C+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:L}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(I).concat(u).concat(L)}}return pa=t,pa}var ga,nh;function nSe(){if(nh)return ga;nh=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",d=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},_={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},w={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[w,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[_,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,_]}}return ba=r,ba}var ya,ih;function iSe(){if(ih)return ya;ih=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(d){const u=d.regex,h=(V,{after:se})=>{const te="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,se)=>{const te=V[0].length+V.index,ge=V.input[te];if(ge==="<"||ge===","){se.ignoreMatch();return}ge===">"&&(h(V,{after:te})||se.ignoreMatch());let he;const k=V.input.substring(te);if(he=k.match(/^\s*=/)){se.ignoreMatch();return}if((he=k.match(/^\s+extends\s+/))&&he.index===0){se.ignoreMatch();return}}},w={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",p=`\\.(${b})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${x})((${p})|\\.)?|(${p}))[eE][+-]?(${b})\\b`},{begin:`\\b(${x})\\b((${p})\\b|\\.)?|(${p})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},D={className:"subst",begin:"\\$\\{",end:"\\}",keywords:w,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,D],subLanguage:"xml"}},L={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,D],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,D],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,D]},I={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},B=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,L,v,C,{match:/\$\d+/},A];D.contains=B.concat({begin:/\{/,end:/\}/,keywords:w,contains:["self"].concat(B)});const X=[].concat(I,D.contains),P=X.concat([{begin:/\(/,end:/\)/,keywords:w,contains:["self"].concat(X)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,contains:P},Y={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},H={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},K={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ue],illegal:/%/},we={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function be(V){return u.concat("(?!",V.join("|"),")")}const ne={match:u.concat(/\b/,be([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Me={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",ee={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ue]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:w,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,L,v,C,I,{match:/\$\d+/},A,T,{className:"attr",begin:f+u.lookahead(":"),relevance:0},ee,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,d.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ue,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ue]},ne,we,Y,Me,{match:/\$[(.]/}]}}return ya=l,ya}var va,ah;function aSe(){if(ah)return va;ah=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return va=t,va}var xa,lh;function lSe(){if(lh)return xa;lh=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,_=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),w={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},b=w;return b.variants[1].contains=[w],w.variants[1].contains=[b],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,_,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[w,r.C_LINE_COMMENT_MODE,_],relevance:0},r.C_LINE_COMMENT_MODE,_,f,g,h,r.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},m]}}return xa=o,xa}var wa,ch;function cSe(){if(ch)return wa;ch=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const d=t(l),u=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],_=[],w=function(I){return{className:"string",begin:"~?"+I+".*?"+I}},b=function(I,B,X){return{className:I,begin:B,relevance:X}},p={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:_,keywords:p,relevance:0};_.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,w("'"),w('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,x,b("variable","@@?"+f,10),b("variable","@\\{"+f+"\\}"),b("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const A=_.concat({begin:/\{/,end:/\}/,contains:m}),D={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(_)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:_}}]},L={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:p,returnEnd:!0,contains:_,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:A}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,b("keyword","all\\b"),b("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,b("selector-tag",g,0),b("selector-id","#"+g),b("selector-class","\\."+g,0),b("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:A},{begin:"!important"},d.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[C]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,L,v,M,O,C,D,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return wa=a,wa}var ka,dh;function dSe(){if(dh)return ka;dh=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return ka=t,ka}var Ea,uh;function uSe(){if(uh)return Ea;uh=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},d=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,_,w="\\1")=>{const b=w==="\\1"?w:n.concat(w,_);return n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,w,o)},f=(m,_,w)=>n.concat(n.concat("(?:",m,")"),_,/(?:\\.|[^\\\/])*?/,w,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",n.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return Ca=t,Ca}var Aa,fh;function fSe(){if(fh)return Aa;fh=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},d={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Aa=t,Aa}var Sa,ph;function pSe(){if(ph)return Sa;ph=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},d=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(P,ue)=>{ue.data._beginMatch=P[1]||P[2]},"on:end":(P,ue)=>{ue.data._beginMatch!==P[1]&&ue.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ +]`,m={scope:"string",variants:[u,d,h,f]},_={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},w=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],p=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:b,literal:(P=>{const ue=[];return P.forEach(Y=>{ue.push(Y),Y.toLowerCase()===Y?ue.push(Y.toUpperCase()):ue.push(Y.toLowerCase())}),ue})(w),built_in:p},D=P=>P.map(ue=>ue.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",D(p).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},L=n.concat(o,"\\b(?!\\()"),v={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),L],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),L],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[C,i,v,e.C_BLOCK_COMMENT_MODE,m,_,O]},I={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",D(b).join("\\b|"),"|",D(p).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(I);const B=[C,v,e.C_BLOCK_COMMENT_MODE,m,_,O],X={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:w,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:w,keyword:["new","array"]},contains:["self",...B]},...B,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:A,contains:[X,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,I,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,m,_]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,_]}}return Sa=t,Sa}var Ta,gh;function gSe(){if(gh)return Ta;gh=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Ta=t,Ta}var Ma,mh;function mSe(){if(mh)return Ma;mh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ma=t,Ma}var Oa,_h;function _Se(){if(_h)return Oa;_h=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${o.join("|")}`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},b={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},p={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",d,w,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,w,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[d,w,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[p]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[w,p,f]}]}}return Oa=t,Oa}var Ra,bh;function bSe(){if(bh)return Ra;bh=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ra=t,Ra}var Da,yh;function ySe(){if(yh)return Da;yh=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Da=t,Da}var Na,vh;function vSe(){if(vh)return Na;vh=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return Na=t,Na}var La,xh;function xSe(){if(xh)return La;xh=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),d=o,u=s,h="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return La=i,La}var Ia,wh;function wSe(){if(wh)return Ia;wh=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Ia=t,Ia}var Pa,kh;function kSe(){if(kh)return Pa;kh=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],d=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],m=h,_=[...u,...d].filter(A=>!h.includes(A)),w={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},b={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},p={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(A,{exceptions:D,when:O}={}){const L=O;return D=D||[],A.map(v=>v.match(/\|\d+$/)||D.includes(v)?v:L(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(_,{when:A=>A.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:_.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},p,w,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,b]}}return Pa=t,Pa}var Fa,Eh;function ESe(){if(Eh)return Fa;Eh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const C=v[v.length-1];return typeof C=="object"&&C.constructor===Object?(v.splice(v.length-1,1),C):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(I=>t(I)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),w=n(m,_,"*"),b=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),p=o(b,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(b,p,"*"),A=n(/[A-Z]/,p,"*"),D=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function L(v){const C={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),I=[v.C_LINE_COMMENT_MODE,M],B={match:[/\./,o(...i,...a)],className:{2:"keyword"}},X={match:n(/\./,o(...d)),relevance:0},P=d.filter(Fe=>typeof Fe=="string").concat(["_|0"]),ue=d.filter(Fe=>typeof Fe!="string").concat(l).map(r),Y={variants:[{className:"keyword",match:o(...ue,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:P.concat(f),literal:u},H=[B,X,Y],K={match:n(/\./,o(...g)),relevance:0},we={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},be=[K,we],ne={match:/->/,relevance:0},Ee={className:"operator",relevance:0,variants:[{match:w},{match:`\\.(\\.|${_})+`}]},Me=[ne,Ee],N="([0-9]_*)+",ee="([0-9a-fA-F]_*)+",V={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${ee})(\\.(${ee}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},se=(Fe="")=>({className:"subst",variants:[{match:n(/\\/,Fe,/[0\\tnr"']/)},{match:n(/\\/,Fe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),te=(Fe="")=>({className:"subst",match:n(/\\/,Fe,/[\t ]*(?:[\r\n]|\r\n)/)}),ge=(Fe="")=>({className:"subst",label:"interpol",begin:n(/\\/,Fe,/\(/),end:/\)/}),he=(Fe="")=>({begin:n(Fe,/"""/),end:n(/"""/,Fe),contains:[se(Fe),te(Fe),ge(Fe)]}),k=(Fe="")=>({begin:n(Fe,/"/),end:n(/"/,Fe),contains:[se(Fe),ge(Fe)]}),S={className:"string",variants:[he(),he("#"),he("##"),he("###"),k(),k("#"),k("##"),k("###")]},F={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},U={className:"variable",match:`\\$${p}+`},oe=[F,$,U],ce={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Me,V,S]}]}},j={className:"keyword",match:n(/@/,o(...D))},re={className:"meta",match:n(/@/,x)},q=[ce,j,re],J={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,p,"+")},{className:"type",match:A,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(A)),relevance:0}]},de={begin://,keywords:T,contains:[...I,...H,...q,ne,J]};J.contains.push(de);const pe={match:n(x,/\s*:/),keywords:"_|0",relevance:0},fe={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",pe,...I,...H,...be,...Me,V,S,...oe,...q,J]},Se={begin://,contains:[...I,J]},W={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},ie={begin:/\(/,end:/\)/,keywords:T,contains:[W,...I,...H,...Me,V,S,...q,J,fe],endsParent:!0,illegal:/["']/},me={match:[/func/,/\s+/,o(F.match,x,w)],className:{1:"keyword",3:"title.function"},contains:[Se,ie,C],illegal:[/\[/,/%/]},Oe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Se,ie,C],illegal:/\[|%/},$e={match:[/operator/,/\s+/,w],className:{1:"keyword",3:"title"}},Ze={begin:[/precedencegroup/,/\s+/,A],className:{1:"keyword",3:"title"},contains:[J],keywords:[...h,...u],end:/}/};for(const Fe of S.variants){const nt=Fe.contains.find(ct=>ct.label==="interpol");nt.keywords=T;const ot=[...H,...be,...Me,V,S,...oe];nt.contains=[...ot,{begin:/\(/,end:/\)/,contains:["self",...ot]}]}return{name:"Swift",keywords:T,contains:[...I,me,Oe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...H]},$e,Ze,{beginKeywords:"import",end:/$/,contains:[...I],relevance:0},...H,...be,...Me,V,S,...oe,...q,J,fe]}}return Fa=L,Fa}var Ba,Ch;function CSe(){if(Ch)return Ba;Ch=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+d+u+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},_={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},w=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,_,i],b=[...w];return b.pop(),b.push(a),g.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:w}}return Ba=t,Ba}var za,Ah;function ASe(){if(Ah)return za;Ah=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const h=u.regex,f=(se,{after:te})=>{const ge="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,w={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(se,te)=>{const ge=se[0].length+se.index,he=se.input[ge];if(he==="<"||he===","){te.ignoreMatch();return}he===">"&&(f(se,{after:ge})||te.ignoreMatch());let k;const S=se.input.substring(ge);if(k=S.match(/^\s*=/)){te.ignoreMatch();return}if((k=S.match(/^\s+extends\s+/))&&k.index===0){te.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},p="[0-9](_?[0-9])*",x=`\\.(${p})`,A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",D={className:"number",variants:[{begin:`(\\b(${A})((${x})|\\.)?|(${x}))[eE][+-]?(${p})\\b`},{begin:`\\b(${A})\\b((${x})\\b|\\.)?|(${x})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},L={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"css"}},C={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,O]},B={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},X=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,L,v,C,M,{match:/\$\d+/},D];O.contains=X.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(X)});const P=[].concat(B,O.contains),ue=P.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(P)}]),Y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ue},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},H={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},K={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},we={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Y],illegal:/%/},be={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ne(se){return h.concat("(?!",se.join("|"),")")}const Ee={match:h.concat(/\b/,ne([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Me={begin:h.concat(/\./,h.lookahead(h.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Y]},ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:ue,CLASS_REFERENCE:H},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),K,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,L,v,C,M,B,{match:/\$\d+/},D,H,{className:"attr",begin:g+h.lookahead(":"),relevance:0},V,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,u.REGEXP_MODE,{className:"function",begin:ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:ue}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:w.begin,"on:begin":w.isTrulyOpeningTag,end:w.end}],subLanguage:"xml",contains:[{begin:w.begin,end:w.end,skip:!0,contains:["self"]}]}]},we,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Y,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Me,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Y]},Ee,be,T,N,{match:/\$[(.]/}]}}function d(u){const h=l(u),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},_={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},w={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},b=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],p={$pattern:t,keyword:e.concat(b),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},A=(O,L,v)=>{const C=O.contains.findIndex(M=>M.label===L);if(C===-1)throw new Error("can not find mode to replace");O.contains.splice(C,1,v)};Object.assign(h.keywords,p),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,_]),A(h,"shebang",u.SHEBANG()),A(h,"use_strict",w);const D=h.contains.find(O=>O.label==="func.def");return D.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return za=d,za}var $a,Sh;function SSe(){if(Sh)return $a;Sh=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,d,u,h,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return $a=t,$a}var Ua,Th;function TSe(){if(Th)return Ua;Th=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,d,u,l]}}return Ua=t,Ua}var Le=GAe;Le.registerLanguage("xml",KAe());Le.registerLanguage("bash",ZAe());Le.registerLanguage("c",WAe());Le.registerLanguage("cpp",YAe());Le.registerLanguage("csharp",JAe());Le.registerLanguage("css",QAe());Le.registerLanguage("markdown",XAe());Le.registerLanguage("diff",eSe());Le.registerLanguage("ruby",tSe());Le.registerLanguage("go",nSe());Le.registerLanguage("graphql",sSe());Le.registerLanguage("ini",oSe());Le.registerLanguage("java",rSe());Le.registerLanguage("javascript",iSe());Le.registerLanguage("json",aSe());Le.registerLanguage("kotlin",lSe());Le.registerLanguage("less",cSe());Le.registerLanguage("lua",dSe());Le.registerLanguage("makefile",uSe());Le.registerLanguage("perl",hSe());Le.registerLanguage("objectivec",fSe());Le.registerLanguage("php",pSe());Le.registerLanguage("php-template",gSe());Le.registerLanguage("plaintext",mSe());Le.registerLanguage("python",_Se());Le.registerLanguage("python-repl",bSe());Le.registerLanguage("r",ySe());Le.registerLanguage("rust",vSe());Le.registerLanguage("scss",xSe());Le.registerLanguage("shell",wSe());Le.registerLanguage("sql",kSe());Le.registerLanguage("swift",ESe());Le.registerLanguage("yaml",CSe());Le.registerLanguage("typescript",ASe());Le.registerLanguage("vbnet",SSe());Le.registerLanguage("wasm",TSe());Le.HighlightJS=Le;Le.default=Le;var MSe=Le;const go=ls(MSe);var In={};In.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let d="",u="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g=s+1:u.length>=s}let r,i,a,l;const d=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,d),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+d),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};In.removeDelimiter=function(t,e){const n=_l(e.leftDelimiter),s=_l(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function _l(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}In.escapeRegExp=_l;In.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const OSe=/[&<>"]/,RSe=/[&<>"]/g,DSe={"&":"&","<":"<",">":">",'"':"""};function NSe(t){return DSe[t]}In.escapeHtml=function(t){return OSe.test(t)?t.replace(RSe,NSe):t};const Pe=In;var LSe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Pe.escapeRegExp(t.leftDelimiter)+"[^"+Pe.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Pe.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Pe.getAttrs(o.info,r,t);Pe.addAttrs(i,o),o.info=Pe.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Pe.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Pe.getAttrs(r.content,0,t);Pe.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Pe.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Pe.getMatchingOpeningToken(n,s),i=Pe.getAttrs(o.content,0,t);Pe.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Pe.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,0,t),l=Pe.getMatchingOpeningToken(n[s].children,o-1);Pe.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Pe.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Pe.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Pe.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Pe.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Pe.getAttrs(r,0,t),a=Pe.getMatchingOpeningToken(n,s);Pe.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Pe.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Pe.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Mh(l)!==" "?l:l.slice(0,-1)}},{name:` +{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Pe.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Pe.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Pe.getMatchingOpeningToken(n,a);Pe.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Pe.getAttrs(r,i,t);Pe.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Pe.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Pe.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const d=Pe.getMatchingOpeningToken(n,l);Pe.addAttrs(a,d);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Mh(u)!==" "?u:u.slice(0,-1)}}]};function Mh(t){return t.slice(-1)[0]}const ISe=LSe,PSe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var FSe=function(e,n){let s=Object.assign({},PSe);s=Object.assign(s,n);const o=ISe(s);function r(i){const a=i.tokens;for(let l=0;l{const m=bl(a,l,g);return m.j!==null&&(h=m.j),m.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function bl(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=$Se(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&BSe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,d=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>bl(d,u.position,u).match),a){const u=USe(l).position;s.j=u>=0?u:d.length+u}}else for(let u=0;ubl(d,u,h).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(zSe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function BSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function zSe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function $Se(t,e){return e>=0?t[e]:t[t.length+e]}function USe(t){return t.slice(-1)[0]||{}}const jSe=ls(FSe);function qSe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const yl=new Gte("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=qSe();if(e&&go.getLanguage(e))try{const r=go.highlight(e,t).value;return'
'+e+'
'+r+'
'}catch(r){console.error(`Syntax highlighting failed for language '${e}':`,r)}let s=e=="python"?'':"";return'
'+e+''+s+'
'+go.highlightAuto(t).value+'
'},bulletListMarker:"-"}).use(jSe).use(_s).use(X7e).use(Y7e);go.configure({languages:[]});go.configure({languages:["javascript"]});yl.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const HSe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` // Your inline script code here function copyContentToClipboard(id) { @@ -80,7 +80,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),be=T,we=H),G===void 0& }); } - `,t.async=!0,document.body.appendChild(t),this.markdownText?this.renderedMarkdown=bl.render(this.markdownText):this.renderedMarkdown="",_e(()=>{ye.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=bl.render(t),_e(()=>{ye.replace()})}}},qSe={class:"break-all"},HSe=["innerHTML"];function VSe(t,e,n,s,o,r){return v(),E("div",qSe,[c("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,HSe)])}const zg=ze(jSe,[["render",VSe]]);const GSe={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){_e(()=>{ye.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},KSe={class:"flex items-center space-x-2"},ZSe=["value","type","placeholder"],WSe=["value","min","max"],YSe=c("i",{"data-feather":"clipboard"},null,-1),JSe=[YSe],QSe=c("i",{"data-feather":"upload"},null,-1),XSe=[QSe],eTe=["accept"];function tTe(t,e,n,s,o,r){return v(),E("div",KSe,[t.useSlider?(v(),E("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,WSe)):(v(),E("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,ZSe)),c("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},JSe),n.inputType==="file"?(v(),E("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},XSe)):R("",!0),n.inputType==="file"?(v(),E("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,eTe)):R("",!0)])}const xc=ze(GSe,[["render",tTe]]);const nTe={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},sTe={key:1,class:"flex flex-wrap"},oTe={key:2,class:"mb-2"};function rTe(t,e,n,s,o,r){return v(),E(Ae,null,[o.isActive?(v(),E("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):R("",!0),Q(c("div",{class:ke(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":n.is_subcard},{"bg-white dark:bg-gray-900":!n.is_subcard},{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[2]||(e[2]=i=>o.isHovered=!0),onMouseleave:e[3]||(e[3]=i=>o.isHovered=!1),onClick:e[4]||(e[4]=ae((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:yt({cursor:this.disableFocus?"":"pointer"})},[n.title?(v(),E("div",{key:0,onClick:e[1]||(e[1]=i=>o.shrink=!0),class:ke([{"text-center p-2 m-2 bg-gray-200":!n.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},z(n.title),3)):R("",!0),n.isHorizontal?(v(),E("div",sTe,[Ar(t.$slots,"default")])):(v(),E("div",oTe,[Ar(t.$slots,"default")]))],38),[[We,o.shrink===!1]]),n.is_subcard?Q((v(),E("div",{key:1,onClick:e[5]||(e[5]=i=>o.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},z(n.title),513)),[[We,o.shrink===!0]]):Q((v(),E("div",{key:2,onClick:e[6]||(e[6]=i=>o.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[We,o.shrink===!0]])],64)}const Uo=ze(nTe,[["render",rTe]]);async function Mh(t,e="",n=[]){return new Promise((s,o)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",n.length===0?r.innerHTML=` + `,t.async=!0,document.body.appendChild(t),this.markdownText?this.renderedMarkdown=yl.render(this.markdownText):this.renderedMarkdown="",_e(()=>{ye.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=yl.render(t),_e(()=>{ye.replace()})}}},VSe={class:"break-all"},GSe=["innerHTML"];function KSe(t,e,n,s,o,r){return y(),E("div",VSe,[c("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,GSe)])}const Ug=ze(HSe,[["render",KSe]]);const ZSe={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){_e(()=>{ye.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},WSe={class:"flex items-center space-x-2"},YSe=["value","type","placeholder"],JSe=["value","min","max"],QSe=c("i",{"data-feather":"clipboard"},null,-1),XSe=[QSe],eTe=c("i",{"data-feather":"upload"},null,-1),tTe=[eTe],nTe=["accept"];function sTe(t,e,n,s,o,r){return y(),E("div",WSe,[t.useSlider?(y(),E("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,JSe)):(y(),E("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,YSe)),c("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},XSe),n.inputType==="file"?(y(),E("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},tTe)):R("",!0),n.inputType==="file"?(y(),E("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,nTe)):R("",!0)])}const xc=ze(ZSe,[["render",sTe]]);const oTe={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},rTe={key:1,class:"flex flex-wrap"},iTe={key:2,class:"mb-2"};function aTe(t,e,n,s,o,r){return y(),E(Ae,null,[o.isActive?(y(),E("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):R("",!0),Q(c("div",{class:ke(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":n.is_subcard},{"bg-white dark:bg-gray-900":!n.is_subcard},{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[2]||(e[2]=i=>o.isHovered=!0),onMouseleave:e[3]||(e[3]=i=>o.isHovered=!1),onClick:e[4]||(e[4]=ae((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:yt({cursor:this.disableFocus?"":"pointer"})},[n.title?(y(),E("div",{key:0,onClick:e[1]||(e[1]=i=>o.shrink=!0),class:ke([{"text-center p-2 m-2 bg-gray-200":!n.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},z(n.title),3)):R("",!0),n.isHorizontal?(y(),E("div",rTe,[Sr(t.$slots,"default")])):(y(),E("div",iTe,[Sr(t.$slots,"default")]))],38),[[We,o.shrink===!1]]),n.is_subcard?Q((y(),E("div",{key:1,onClick:e[5]||(e[5]=i=>o.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},z(n.title),513)),[[We,o.shrink===!0]]):Q((y(),E("div",{key:2,onClick:e[6]||(e[6]=i=>o.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[We,o.shrink===!0]])],64)}const jo=ze(oTe,[["render",aTe]]);async function Oh(t,e="",n=[]){return new Promise((s,o)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",n.length===0?r.innerHTML=`

${t}

@@ -100,22 +100,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`),be=T,we=H),G===void 0&
- `,document.body.appendChild(r);const i=r.querySelector("#cancelButton"),a=r.querySelector("#okButton");i.addEventListener("click",()=>{document.body.removeChild(r),s(null)}),a.addEventListener("click",()=>{if(n.length===0){const d=r.querySelector("#replacementInput").value.trim();document.body.removeChild(r),s(d)}else{const d=r.querySelector("#options_selector").value.trim();document.body.removeChild(r),s(d)}})})}function iTe(t,e){console.log(t);let n={},s=/@<([^>]+)>@/g,o=[],r;for(;(r=s.exec(t))!==null;)o.push("@<"+r[1]+">@");console.log("matches"),console.log(o),o=[...new Set(o)];async function i(l){console.log(l);let d=l.toLowerCase().substring(2,l.length-2);if(d!=="generation_placeholder")if(d.includes(":")){Object.entries({all_language_options:"english:french:german:chinese:japanese:spanish:italian:russian:portuguese:swedish:danish:dutch:norwegian:slovak:czech:hungarian:polish:ukrainian:bulgarian:latvian:lithuanian:estonian:maltese:irish:galician:basque:welsh:breton:georgian:turkmen:kazakh:uzbek:tajik:afghan:sri-lankan:filipino:vietnamese:lao:cambodian:thai:burmese:kenyan:botswanan:zimbabwean:malawian:mozambican:angolan:namibian:south-african:madagascan:seychellois:mauritian:haitian:peruvian:ecuadorian:bolivian:paraguayan:chilean:argentinean:uruguayan:brazilian:colombian:venezuelan:puerto-rican:cuban:dominican:honduran:nicaraguan:salvadorean:guatemalan:el-salvadoran:belizean:panamanian:costa-rican:antiguan:barbudan:dominica's:grenada's:st-lucia's:st-vincent's:gibraltarian:faroe-islander:greenlandic:icelandic:jamaican:trinidadian:tobagonian:barbadian:anguillan:british-virgin-islander:us-virgin-islander:turkish:israeli:palestinian:lebanese:egyptian:libyan:tunisian:algerian:moroccan:bahraini:kuwaiti:saudi-arabian:yemeni:omani:irani:iraqi:afghanistan's:pakistani:indian:nepalese:sri-lankan:maldivan:burmese:thai:lao:vietnamese:kampuchean:malaysian:bruneian:indonesian:australian:new-zealanders:fijians:tongans:samoans:vanuatuans:wallisians:kiribatians:tuvaluans:solomon-islanders:marshallese:micronesians:hawaiians",all_programming_language_options:"python:c:c++:java:javascript:php:ruby:go:swift:kotlin:rust:haskell:erlang:lisp:scheme:prolog:cobol:fortran:pascal:delphi:d:eiffel:h:basic:visual_basic:smalltalk:objective-c:html5:node.js:vue.js:svelte:react:angular:ember:clipper:stex:arduino:brainfuck:r:assembly:mason:lepton:seacat:bbc_microbit:raspberry_pi_gpio:raspberry_pi_spi:raspberry_pi_i2c:raspberry_pi_uart:raspberry_pi_adc:raspberry_pi_ddio"}).forEach(([w,b])=>{console.log(`Key: ${w}, Value: ${b}`);function p(N){return N.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const x=p(w),A=new RegExp(x,"g");d=d.replace(A,b)});let h=d.split(":"),f=h[0],g=h[1]||"",m=[];h.length>2&&(m=h.slice(1));let _=await Mh(f,g,m);_!==null&&(n[l]=_)}else{let u=await Mh(d);u!==null&&(n[l]=u)}}let a=Promise.resolve();o.forEach(l=>{a=a.then(()=>i(l)).then(d=>{console.log(d)})}),a.then(()=>{Object.entries(n).forEach(([l,d])=>{console.log(`Key: ${l}, Value: ${d}`);function u(g){return g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const h=u(l),f=new RegExp(h,"g");t=t.replace(f,d)}),e(t)})}const aTe={name:"PlayGroundView",data(){return{selecting_model:!1,tab_id:"source",generating:!1,isSpeaking:!1,voices:[],isLesteningToVoice:!1,presets:[],selectedPreset:"",cursorPosition:0,text:"",pre_text:"",post_text:"",temperature:.1,top_k:50,top_p:.9,repeat_penalty:1.3,repeat_last_n:50,n_crop:-1,n_predicts:2e3,seed:-1,silenceTimeout:5e3}},components:{Toast:Ys,MarkdownRenderer:zg,ClipBoardTextInput:xc,Card:Uo},mounted(){ve.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),Ce.on("text_chunk",t=>{this.appendToOutput(t.chunk)}),Ce.on("text_generated",t=>{this.generating=!1}),Ce.on("generation_error",t=>{console.log("generation_error:",t),this.$refs.toast.showToast(`Error: ${t}`,4,!1),this.generating=!1}),Ce.on("connect",()=>{console.log("Connected to LoLLMs server"),this.$store.state.isConnected=!0,this.generating=!1}),Ce.on("buzzy",t=>{console.error("Server is busy. Wait for your turn",t),this.$refs.toast.showToast(`Error: ${t.message}`,4,!1),this.generating=!1}),Ce.on("generation_canceled",t=>{this.generating=!1,console.log("Generation canceled OK")}),this.$nextTick(()=>{ye.replace()}),"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser.")},created(){},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}},isTalking:{get(){return this.isSpeaking}}},methods:{text_element_changed(){console.log("text_element_changed"),this.cursorPosition=this.$refs.text_element.selectionStart},text_element_clicked(){console.log("text_element_clicked"),this.cursorPosition=this.$refs.text_element.selectionStart},setModel(){this.selecting_model=!0,ve.post("/update_setting",{setting_name:"model_name",setting_value:this.selectedModel}).then(t=>{console.log(t),t.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(t=>{this.$refs.toast.showToast(`Error ${t}`,4,!0),this.selecting_model=!1})},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.text.substring(o,o+e);const i=[".","!","?",` -`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{const o=n(t),r=this.text.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.cursorPosition},appendToOutput(t){this.pre_text+=t,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let t=this.text.indexOf("@@");if(t<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,t)+this.text.substring(t+26,this.text.length),this.pre_text=this.text.substring(0,t),this.post_text=this.text.substring(t,this.text.length);var e=this.text.substring(0,t);console.log(e),Ce.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var t=this.text.substring(0,this.getCursorPosition());console.log(t),Ce.emit("generate_text",{prompt:t,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){Ce.emit("cancel_text_generation",{})},exportText(){const t=this.text,e=document.createElement("a"),n=new Blob([t],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const t=document.getElementById("import-input");t&&(t.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const n=new FileReader;n.onload=()=>{this.text=n.result},n.readAsText(e.target.files[0])}else alert("Please select a file.")}),t.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=iTe(this.selectedPreset.content,t=>{console.log("Done"),console.log(t),this.text=t})},addPreset(){let t=prompt("Enter the title of the preset:");this.presets[t]={name:t,content:this.text},ve.post("./add_preset",this.presets[t]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){ve.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=t=>{this.generated="";for(let e=t.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},lTe={class:"container bg-bg-light dark:bg-bg-dark shadow-lg overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},cTe={class:"container flex flex-row m-2"},dTe={class:"flex-grow m-2"},uTe={class:"flex gap-3 flex-1 items-center flex-grow flex-row m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},hTe=c("i",{"data-feather":"pen-tool"},null,-1),fTe=[hTe],pTe=c("i",{"data-feather":"archive"},null,-1),gTe=[pTe],mTe=c("span",{class:"w-80"},null,-1),_Te=c("i",{"data-feather":"x"},null,-1),bTe=[_Te],yTe=c("i",{"data-feather":"mic"},null,-1),vTe=[yTe],xTe=c("i",{"data-feather":"volume-2"},null,-1),wTe=[xTe],kTe=c("i",{"data-feather":"upload"},null,-1),ETe=[kTe],CTe=c("i",{"data-feather":"download"},null,-1),ATe=[CTe],STe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},TTe=c("input",{type:"file",id:"import-input",class:"hidden"},null,-1),MTe={key:0},OTe={key:1},RTe=["value"],NTe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},LTe=c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Selecting model...")],-1),DTe=[LTe],ITe=["value"],PTe=c("br",null,null,-1),FTe=c("i",{"data-feather":"check"},null,-1),BTe=[FTe],zTe=c("i",{"data-feather":"plus"},null,-1),$Te=[zTe],UTe=c("i",{"data-feather":"x"},null,-1),jTe=[UTe],qTe=c("i",{"data-feather":"refresh-ccw"},null,-1),HTe=[qTe],VTe={class:"slider-container ml-2 mr-2"},GTe=c("h3",{class:"text-gray-600"},"Temperature",-1),KTe={class:"slider-value text-gray-500"},ZTe={class:"slider-container ml-2 mr-2"},WTe=c("h3",{class:"text-gray-600"},"Top K",-1),YTe={class:"slider-value text-gray-500"},JTe={class:"slider-container ml-2 mr-2"},QTe=c("h3",{class:"text-gray-600"},"Top P",-1),XTe={class:"slider-value text-gray-500"},eMe={class:"slider-container ml-2 mr-2"},tMe=c("h3",{class:"text-gray-600"},"Repeat Penalty",-1),nMe={class:"slider-value text-gray-500"},sMe={class:"slider-container ml-2 mr-2"},oMe=c("h3",{class:"text-gray-600"},"Repeat Last N",-1),rMe={class:"slider-value text-gray-500"},iMe={class:"slider-container ml-2 mr-2"},aMe=c("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),lMe={class:"slider-value text-gray-500"},cMe={class:"slider-container ml-2 mr-2"},dMe=c("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),uMe={class:"slider-value text-gray-500"},hMe={class:"slider-container ml-2 mr-2"},fMe=c("h3",{class:"text-gray-600"},"Seed",-1),pMe={class:"slider-value text-gray-500"};function gMe(t,e,n,s,o,r){const i=Ie("MarkdownRenderer"),a=Ie("Card"),l=Ie("Toast");return v(),E(Ae,null,[c("div",lTe,[c("div",cTe,[c("div",dTe,[c("div",uTe,[Q(c("button",{id:"generate-button",onClick:e[0]||(e[0]=(...d)=>r.generate&&r.generate(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},fTe,512),[[We,!o.generating]]),Q(c("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...d)=>r.generate_in_placeholder&&r.generate_in_placeholder(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},gTe,512),[[We,!o.generating]]),mTe,Q(c("button",{id:"stop-button",onClick:e[2]||(e[2]=(...d)=>r.stopGeneration&&r.stopGeneration(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},bTe,512),[[We,o.generating]]),c("button",{type:"button",onClick:e[3]||(e[3]=(...d)=>r.startSpeechRecognition&&r.startSpeechRecognition(...d)),class:ke([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},vTe,2),c("button",{title:"speak",onClick:e[4]||(e[4]=ae(d=>r.speak(),["stop"])),class:ke([{"text-red-500":r.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},wTe,2),Q(c("button",{id:"export-button",onClick:e[5]||(e[5]=(...d)=>r.exportText&&r.exportText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},ETe,512),[[We,!o.generating]]),Q(c("button",{id:"import-button",onClick:e[6]||(e[6]=(...d)=>r.importText&&r.importText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},ATe,512),[[We,!o.generating]]),c("div",STe,[c("button",{class:ke(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="source"}]),onClick:e[7]||(e[7]=d=>o.tab_id="source")}," Source ",2),c("button",{class:ke(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="render"}]),onClick:e[8]||(e[8]=d=>o.tab_id="render")}," Render ",2)]),TTe]),c("div",{class:ke(["flex-grow m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4",{"border-red-500":o.generating}])},[o.tab_id==="source"?(v(),E("div",MTe,[Q(c("textarea",{onClick:e[9]||(e[9]=(...d)=>r.text_element_clicked&&r.text_element_clicked(...d)),onKeyup:e[10]||(e[10]=(...d)=>r.text_element_changed&&r.text_element_changed(...d)),"onUpdate:modelValue":e[11]||(e[11]=d=>o.text=d),ref:"text_element",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full mt-4 h-64 p-2 rounded shadow-lg overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",type:"text"},null,544),[[Re,o.text]]),c("span",null,"Cursor position "+z(o.cursorPosition),1)])):R("",!0),o.tab_id==="render"?(v(),E("div",OTe,[le(i,{ref:"mdRender","markdown-text":o.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):R("",!0)],2)]),le(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[le(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Q(c("select",{"onUpdate:modelValue":e[12]||(e[12]=d=>r.selectedModel=d),onChange:e[13]||(e[13]=(...d)=>r.setModel&&r.setModel(...d)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(v(!0),E(Ae,null,Ue(r.models,d=>(v(),E("option",{key:d,value:d},z(d),9,RTe))),128))],544),[[qt,r.selectedModel]]),o.selecting_model?(v(),E("div",NTe,DTe)):R("",!0)]),_:1}),le(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Q(c("select",{"onUpdate:modelValue":e[14]||(e[14]=d=>o.selectedPreset=d),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(v(!0),E(Ae,null,Ue(o.presets,d=>(v(),E("option",{key:d,value:d},z(d.name),9,ITe))),128))],512),[[qt,o.selectedPreset]]),PTe,c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[15]||(e[15]=(...d)=>r.setPreset&&r.setPreset(...d)),title:"Use preset"},BTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...d)=>r.addPreset&&r.addPreset(...d)),title:"Add this text as a preset"},$Te),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...d)=>r.removePreset&&r.removePreset(...d)),title:"Remove preset"},jTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...d)=>r.reloadPresets&&r.reloadPresets(...d)),title:"Reload presets list"},HTe)]),_:1}),le(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[c("div",VTe,[GTe,Q(c("input",{type:"range","onUpdate:modelValue":e[19]||(e[19]=d=>o.temperature=d),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[Re,o.temperature]]),c("span",KTe,"Current value: "+z(o.temperature),1)]),c("div",ZTe,[WTe,Q(c("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=d=>o.top_k=d),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[Re,o.top_k]]),c("span",YTe,"Current value: "+z(o.top_k),1)]),c("div",JTe,[QTe,Q(c("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=d=>o.top_p=d),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[Re,o.top_p]]),c("span",XTe,"Current value: "+z(o.top_p),1)]),c("div",eMe,[tMe,Q(c("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=d=>o.repeat_penalty=d),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.repeat_penalty]]),c("span",nMe,"Current value: "+z(o.repeat_penalty),1)]),c("div",sMe,[oMe,Q(c("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=d=>o.repeat_last_n=d),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.repeat_last_n]]),c("span",rMe,"Current value: "+z(o.repeat_last_n),1)]),c("div",iMe,[aMe,Q(c("input",{type:"number","onUpdate:modelValue":e[24]||(e[24]=d=>o.n_crop=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.n_crop]]),c("span",lMe,"Current value: "+z(o.n_crop),1)]),c("div",cMe,[dMe,Q(c("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=d=>o.n_predicts=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.n_predicts]]),c("span",uMe,"Current value: "+z(o.n_predicts),1)]),c("div",hMe,[fMe,Q(c("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=d=>o.seed=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.seed]]),c("span",pMe,"Current value: "+z(o.seed),1)])]),_:1})]),_:1})])]),le(l,{ref:"toast"},null,512)],64)}const mMe=ze(aTe,[["render",gMe]]);const _Me={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(Cm(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(t){this.activeExtension=t}}},bMe={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},yMe={key:0},vMe=["onClick"],xMe={key:0},wMe=["src"],kMe={key:1},EMe=c("p",null,"No extension is active. Please install and activate an extension.",-1),CMe=[EMe];function AMe(t,e,n,s,o,r){return v(),E("div",bMe,[r.activeExtensions.length>0?(v(),E("div",yMe,[(v(!0),E(Ae,null,Ue(r.activeExtensions,i=>(v(),E("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[c("div",{class:ke({"active-tab":i===o.activeExtension})},z(i.name),3)],8,vMe))),128)),o.activeExtension?(v(),E("div",xMe,[c("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,wMe)])):R("",!0)])):(v(),E("div",kMe,CMe))])}const SMe=ze(_Me,[["render",AMe]]);var $g={exports:{}};/* @license + `,document.body.appendChild(r);const i=r.querySelector("#cancelButton"),a=r.querySelector("#okButton");i.addEventListener("click",()=>{document.body.removeChild(r),s(null)}),a.addEventListener("click",()=>{if(n.length===0){const d=r.querySelector("#replacementInput").value.trim();document.body.removeChild(r),s(d)}else{const d=r.querySelector("#options_selector").value.trim();document.body.removeChild(r),s(d)}})})}function lTe(t,e){console.log(t);let n={},s=/@<([^>]+)>@/g,o=[],r;for(;(r=s.exec(t))!==null;)o.push("@<"+r[1]+">@");console.log("matches"),console.log(o),o=[...new Set(o)];async function i(l){console.log(l);let d=l.toLowerCase().substring(2,l.length-2);if(d!=="generation_placeholder")if(d.includes(":")){Object.entries({all_language_options:"english:french:german:chinese:japanese:spanish:italian:russian:portuguese:swedish:danish:dutch:norwegian:slovak:czech:hungarian:polish:ukrainian:bulgarian:latvian:lithuanian:estonian:maltese:irish:galician:basque:welsh:breton:georgian:turkmen:kazakh:uzbek:tajik:afghan:sri-lankan:filipino:vietnamese:lao:cambodian:thai:burmese:kenyan:botswanan:zimbabwean:malawian:mozambican:angolan:namibian:south-african:madagascan:seychellois:mauritian:haitian:peruvian:ecuadorian:bolivian:paraguayan:chilean:argentinean:uruguayan:brazilian:colombian:venezuelan:puerto-rican:cuban:dominican:honduran:nicaraguan:salvadorean:guatemalan:el-salvadoran:belizean:panamanian:costa-rican:antiguan:barbudan:dominica's:grenada's:st-lucia's:st-vincent's:gibraltarian:faroe-islander:greenlandic:icelandic:jamaican:trinidadian:tobagonian:barbadian:anguillan:british-virgin-islander:us-virgin-islander:turkish:israeli:palestinian:lebanese:egyptian:libyan:tunisian:algerian:moroccan:bahraini:kuwaiti:saudi-arabian:yemeni:omani:irani:iraqi:afghanistan's:pakistani:indian:nepalese:sri-lankan:maldivan:burmese:thai:lao:vietnamese:kampuchean:malaysian:bruneian:indonesian:australian:new-zealanders:fijians:tongans:samoans:vanuatuans:wallisians:kiribatians:tuvaluans:solomon-islanders:marshallese:micronesians:hawaiians",all_programming_language_options:"python:c:c++:java:javascript:php:ruby:go:swift:kotlin:rust:haskell:erlang:lisp:scheme:prolog:cobol:fortran:pascal:delphi:d:eiffel:h:basic:visual_basic:smalltalk:objective-c:html5:node.js:vue.js:svelte:react:angular:ember:clipper:stex:arduino:brainfuck:r:assembly:mason:lepton:seacat:bbc_microbit:raspberry_pi_gpio:raspberry_pi_spi:raspberry_pi_i2c:raspberry_pi_uart:raspberry_pi_adc:raspberry_pi_ddio"}).forEach(([w,b])=>{console.log(`Key: ${w}, Value: ${b}`);function p(D){return D.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const x=p(w),A=new RegExp(x,"g");d=d.replace(A,b)});let h=d.split(":"),f=h[0],g=h[1]||"",m=[];h.length>2&&(m=h.slice(1));let _=await Oh(f,g,m);_!==null&&(n[l]=_)}else{let u=await Oh(d);u!==null&&(n[l]=u)}}let a=Promise.resolve();o.forEach(l=>{a=a.then(()=>i(l)).then(d=>{console.log(d)})}),a.then(()=>{Object.entries(n).forEach(([l,d])=>{console.log(`Key: ${l}, Value: ${d}`);function u(g){return g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const h=u(l),f=new RegExp(h,"g");t=t.replace(f,d)}),e(t)})}const cTe={name:"PlayGroundView",data(){return{selecting_model:!1,tab_id:"source",generating:!1,isSpeaking:!1,voices:[],isLesteningToVoice:!1,presets:[],selectedPreset:"",cursorPosition:0,text:"",pre_text:"",post_text:"",temperature:.1,top_k:50,top_p:.9,repeat_penalty:1.3,repeat_last_n:50,n_crop:-1,n_predicts:2e3,seed:-1,silenceTimeout:5e3}},components:{Toast:Ws,MarkdownRenderer:Ug,ClipBoardTextInput:xc,Card:jo},mounted(){ve.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),Ce.on("text_chunk",t=>{this.appendToOutput(t.chunk)}),Ce.on("text_generated",t=>{this.generating=!1}),Ce.on("generation_error",t=>{console.log("generation_error:",t),this.$refs.toast.showToast(`Error: ${t}`,4,!1),this.generating=!1}),Ce.on("connect",()=>{console.log("Connected to LoLLMs server"),this.$store.state.isConnected=!0,this.generating=!1}),Ce.on("buzzy",t=>{console.error("Server is busy. Wait for your turn",t),this.$refs.toast.showToast(`Error: ${t.message}`,4,!1),this.generating=!1}),Ce.on("generation_canceled",t=>{this.generating=!1,console.log("Generation canceled OK")}),this.$nextTick(()=>{ye.replace()}),"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser.")},created(){},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}},isTalking:{get(){return this.isSpeaking}}},methods:{text_element_changed(){console.log("text_element_changed"),this.cursorPosition=this.$refs.text_element.selectionStart},text_element_clicked(){console.log("text_element_clicked"),this.cursorPosition=this.$refs.text_element.selectionStart},setModel(){this.selecting_model=!0,ve.post("/update_setting",{setting_name:"model_name",setting_value:this.selectedModel}).then(t=>{console.log(t),t.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(t=>{this.$refs.toast.showToast(`Error ${t}`,4,!0),this.selecting_model=!1})},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.text.substring(o,o+e);const i=[".","!","?",` +`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{const o=n(t),r=this.text.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.cursorPosition},appendToOutput(t){this.pre_text+=t,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let t=this.text.indexOf("@@");if(t<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,t)+this.text.substring(t+26,this.text.length),this.pre_text=this.text.substring(0,t),this.post_text=this.text.substring(t,this.text.length);var e=this.text.substring(0,t);console.log(e),Ce.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var t=this.text.substring(0,this.getCursorPosition());console.log(t),Ce.emit("generate_text",{prompt:t,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){Ce.emit("cancel_text_generation",{})},exportText(){const t=this.text,e=document.createElement("a"),n=new Blob([t],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const t=document.getElementById("import-input");t&&(t.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const n=new FileReader;n.onload=()=>{this.text=n.result},n.readAsText(e.target.files[0])}else alert("Please select a file.")}),t.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=lTe(this.selectedPreset.content,t=>{console.log("Done"),console.log(t),this.text=t})},addPreset(){let t=prompt("Enter the title of the preset:");this.presets[t]={name:t,content:this.text},ve.post("./add_preset",this.presets[t]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){ve.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=t=>{this.generated="";for(let e=t.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},dTe={class:"container bg-bg-light dark:bg-bg-dark shadow-lg overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},uTe={class:"container flex flex-row m-2"},hTe={class:"flex-grow m-2"},fTe={class:"flex gap-3 flex-1 items-center flex-grow flex-row m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4"},pTe=c("i",{"data-feather":"pen-tool"},null,-1),gTe=[pTe],mTe=c("i",{"data-feather":"archive"},null,-1),_Te=[mTe],bTe=c("span",{class:"w-80"},null,-1),yTe=c("i",{"data-feather":"x"},null,-1),vTe=[yTe],xTe=c("i",{"data-feather":"mic"},null,-1),wTe=[xTe],kTe=c("i",{"data-feather":"volume-2"},null,-1),ETe=[kTe],CTe=c("i",{"data-feather":"upload"},null,-1),ATe=[CTe],STe=c("i",{"data-feather":"download"},null,-1),TTe=[STe],MTe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},OTe=c("input",{type:"file",id:"import-input",class:"hidden"},null,-1),RTe={key:0},DTe={key:1},NTe=["value"],LTe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},ITe=c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Selecting model...")],-1),PTe=[ITe],FTe=["value"],BTe=c("br",null,null,-1),zTe=c("i",{"data-feather":"check"},null,-1),$Te=[zTe],UTe=c("i",{"data-feather":"plus"},null,-1),jTe=[UTe],qTe=c("i",{"data-feather":"x"},null,-1),HTe=[qTe],VTe=c("i",{"data-feather":"refresh-ccw"},null,-1),GTe=[VTe],KTe={class:"slider-container ml-2 mr-2"},ZTe=c("h3",{class:"text-gray-600"},"Temperature",-1),WTe={class:"slider-value text-gray-500"},YTe={class:"slider-container ml-2 mr-2"},JTe=c("h3",{class:"text-gray-600"},"Top K",-1),QTe={class:"slider-value text-gray-500"},XTe={class:"slider-container ml-2 mr-2"},eMe=c("h3",{class:"text-gray-600"},"Top P",-1),tMe={class:"slider-value text-gray-500"},nMe={class:"slider-container ml-2 mr-2"},sMe=c("h3",{class:"text-gray-600"},"Repeat Penalty",-1),oMe={class:"slider-value text-gray-500"},rMe={class:"slider-container ml-2 mr-2"},iMe=c("h3",{class:"text-gray-600"},"Repeat Last N",-1),aMe={class:"slider-value text-gray-500"},lMe={class:"slider-container ml-2 mr-2"},cMe=c("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),dMe={class:"slider-value text-gray-500"},uMe={class:"slider-container ml-2 mr-2"},hMe=c("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),fMe={class:"slider-value text-gray-500"},pMe={class:"slider-container ml-2 mr-2"},gMe=c("h3",{class:"text-gray-600"},"Seed",-1),mMe={class:"slider-value text-gray-500"};function _Me(t,e,n,s,o,r){const i=Ie("MarkdownRenderer"),a=Ie("Card"),l=Ie("Toast");return y(),E(Ae,null,[c("div",dTe,[c("div",uTe,[c("div",hTe,[c("div",fTe,[Q(c("button",{id:"generate-button",onClick:e[0]||(e[0]=(...d)=>r.generate&&r.generate(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},gTe,512),[[We,!o.generating]]),Q(c("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...d)=>r.generate_in_placeholder&&r.generate_in_placeholder(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},_Te,512),[[We,!o.generating]]),bTe,Q(c("button",{id:"stop-button",onClick:e[2]||(e[2]=(...d)=>r.stopGeneration&&r.stopGeneration(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},vTe,512),[[We,o.generating]]),c("button",{type:"button",onClick:e[3]||(e[3]=(...d)=>r.startSpeechRecognition&&r.startSpeechRecognition(...d)),class:ke([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},wTe,2),c("button",{title:"speak",onClick:e[4]||(e[4]=ae(d=>r.speak(),["stop"])),class:ke([{"text-red-500":r.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},ETe,2),Q(c("button",{id:"export-button",onClick:e[5]||(e[5]=(...d)=>r.exportText&&r.exportText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},ATe,512),[[We,!o.generating]]),Q(c("button",{id:"import-button",onClick:e[6]||(e[6]=(...d)=>r.importText&&r.importText(...d)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},TTe,512),[[We,!o.generating]]),c("div",MTe,[c("button",{class:ke(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="source"}]),onClick:e[7]||(e[7]=d=>o.tab_id="source")}," Source ",2),c("button",{class:ke(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":o.tab_id=="render"}]),onClick:e[8]||(e[8]=d=>o.tab_id="render")}," Render ",2)]),OTe]),c("div",{class:ke(["flex-grow m-2 p-2 border border-blue-300 rounded-md border-2 border-blue-300 m-2 p-4",{"border-red-500":o.generating}])},[o.tab_id==="source"?(y(),E("div",RTe,[Q(c("textarea",{onClick:e[9]||(e[9]=(...d)=>r.text_element_clicked&&r.text_element_clicked(...d)),onKeyup:e[10]||(e[10]=(...d)=>r.text_element_changed&&r.text_element_changed(...d)),"onUpdate:modelValue":e[11]||(e[11]=d=>o.text=d),ref:"text_element",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full mt-4 h-64 p-2 rounded shadow-lg overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",type:"text"},null,544),[[Re,o.text]]),c("span",null,"Cursor position "+z(o.cursorPosition),1)])):R("",!0),o.tab_id==="render"?(y(),E("div",DTe,[le(i,{ref:"mdRender","markdown-text":o.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):R("",!0)],2)]),le(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[le(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[Q(c("select",{"onUpdate:modelValue":e[12]||(e[12]=d=>r.selectedModel=d),onChange:e[13]||(e[13]=(...d)=>r.setModel&&r.setModel(...d)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(y(!0),E(Ae,null,Ue(r.models,d=>(y(),E("option",{key:d,value:d},z(d),9,NTe))),128))],544),[[Ht,r.selectedModel]]),o.selecting_model?(y(),E("div",LTe,PTe)):R("",!0)]),_:1}),le(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[Q(c("select",{"onUpdate:modelValue":e[14]||(e[14]=d=>o.selectedPreset=d),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(y(!0),E(Ae,null,Ue(o.presets,d=>(y(),E("option",{key:d,value:d},z(d.name),9,FTe))),128))],512),[[Ht,o.selectedPreset]]),BTe,c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[15]||(e[15]=(...d)=>r.setPreset&&r.setPreset(...d)),title:"Use preset"},$Te),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...d)=>r.addPreset&&r.addPreset(...d)),title:"Add this text as a preset"},jTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...d)=>r.removePreset&&r.removePreset(...d)),title:"Remove preset"},HTe),c("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...d)=>r.reloadPresets&&r.reloadPresets(...d)),title:"Reload presets list"},GTe)]),_:1}),le(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[c("div",KTe,[ZTe,Q(c("input",{type:"range","onUpdate:modelValue":e[19]||(e[19]=d=>o.temperature=d),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[Re,o.temperature]]),c("span",WTe,"Current value: "+z(o.temperature),1)]),c("div",YTe,[JTe,Q(c("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=d=>o.top_k=d),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[Re,o.top_k]]),c("span",QTe,"Current value: "+z(o.top_k),1)]),c("div",XTe,[eMe,Q(c("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=d=>o.top_p=d),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[Re,o.top_p]]),c("span",tMe,"Current value: "+z(o.top_p),1)]),c("div",nMe,[sMe,Q(c("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=d=>o.repeat_penalty=d),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.repeat_penalty]]),c("span",oMe,"Current value: "+z(o.repeat_penalty),1)]),c("div",rMe,[iMe,Q(c("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=d=>o.repeat_last_n=d),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.repeat_last_n]]),c("span",aMe,"Current value: "+z(o.repeat_last_n),1)]),c("div",lMe,[cMe,Q(c("input",{type:"number","onUpdate:modelValue":e[24]||(e[24]=d=>o.n_crop=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.n_crop]]),c("span",dMe,"Current value: "+z(o.n_crop),1)]),c("div",uMe,[hMe,Q(c("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=d=>o.n_predicts=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.n_predicts]]),c("span",fMe,"Current value: "+z(o.n_predicts),1)]),c("div",pMe,[gMe,Q(c("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=d=>o.seed=d),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Re,o.seed]]),c("span",mMe,"Current value: "+z(o.seed),1)])]),_:1})]),_:1})])]),le(l,{ref:"toast"},null,512)],64)}const bMe=ze(cTe,[["render",_Me]]);const yMe={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(Sm(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(t){this.activeExtension=t}}},vMe={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},xMe={key:0},wMe=["onClick"],kMe={key:0},EMe=["src"],CMe={key:1},AMe=c("p",null,"No extension is active. Please install and activate an extension.",-1),SMe=[AMe];function TMe(t,e,n,s,o,r){return y(),E("div",vMe,[r.activeExtensions.length>0?(y(),E("div",xMe,[(y(!0),E(Ae,null,Ue(r.activeExtensions,i=>(y(),E("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[c("div",{class:ke({"active-tab":i===o.activeExtension})},z(i.name),3)],8,wMe))),128)),o.activeExtension?(y(),E("div",kMe,[c("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,EMe)])):R("",!0)])):(y(),E("div",CMe,SMe))])}const MMe=ze(yMe,[["render",TMe]]);var jg={exports:{}};/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse License: MIT -*/(function(t,e){(function(n,s){t.exports=s()})(Bp,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(y,C){var M=(C=C||{}).dynamicTyping||!1;if(D(M)&&(C.dynamicTypingFunction=M,M={}),C.dynamicTyping=M,C.transform=!!D(C.transform)&&C.transform,C.worker&&l.WORKERS_SUPPORTED){var I=function(){if(!l.WORKERS_SUPPORTED)return!1;var X=(ue=s.URL||s.webkitURL||null,Y=n.toString(),l.BLOB_URL||(l.BLOB_URL=ue.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",Y,")();"],{type:"text/javascript"})))),P=new s.Worker(X),ue,Y;return P.onmessage=p,P.id=a++,i[P.id]=P}();return I.userStep=C.step,I.userChunk=C.chunk,I.userComplete=C.complete,I.userError=C.error,C.step=D(C.step),C.chunk=D(C.chunk),C.complete=D(C.complete),C.error=D(C.error),delete C.worker,void I.postMessage({input:y,config:C,workerId:I.id})}var B=null;return l.NODE_STREAM_INPUT,typeof y=="string"?(y=function(X){return X.charCodeAt(0)===65279?X.slice(1):X}(y),B=C.download?new h(C):new g(C)):y.readable===!0&&D(y.read)&&D(y.on)?B=new m(C):(s.File&&y instanceof File||y instanceof Object)&&(B=new f(C)),B.stream(y)},unparse:function(y,C){var M=!1,I=!0,B=",",X=`\r -`,P='"',ue=P+P,Y=!1,T=null,H=!1;(function(){if(typeof C=="object"){if(typeof C.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ne){return C.delimiter.indexOf(ne)!==-1}).length||(B=C.delimiter),(typeof C.quotes=="boolean"||typeof C.quotes=="function"||Array.isArray(C.quotes))&&(M=C.quotes),typeof C.skipEmptyLines!="boolean"&&typeof C.skipEmptyLines!="string"||(Y=C.skipEmptyLines),typeof C.newline=="string"&&(X=C.newline),typeof C.quoteChar=="string"&&(P=C.quoteChar),typeof C.header=="boolean"&&(I=C.header),Array.isArray(C.columns)){if(C.columns.length===0)throw new Error("Option columns is empty");T=C.columns}C.escapeChar!==void 0&&(ue=C.escapeChar+P),(typeof C.escapeFormulae=="boolean"||C.escapeFormulae instanceof RegExp)&&(H=C.escapeFormulae instanceof RegExp?C.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(w(P),"g");if(typeof y=="string"&&(y=JSON.parse(y)),Array.isArray(y)){if(!y.length||Array.isArray(y[0]))return we(null,y,Y);if(typeof y[0]=="object")return we(T||Object.keys(y[0]),y,Y)}else if(typeof y=="object")return typeof y.data=="string"&&(y.data=JSON.parse(y.data)),Array.isArray(y.data)&&(y.fields||(y.fields=y.meta&&y.meta.fields||T),y.fields||(y.fields=Array.isArray(y.data[0])?y.fields:typeof y.data[0]=="object"?Object.keys(y.data[0]):[]),Array.isArray(y.data[0])||typeof y.data[0]=="object"||(y.data=[y.data])),we(y.fields||[],y.data||[],Y);throw new Error("Unable to serialize unrecognized input");function we(ne,Ee,Me){var L="";typeof ne=="string"&&(ne=JSON.parse(ne)),typeof Ee=="string"&&(Ee=JSON.parse(Ee));var ee=Array.isArray(ne)&&0=this._config.preview;if(r)s.postMessage({results:X,workerId:l.WORKER_ID,finished:ue});else if(D(this._config.chunk)&&!M){if(this._config.chunk(X,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);X=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(X.data),this._completeResults.errors=this._completeResults.errors.concat(X.errors),this._completeResults.meta=X.meta),this._completed||!ue||!D(this._config.complete)||X&&X.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ue||X&&X.meta.paused||this._nextChunk(),X}this._halted=!0},this._sendError=function(C){D(this._config.error)?this._config.error(C):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:C,finished:!1})}}function h(y){var C;(y=y||{}).chunkSize||(y.chunkSize=l.RemoteChunkSize),u.call(this,y),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(C=new XMLHttpRequest,this._config.withCredentials&&(C.withCredentials=this._config.withCredentials),o||(C.onload=O(this._chunkLoaded,this),C.onerror=O(this._chunkError,this)),C.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var I in M)C.setRequestHeader(I,M[I])}if(this._config.chunkSize){var B=this._start+this._config.chunkSize-1;C.setRequestHeader("Range","bytes="+this._start+"-"+B)}try{C.send(this._config.downloadRequestBody)}catch(X){this._chunkError(X.message)}o&&C.status===0&&this._chunkError()}},this._chunkLoaded=function(){C.readyState===4&&(C.status<200||400<=C.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:C.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(M){var I=M.getResponseHeader("Content-Range");return I===null?-1:parseInt(I.substring(I.lastIndexOf("/")+1))}(C),this.parseChunk(C.responseText)))},this._chunkError=function(M){var I=C.statusText||M;this._sendError(new Error(I))}}function f(y){var C,M;(y=y||{}).chunkSize||(y.chunkSize=l.LocalChunkSize),u.call(this,y);var I=typeof FileReader<"u";this.stream=function(B){this._input=B,M=B.slice||B.webkitSlice||B.mozSlice,I?((C=new FileReader).onload=O(this._chunkLoaded,this),C.onerror=O(this._chunkError,this)):C=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(B.target.result)},this._chunkError=function(){this._sendError(C.error)}}function g(y){var C;u.call(this,y=y||{}),this.stream=function(M){return C=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,I=this._config.chunkSize;return I?(M=C.substring(0,I),C=C.substring(I)):(M=C,C=""),this._finished=!C,this.parseChunk(M)}}}function m(y){u.call(this,y=y||{});var C=[],M=!0,I=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(B){this._input=B,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){I&&C.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),C.length?this.parseChunk(C.shift()):M=!0},this._streamData=O(function(B){try{C.push(typeof B=="string"?B:B.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(C.shift()))}catch(X){this._streamError(X)}},this),this._streamError=O(function(B){this._streamCleanUp(),this._sendError(B)},this),this._streamEnd=O(function(){this._streamCleanUp(),I=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(y){var C,M,I,B=Math.pow(2,53),X=-B,P=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ue=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Y=this,T=0,H=0,G=!1,we=!1,be=[],ne={data:[],errors:[],meta:{}};if(D(y.step)){var Ee=y.step;y.step=function(te){if(ne=te,ee())L();else{if(L(),ne.data.length===0)return;T+=te.data.length,y.preview&&T>y.preview?M.abort():(ne.data=ne.data[0],Ee(ne,Y))}}}function Me(te){return y.skipEmptyLines==="greedy"?te.join("").trim()==="":te.length===1&&te[0].length===0}function L(){return ne&&I&&(se("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),I=!1),y.skipEmptyLines&&(ne.data=ne.data.filter(function(te){return!Me(te)})),ee()&&function(){if(!ne)return;function te(he,k){D(y.transformHeader)&&(he=y.transformHeader(he,k)),be.push(he)}if(Array.isArray(ne.data[0])){for(var ge=0;ee()&&ge=be.length?"__parsed_extra":be[S]),y.transform&&(U=y.transform(U,$)),U=V($,U),$==="__parsed_extra"?(F[$]=F[$]||[],F[$].push(U)):F[$]=U}return y.header&&(S>be.length?se("FieldMismatch","TooManyFields","Too many fields: expected "+be.length+" fields but parsed "+S,H+k):S=this._config.preview;if(r)s.postMessage({results:X,workerId:l.WORKER_ID,finished:ue});else if(L(this._config.chunk)&&!M){if(this._config.chunk(X,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);X=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(X.data),this._completeResults.errors=this._completeResults.errors.concat(X.errors),this._completeResults.meta=X.meta),this._completed||!ue||!L(this._config.complete)||X&&X.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ue||X&&X.meta.paused||this._nextChunk(),X}this._halted=!0},this._sendError=function(C){L(this._config.error)?this._config.error(C):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:C,finished:!1})}}function h(v){var C;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),u.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(C=new XMLHttpRequest,this._config.withCredentials&&(C.withCredentials=this._config.withCredentials),o||(C.onload=O(this._chunkLoaded,this),C.onerror=O(this._chunkError,this)),C.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var I in M)C.setRequestHeader(I,M[I])}if(this._config.chunkSize){var B=this._start+this._config.chunkSize-1;C.setRequestHeader("Range","bytes="+this._start+"-"+B)}try{C.send(this._config.downloadRequestBody)}catch(X){this._chunkError(X.message)}o&&C.status===0&&this._chunkError()}},this._chunkLoaded=function(){C.readyState===4&&(C.status<200||400<=C.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:C.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(M){var I=M.getResponseHeader("Content-Range");return I===null?-1:parseInt(I.substring(I.lastIndexOf("/")+1))}(C),this.parseChunk(C.responseText)))},this._chunkError=function(M){var I=C.statusText||M;this._sendError(new Error(I))}}function f(v){var C,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),u.call(this,v);var I=typeof FileReader<"u";this.stream=function(B){this._input=B,M=B.slice||B.webkitSlice||B.mozSlice,I?((C=new FileReader).onload=O(this._chunkLoaded,this),C.onerror=O(this._chunkError,this)):C=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(B.target.result)},this._chunkError=function(){this._sendError(C.error)}}function g(v){var C;u.call(this,v=v||{}),this.stream=function(M){return C=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,I=this._config.chunkSize;return I?(M=C.substring(0,I),C=C.substring(I)):(M=C,C=""),this._finished=!C,this.parseChunk(M)}}}function m(v){u.call(this,v=v||{});var C=[],M=!0,I=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(B){this._input=B,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){I&&C.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),C.length?this.parseChunk(C.shift()):M=!0},this._streamData=O(function(B){try{C.push(typeof B=="string"?B:B.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(C.shift()))}catch(X){this._streamError(X)}},this),this._streamError=O(function(B){this._streamCleanUp(),this._sendError(B)},this),this._streamEnd=O(function(){this._streamCleanUp(),I=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(v){var C,M,I,B=Math.pow(2,53),X=-B,P=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ue=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Y=this,T=0,H=0,K=!1,we=!1,be=[],ne={data:[],errors:[],meta:{}};if(L(v.step)){var Ee=v.step;v.step=function(te){if(ne=te,ee())N();else{if(N(),ne.data.length===0)return;T+=te.data.length,v.preview&&T>v.preview?M.abort():(ne.data=ne.data[0],Ee(ne,Y))}}}function Me(te){return v.skipEmptyLines==="greedy"?te.join("").trim()==="":te.length===1&&te[0].length===0}function N(){return ne&&I&&(se("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),I=!1),v.skipEmptyLines&&(ne.data=ne.data.filter(function(te){return!Me(te)})),ee()&&function(){if(!ne)return;function te(he,k){L(v.transformHeader)&&(he=v.transformHeader(he,k)),be.push(he)}if(Array.isArray(ne.data[0])){for(var ge=0;ee()&&ge=be.length?"__parsed_extra":be[S]),v.transform&&(U=v.transform(U,$)),U=V($,U),$==="__parsed_extra"?(F[$]=F[$]||[],F[$].push(U)):F[$]=U}return v.header&&(S>be.length?se("FieldMismatch","TooManyFields","Too many fields: expected "+be.length+" fields but parsed "+S,H+k):S=ce.length/2?`\r -`:"\r"}(te,k)),I=!1,y.delimiter)D(y.delimiter)&&(y.delimiter=y.delimiter(te),ne.meta.delimiter=y.delimiter);else{var S=function($,U,oe,ce,j){var re,q,J,de;j=j||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var pe=0;pe=P)return Ze(!0)}else for(fe=T,T++;;){if((fe=G.indexOf(C,fe+1))===-1)return be||se.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Oe();if(fe===ne-1)return Oe(G.substring(T,fe).replace(pe,C));if(C!==Y||G[fe+1]!==Y){if(C===Y||fe===0||G[fe-1]!==Y){J!==-1&&J=P)return Ze(!0);break}se.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),fe++}}else fe++}return Oe();function ie(nt){V.push(nt),ge=T}function me(nt){var ot=0;if(nt!==-1){var ct=G.substring(fe+1,nt);ct&&ct.trim()===""&&(ot=ct.length)}return ot}function Oe(nt){return be||(nt===void 0&&(nt=G.substring(T)),te.push(nt),T=ne,ie(te),ee&&Fe()),Ze()}function $e(nt){T=nt,ie(te),te=[],de=G.indexOf(I,T)}function Ze(nt){return{data:V,errors:se,meta:{delimiter:M,linebreak:I,aborted:H,truncated:!!nt,cursor:ge+(we||0)}}}function Fe(){X(Ze()),V=[],se=[]}},this.abort=function(){H=!0},this.getCharIndex=function(){return T}}function p(y){var C=y.data,M=i[C.workerId],I=!1;if(C.error)M.userError(C.error,C.file);else if(C.results&&C.results.data){var B={abort:function(){I=!0,x(C.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(D(M.userStep)){for(var X=0;Xt.text()).then(t=>{const{data:e}=MMe.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},mn=t=>(is("data-v-c8c43118"),t=t(),as(),t),RMe={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},NMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),LMe={class:"mb-4"},DMe=mn(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),IMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),PMe={class:"list-disc pl-4"},FMe={class:"text-xl font-bold mb-1"},BMe=["innerHTML"],zMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Contact Us",-1)),$Me=mn(()=>c("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me.",-1)),UMe=mn(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),jMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Credits",-1)),qMe=mn(()=>c("p",{class:"mb-4"},[xe("This project is developed by "),c("span",{class:"font-bold"},"ParisNeo"),xe(" With help from the community.")],-1)),HMe=mn(()=>c("p",{class:"mb-4"},[c("span",{class:"font-bold"},[c("a",{href:"https://github.com/ParisNeo/lollms-webui/graphs/contributors"},"Check out the full list of developers here and show them some love.")])],-1)),VMe=["href"];function GMe(t,e,n,s,o,r){const i=Ie("Card");return v(),E("div",RMe,[le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[NMe,c("p",LMe," Lollms version "+z(r.version),1),DMe]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[IMe,c("ul",PMe,[(v(!0),E(Ae,null,Ue(o.faqs,(a,l)=>(v(),E("li",{key:l},[c("h3",FMe,z(a.question),1),c("p",{class:"mb-4",innerHTML:r.parseMultiline(a.answer)},null,8,BMe)]))),128))])]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[zMe,$Me,UMe]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[jMe,qMe,HMe,c("p",null,[xe("Check out the project on "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,VMe),xe(".")])]),_:1})])}const KMe=ze(OMe,[["render",GMe],["__scopeId","data-v-c8c43118"]]);function Kt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):R("",!0)}const Ug=ze(ZMe,[["render",XMe]]),eOe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},tOe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},nOe={class:"relative w-full max-w-md max-h-full"},sOe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},oOe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),rOe=c("span",{class:"sr-only"},"Close modal",-1),iOe=[oOe,rOe],aOe={class:"p-4 text-center"},lOe=c("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),cOe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function dOe(t,e,n,s,o,r){return o.show?(v(),E("div",tOe,[c("div",nOe,[c("div",sOe,[c("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},iOe),c("div",aOe,[lOe,c("h3",cOe,z(o.message),1),c("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},z(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},z(o.DenyButtonText),1)])])])])):R("",!0)}const uOe=ze(eOe,[["render",dOe]]),mo="/assets/default_model-9e24e852.png";const hOe={props:{title:{type:String,required:!1,value:"menu"},icon:{type:String,required:!1,value:"feather:menu"},commands:{type:Array,required:!0},force_position:{required:!1,value:0},execute_cmd:{type:Function,required:!1},selected_entry:{type:String,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside),_e(()=>{ye.replace()})},executeCommand(t){this.isMenuOpen=!1,console.log("Selected"),console.log(t.value),typeof t.value=="function"&&(console.log("Command detected"),t.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(t))},positionMenu(){var t;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),n=window.innerHeight;t=e.bottom>n/2}else this.force_position==1?t=!0:t=!1;this.menuPosition.top=t?"auto":"calc(100% + 10px)",this.menuPosition.bottom=t?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),_e(()=>{ye.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},fOe={class:"menu-container"},pOe=["title"],gOe=["src"],mOe=["data-feather"],_Oe={key:2,class:"w-5 h-5"},bOe={key:3,"data-feather":"menu"},yOe={class:"flex-grow menu-ul"},vOe=["onClick"],xOe={key:0,"data-feather":"check"},wOe=["src","alt"],kOe=["data-feather"],EOe={key:3,class:"menu-icon"};function COe(t,e,n,s,o,r){return v(),E("div",fOe,[c("button",{onClick:e[0]||(e[0]=ae((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),title:n.title,class:"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer",ref:"menuButton"},[n.icon&&!n.icon.includes("#")&&!n.icon.includes("feather")?(v(),E("img",{key:0,src:n.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,gOe)):n.icon&&n.icon.includes("feather")?(v(),E("i",{key:1,"data-feather":n.icon.split(":")[1],class:"w-5 h-5"},null,8,mOe)):n.icon&&n.icon.includes("#")?(v(),E("p",_Oe,z(n.icon.split("#")[1]),1)):(v(),E("i",bOe))],8,pOe),le(Os,{name:"slide"},{default:Ne(()=>[o.isMenuOpen?(v(),E("div",{key:0,class:"menu-list flex-grow",style:yt(o.menuPosition),ref:"menu"},[c("ul",yOe,[(v(!0),E(Ae,null,Ue(n.commands,(i,a)=>(v(),E("li",{key:a,onClick:ae(l=>r.executeCommand(i),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[n.selected_entry==i.name?(v(),E("i",xOe)):i.icon&&!i.icon.includes("feather")&&!i.is_file?(v(),E("img",{key:1,src:i.icon,alt:i.name,class:"menu-icon"},null,8,wOe)):R("",!0),i.icon&&i.icon.includes("feather")&&!i.is_file?(v(),E("i",{key:2,"data-feather":i.icon.split(":")[1],class:"mr-2"},null,8,kOe)):(v(),E("span",EOe)),c("span",null,z(i.name),1)],8,vOe))),128))])],4)):R("",!0)]),_:1})])}const jo=ze(hOe,[["render",COe]]),AOe={components:{InteractiveMenu:jo},props:{isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,linkNotValid:!1,selected_variant:""}},async mounted(){_e(()=>{ye.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Kt(t)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?mo:this.model.icon},defaultImg(t){t.target.src=mo},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(t=!1){this.onSelected(this,t)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){installing=!1,this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary":"border-0 border-primary bg-primary":"border-transparent"},commandsList(){let t=[{name:this.model.isInstalled?"Uninstall":"Install",icon:"feather:settings",is_file:!1,value:this.toggleInstall},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.selected&&t.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),t},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Kt(this.speed)},total_size_computed(){return Kt(this.total_size)},downloaded_size_computed(){return Kt(this.downloaded_size)}},watch:{linkNotValid(){_e(()=>{ye.replace()})}}},SOe=["title"],TOe={key:0,class:"flex flex-row"},MOe={class:"max-w-[300px] overflow-x-auto"},OOe={class:"flex gap-3 items-center grow"},ROe=["href"],NOe=["src"],LOe={class:"flex-1 overflow-hidden"},DOe={class:"font-bold font-large text-lg truncate"},IOe={key:1,class:"flex items-center flex-row gap-2 my-1"},POe={class:"flex grow items-center"},FOe=c("i",{"data-feather":"box",class:"w-5"},null,-1),BOe=c("span",{class:"sr-only"},"Custom model / local model",-1),zOe=[FOe,BOe],$Oe=c("span",{class:"sr-only"},"Remove",-1),UOe={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},jOe={class:"relative flex flex-col items-center justify-center flex-grow h-full"},qOe=c("div",{role:"status",class:"justify-center"},[c("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1),HOe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},VOe={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},GOe={class:"flex justify-between mb-1"},KOe=c("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),ZOe={class:"text-sm font-medium text-blue-700 dark:text-white"},WOe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},YOe={class:"flex justify-between mb-1"},JOe={class:"text-base font-medium text-blue-700 dark:text-white"},QOe={class:"text-sm font-medium text-blue-700 dark:text-white"},XOe={class:"flex flex-grow"},eRe={class:"flex flex-row flex-grow gap-3"},tRe={class:"p-2 text-center grow"},nRe={key:3},sRe={class:"flex flex-row items-center gap-3"},oRe=["src"],rRe={class:"font-bold font-large text-lg truncate"},iRe=c("div",{class:"grow"},null,-1),aRe={class:"flex items-center flex-row-reverse gap-2 my-1"},lRe={class:"flex flex-row items-center"},cRe={key:0,class:"text-base text-red-600 flex items-center mt-1"},dRe=c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),uRe=["title"],hRe={class:""},fRe={class:"flex flex-row items-center"},pRe=c("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),gRe=c("b",null,"Card: ",-1),mRe=["href","title"],_Re=c("div",{class:"grow"},null,-1),bRe=c("i",{"data-feather":"clipboard",class:"w-5"},null,-1),yRe=[bRe],vRe={class:"flex items-center"},xRe=c("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),wRe=c("b",null,"File size: ",-1),kRe={class:"flex items-center"},ERe=c("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),CRe=c("b",null,"License: ",-1),ARe={class:"flex items-center"},SRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),TRe=c("b",null,"quantizer: ",-1),MRe=["href"],ORe={class:"flex items-center"},RRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),NRe=c("b",null,"Model creator: ",-1),LRe=["href"],DRe={class:"flex items-center"},IRe=c("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),PRe=c("b",null,"Release date: ",-1),FRe={class:"flex items-center"},BRe=c("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),zRe=c("b",null,"Category: ",-1),$Re=["href"],URe={class:"flex items-center"},jRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),qRe=c("b",null,"Hugging face rank: ",-1);function HRe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return v(),E("div",{class:ke(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",r.computed_classes]),title:n.model.name},[n.model.isCustomModel?(v(),E("div",TOe,[c("div",MOe,[c("div",OOe,[c("a",{href:n.model.model_creator_link,target:"_blank"},[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,NOe)],8,ROe),c("div",LOe,[c("h3",DOe,z(n.model.name),1)])])])])):R("",!0),n.model.isCustomModel?(v(),E("div",IOe,[c("div",POe,[c("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ae(()=>{},["stop"]))},zOe),xe(" Custom model ")]),n.model.isInstalled?Q((v(),E("input",{key:0,"onUpdate:modelValue":e[2]||(e[2]=a=>n.model.selected=a),onClick:e[3]||(e[3]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),type:"checkbox",class:"cursor-pointer border-2 border-blue-300 rounded w-10 h-10"},null,512)),[[Qe,n.model.selected]]):R("",!0),c("div",null,[n.model.isInstalled?(v(),E("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[4]||(e[4]=ae((...a)=>r.toggleInstall&&r.toggleInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),$Oe])):R("",!0)])])):R("",!0),o.installing?(v(),E("div",UOe,[c("div",jOe,[qOe,c("div",HOe,[c("div",VOe,[c("div",GOe,[KOe,c("span",ZOe,z(Math.floor(o.progress))+"%",1)]),c("div",WOe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.progress+"%"})},null,4)]),c("div",YOe,[c("span",JOe,"Download speed: "+z(r.speed_computed)+"/s",1),c("span",QOe,z(r.downloaded_size_computed)+"/"+z(r.total_size_computed),1)])])]),c("div",XOe,[c("div",eRe,[c("div",tRe,[c("button",{onClick:e[5]||(e[5]=ae((...a)=>r.toggleCancelInstall&&r.toggleCancelInstall(...a),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):R("",!0),n.model.isCustomModel?R("",!0):(v(),E("div",nRe,[c("div",sRe,[c("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[6]||(e[6]=a=>r.defaultImg(a)),class:ke(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,oRe),c("h3",rRe,z(n.model.name),1),iRe,n.model.isInstalled?Q((v(),E("input",{key:0,"onUpdate:modelValue":e[7]||(e[7]=a=>n.model.selected=a),onClick:e[8]||(e[8]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),type:"checkbox",class:"cursor-pointer border-2 border-blue-300 rounded w-10 h-10"},null,512)),[[Qe,n.model.selected]]):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",aRe,[c("div",lRe,[o.linkNotValid?(v(),E("div",cRe,[dRe,xe(" Link is not valid ")])):R("",!0)])]),c("div",{class:"",title:n.model.isInstalled?n.model.name:"Not installed"},[c("div",hRe,[c("div",fRe,[pRe,gRe,c("a",{href:"https://huggingface.co/"+n.model.quantizer+"/"+n.model.name,target:"_blank",onClick:e[9]||(e[9]=ae(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," View full model card ",8,mRe),_Re,c("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[10]||(e[10]=ae(a=>r.toggleCopyLink(),["stop"]))},yRe)]),c("div",vRe,[c("div",{class:ke(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[xRe,wRe,xe(" "+z(r.fileSize),1)],2)]),c("div",kRe,[ERe,CRe,xe(" "+z(n.model.license),1)]),c("div",ARe,[SRe,TRe,c("a",{href:"https://huggingface.co/"+n.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[11]||(e[11]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.quantizer),9,MRe)]),c("div",ORe,[RRe,NRe,c("a",{href:n.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[12]||(e[12]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.model_creator),9,LRe)]),c("div",DRe,[IRe,PRe,xe(" "+z(n.model.last_commit_time),1)]),c("div",FRe,[BRe,zRe,c("a",{href:"https://huggingface.co/"+n.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[13]||(e[13]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.category),9,$Re)]),c("div",URe,[jRe,qRe,c("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",rel:"noopener noreferrer",onClick:e[14]||(e[14]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.rank),1)])])],8,uRe)]))],10,SOe)}const VRe=ze(AOe,[["render",HRe]]),GRe={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},KRe={class:"p-4"},ZRe={class:"flex items-center mb-4"},WRe=["src"],YRe={class:"text-lg font-semibold"},JRe=c("strong",null,"Author:",-1),QRe=c("strong",null,"Description:",-1),XRe=c("strong",null,"Category:",-1),eNe={key:0},tNe=c("strong",null,"Disclaimer:",-1),nNe=c("strong",null,"Conditioning Text:",-1),sNe=c("strong",null,"AI Prefix:",-1),oNe=c("strong",null,"User Prefix:",-1),rNe=c("strong",null,"Antiprompts:",-1);function iNe(t,e,n,s,o,r){return v(),E("div",KRe,[c("div",ZRe,[c("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,WRe),c("h2",YRe,z(o.personalityName),1)]),c("p",null,[JRe,xe(" "+z(o.personalityAuthor),1)]),c("p",null,[QRe,xe(" "+z(o.personalityDescription),1)]),c("p",null,[XRe,xe(" "+z(o.personalityCategory),1)]),o.disclaimer?(v(),E("p",eNe,[tNe,xe(" "+z(o.disclaimer),1)])):R("",!0),c("p",null,[nNe,xe(" "+z(o.conditioningText),1)]),c("p",null,[sNe,xe(" "+z(o.aiPrefix),1)]),c("p",null,[oNe,xe(" "+z(o.userPrefix),1)]),c("div",null,[rNe,c("ul",null,[(v(!0),E(Ae,null,Ue(o.antipromptsList,i=>(v(),E("li",{key:i.id},z(i.text),1))),128))])]),c("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(v(),E("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):R("",!0)])}const aNe=ze(GRe,[["render",iNe]]),Dn="/assets/logo-9d653710.svg",lNe="/",cNe={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:jo},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,_e(()=>{ye.replace()})},methods:{getImgUrl(){return lNe+this.personality.avatar},defaultImg(t){t.target.src=Dn},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ye.replace()})}}},dNe=["title"],uNe={class:"flex flex-row items-center flex-shrink-0 gap-3"},hNe=["src"],fNe={class:""},pNe={class:""},gNe={class:"flex items-center"},mNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),_Ne=c("b",null,"Author: ",-1),bNe={key:0,class:"flex items-center"},yNe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),vNe=c("b",null,"Languages: ",-1),xNe=["selected"],wNe={key:1,class:"flex items-center"},kNe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),ENe=c("b",null,"Language: ",-1),CNe={class:"flex items-center"},ANe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),SNe=c("b",null,"Category: ",-1),TNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),MNe=["title"],ONe={class:"rounded bg-blue-300"},RNe=c("i",{"data-feather":"check"},null,-1),NNe=c("span",{class:"sr-only"},"Select",-1),LNe=[RNe,NNe],DNe=c("i",{"data-feather":"send",class:"w-5"},null,-1),INe=c("span",{class:"sr-only"},"Talk",-1),PNe=[DNe,INe];function FNe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return v(),E("div",{class:ke(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.personality.installed?"":"Not installed"},[c("div",{class:ke(n.personality.installed?"":"border-red-500")},[c("div",uNe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,hNe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},z(n.personality.name),1)]),c("div",fNe,[c("div",pNe,[c("div",gNe,[mNe,_Ne,xe(" "+z(n.personality.author),1)]),n.personality.languages&&n.select_language?(v(),E("div",bNe,[yNe,vNe,Q(c("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>n.personality.language=a),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(v(!0),E(Ae,null,Ue(n.personality.languages,(a,l)=>(v(),E("option",{key:l,selected:a==n.personality.languages[0]},z(a),9,xNe))),128))],512),[[qt,n.personality.language]])])):R("",!0),n.personality.language?(v(),E("div",wNe,[kNe,ENe,xe(" "+z(n.personality.language),1)])):R("",!0),c("div",CNe,[ANe,SNe,xe(" "+z(n.personality.category),1)])]),TNe,c("p",{class:"mx-1 opacity-80 h-20 overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",title:n.personality.description},z(n.personality.description),9,MNe)]),c("div",ONe,[o.isMounted?(v(),E("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[5]||(e[5]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},LNe)):R("",!0),o.isMounted?(v(),E("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[7]||(e[7]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},PNe)):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,dNe)}const jg=ze(cNe,[["render",FNe]]);const BNe={props:{code:String},data(){return{evaluatedCode:""}},watch:{code:{handler(t){this.evaluateScriptTags(t)},immediate:!0}},methods:{evaluateScriptTags(t){const e=document.createElement("div");e.innerHTML=t,e.querySelectorAll("script").forEach(s=>{const o=document.createElement("script");o.textContent=s.textContent,document.body.appendChild(o),document.body.removeChild(o)}),this.evaluatedCode=e.innerHTML}}},zNe=["innerHTML"];function $Ne(t,e,n,s,o,r){return v(),E("div",{innerHTML:o.evaluatedCode},null,8,zNe)}const qg=ze(BNe,[["render",$Ne]]),UNe="/",jNe={components:{DynamicUIRenderer:qg},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){_e(()=>{ye.replace()})},methods:{getImgUrl(){return UNe+this.binding.icon},defaultImg(t){t.target.src=Dn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleUnInstall(){this.onUnInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){_e(()=>{ye.replace()})}}},qNe=["title"],HNe={class:"flex flex-row items-center gap-3"},VNe=["src"],GNe={class:"font-bold font-large text-lg truncate"},KNe=c("div",{class:"grow"},null,-1),ZNe={class:"flex-none gap-1"},WNe=c("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),YNe=c("span",{class:"sr-only"},"Help",-1),JNe=[WNe,YNe],QNe={class:"flex items-center flex-row-reverse gap-2 my-1"},XNe=c("span",{class:"sr-only"},"Click to install",-1),eLe=c("span",{class:"sr-only"},"Reinstall",-1),tLe=c("span",{class:"sr-only"},"UnInstall",-1),nLe=c("span",{class:"sr-only"},"Settings",-1),sLe={class:""},oLe={class:""},rLe={class:"flex items-center"},iLe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),aLe=c("b",null,"Author: ",-1),lLe={class:"flex items-center"},cLe=c("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),dLe=c("b",null,"Folder: ",-1),uLe={class:"flex items-center"},hLe=c("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),fLe=c("b",null,"Version: ",-1),pLe={class:"flex items-center"},gLe=c("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),mLe=c("b",null,"Link: ",-1),_Le=["href"],bLe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),yLe=["title"];function vLe(t,e,n,s,o,r){const i=Ie("DynamicUIRenderer");return v(),E("div",{class:ke(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[7]||(e[7]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[c("div",null,[c("div",HNe,[c("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,VNe),c("h3",GNe,z(n.binding.name),1),KNe,c("div",ZNe,[n.selected?(v(),E("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>r.toggleReloadBinding&&r.toggleReloadBinding(...a)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},JNe)):R("",!0)])]),c("div",QNe,[n.binding.installed?R("",!0):(v(),E("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ae((...a)=>r.toggleInstall&&r.toggleInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Install "),XNe])),n.binding.installed?(v(),E("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ae((...a)=>r.toggleReinstall&&r.toggleReinstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-green-700 hover:bg-red-800 focus:ring-4 focus:ring-green-300 rounded-lg dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-red-900"},[xe(" Reinstall "),eLe])):R("",!0),n.binding.installed?(v(),E("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=ae((...a)=>r.toggleUnInstall&&r.toggleUnInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),tLe])):R("",!0),n.selected?(v(),E("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=ae((...a)=>r.toggleSettings&&r.toggleSettings(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Settings "),nLe])):R("",!0)]),n.binding.ui?(v(),Xe(i,{key:0,class:"w-full h-full",code:n.binding.ui},null,8,["code"])):R("",!0),c("div",sLe,[c("div",oLe,[c("div",rLe,[iLe,aLe,xe(" "+z(n.binding.author),1)]),c("div",lLe,[cLe,dLe,xe(" "+z(n.binding.folder),1)]),c("div",uLe,[hLe,fLe,xe(" "+z(n.binding.version),1)]),c("div",pLe,[gLe,mLe,c("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},z(n.binding.link),9,_Le)])]),bLe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},z(n.binding.description),9,yLe)])])],10,qNe)}const xLe=ze(jNe,[["render",vLe]]),wLe={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},kLe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},ELe={class:"relative w-full max-w-md max-h-full"},CLe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},ALe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),SLe=c("span",{class:"sr-only"},"Close modal",-1),TLe=[ALe,SLe],MLe={class:"p-4 text-center"},OLe=c("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),RLe={class:"p-4 text-center mx-auto mb-4"},NLe=c("label",{class:"mr-2"},"Model path",-1);function LLe(t,e,n,s,o,r){return o.show?(v(),E("div",kLe,[c("div",ELe,[c("div",CLe,[c("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},TLe),c("div",MLe,[OLe,c("div",RLe,[NLe,Q(c("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[Re,o.model_path]])]),c("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),c("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):R("",!0)}const DLe=ze(wLe,[["render",LLe]]),ILe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){_e(()=>{ye.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){_e(()=>{ye.replace()})}}},PLe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},FLe={class:"relative w-full max-w-md"},BLe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},zLe={class:"flex flex-row flex-grow items-center m-2 p-1"},$Le={class:"grow flex items-center"},ULe=c("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),jLe={class:"text-lg font-semibold select-none mr-2"},qLe={class:"items-end"},HLe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),VLe=c("span",{class:"sr-only"},"Close form modal",-1),GLe=[HLe,VLe],KLe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},ZLe={class:"px-2"},WLe={key:0},YLe={key:0},JLe={class:"text-base font-semibold"},QLe={key:0,class:"relative inline-flex"},XLe=["onUpdate:modelValue"],eDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),tDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},nDe=["onUpdate:modelValue"],sDe={key:1},oDe={class:"text-base font-semibold"},rDe={key:0,class:"relative inline-flex"},iDe=["onUpdate:modelValue"],aDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),lDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cDe=["onUpdate:modelValue"],dDe=["value","selected"],uDe={key:1},hDe={class:"text-base font-semibold"},fDe={key:0,class:"relative inline-flex"},pDe=["onUpdate:modelValue"],gDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},_De=["onUpdate:modelValue"],bDe=["onUpdate:modelValue","min","max"],yDe={key:2},vDe={class:"mb-2 relative flex items-center gap-2"},xDe={for:"default-checkbox",class:"text-base font-semibold"},wDe=["onUpdate:modelValue"],kDe={key:0,class:"relative inline-flex"},EDe=["onUpdate:modelValue"],CDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ADe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},SDe={key:3},TDe={class:"text-base font-semibold"},MDe={key:0,class:"relative inline-flex"},ODe=["onUpdate:modelValue"],RDe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),NDe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},LDe=["onUpdate:modelValue"],DDe=c("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),IDe={class:"flex flex-row flex-grow gap-3"},PDe={class:"p-2 text-center grow"};function FDe(t,e,n,s,o,r){return o.show?(v(),E("div",PLe,[c("div",FLe,[c("div",BLe,[c("div",zLe,[c("div",$Le,[ULe,c("h3",jLe,z(o.title),1)]),c("div",qLe,[c("button",{type:"button",onClick:e[0]||(e[0]=ae(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},GLe)])]),c("div",KLe,[(v(!0),E(Ae,null,Ue(o.controls_array,(i,a)=>(v(),E("div",ZLe,[i.type=="str"?(v(),E("div",WLe,[i.options?R("",!0):(v(),E("div",YLe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",JLe,z(i.name)+": ",1),i.help?(v(),E("label",QLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,XLe),[[Qe,i.isHelp]]),eDe])):R("",!0)],2),i.isHelp?(v(),E("p",tDe,z(i.help),1)):R("",!0),Q(c("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,nDe),[[Re,i.value]])])),i.options?(v(),E("div",sDe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",oDe,z(i.name)+": ",1),i.help?(v(),E("label",rDe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,iDe),[[Qe,i.isHelp]]),aDe])):R("",!0)],2),i.isHelp?(v(),E("p",lDe,z(i.help),1)):R("",!0),Q(c("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(v(!0),E(Ae,null,Ue(i.options,l=>(v(),E("option",{value:l,selected:i.value===l},z(l),9,dDe))),256))],8,cDe),[[qt,i.value]])])):R("",!0)])):R("",!0),i.type=="int"||i.type=="float"?(v(),E("div",uDe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",hDe,z(i.name)+": ",1),i.help?(v(),E("label",fDe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,pDe),[[Qe,i.isHelp]]),gDe])):R("",!0)],2),i.isHelp?(v(),E("p",mDe,z(i.help),1)):R("",!0),Q(c("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,_De),[[Re,i.value]]),i.min!=null&&i.max!=null?Q((v(),E("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,bDe)),[[Re,i.value]]):R("",!0)])):R("",!0),i.type=="bool"?(v(),E("div",yDe,[c("div",vDe,[c("label",xDe,z(i.name)+": ",1),Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,wDe),[[Qe,i.value]]),i.help?(v(),E("label",kDe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,EDe),[[Qe,i.isHelp]]),CDe])):R("",!0)]),i.isHelp?(v(),E("p",ADe,z(i.help),1)):R("",!0)])):R("",!0),i.type=="list"?(v(),E("div",SDe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",TDe,z(i.name)+": ",1),i.help?(v(),E("label",MDe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ODe),[[Qe,i.isHelp]]),RDe])):R("",!0)],2),i.isHelp?(v(),E("p",NDe,z(i.help),1)):R("",!0),Q(c("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,LDe),[[Re,i.value]])])):R("",!0),DDe]))),256)),c("div",IDe,[c("div",PDe,[c("button",{onClick:e[1]||(e[1]=ae(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},z(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=ae(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-11 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},z(o.DenyButtonText),1)])])])])])])):R("",!0)}const wc=ze(ILe,[["render",FDe]]);const BDe={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},zDe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},$De={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},UDe={class:"text-xl font-semibold mb-4"},jDe={class:"h-48 overflow-y-auto"},qDe=["onClick"],HDe={class:"font-bold"},VDe=c("br",null,null,-1),GDe={class:"text-xs text-gray-500"},KDe={class:"flex justify-end mt-4"},ZDe=["disabled"];function WDe(t,e,n,s,o,r){return v(),Xe(Os,{name:"fade"},{default:Ne(()=>[n.show?(v(),E("div",zDe,[c("div",$De,[c("h2",UDe,z(n.title),1),c("div",jDe,[c("ul",null,[(v(!0),E(Ae,null,Ue(n.choices,(i,a)=>(v(),E("li",{key:a,onClick:l=>r.selectChoice(i),class:ke([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[c("span",HDe,z(i.name),1),VDe,c("span",GDe,z(this.formatSize(i.size)),1)],10,qDe))),128))])]),c("div",KDe,[c("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),c("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:ke([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,ZDe)])])])):R("",!0)]),_:1})}const YDe=ze(BDe,[["render",WDe]]),JDe={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:0}},data(){return{selectedValue:this.defaultValue}},methods:{handleRadioChange(t){this.selectedValue!==null&&this.$emit("radio-selected",this.selectedValue,t)}}},QDe={class:"flex space-x-4"},XDe=["value","onChange"],eIe={class:"text-gray-700"};function tIe(t,e,n,s,o,r){return v(),E("div",QDe,[(v(!0),E(Ae,null,Ue(n.radioOptions,(i,a)=>(v(),E("label",{key:i.value,class:"flex items-center space-x-2"},[Q(c("input",{type:"radio",value:i.value,"onUpdate:modelValue":e[0]||(e[0]=l=>o.selectedValue=l),onChange:l=>r.handleRadioChange(a),class:"text-blue-500 focus:ring-2 focus:ring-blue-200"},null,40,XDe),[[Q1,o.selectedValue]]),c("span",eIe,z(i.label),1)]))),128))])}const nIe=ze(JDe,[["render",tIe]]),sIe="/",oIe={props:{extension:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:jo},data(){return{isMounted:!1,name:this.extension.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.extension.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.extension.isMounted,_e(()=>{ye.replace()})},methods:{getImgUrl(){return sIe+this.extension.avatar},defaultImg(t){t.target.src=Dn},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ye.replace()})}}},rIe=["title"],iIe={class:"flex flex-row items-center flex-shrink-0 gap-3"},aIe=["src"],lIe={class:""},cIe={class:""},dIe={class:"flex items-center"},uIe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),hIe=c("b",null,"Author: ",-1),fIe={key:0,class:"flex items-center"},pIe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),gIe=c("b",null,"Languages: ",-1),mIe=["selected"],_Ie={key:1,class:"flex items-center"},bIe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),yIe=c("b",null,"Language: ",-1),vIe={class:"flex items-center"},xIe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),wIe=c("b",null,"Category: ",-1),kIe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),EIe=["title"],CIe={class:"rounded bg-blue-300"},AIe=c("i",{"data-feather":"check"},null,-1),SIe=c("span",{class:"sr-only"},"Select",-1),TIe=[AIe,SIe],MIe=c("i",{"data-feather":"send",class:"w-5"},null,-1),OIe=c("span",{class:"sr-only"},"Talk",-1),RIe=[MIe,OIe];function NIe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return v(),E("div",{class:ke(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.extension.installed?"":"Not installed"},[c("div",{class:ke(n.extension.installed?"":"border-red-500")},[c("div",iIe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,aIe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},z(n.extension.name),1)]),c("div",lIe,[c("div",cIe,[c("div",dIe,[uIe,hIe,xe(" "+z(n.extension.author),1)]),n.extension.languages&&n.select_language?(v(),E("div",fIe,[pIe,gIe,Q(c("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>n.extension.language=a),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(v(!0),E(Ae,null,Ue(n.extension.languages,(a,l)=>(v(),E("option",{key:l,selected:a==n.extension.languages[0]},z(a),9,mIe))),128))],512),[[qt,n.extension.language]])])):R("",!0),n.extension.language?(v(),E("div",_Ie,[bIe,yIe,xe(" "+z(n.extension.language),1)])):R("",!0),c("div",vIe,[xIe,wIe,xe(" "+z(n.extension.category),1)])]),kIe,c("p",{class:"mx-1 opacity-80 h-20 overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",title:n.extension.description},z(n.extension.description),9,EIe)]),c("div",CIe,[o.isMounted?(v(),E("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[5]||(e[5]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},TIe)):R("",!0),o.isMounted?(v(),E("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[7]||(e[7]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},RIe)):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,rIe)}const LIe=ze(oIe,[["render",NIe]]);const DIe="/";ve.defaults.baseURL="/";const IIe={components:{AddModelDialog:DLe,MessageBox:Ug,YesNoDialog:uOe,ModelEntry:VRe,PersonalityViewer:aNe,Toast:Ys,PersonalityEntry:jg,BindingEntry:xLe,UniversalForm:wc,ChoiceDialog:YDe,Card:Uo,RadioOptions:nIe,ExtensionEntry:LIe},data(){return{models_zoo:[],sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],show_only_installed_models:!1,reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",extension_category:"ai_sensors",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],extensionsFiltererd:[],collapsedArr:[],all_collapsed:!0,minconf_collapsed:!0,bec_collapsed:!0,sort_type:0,is_loading_zoo:!1,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,ezc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,extCatgArr:[],persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:DIe,searchPersonality:"",searchExtension:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchExtensionInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){Ce.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{async modelsZooToggleCollapse(){this.mzc_collapsed=!this.mzc_collapsed,this.mzc_collapsed||(this.is_loading_zoo=!0,await this.refreshModelsZoo(),this.is_loading_zoo=!1)},async selectSortOption(t){this.$store.state.sort_type=t,this.modelsFiltered=this.models,console.log(`Selected sorting:${t}`)},handleRadioSelected(t){this.isLoading=!0,this.selectSortOption(t).then(()=>{this.isLoading=!1})},filter_installed(t){return console.log("filtering"),t.filter(e=>e.isInstalled===!0)},getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e="https://huggingface.co/"+t.model.quantizer+"/"+t.model.name+"/resolve/main/"+this.selected_variant.name;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:e},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.name===t.model.name);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),Ce.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: +`);var T=0,H=!1;this.parse=function(K,we,be){if(typeof K!="string")throw new Error("Input must be a string");var ne=K.length,Ee=M.length,Me=I.length,N=B.length,ee=L(X),V=[],se=[],te=[],ge=T=0;if(!K)return Ze();if(v.header&&!we){var he=K.split(I)[0].split(M),k=[],S={},F=!1;for(var $ in he){var U=he[$];L(v.transformHeader)&&(U=v.transformHeader(U,$));var oe=U,ce=S[U]||0;for(0=P)return Ze(!0)}else for(fe=T,T++;;){if((fe=K.indexOf(C,fe+1))===-1)return be||se.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Oe();if(fe===ne-1)return Oe(K.substring(T,fe).replace(pe,C));if(C!==Y||K[fe+1]!==Y){if(C===Y||fe===0||K[fe-1]!==Y){J!==-1&&J=P)return Ze(!0);break}se.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),fe++}}else fe++}return Oe();function ie(nt){V.push(nt),ge=T}function me(nt){var ot=0;if(nt!==-1){var ct=K.substring(fe+1,nt);ct&&ct.trim()===""&&(ot=ct.length)}return ot}function Oe(nt){return be||(nt===void 0&&(nt=K.substring(T)),te.push(nt),T=ne,ie(te),ee&&Fe()),Ze()}function $e(nt){T=nt,ie(te),te=[],de=K.indexOf(I,T)}function Ze(nt){return{data:V,errors:se,meta:{delimiter:M,linebreak:I,aborted:H,truncated:!!nt,cursor:ge+(we||0)}}}function Fe(){X(Ze()),V=[],se=[]}},this.abort=function(){H=!0},this.getCharIndex=function(){return T}}function p(v){var C=v.data,M=i[C.workerId],I=!1;if(C.error)M.userError(C.error,C.file);else if(C.results&&C.results.data){var B={abort:function(){I=!0,x(C.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(L(M.userStep)){for(var X=0;Xt.text()).then(t=>{const{data:e}=RMe.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},mn=t=>(rs("data-v-c8c43118"),t=t(),is(),t),NMe={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},LMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),IMe={class:"mb-4"},PMe=mn(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),FMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),BMe={class:"list-disc pl-4"},zMe={class:"text-xl font-bold mb-1"},$Me=["innerHTML"],UMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Contact Us",-1)),jMe=mn(()=>c("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me.",-1)),qMe=mn(()=>c("p",null,[xe("Discord link: "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),HMe=mn(()=>c("h2",{class:"text-2xl font-bold mb-2"},"Credits",-1)),VMe=mn(()=>c("p",{class:"mb-4"},[xe("This project is developed by "),c("span",{class:"font-bold"},"ParisNeo"),xe(" With help from the community.")],-1)),GMe=mn(()=>c("p",{class:"mb-4"},[c("span",{class:"font-bold"},[c("a",{href:"https://github.com/ParisNeo/lollms-webui/graphs/contributors"},"Check out the full list of developers here and show them some love.")])],-1)),KMe=["href"];function ZMe(t,e,n,s,o,r){const i=Ie("Card");return y(),E("div",NMe,[le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[LMe,c("p",IMe," Lollms version "+z(r.version),1),PMe]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[FMe,c("ul",BMe,[(y(!0),E(Ae,null,Ue(o.faqs,(a,l)=>(y(),E("li",{key:l},[c("h3",zMe,z(a.question),1),c("p",{class:"mb-4",innerHTML:r.parseMultiline(a.answer)},null,8,$Me)]))),128))])]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[UMe,jMe,qMe]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[HMe,VMe,GMe,c("p",null,[xe("Check out the project on "),c("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,KMe),xe(".")])]),_:1})])}const WMe=ze(DMe,[["render",ZMe],["__scopeId","data-v-c8c43118"]]);function Zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):R("",!0)}const qg=ze(YMe,[["render",tOe]]),nOe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},sOe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},oOe={class:"relative w-full max-w-md max-h-full"},rOe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},iOe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),aOe=c("span",{class:"sr-only"},"Close modal",-1),lOe=[iOe,aOe],cOe={class:"p-4 text-center"},dOe=c("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),uOe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function hOe(t,e,n,s,o,r){return o.show?(y(),E("div",sOe,[c("div",oOe,[c("div",rOe,[c("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},lOe),c("div",cOe,[dOe,c("h3",uOe,z(o.message),1),c("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},z(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},z(o.DenyButtonText),1)])])])])):R("",!0)}const fOe=ze(nOe,[["render",hOe]]),mo="/assets/default_model-9e24e852.png";const pOe={props:{title:{type:String,required:!1,value:"menu"},icon:{type:String,required:!1,value:"feather:menu"},commands:{type:Array,required:!0},force_position:{required:!1,value:0},execute_cmd:{type:Function,required:!1},selected_entry:{type:String,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside),_e(()=>{ye.replace()})},executeCommand(t){this.isMenuOpen=!1,console.log("Selected"),console.log(t.value),typeof t.value=="function"&&(console.log("Command detected"),t.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(t))},positionMenu(){var t;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),n=window.innerHeight;t=e.bottom>n/2}else this.force_position==1?t=!0:t=!1;this.menuPosition.top=t?"auto":"calc(100% + 10px)",this.menuPosition.bottom=t?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),_e(()=>{ye.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},gOe={class:"menu-container"},mOe=["title"],_Oe=["src"],bOe=["data-feather"],yOe={key:2,class:"w-5 h-5"},vOe={key:3,"data-feather":"menu"},xOe={class:"flex-grow menu-ul"},wOe=["onClick"],kOe={key:0,"data-feather":"check"},EOe=["src","alt"],COe=["data-feather"],AOe={key:3,class:"menu-icon"};function SOe(t,e,n,s,o,r){return y(),E("div",gOe,[c("button",{onClick:e[0]||(e[0]=ae((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),title:n.title,class:"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer",ref:"menuButton"},[n.icon&&!n.icon.includes("#")&&!n.icon.includes("feather")?(y(),E("img",{key:0,src:n.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,_Oe)):n.icon&&n.icon.includes("feather")?(y(),E("i",{key:1,"data-feather":n.icon.split(":")[1],class:"w-5 h-5"},null,8,bOe)):n.icon&&n.icon.includes("#")?(y(),E("p",yOe,z(n.icon.split("#")[1]),1)):(y(),E("i",vOe))],8,mOe),le(Ms,{name:"slide"},{default:De(()=>[o.isMenuOpen?(y(),E("div",{key:0,class:"menu-list flex-grow",style:yt(o.menuPosition),ref:"menu"},[c("ul",xOe,[(y(!0),E(Ae,null,Ue(n.commands,(i,a)=>(y(),E("li",{key:a,onClick:ae(l=>r.executeCommand(i),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[n.selected_entry==i.name?(y(),E("i",kOe)):i.icon&&!i.icon.includes("feather")&&!i.is_file?(y(),E("img",{key:1,src:i.icon,alt:i.name,class:"menu-icon"},null,8,EOe)):R("",!0),i.icon&&i.icon.includes("feather")&&!i.is_file?(y(),E("i",{key:2,"data-feather":i.icon.split(":")[1],class:"mr-2"},null,8,COe)):(y(),E("span",AOe)),c("span",null,z(i.name),1)],8,wOe))),128))])],4)):R("",!0)]),_:1})])}const qo=ze(pOe,[["render",SOe]]),TOe={components:{InteractiveMenu:qo},props:{isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,linkNotValid:!1,selected_variant:""}},async mounted(){_e(()=>{ye.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Zt(t)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?mo:this.model.icon},defaultImg(t){t.target.src=mo},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(t=!1){this.onSelected(this,t)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){installing=!1,this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary":"border-0 border-primary bg-primary":"border-transparent"},commandsList(){let t=[{name:this.model.isInstalled?"Uninstall":"Install",icon:"feather:settings",is_file:!1,value:this.toggleInstall},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.selected&&t.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),t},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Zt(this.speed)},total_size_computed(){return Zt(this.total_size)},downloaded_size_computed(){return Zt(this.downloaded_size)}},watch:{linkNotValid(){_e(()=>{ye.replace()})}}},MOe=["title"],OOe={key:0,class:"flex flex-row"},ROe={class:"max-w-[300px] overflow-x-auto"},DOe={class:"flex gap-3 items-center grow"},NOe=["href"],LOe=["src"],IOe={class:"flex-1 overflow-hidden"},POe={class:"font-bold font-large text-lg truncate"},FOe={key:1,class:"flex items-center flex-row gap-2 my-1"},BOe={class:"flex grow items-center"},zOe=c("i",{"data-feather":"box",class:"w-5"},null,-1),$Oe=c("span",{class:"sr-only"},"Custom model / local model",-1),UOe=[zOe,$Oe],jOe=c("span",{class:"sr-only"},"Remove",-1),qOe={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},HOe={class:"relative flex flex-col items-center justify-center flex-grow h-full"},VOe=c("div",{role:"status",class:"justify-center"},[c("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1),GOe={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},KOe={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},ZOe={class:"flex justify-between mb-1"},WOe=c("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),YOe={class:"text-sm font-medium text-blue-700 dark:text-white"},JOe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},QOe={class:"flex justify-between mb-1"},XOe={class:"text-base font-medium text-blue-700 dark:text-white"},eRe={class:"text-sm font-medium text-blue-700 dark:text-white"},tRe={class:"flex flex-grow"},nRe={class:"flex flex-row flex-grow gap-3"},sRe={class:"p-2 text-center grow"},oRe={key:3},rRe={class:"flex flex-row items-center gap-3"},iRe=["src"],aRe={class:"font-bold font-large text-lg truncate"},lRe=c("div",{class:"grow"},null,-1),cRe={class:"flex items-center flex-row-reverse gap-2 my-1"},dRe={class:"flex flex-row items-center"},uRe={key:0,class:"text-base text-red-600 flex items-center mt-1"},hRe=c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),fRe=["title"],pRe={class:""},gRe={class:"flex flex-row items-center"},mRe=c("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),_Re=c("b",null,"Card: ",-1),bRe=["href","title"],yRe=c("div",{class:"grow"},null,-1),vRe=c("i",{"data-feather":"clipboard",class:"w-5"},null,-1),xRe=[vRe],wRe={class:"flex items-center"},kRe=c("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),ERe=c("b",null,"File size: ",-1),CRe={class:"flex items-center"},ARe=c("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),SRe=c("b",null,"License: ",-1),TRe={class:"flex items-center"},MRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),ORe=c("b",null,"quantizer: ",-1),RRe=["href"],DRe={class:"flex items-center"},NRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),LRe=c("b",null,"Model creator: ",-1),IRe=["href"],PRe={class:"flex items-center"},FRe=c("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),BRe=c("b",null,"Release date: ",-1),zRe={class:"flex items-center"},$Re=c("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),URe=c("b",null,"Category: ",-1),jRe=["href"],qRe={class:"flex items-center"},HRe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),VRe=c("b",null,"Hugging face rank: ",-1);function GRe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return y(),E("div",{class:ke(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",r.computed_classes]),title:n.model.name},[n.model.isCustomModel?(y(),E("div",OOe,[c("div",ROe,[c("div",DOe,[c("a",{href:n.model.model_creator_link,target:"_blank"},[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,LOe)],8,NOe),c("div",IOe,[c("h3",POe,z(n.model.name),1)])])])])):R("",!0),n.model.isCustomModel?(y(),E("div",FOe,[c("div",BOe,[c("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ae(()=>{},["stop"]))},UOe),xe(" Custom model ")]),n.model.isInstalled?Q((y(),E("input",{key:0,"onUpdate:modelValue":e[2]||(e[2]=a=>n.model.selected=a),onClick:e[3]||(e[3]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),type:"checkbox",class:"cursor-pointer border-2 border-blue-300 rounded w-10 h-10"},null,512)),[[Qe,n.model.selected]]):R("",!0),c("div",null,[n.model.isInstalled?(y(),E("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[4]||(e[4]=ae((...a)=>r.toggleInstall&&r.toggleInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),jOe])):R("",!0)])])):R("",!0),o.installing?(y(),E("div",qOe,[c("div",HOe,[VOe,c("div",GOe,[c("div",KOe,[c("div",ZOe,[WOe,c("span",YOe,z(Math.floor(o.progress))+"%",1)]),c("div",JOe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.progress+"%"})},null,4)]),c("div",QOe,[c("span",XOe,"Download speed: "+z(r.speed_computed)+"/s",1),c("span",eRe,z(r.downloaded_size_computed)+"/"+z(r.total_size_computed),1)])])]),c("div",tRe,[c("div",nRe,[c("div",sRe,[c("button",{onClick:e[5]||(e[5]=ae((...a)=>r.toggleCancelInstall&&r.toggleCancelInstall(...a),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):R("",!0),n.model.isCustomModel?R("",!0):(y(),E("div",oRe,[c("div",rRe,[c("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[6]||(e[6]=a=>r.defaultImg(a)),class:ke(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,iRe),c("h3",aRe,z(n.model.name),1),lRe,n.model.isInstalled?Q((y(),E("input",{key:0,"onUpdate:modelValue":e[7]||(e[7]=a=>n.model.selected=a),onClick:e[8]||(e[8]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),type:"checkbox",class:"cursor-pointer border-2 border-blue-300 rounded w-10 h-10"},null,512)),[[Qe,n.model.selected]]):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),c("div",cRe,[c("div",dRe,[o.linkNotValid?(y(),E("div",uRe,[hRe,xe(" Link is not valid ")])):R("",!0)])]),c("div",{class:"",title:n.model.isInstalled?n.model.name:"Not installed"},[c("div",pRe,[c("div",gRe,[mRe,_Re,c("a",{href:"https://huggingface.co/"+n.model.quantizer+"/"+n.model.name,target:"_blank",onClick:e[9]||(e[9]=ae(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," View full model card ",8,bRe),yRe,c("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[10]||(e[10]=ae(a=>r.toggleCopyLink(),["stop"]))},xRe)]),c("div",wRe,[c("div",{class:ke(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[kRe,ERe,xe(" "+z(r.fileSize),1)],2)]),c("div",CRe,[ARe,SRe,xe(" "+z(n.model.license),1)]),c("div",TRe,[MRe,ORe,c("a",{href:"https://huggingface.co/"+n.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[11]||(e[11]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.quantizer),9,RRe)]),c("div",DRe,[NRe,LRe,c("a",{href:n.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[12]||(e[12]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.model_creator),9,IRe)]),c("div",PRe,[FRe,BRe,xe(" "+z(n.model.last_commit_time),1)]),c("div",zRe,[$Re,URe,c("a",{href:"https://huggingface.co/"+n.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[13]||(e[13]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.category),9,jRe)]),c("div",qRe,[HRe,VRe,c("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",rel:"noopener noreferrer",onClick:e[14]||(e[14]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},z(n.model.rank),1)])])],8,fRe)]))],10,MOe)}const KRe=ze(TOe,[["render",GRe]]),ZRe={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},WRe={class:"p-4"},YRe={class:"flex items-center mb-4"},JRe=["src"],QRe={class:"text-lg font-semibold"},XRe=c("strong",null,"Author:",-1),eDe=c("strong",null,"Description:",-1),tDe=c("strong",null,"Category:",-1),nDe={key:0},sDe=c("strong",null,"Disclaimer:",-1),oDe=c("strong",null,"Conditioning Text:",-1),rDe=c("strong",null,"AI Prefix:",-1),iDe=c("strong",null,"User Prefix:",-1),aDe=c("strong",null,"Antiprompts:",-1);function lDe(t,e,n,s,o,r){return y(),E("div",WRe,[c("div",YRe,[c("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,JRe),c("h2",QRe,z(o.personalityName),1)]),c("p",null,[XRe,xe(" "+z(o.personalityAuthor),1)]),c("p",null,[eDe,xe(" "+z(o.personalityDescription),1)]),c("p",null,[tDe,xe(" "+z(o.personalityCategory),1)]),o.disclaimer?(y(),E("p",nDe,[sDe,xe(" "+z(o.disclaimer),1)])):R("",!0),c("p",null,[oDe,xe(" "+z(o.conditioningText),1)]),c("p",null,[rDe,xe(" "+z(o.aiPrefix),1)]),c("p",null,[iDe,xe(" "+z(o.userPrefix),1)]),c("div",null,[aDe,c("ul",null,[(y(!0),E(Ae,null,Ue(o.antipromptsList,i=>(y(),E("li",{key:i.id},z(i.text),1))),128))])]),c("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(y(),E("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):R("",!0)])}const cDe=ze(ZRe,[["render",lDe]]),Xs="/assets/logo-9d653710.svg",dDe="/",uDe={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:qo},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,_e(()=>{ye.replace()})},methods:{getImgUrl(){return dDe+this.personality.avatar},defaultImg(t){t.target.src=Xs},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ye.replace()})}}},hDe=["title"],fDe={class:"flex flex-row items-center flex-shrink-0 gap-3"},pDe=["src"],gDe={class:""},mDe={class:""},_De={class:"flex items-center"},bDe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),yDe=c("b",null,"Author: ",-1),vDe={key:0,class:"flex items-center"},xDe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),wDe=c("b",null,"Languages: ",-1),kDe=["selected"],EDe={key:1,class:"flex items-center"},CDe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),ADe=c("b",null,"Language: ",-1),SDe={class:"flex items-center"},TDe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),MDe=c("b",null,"Category: ",-1),ODe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),RDe=["title"],DDe={class:"rounded bg-blue-300"},NDe=c("i",{"data-feather":"check"},null,-1),LDe=c("span",{class:"sr-only"},"Select",-1),IDe=[NDe,LDe],PDe=c("i",{"data-feather":"send",class:"w-5"},null,-1),FDe=c("span",{class:"sr-only"},"Talk",-1),BDe=[PDe,FDe];function zDe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return y(),E("div",{class:ke(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.personality.installed?"":"Not installed"},[c("div",{class:ke(n.personality.installed?"":"border-red-500")},[c("div",fDe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,pDe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},z(n.personality.name),1)]),c("div",gDe,[c("div",mDe,[c("div",_De,[bDe,yDe,xe(" "+z(n.personality.author),1)]),n.personality.languages&&n.select_language?(y(),E("div",vDe,[xDe,wDe,Q(c("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>n.personality.language=a),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(y(!0),E(Ae,null,Ue(n.personality.languages,(a,l)=>(y(),E("option",{key:l,selected:a==n.personality.languages[0]},z(a),9,kDe))),128))],512),[[Ht,n.personality.language]])])):R("",!0),n.personality.language?(y(),E("div",EDe,[CDe,ADe,xe(" "+z(n.personality.language),1)])):R("",!0),c("div",SDe,[TDe,MDe,xe(" "+z(n.personality.category),1)])]),ODe,c("p",{class:"mx-1 opacity-80 h-20 overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",title:n.personality.description},z(n.personality.description),9,RDe)]),c("div",DDe,[o.isMounted?(y(),E("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[5]||(e[5]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},IDe)):R("",!0),o.isMounted?(y(),E("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[7]||(e[7]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},BDe)):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,hDe)}const Hg=ze(uDe,[["render",zDe]]);const $De={props:{code:String},data(){return{evaluatedCode:""}},watch:{code:{handler(t){this.evaluateScriptTags(t)},immediate:!0}},methods:{evaluateScriptTags(t){const e=document.createElement("div");e.innerHTML=t,e.querySelectorAll("script").forEach(s=>{const o=document.createElement("script");o.textContent=s.textContent,document.body.appendChild(o),document.body.removeChild(o)}),this.evaluatedCode=e.innerHTML}}},UDe=["innerHTML"];function jDe(t,e,n,s,o,r){return y(),E("div",{innerHTML:o.evaluatedCode},null,8,UDe)}const Vg=ze($De,[["render",jDe]]),qDe="/",HDe={components:{DynamicUIRenderer:Vg},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){_e(()=>{ye.replace()})},methods:{getImgUrl(){return qDe+this.binding.icon},defaultImg(t){t.target.src=Xs},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleUnInstall(){this.onUnInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){_e(()=>{ye.replace()})}}},VDe=["title"],GDe={class:"flex flex-row items-center gap-3"},KDe=["src"],ZDe={class:"font-bold font-large text-lg truncate"},WDe=c("div",{class:"grow"},null,-1),YDe={class:"flex-none gap-1"},JDe=c("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),QDe=c("span",{class:"sr-only"},"Help",-1),XDe=[JDe,QDe],eNe={class:"flex items-center flex-row-reverse gap-2 my-1"},tNe=c("span",{class:"sr-only"},"Click to install",-1),nNe=c("span",{class:"sr-only"},"Reinstall",-1),sNe=c("span",{class:"sr-only"},"UnInstall",-1),oNe=c("span",{class:"sr-only"},"Settings",-1),rNe={class:""},iNe={class:""},aNe={class:"flex items-center"},lNe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),cNe=c("b",null,"Author: ",-1),dNe={class:"flex items-center"},uNe=c("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),hNe=c("b",null,"Folder: ",-1),fNe={class:"flex items-center"},pNe=c("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),gNe=c("b",null,"Version: ",-1),mNe={class:"flex items-center"},_Ne=c("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),bNe=c("b",null,"Link: ",-1),yNe=["href"],vNe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),xNe=["title"];function wNe(t,e,n,s,o,r){const i=Ie("DynamicUIRenderer");return y(),E("div",{class:ke(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[7]||(e[7]=ae((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[c("div",null,[c("div",GDe,[c("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,KDe),c("h3",ZDe,z(n.binding.name),1),WDe,c("div",YDe,[n.selected?(y(),E("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>r.toggleReloadBinding&&r.toggleReloadBinding(...a)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},XDe)):R("",!0)])]),c("div",eNe,[n.binding.installed?R("",!0):(y(),E("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ae((...a)=>r.toggleInstall&&r.toggleInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Install "),tNe])),n.binding.installed?(y(),E("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ae((...a)=>r.toggleReinstall&&r.toggleReinstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-green-700 hover:bg-red-800 focus:ring-4 focus:ring-green-300 rounded-lg dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-red-900"},[xe(" Reinstall "),nNe])):R("",!0),n.binding.installed?(y(),E("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=ae((...a)=>r.toggleUnInstall&&r.toggleUnInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),sNe])):R("",!0),n.selected?(y(),E("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=ae((...a)=>r.toggleSettings&&r.toggleSettings(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Settings "),oNe])):R("",!0)]),n.binding.ui?(y(),Xe(i,{key:0,class:"w-full h-full",code:n.binding.ui},null,8,["code"])):R("",!0),c("div",rNe,[c("div",iNe,[c("div",aNe,[lNe,cNe,xe(" "+z(n.binding.author),1)]),c("div",dNe,[uNe,hNe,xe(" "+z(n.binding.folder),1)]),c("div",fNe,[pNe,gNe,xe(" "+z(n.binding.version),1)]),c("div",mNe,[_Ne,bNe,c("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},z(n.binding.link),9,yNe)])]),vNe,c("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},z(n.binding.description),9,xNe)])])],10,VDe)}const kNe=ze(HDe,[["render",wNe]]),ENe={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},CNe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},ANe={class:"relative w-full max-w-md max-h-full"},SNe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},TNe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),MNe=c("span",{class:"sr-only"},"Close modal",-1),ONe=[TNe,MNe],RNe={class:"p-4 text-center"},DNe=c("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),NNe={class:"p-4 text-center mx-auto mb-4"},LNe=c("label",{class:"mr-2"},"Model path",-1);function INe(t,e,n,s,o,r){return o.show?(y(),E("div",CNe,[c("div",ANe,[c("div",SNe,[c("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},ONe),c("div",RNe,[DNe,c("div",NNe,[LNe,Q(c("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[Re,o.model_path]])]),c("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),c("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):R("",!0)}const PNe=ze(ENe,[["render",INe]]),FNe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){_e(()=>{ye.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){_e(()=>{ye.replace()})}}},BNe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},zNe={class:"relative w-full max-w-md"},$Ne={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},UNe={class:"flex flex-row flex-grow items-center m-2 p-1"},jNe={class:"grow flex items-center"},qNe=c("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),HNe={class:"text-lg font-semibold select-none mr-2"},VNe={class:"items-end"},GNe=c("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),KNe=c("span",{class:"sr-only"},"Close form modal",-1),ZNe=[GNe,KNe],WNe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},YNe={class:"px-2"},JNe={key:0},QNe={key:0},XNe={class:"text-base font-semibold"},eLe={key:0,class:"relative inline-flex"},tLe=["onUpdate:modelValue"],nLe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),sLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},oLe=["onUpdate:modelValue"],rLe={key:1},iLe={class:"text-base font-semibold"},aLe={key:0,class:"relative inline-flex"},lLe=["onUpdate:modelValue"],cLe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),dLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},uLe=["onUpdate:modelValue"],hLe=["value","selected"],fLe={key:1},pLe={class:"text-base font-semibold"},gLe={key:0,class:"relative inline-flex"},mLe=["onUpdate:modelValue"],_Le=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),bLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},yLe=["onUpdate:modelValue"],vLe=["onUpdate:modelValue","min","max"],xLe={key:2},wLe={class:"mb-2 relative flex items-center gap-2"},kLe={for:"default-checkbox",class:"text-base font-semibold"},ELe=["onUpdate:modelValue"],CLe={key:0,class:"relative inline-flex"},ALe=["onUpdate:modelValue"],SLe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),TLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},MLe={key:3},OLe={class:"text-base font-semibold"},RLe={key:0,class:"relative inline-flex"},DLe=["onUpdate:modelValue"],NLe=c("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[c("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),LLe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},ILe=["onUpdate:modelValue"],PLe=c("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),FLe={class:"flex flex-row flex-grow gap-3"},BLe={class:"p-2 text-center grow"};function zLe(t,e,n,s,o,r){return o.show?(y(),E("div",BNe,[c("div",zNe,[c("div",$Ne,[c("div",UNe,[c("div",jNe,[qNe,c("h3",HNe,z(o.title),1)]),c("div",VNe,[c("button",{type:"button",onClick:e[0]||(e[0]=ae(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},ZNe)])]),c("div",WNe,[(y(!0),E(Ae,null,Ue(o.controls_array,(i,a)=>(y(),E("div",YNe,[i.type=="str"?(y(),E("div",JNe,[i.options?R("",!0):(y(),E("div",QNe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",XNe,z(i.name)+": ",1),i.help?(y(),E("label",eLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,tLe),[[Qe,i.isHelp]]),nLe])):R("",!0)],2),i.isHelp?(y(),E("p",sLe,z(i.help),1)):R("",!0),Q(c("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,oLe),[[Re,i.value]])])),i.options?(y(),E("div",rLe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",iLe,z(i.name)+": ",1),i.help?(y(),E("label",aLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,lLe),[[Qe,i.isHelp]]),cLe])):R("",!0)],2),i.isHelp?(y(),E("p",dLe,z(i.help),1)):R("",!0),Q(c("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(y(!0),E(Ae,null,Ue(i.options,l=>(y(),E("option",{value:l,selected:i.value===l},z(l),9,hLe))),256))],8,uLe),[[Ht,i.value]])])):R("",!0)])):R("",!0),i.type=="int"||i.type=="float"?(y(),E("div",fLe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",pLe,z(i.name)+": ",1),i.help?(y(),E("label",gLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,mLe),[[Qe,i.isHelp]]),_Le])):R("",!0)],2),i.isHelp?(y(),E("p",bLe,z(i.help),1)):R("",!0),Q(c("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,yLe),[[Re,i.value]]),i.min!=null&&i.max!=null?Q((y(),E("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,vLe)),[[Re,i.value]]):R("",!0)])):R("",!0),i.type=="bool"?(y(),E("div",xLe,[c("div",wLe,[c("label",kLe,z(i.name)+": ",1),Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,ELe),[[Qe,i.value]]),i.help?(y(),E("label",CLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ALe),[[Qe,i.isHelp]]),SLe])):R("",!0)]),i.isHelp?(y(),E("p",TLe,z(i.help),1)):R("",!0)])):R("",!0),i.type=="list"?(y(),E("div",MLe,[c("label",{class:ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[c("div",OLe,z(i.name)+": ",1),i.help?(y(),E("label",RLe,[Q(c("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,DLe),[[Qe,i.isHelp]]),NLe])):R("",!0)],2),i.isHelp?(y(),E("p",LLe,z(i.help),1)):R("",!0),Q(c("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,ILe),[[Re,i.value]])])):R("",!0),PLe]))),256)),c("div",FLe,[c("div",BLe,[c("button",{onClick:e[1]||(e[1]=ae(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},z(o.ConfirmButtonText),1),c("button",{onClick:e[2]||(e[2]=ae(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-11 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},z(o.DenyButtonText),1)])])])])])])):R("",!0)}const wc=ze(FNe,[["render",zLe]]);const $Le={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{displayName(t){return console.log("choice:",t),typeof t=="string"?t:t&&t.name?t.name:""},selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},ULe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},jLe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},qLe={class:"text-xl font-semibold mb-4"},HLe={class:"h-48 overflow-y-auto"},VLe=["onClick"],GLe={class:"font-bold"},KLe=c("br",null,null,-1),ZLe={key:0,class:"text-xs text-gray-500"},WLe={class:"flex justify-end mt-4"},YLe=["disabled"];function JLe(t,e,n,s,o,r){return y(),Xe(Ms,{name:"fade"},{default:De(()=>[n.show?(y(),E("div",ULe,[c("div",jLe,[c("h2",qLe,z(n.title),1),c("div",HLe,[c("ul",null,[(y(!0),E(Ae,null,Ue(n.choices,(i,a)=>(y(),E("li",{key:a,onClick:l=>r.selectChoice(i),class:ke([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[c("span",GLe,z(r.displayName(i)),1),KLe,i.size?(y(),E("span",ZLe,z(this.formatSize(i.size)),1)):R("",!0)],10,VLe))),128))])]),c("div",WLe,[c("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),c("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:ke([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,YLe)])])])):R("",!0)]),_:1})}const kc=ze($Le,[["render",JLe]]),QLe={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:0}},data(){return{selectedValue:this.defaultValue}},methods:{handleRadioChange(t){this.selectedValue!==null&&this.$emit("radio-selected",this.selectedValue,t)}}},XLe={class:"flex space-x-4"},eIe=["value","onChange"],tIe={class:"text-gray-700"};function nIe(t,e,n,s,o,r){return y(),E("div",XLe,[(y(!0),E(Ae,null,Ue(n.radioOptions,(i,a)=>(y(),E("label",{key:i.value,class:"flex items-center space-x-2"},[Q(c("input",{type:"radio",value:i.value,"onUpdate:modelValue":e[0]||(e[0]=l=>o.selectedValue=l),onChange:l=>r.handleRadioChange(a),class:"text-blue-500 focus:ring-2 focus:ring-blue-200"},null,40,eIe),[[e0,o.selectedValue]]),c("span",tIe,z(i.label),1)]))),128))])}const sIe=ze(QLe,[["render",nIe]]),oIe="/",rIe={props:{extension:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function},components:{InteractiveMenu:qo},data(){return{isMounted:!1,name:this.extension.name}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.extension.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.extension.isMounted,_e(()=>{ye.replace()})},methods:{getImgUrl(){return oIe+this.extension.avatar},defaultImg(t){t.target.src=Xs},toggleTalk(){this.onTalk(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ye.replace()})}}},iIe=["title"],aIe={class:"flex flex-row items-center flex-shrink-0 gap-3"},lIe=["src"],cIe={class:""},dIe={class:""},uIe={class:"flex items-center"},hIe=c("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),fIe=c("b",null,"Author: ",-1),pIe={key:0,class:"flex items-center"},gIe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),mIe=c("b",null,"Languages: ",-1),_Ie=["selected"],bIe={key:1,class:"flex items-center"},yIe=c("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),vIe=c("b",null,"Language: ",-1),xIe={class:"flex items-center"},wIe=c("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),kIe=c("b",null,"Category: ",-1),EIe=c("div",{class:"flex items-center"},[c("i",{"data-feather":"info",class:"w-5 m-1"}),c("b",null,"Description: "),c("br")],-1),CIe=["title"],AIe={class:"rounded bg-blue-300"},SIe=c("i",{"data-feather":"check"},null,-1),TIe=c("span",{class:"sr-only"},"Select",-1),MIe=[SIe,TIe],OIe=c("i",{"data-feather":"send",class:"w-5"},null,-1),RIe=c("span",{class:"sr-only"},"Talk",-1),DIe=[OIe,RIe];function NIe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return y(),E("div",{class:ke(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",r.selected_computed?"border-2 border-primary-light":"border-transparent",o.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:n.extension.installed?"":"Not installed"},[c("div",{class:ke(n.extension.installed?"":"border-red-500")},[c("div",aIe,[c("img",{onClick:e[0]||(e[0]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),ref:"imgElement",src:r.getImgUrl(),onError:e[1]||(e[1]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,lIe),c("h3",{onClick:e[2]||(e[2]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},z(n.extension.name),1)]),c("div",cIe,[c("div",dIe,[c("div",uIe,[hIe,fIe,xe(" "+z(n.extension.author),1)]),n.extension.languages&&n.select_language?(y(),E("div",pIe,[gIe,mIe,Q(c("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>n.extension.language=a),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(y(!0),E(Ae,null,Ue(n.extension.languages,(a,l)=>(y(),E("option",{key:l,selected:a==n.extension.languages[0]},z(a),9,_Ie))),128))],512),[[Ht,n.extension.language]])])):R("",!0),n.extension.language?(y(),E("div",bIe,[yIe,vIe,xe(" "+z(n.extension.language),1)])):R("",!0),c("div",xIe,[wIe,kIe,xe(" "+z(n.extension.category),1)])]),EIe,c("p",{class:"mx-1 opacity-80 h-20 overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",title:n.extension.description},z(n.extension.description),9,CIe)]),c("div",AIe,[o.isMounted?(y(),E("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),e[5]||(e[5]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},MIe)):R("",!0),o.isMounted?(y(),E("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),e[7]||(e[7]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},DIe)):R("",!0),le(i,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,iIe)}const LIe=ze(rIe,[["render",NIe]]);const IIe="/";ve.defaults.baseURL="/";const PIe={components:{AddModelDialog:PNe,MessageBox:qg,YesNoDialog:fOe,ModelEntry:KRe,PersonalityViewer:cDe,Toast:Ws,PersonalityEntry:Hg,BindingEntry:kNe,UniversalForm:wc,ChoiceDialog:kc,Card:jo,RadioOptions:sIe,ExtensionEntry:LIe},data(){return{models_zoo:[],sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],show_only_installed_models:!1,reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",extension_category:"ai_sensors",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],extensionsFiltererd:[],collapsedArr:[],all_collapsed:!0,minconf_collapsed:!0,bec_collapsed:!0,sort_type:0,is_loading_zoo:!1,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,ezc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,extCatgArr:[],persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:IIe,searchPersonality:"",searchExtension:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchExtensionInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){Ce.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{async modelsZooToggleCollapse(){this.mzc_collapsed=!this.mzc_collapsed,this.mzc_collapsed||(this.is_loading_zoo=!0,await this.refreshModelsZoo(),this.is_loading_zoo=!1)},async selectSortOption(t){this.$store.state.sort_type=t,this.modelsFiltered=this.models,console.log(`Selected sorting:${t}`)},handleRadioSelected(t){this.isLoading=!0,this.selectSortOption(t).then(()=>{this.isLoading=!1})},filter_installed(t){return console.log("filtering"),t.filter(e=>e.isInstalled===!0)},getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e="https://huggingface.co/"+t.model.quantizer+"/"+t.model.name+"/resolve/main/"+this.selected_variant.name;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:e},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.name===t.model.name);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),Ce.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: `+t.model.name+` installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}}else Ce.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model: `+t.model.name+` @@ -165,7 +165,7 @@ failed to uninstall!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};Ce.on("un Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},update_personality_category(t,e){this.personality_category=t,e()},update_extension_category(t,e){this.extension_category=t,e()},refresh(){console.log("Refreshing"),this.$store.dispatch("refreshConfig").then(()=>{console.log(this.personality_category),this.api_get_req("list_personalities_categories").then(t=>{console.log("cats",t),this.persCatgArr=t,this.personalitiesFiltered=this.personalities.filter(e=>e.category===this.personality_category),this.personalitiesFiltered.sort()}),this.api_get_req("list_extensions_categories").then(t=>{console.log("cats",t),this.persCatgArr=t,this.extensionsFiltererd=this.$store.state.extensionsZoo.filter(e=>e.category===this.extension_category),this.extensionsFiltererd.sort()})})},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){console.log("Updating setting",t,":",e),this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await ve.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),o.status?this.$refs.toast.showToast(`Setting updated successfully. Don't forget to save to keep the setting permanently.`,4,!0):this.$refs.toast.showToast(`Setting update failed. Please view the console for more details.`,4,!1),n!==void 0&&n(o),o.data;this.isLoading=!1},async refreshModelsZoo(){let e=(await ve.get("/get_available_models")).data;e=e.filter(n=>n.variants&&n.variants.length>0),console.log(`REFRESHING models using sorting ${this.sort_type}`),e.length>1?(this.sort_type==0?(e.sort((n,s)=>{const o=new Date(n.last_commit_time);return new Date(s.last_commit_time)-o}),console.log("Sorted")):this.sort_type==1?e.sort((n,s)=>s.rank-n.rank):this.sort_type==2?e.sort((n,s)=>n.name.localeCompare(s.name)):this.sort_type==3&&e.sort((n,s)=>n.name.localeCompare(s.name)),console.log("Sorted")):console.log("No sorting needed"),console.log("models_zoo"),e.forEach(n=>{n.name==this.$store.state.config.model_name?n.selected=!0:n.selected=!1}),this.models_zoo=e,console.log("models_zoo"),console.log(this.models_zoo);for(let n=0;nr.name==s);if(o==-1)for(let r=0;ra.name==s),o!=-1)){o=r,console.log(`Found ${s} at index ${o}`);break}}if(o==-1){let r={};r.name=s,r.icon="",r.isCustomModel=!0,r.isInstalled=!0,this.models_zoo.push(r)}else this.models_zoo[o].isInstalled=!0}this.models_zoo.sort((n,s)=>n.isInstalled&&!s.isInstalled?-1:!n.isInstalled&&s.isInstalled?1:0)},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.refreshModelsZoo().then(o=>{this.$store.dispatch("refreshModels"),console.log("Models refreshed")}),this.$forceUpdate(),this.$refs.toast.showToast("Binding changed.",4,!0)}),_e(()=>{ye.replace()})})},async update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,ve.post("/apply_settings",{config:this.configFile}).then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),_e(()=>{ye.replace()})})},save_configuration(){this.showConfirmation=!1,ve.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure? -This will delete all your configurations and get back to default configuration.`).then(t=>{t&&ve.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=this.$store.state.config,n=Object.keys(t);for(let s=0;s{const l=e.personalities.includes(o+"/"+a.folder);let d={};return d=a,d.category=o,d.language=langkey,d.full_path=o+"/"+a.folder,d.isMounted=l,d});this.personalities.length==0?this.personalities=i:this.personalities=this.personalities.concat(i)}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterExtensions(){if(!this.searchExtension){this.personalitiesFiltered=this.extensions.filter(n=>n.category===this.extension_category),this.personalitiesFiltered.sort(),this.searchExtensionInProgress=!1;return}const t=this.searchExtension.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort()),this.searchExtensionInProgress=!1},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase();this.is_loading_zoo=!0,console.log("filtering models");const e=this.models.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.category&&n.category.toLowerCase().includes(t))return n});this.is_loading_zoo=!1,e.length>0?this.modelsFiltered=e:this.modelsFiltered=this.models,this.searchModelInProgress=!1},computedFileSize(t){return Kt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await ve.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await ve.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await ve.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s.message,"select_personality - settings");return}},async mount_extension(t){if(!t)return{status:!1,error:"no extension - mount_extension"};try{const e={category:t.category,folder:t.folder},n=await ve.post("/mount_extension",e);if(n)return n.data}catch(e){console.log(e.message,"mount_extension - settings");return}},async unmount_extension(t){if(!t)return{status:!1,error:"no extension - unmount_extension"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await ve.post("/unmount_extension",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_extension - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +This will delete all your configurations and get back to default configuration.`).then(t=>{t&&ve.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=this.$store.state.config,n=Object.keys(t);for(let s=0;s{const l=e.personalities.includes(o+"/"+a.folder);let d={};return d=a,d.category=o,d.language=langkey,d.full_path=o+"/"+a.folder,d.isMounted=l,d});this.personalities.length==0?this.personalities=i:this.personalities=this.personalities.concat(i)}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterExtensions(){if(!this.searchExtension){this.personalitiesFiltered=this.extensions.filter(n=>n.category===this.extension_category),this.personalitiesFiltered.sort(),this.searchExtensionInProgress=!1;return}const t=this.searchExtension.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category),this.personalitiesFiltered.sort()),this.searchExtensionInProgress=!1},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase();this.is_loading_zoo=!0,console.log("filtering models");const e=this.models.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.category&&n.category.toLowerCase().includes(t))return n});this.is_loading_zoo=!1,e.length>0?this.modelsFiltered=e:this.modelsFiltered=this.models,this.searchModelInProgress=!1},computedFileSize(t){return Zt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await ve.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await ve.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await ve.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s.message,"select_personality - settings");return}},async mount_extension(t){if(!t)return{status:!1,error:"no extension - mount_extension"};try{const e={category:t.category,folder:t.folder},n=await ve.post("/mount_extension",e);if(n)return n.data}catch(e){console.log(e.message,"mount_extension - settings");return}},async unmount_extension(t){if(!t)return{status:!1,error:"no extension - unmount_extension"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await ve.post("/unmount_extension",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_extension - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.$store.dispatch("refreshMountedPersonalities")):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error+` Response: @@ -177,12 +177,12 @@ Error: `+e.error+` Response: `+e,4,!1)),this.isLoading=!1},async unmountExtension(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Extension unmounted",4,!0);const n=this.personalities.findIndex(i=>i.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(i=>i.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(i=>i.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.$store.dispatch("refreshMountedPersonalities");const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length)}else this.$refs.toast.showToast(`Could not unmount extension Error: `+e.error,4,!1);this.isLoading=!1},async remountExtension(t){await this.unmountExtension(t),await this.mountExtension(t)},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ve.post("/reinstall_personality",{name:t.personality.path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality -`+e.message,4,!1),{status:!1}))},personalityImgPlacehodler(t){t.target.src=Dn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},mountedExtensions:{get(){return this.$store.state.activeExtensions},set(t){this.$store.commit("setActiveExtensions",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},installed_models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return mo}},imgModel(){if(this.isMounted)try{let t=this.$refs.modelZoo.findIndex(e=>e.model.name==this.configFile.model_name);if(t==-1)for(let e of this.$refs.modelZoo){let n=e.model.variants;if(console.log(e.model),n!=null&&(t=n.findIndex(s=>s.name==this.configFile.model_name),t!=-1))break}return this.$refs.modelZoo[t].$refs.imgElement.src}catch{return mo}},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return Kt(this.addModel.speed)},total_size_computed(){return Kt(this.addModel.total_size)},downloaded_size_computed(){return Kt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){_e(()=>{ye.replace()})},pc_collapsed(){_e(()=>{ye.replace()})},mc_collapsed(){_e(()=>{ye.replace()})},sc_collapsed(){_e(()=>{ye.replace()})},showConfirmation(){_e(()=>{ye.replace()})},mzl_collapsed(){_e(()=>{ye.replace()})},pzl_collapsed(){_e(()=>{ye.replace()})},bzl_collapsed(){_e(()=>{ye.replace()})},all_collapsed(t){this.collapseAll(t),_e(()=>{ye.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,_e(()=>{ye.replace()})},isLoading(){_e(()=>{ye.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){_e(()=>{ye.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forget to apply changes? +`+e.message,4,!1),{status:!1}))},personalityImgPlacehodler(t){t.target.src=Xs},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},mountedExtensions:{get(){return this.$store.state.config.extensions},set(t){this.$store.commit("setActiveExtensions",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},installed_models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return mo}},imgModel(){if(this.isMounted)try{let t=this.$refs.modelZoo.findIndex(e=>e.model.name==this.configFile.model_name);if(t==-1)for(let e of this.$refs.modelZoo){let n=e.model.variants;if(console.log(e.model),n!=null&&(t=n.findIndex(s=>s.name==this.configFile.model_name),t!=-1))break}return this.$refs.modelZoo[t].$refs.imgElement.src}catch{return mo}},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return Zt(this.addModel.speed)},total_size_computed(){return Zt(this.addModel.total_size)},downloaded_size_computed(){return Zt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){_e(()=>{ye.replace()})},pc_collapsed(){_e(()=>{ye.replace()})},mc_collapsed(){_e(()=>{ye.replace()})},sc_collapsed(){_e(()=>{ye.replace()})},showConfirmation(){_e(()=>{ye.replace()})},mzl_collapsed(){_e(()=>{ye.replace()})},pzl_collapsed(){_e(()=>{ye.replace()})},bzl_collapsed(){_e(()=>{ye.replace()})},all_collapsed(t){this.collapseAll(t),_e(()=>{ye.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,_e(()=>{ye.replace()})},isLoading(){_e(()=>{ye.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){_e(()=>{ye.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forget to apply changes? You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model? -You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},Z=t=>(is("data-v-12b93420"),t=t(),as(),t),PIe={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},FIe={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},BIe={key:0,class:"flex gap-3 flex-1 items-center duration-75"},zIe=Z(()=>c("i",{"data-feather":"x"},null,-1)),$Ie=[zIe],UIe=Z(()=>c("i",{"data-feather":"check"},null,-1)),jIe=[UIe],qIe={key:1,class:"flex gap-3 flex-1 items-center"},HIe=Z(()=>c("i",{"data-feather":"save"},null,-1)),VIe=[HIe],GIe=Z(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),KIe=[GIe],ZIe=Z(()=>c("i",{"data-feather":"list"},null,-1)),WIe=[ZIe],YIe={class:"flex gap-3 flex-1 items-center justify-end"},JIe=Z(()=>c("i",{"data-feather":"trash-2"},null,-1)),QIe=[JIe],XIe=Z(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),ePe=[XIe],tPe=Z(()=>c("i",{"data-feather":"arrow-up-circle"},null,-1)),nPe={key:0},sPe=Z(()=>c("i",{"data-feather":"alert-circle"},null,-1)),oPe=[sPe],rPe={class:"flex gap-3 items-center"},iPe={key:0,class:"flex gap-3 items-center"},aPe=Z(()=>c("p",{class:"text-red-600 font-bold"},"Apply changes:",-1)),lPe=Z(()=>c("i",{"data-feather":"check"},null,-1)),cPe=[lPe],dPe={key:1,role:"status"},uPe=Z(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),hPe=Z(()=>c("span",{class:"sr-only"},"Loading...",-1)),fPe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},pPe={class:"flex flex-row p-3"},gPe=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),mPe=[gPe],_Pe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),bPe=[_Pe],yPe=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),vPe=Z(()=>c("div",{class:"mr-2"},"|",-1)),xPe={class:"text-base font-semibold cursor-pointer select-none items-center"},wPe={class:"flex gap-2 items-center"},kPe={key:0},EPe={class:"flex gap-2 items-center"},CPe=["title"],APe=Gs('',34),SPe=[APe],TPe={class:"font-bold font-large text-lg"},MPe={key:1},OPe={class:"flex gap-2 items-center"},RPe=Gs('',1),NPe={class:"font-bold font-large text-lg"},LPe=Z(()=>c("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),DPe={class:"font-bold font-large text-lg"},IPe=Z(()=>c("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),PPe={class:"font-bold font-large text-lg"},FPe={class:"mb-2"},BPe=Z(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[c("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),xe(" CPU Ram usage: ")],-1)),zPe={class:"flex flex-col mx-2"},$Pe=Z(()=>c("b",null,"Avaliable ram: ",-1)),UPe=Z(()=>c("b",null,"Ram usage: ",-1)),jPe={class:"p-2"},qPe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},HPe={class:"mb-2"},VPe=Z(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),xe(" Disk usage: ")],-1)),GPe={class:"flex flex-col mx-2"},KPe=Z(()=>c("b",null,"Avaliable disk space: ",-1)),ZPe=Z(()=>c("b",null,"Disk usage: ",-1)),WPe={class:"p-2"},YPe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},JPe={class:"mb-2"},QPe=Gs('',1),XPe={class:"flex flex-col mx-2"},eFe=Z(()=>c("b",null,"Model: ",-1)),tFe=Z(()=>c("b",null,"Avaliable vram: ",-1)),nFe=Z(()=>c("b",null,"GPU usage: ",-1)),sFe={class:"p-2"},oFe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},rFe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},iFe={class:"flex flex-row p-3"},aFe=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),lFe=[aFe],cFe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),dFe=[cFe],uFe=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),hFe={class:"flex flex-col mb-2 px-3 pb-2"},fFe={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},pFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),gFe={style:{width:"100%"}},mFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),_Fe={style:{width:"100%"}},bFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),yFe={style:{width:"100%"}},vFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),xFe={class:"flex flex-row"},wFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),kFe={class:"text-center items-center"},EFe={class:"flex flex-row"},CFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),AFe={class:"flex flex-row"},SFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),TFe={class:"flex flex-row"},MFe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},OFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),RFe={style:{width:"100%"}},NFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),LFe={style:{width:"100%"}},DFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),IFe={style:{width:"100%"}},PFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),FFe={style:{width:"100%"}},BFe={for:"avatar-upload"},zFe=["src"],$Fe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),UFe={class:"flex flex-row"},jFe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},qFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),HFe={class:"flex flex-row"},VFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files vectorization:")],-1)),GFe={class:"flex flex-row"},KFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),ZFe={class:"flex flex-row"},WFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),YFe=Z(()=>c("option",{value:"ftidf_vectorizer"},"ftidf Vectorizer",-1)),JFe=Z(()=>c("option",{value:"model_embedding"},"Model Embedding",-1)),QFe=[YFe,JFe],XFe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),eBe=Z(()=>c("option",{value:"PCA"},"PCA",-1)),tBe=Z(()=>c("option",{value:"TSNE"},"TSNE",-1)),nBe=[eBe,tBe],sBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),oBe={class:"flex flex-row"},rBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),iBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),aBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),lBe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},cBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),dBe={class:"flex flex-row"},uBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),hBe={class:"flex flex-row"},fBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),pBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),gBe=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),mBe=["value"],_Be=Z(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),bBe=["value"],yBe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},vBe={class:"flex flex-row p-3"},xBe=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),wBe=[xBe],kBe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),EBe=[kBe],CBe=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),ABe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},SBe=Z(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),TBe={key:1,class:"mr-2"},MBe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},OBe={class:"flex gap-1 items-center"},RBe=["src"],NBe={class:"font-bold font-large text-lg line-clamp-1"},LBe={key:0,class:"mb-2"},DBe={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},IBe=Z(()=>c("i",{"data-feather":"chevron-up"},null,-1)),PBe=[IBe],FBe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),BBe=[FBe],zBe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},$Be={class:"flex flex-row p-3"},UBe=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),jBe=[UBe],qBe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),HBe=[qBe],VBe=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),GBe={class:"flex flex-row items-center"},KBe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},ZBe=Z(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),WBe={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},YBe=Z(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),JBe={key:2,class:"mr-2"},QBe={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},XBe={class:"flex gap-1 items-center"},eze=["src"],tze={class:"font-bold font-large text-lg line-clamp-1"},nze={class:"mx-2 mb-4"},sze={class:"relative"},oze={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},rze={key:0},ize=Z(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),aze=[ize],lze={key:1},cze=Z(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),dze=[cze],uze=Z(()=>c("label",{for:"only_installed"},"Show only installed models",-1)),hze=Z(()=>c("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),fze={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},pze=Z(()=>c("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),gze=Z(()=>c("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),mze=[pze,gze],_ze={key:1},bze={key:0,class:"mb-2"},yze={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},vze={key:2},xze={key:0,class:"mb-2"},wze={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},kze=Z(()=>c("i",{"data-feather":"chevron-up"},null,-1)),Eze=[kze],Cze=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),Aze=[Cze],Sze={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Tze={class:"flex flex-row p-3"},Mze=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),Oze=[Mze],Rze=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),Nze=[Rze],Lze=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),Dze={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Ize=Z(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),Pze={key:1,class:"mr-2"},Fze={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},Bze={class:"flex gap-1 items-center"},zze=["src"],$ze={class:"font-bold font-large text-lg line-clamp-1"},Uze={class:"mb-2"},jze={class:"p-2"},qze={class:"mb-3"},Hze=Z(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),Vze={key:0},Gze={class:"mb-3"},Kze=Z(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),Zze={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},Wze=Z(()=>c("div",{role:"status",class:"justify-center"},null,-1)),Yze={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Jze={class:"w-full p-2"},Qze={class:"flex justify-between mb-1"},Xze=Gs(' Downloading Loading...',1),e$e={class:"text-sm font-medium text-blue-700 dark:text-white"},t$e=["title"],n$e={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},s$e={class:"flex justify-between mb-1"},o$e={class:"text-base font-medium text-blue-700 dark:text-white"},r$e={class:"text-sm font-medium text-blue-700 dark:text-white"},i$e={class:"flex flex-grow"},a$e={class:"flex flex-row flex-grow gap-3"},l$e={class:"p-2 text-center grow"},c$e={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},d$e={class:"flex flex-row p-3 items-center"},u$e=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),h$e=[u$e],f$e=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),p$e=[f$e],g$e=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),m$e={key:0,class:"mr-2"},_$e={class:"mr-2 font-bold font-large text-lg line-clamp-1"},b$e={key:1,class:"mr-2"},y$e={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},v$e={key:0,class:"flex -space-x-4 items-center"},x$e={class:"group items-center flex flex-row"},w$e=["onClick"],k$e=["src","title"],E$e=["onClick"],C$e=Z(()=>c("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[c("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),A$e=[C$e],S$e={class:"mx-2 mb-4"},T$e=Z(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),M$e={class:"relative"},O$e={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},R$e={key:0},N$e=Z(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),L$e=[N$e],D$e={key:1},I$e=Z(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),P$e=[I$e],F$e={key:0,class:"mx-2 mb-4"},B$e={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},z$e=["selected"],$$e={key:0,class:"mb-2"},U$e={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},j$e=Z(()=>c("i",{"data-feather":"chevron-up"},null,-1)),q$e=[j$e],H$e=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),V$e=[H$e],G$e={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},K$e={class:"flex flex-row p-3 items-center"},Z$e=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),W$e=[Z$e],Y$e=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),J$e=[Y$e],Q$e=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Extensions zoo",-1)),X$e={key:0,class:"mr-2"},eUe={key:1,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},tUe={key:0,class:"flex -space-x-4 items-center"},nUe={class:"group items-center flex flex-row"},sUe=["onClick"],oUe=["src","title"],rUe=["onClick"],iUe=Z(()=>c("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[c("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),aUe=[iUe],lUe={class:"mx-2 mb-4"},cUe=Z(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),dUe={class:"relative"},uUe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},hUe={key:0},fUe=Z(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),pUe=[fUe],gUe={key:1},mUe=Z(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),_Ue=[mUe],bUe={key:0,class:"mx-2 mb-4"},yUe={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},vUe=["selected"],xUe={key:0,class:"mb-2"},wUe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},kUe=Z(()=>c("i",{"data-feather":"chevron-up"},null,-1)),EUe=[kUe],CUe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),AUe=[CUe],SUe={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},TUe={class:"flex flex-row"},MUe=Z(()=>c("i",{"data-feather":"chevron-right"},null,-1)),OUe=[MUe],RUe=Z(()=>c("i",{"data-feather":"chevron-down"},null,-1)),NUe=[RUe],LUe=Z(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),DUe={class:"m-2"},IUe={class:"flex flex-row gap-2 items-center"},PUe=Z(()=>c("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),FUe={class:"m-2"},BUe=Z(()=>c("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),zUe={class:"m-2"},$Ue={class:"flex flex-col align-bottom"},UUe={class:"relative"},jUe=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),qUe={class:"absolute right-0"},HUe={class:"m-2"},VUe={class:"flex flex-col align-bottom"},GUe={class:"relative"},KUe=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),ZUe={class:"absolute right-0"},WUe={class:"m-2"},YUe={class:"flex flex-col align-bottom"},JUe={class:"relative"},QUe=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),XUe={class:"absolute right-0"},eje={class:"m-2"},tje={class:"flex flex-col align-bottom"},nje={class:"relative"},sje=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),oje={class:"absolute right-0"},rje={class:"m-2"},ije={class:"flex flex-col align-bottom"},aje={class:"relative"},lje=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),cje={class:"absolute right-0"},dje={class:"m-2"},uje={class:"flex flex-col align-bottom"},hje={class:"relative"},fje=Z(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),pje={class:"absolute right-0"};function gje(t,e,n,s,o,r){const i=Ie("Card"),a=Ie("BindingEntry"),l=Ie("RadioOptions"),d=Ie("model-entry"),u=Ie("personality-entry"),h=Ie("ExtensionEntry"),f=Ie("Toast"),g=Ie("YesNoDialog"),m=Ie("AddModelDialog"),_=Ie("MessageBox"),w=Ie("UniversalForm"),b=Ie("ChoiceDialog");return v(),E(Ae,null,[c("div",PIe,[c("div",FIe,[o.showConfirmation?(v(),E("div",BIe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ae(p=>o.showConfirmation=!1,["stop"]))},$Ie),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ae(p=>r.save_configuration(),["stop"]))},jIe)])):R("",!0),o.showConfirmation?R("",!0):(v(),E("div",qIe,[c("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},VIe),c("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},KIe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ae(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},WIe)])),c("div",YIe,[c("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=p=>r.api_get_req("clear_uploads").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},QIe),c("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=p=>r.api_get_req("restart_program").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},ePe),c("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=p=>r.api_get_req("update_software").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[tPe,o.has_updates?(v(),E("div",nPe,oPe)):R("",!0)]),c("div",rPe,[o.settingsChanged?(v(),E("div",iPe,[aPe,o.isLoading?R("",!0):(v(),E("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=ae(p=>r.applyConfiguration(),["stop"]))},cPe))])):R("",!0),o.isLoading?(v(),E("div",dPe,[c("p",null,z(o.loading_text),1),uPe,hPe])):R("",!0)])])]),c("div",{class:ke(o.isLoading?"pointer-events-none opacity-30":"")},[c("div",fPe,[c("div",pPe,[c("button",{onClick:e[9]||(e[9]=ae(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,mPe,512),[[We,o.sc_collapsed]]),Q(c("div",null,bPe,512),[[We,!o.sc_collapsed]]),yPe,vPe,c("div",xPe,[c("div",wPe,[c("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(v(),E("div",kPe,[(v(!0),E(Ae,null,Ue(r.vramUsage.gpus,p=>(v(),E("div",EPe,[(v(),E("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SPe,8,CPe)),c("h3",TPe,[c("div",null,z(r.computedFileSize(p.used_vram))+" / "+z(r.computedFileSize(p.total_vram))+" ("+z(p.percentage)+"%) ",1)])]))),256))])):R("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(v(),E("div",MPe,[c("div",OPe,[RPe,c("h3",NPe,[c("div",null,z(r.vramUsage.gpus.length)+"x ",1)])])])):R("",!0)]),LPe,c("h3",DPe,[c("div",null,z(r.ram_usage)+" / "+z(r.ram_total_space)+" ("+z(r.ram_percent_usage)+"%)",1)]),IPe,c("h3",PPe,[c("div",null,z(r.disk_binding_models_usage)+" / "+z(r.disk_total_space)+" ("+z(r.disk_percent_usage)+"%)",1)])])])])]),c("div",{class:ke([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",FPe,[BPe,c("div",zPe,[c("div",null,[$Pe,xe(z(r.ram_available_space),1)]),c("div",null,[UPe,xe(" "+z(r.ram_usage)+" / "+z(r.ram_total_space)+" ("+z(r.ram_percent_usage)+")% ",1)])]),c("div",jPe,[c("div",qPe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),c("div",HPe,[VPe,c("div",GPe,[c("div",null,[KPe,xe(z(r.disk_available_space),1)]),c("div",null,[ZPe,xe(" "+z(r.disk_binding_models_usage)+" / "+z(r.disk_total_space)+" ("+z(r.disk_percent_usage)+"%)",1)])]),c("div",WPe,[c("div",YPe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(v(!0),E(Ae,null,Ue(r.vramUsage.gpus,p=>(v(),E("div",JPe,[QPe,c("div",XPe,[c("div",null,[eFe,xe(z(p.gpu_model),1)]),c("div",null,[tFe,xe(z(this.computedFileSize(p.available_space)),1)]),c("div",null,[nFe,xe(" "+z(this.computedFileSize(p.used_vram))+" / "+z(this.computedFileSize(p.total_vram))+" ("+z(p.percentage)+"%)",1)])]),c("div",sFe,[c("div",oFe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),c("div",rFe,[c("div",iFe,[c("button",{onClick:e[10]||(e[10]=ae(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,lFe,512),[[We,o.minconf_collapsed]]),Q(c("div",null,dFe,512),[[We,!o.minconf_collapsed]]),uFe])]),c("div",{class:ke([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",hFe,[le(i,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",fFe,[c("tr",null,[pFe,c("td",gFe,[Q(c("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=p=>r.configFile.host=p),onChange:e[12]||(e[12]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.host]])])]),c("tr",null,[mFe,c("td",_Fe,[Q(c("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=p=>r.configFile.port=p),onChange:e[14]||(e[14]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.port]])])]),c("tr",null,[bFe,c("td",yFe,[Q(c("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=p=>r.configFile.db_path=p),onChange:e[16]||(e[16]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.db_path]])])]),c("tr",null,[vFe,c("td",null,[c("div",xFe,[Q(c("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[17]||(e[17]=p=>r.configFile.auto_show_browser=p),onChange:e[18]||(e[18]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_show_browser]])])])]),c("tr",null,[wFe,c("td",kFe,[c("div",EFe,[Q(c("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[19]||(e[19]=p=>r.configFile.enable_gpu=p),onChange:e[20]||(e[20]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.enable_gpu]]),r.configFile.enable_gpu?R("",!0):(v(),E("button",{key:0,onClick:e[21]||(e[21]=ae((...p)=>r.upgrade2GPU&&r.upgrade2GPU(...p),["prevent"])),class:"w-100 text-center rounded m-2 bg-blue-300 hover:bg-blue-200 text-l hover:text-primary p-2 m-2 text-left flex flex-row"}," Upgrade from CPU to GPU "))])])]),c("tr",null,[CFe,c("td",null,[c("div",AFe,[Q(c("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[22]||(e[22]=p=>r.configFile.auto_save=p),onChange:e[23]||(e[23]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_save]])])])]),c("tr",null,[SFe,c("td",null,[c("div",TFe,[Q(c("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[24]||(e[24]=p=>r.configFile.auto_update=p),onChange:e[25]||(e[25]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_update]])])])])])]),_:1}),le(i,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",MFe,[c("tr",null,[OFe,c("td",RFe,[Q(c("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[26]||(e[26]=p=>r.configFile.user_name=p),onChange:e[27]||(e[27]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.user_name]])])]),c("tr",null,[NFe,c("td",LFe,[Q(c("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[28]||(e[28]=p=>r.configFile.user_description=p),onChange:e[29]||(e[29]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.user_description]])])]),c("tr",null,[DFe,c("td",IFe,[Q(c("input",{type:"checkbox",id:"override_personality_model_parameters",required:"","onUpdate:modelValue":e[30]||(e[30]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[31]||(e[31]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.override_personality_model_parameters]])])]),c("tr",null,[PFe,c("td",FFe,[c("label",BFe,[c("img",{src:"/user_infos/"+r.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,zFe)]),c("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[32]||(e[32]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)])]),c("tr",null,[$Fe,c("td",null,[c("div",UFe,[Q(c("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[33]||(e[33]=p=>r.configFile.use_user_name_in_discussions=p),onChange:e[34]||(e[34]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.use_user_name_in_discussions]])])])])])]),_:1}),le(i,{title:"Files Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",jFe,[c("tr",null,[qFe,c("td",null,[c("div",HFe,[Q(c("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[35]||(e[35]=p=>r.configFile.use_files=p),onChange:e[36]||(e[36]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.use_files]])])])]),c("tr",null,[VFe,c("td",null,[c("div",GFe,[Q(c("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[37]||(e[37]=p=>r.configFile.data_vectorization_activate=p),onChange:e[38]||(e[38]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_activate]])])])]),c("tr",null,[KFe,c("td",null,[c("div",ZFe,[Q(c("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[39]||(e[39]=p=>r.configFile.data_vectorization_build_keys_words=p),onChange:e[40]||(e[40]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_build_keys_words]])])])]),c("tr",null,[WFe,c("td",null,[Q(c("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[41]||(e[41]=p=>r.configFile.data_vectorization_method=p),onChange:e[42]||(e[42]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},QFe,544),[[qt,r.configFile.data_vectorization_method]])])]),c("tr",null,[XFe,c("td",null,[Q(c("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[43]||(e[43]=p=>r.configFile.data_visualization_method=p),onChange:e[44]||(e[44]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},nBe,544),[[qt,r.configFile.data_visualization_method]])])]),c("tr",null,[sBe,c("td",null,[c("div",oBe,[Q(c("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[45]||(e[45]=p=>r.configFile.data_vectorization_save_db=p),onChange:e[46]||(e[46]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_save_db]])])])]),c("tr",null,[rBe,c("td",null,[Q(c("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[47]||(e[47]=p=>r.configFile.data_vectorization_chunk_size=p),onChange:e[48]||(e[48]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_chunk_size]]),Q(c("input",{"onUpdate:modelValue":e[49]||(e[49]=p=>r.configFile.data_vectorization_chunk_size=p),type:"number",onChange:e[50]||(e[50]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_chunk_size]])])]),c("tr",null,[iBe,c("td",null,[Q(c("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.data_vectorization_overlap_size=p),onChange:e[52]||(e[52]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_overlap_size]]),Q(c("input",{"onUpdate:modelValue":e[53]||(e[53]=p=>r.configFile.data_vectorization_overlap_size=p),type:"number",onChange:e[54]||(e[54]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_overlap_size]])])]),c("tr",null,[aBe,c("td",null,[Q(c("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.data_vectorization_nb_chunks=p),onChange:e[56]||(e[56]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_nb_chunks]]),Q(c("input",{"onUpdate:modelValue":e[57]||(e[57]=p=>r.configFile.data_vectorization_nb_chunks=p),type:"number",onChange:e[58]||(e[58]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),le(i,{title:"Audio",is_subcard:!0,class:"pb-2 m-2"},{default:Ne(()=>[c("table",lBe,[c("tr",null,[cBe,c("td",null,[c("div",dBe,[Q(c("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[59]||(e[59]=p=>r.configFile.audio_auto_send_input=p),onChange:e[60]||(e[60]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.audio_auto_send_input]])])])]),c("tr",null,[uBe,c("td",null,[c("div",hBe,[Q(c("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.auto_speak=p),onChange:e[62]||(e[62]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_speak]])])])]),c("tr",null,[fBe,c("td",null,[Q(c("input",{id:"audio_pitch","onUpdate:modelValue":e[63]||(e[63]=p=>r.configFile.audio_pitch=p),onChange:e[64]||(e[64]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.audio_pitch]]),Q(c("input",{"onUpdate:modelValue":e[65]||(e[65]=p=>r.configFile.audio_pitch=p),onChange:e[66]||(e[66]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_pitch]])])]),c("tr",null,[pBe,c("td",null,[Q(c("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.audio_silenceTimer=p),onChange:e[68]||(e[68]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.audio_silenceTimer]]),Q(c("input",{"onUpdate:modelValue":e[69]||(e[69]=p=>r.configFile.audio_silenceTimer=p),onChange:e[70]||(e[70]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_silenceTimer]])])]),c("tr",null,[gBe,c("td",null,[Q(c("select",{id:"audio_in_language","onUpdate:modelValue":e[71]||(e[71]=p=>r.configFile.audio_in_language=p),onChange:e[72]||(e[72]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(v(!0),E(Ae,null,Ue(r.audioLanguages,p=>(v(),E("option",{key:p.code,value:p.code},z(p.name),9,mBe))),128))],544),[[qt,r.configFile.audio_in_language]])])]),c("tr",null,[_Be,c("td",null,[Q(c("select",{id:"audio_out_voice","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.audio_out_voice=p),onChange:e[74]||(e[74]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(v(!0),E(Ae,null,Ue(o.audioVoices,p=>(v(),E("option",{key:p.name,value:p.name},z(p.name),9,bBe))),128))],544),[[qt,r.configFile.audio_out_voice]])])])])]),_:1})])],2)]),c("div",yBe,[c("div",vBe,[c("button",{onClick:e[75]||(e[75]=ae(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,wBe,512),[[We,o.bzc_collapsed]]),Q(c("div",null,EBe,512),[[We,!o.bzc_collapsed]]),CBe,r.configFile.binding_name?R("",!0):(v(),E("div",ABe,[SBe,xe(" No binding selected! ")])),r.configFile.binding_name?(v(),E("div",TBe,"|")):R("",!0),r.configFile.binding_name?(v(),E("div",MBe,[c("div",OBe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,RBe),c("h3",NBe,z(r.binding_name),1)])])):R("",!0)])]),c("div",{class:ke([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr&&r.bindingsArr.length>0?(v(),E("div",LBe,[c("label",DBe," Bindings: ("+z(r.bindingsArr.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(r.bindingsArr,(p,x)=>(v(),Xe(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+x+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-unInstall":r.onUnInstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):R("",!0),o.bzl_collapsed?(v(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[76]||(e[76]=p=>o.bzl_collapsed=!o.bzl_collapsed)},PBe)):(v(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[77]||(e[77]=p=>o.bzl_collapsed=!o.bzl_collapsed)},BBe))],2)]),c("div",zBe,[c("div",$Be,[c("button",{onClick:e[78]||(e[78]=ae(p=>r.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,jBe,512),[[We,o.mzc_collapsed]]),Q(c("div",null,HBe,512),[[We,!o.mzc_collapsed]]),VBe,c("div",GBe,[r.configFile.binding_name?R("",!0):(v(),E("div",KBe,[ZBe,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(v(),E("div",WBe,[YBe,xe(" No model selected! ")])):R("",!0),r.configFile.model_name?(v(),E("div",JBe,"|")):R("",!0),r.configFile.model_name?(v(),E("div",QBe,[c("div",XBe,[c("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,eze),c("h3",tze,z(r.model_name),1)])])):R("",!0)])])]),c("div",{class:ke([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",nze,[c("div",sze,[c("div",oze,[o.searchModelInProgress?(v(),E("div",rze,aze)):R("",!0),o.searchModelInProgress?R("",!0):(v(),E("div",lze,dze))]),Q(c("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[79]||(e[79]=p=>o.searchModel=p),onKeyup:e[80]||(e[80]=Tr((...p)=>r.searchModel_func&&r.searchModel_func(...p),["enter"]))},null,544),[[Re,o.searchModel]]),o.searchModel?(v(),E("button",{key:0,onClick:e[81]||(e[81]=ae(p=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),c("div",null,[Q(c("input",{"onUpdate:modelValue":e[82]||(e[82]=p=>o.show_only_installed_models=p),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[Qe,o.show_only_installed_models]]),uze]),c("div",null,[le(l,{radioOptions:o.sortOptions,onRadioSelected:r.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),hze,o.is_loading_zoo?(v(),E("div",fze,mze)):R("",!0),o.searchModel?(v(),E("div",_ze,[o.modelsFiltered.length>0?(v(),E("div",bze,[c("label",yze," Search results: ("+z(o.modelsFiltered.length)+") ",1),c("div",{class:ke(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",o.mzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.show_only_installed_models?r.filter_installed(o.modelsFiltered):o.modelsFiltered,(p,x)=>(v(),Xe(d,{ref_for:!0,ref:"modelZoo",key:"index-"+x+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):R("",!0)])):R("",!0),o.searchModel?R("",!0):(v(),E("div",vze,[r.models&&r.models.length>0?(v(),E("div",xze,[c("label",wze," Models: ("+z(r.models.length)+") ",1),c("div",{class:ke(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",o.mzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.show_only_installed_models?r.filter_installed(r.models):r.models,(p,x)=>(v(),Xe(d,{ref_for:!0,ref:"modelZoo",key:"index-"+x+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):R("",!0)])),o.mzl_collapsed?(v(),E("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[83]||(e[83]=(...p)=>r.open_mzl&&r.open_mzl(...p))},Eze)):(v(),E("button",{key:4,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[84]||(e[84]=(...p)=>r.open_mzl&&r.open_mzl(...p))},Aze))],2)]),c("div",Sze,[c("div",Tze,[c("button",{onClick:e[85]||(e[85]=ae(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,Oze,512),[[We,o.mzdc_collapsed]]),Q(c("div",null,Nze,512),[[We,!o.mzdc_collapsed]]),Lze,r.binding_name?R("",!0):(v(),E("div",Dze,[Ize,xe(" No binding selected! ")])),r.configFile.binding_name?(v(),E("div",Pze,"|")):R("",!0),r.configFile.binding_name?(v(),E("div",Fze,[c("div",Bze,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,zze),c("h3",$ze,z(r.binding_name),1)])])):R("",!0)])]),c("div",{class:ke([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",Uze,[c("div",jze,[c("div",null,[c("div",qze,[Hze,Q(c("input",{type:"text","onUpdate:modelValue":e[86]||(e[86]=p=>o.reference_path=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter Path ...",required:""},null,512),[[Re,o.reference_path]])]),c("button",{type:"button",onClick:e[87]||(e[87]=ae(p=>r.onCreateReference(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Add reference")]),o.modelDownlaodInProgress?R("",!0):(v(),E("div",Vze,[c("div",Gze,[Kze,Q(c("input",{type:"text","onUpdate:modelValue":e[88]||(e[88]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[Re,o.addModel.url]])]),c("button",{type:"button",onClick:e[89]||(e[89]=ae(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(v(),E("div",Zze,[Wze,c("div",Yze,[c("div",Jze,[c("div",Qze,[Xze,c("span",e$e,z(Math.floor(o.addModel.progress))+"%",1)]),c("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},z(o.addModel.url),9,t$e),c("div",n$e,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.addModel.progress+"%"})},null,4)]),c("div",s$e,[c("span",o$e,"Download speed: "+z(r.speed_computed)+"/s",1),c("span",r$e,z(r.downloaded_size_computed)+"/"+z(r.total_size_computed),1)])])]),c("div",i$e,[c("div",a$e,[c("div",l$e,[c("button",{onClick:e[90]||(e[90]=ae((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):R("",!0)])])],2)]),c("div",c$e,[c("div",d$e,[c("button",{onClick:e[92]||(e[92]=ae(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[Q(c("div",null,h$e,512),[[We,o.pzc_collapsed]]),Q(c("div",null,p$e,512),[[We,!o.pzc_collapsed]]),g$e,r.configFile.personalities?(v(),E("div",m$e,"|")):R("",!0),c("div",_$e,z(r.active_pesonality),1),r.configFile.personalities?(v(),E("div",b$e,"|")):R("",!0),r.configFile.personalities?(v(),E("div",y$e,[r.mountedPersArr.length>0?(v(),E("div",v$e,[(v(!0),E(Ae,null,Ue(r.mountedPersArr,(p,x)=>(v(),E("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:x+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[c("div",x$e,[c("button",{onClick:ae(A=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[91]||(e[91]=(...A)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...A)),class:ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,k$e)],8,w$e),c("button",{onClick:ae(A=>r.unmountPersonality(p),["stop"])},A$e,8,E$e)])]))),128))])):R("",!0)])):R("",!0)])]),c("div",{class:ke([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",S$e,[T$e,c("div",M$e,[c("div",O$e,[o.searchPersonalityInProgress?(v(),E("div",R$e,L$e)):R("",!0),o.searchPersonalityInProgress?R("",!0):(v(),E("div",D$e,P$e))]),Q(c("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[93]||(e[93]=p=>o.searchPersonality=p),onKeyup:e[94]||(e[94]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(v(),E("button",{key:0,onClick:e[95]||(e[95]=ae(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),o.searchPersonality?R("",!0):(v(),E("div",F$e,[c("label",B$e," Personalities Category: ("+z(o.persCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[96]||(e[96]=p=>r.update_personality_category(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(v(!0),E(Ae,null,Ue(o.persCatgArr,(p,x)=>(v(),E("option",{key:x,selected:p==this.configFile.personality_category},z(p),9,z$e))),128))],32)])),c("div",null,[o.personalitiesFiltered.length>0?(v(),E("div",$$e,[c("label",U$e,z(o.searchPersonality?"Search results":"Personalities")+": ("+z(o.personalitiesFiltered.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[le(It,{name:"bounce"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.personalitiesFiltered,(p,x)=>(v(),Xe(u,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+x+"-"+p.name,personality:p,select_language:!0,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(A=>A===p.full_path||A===p.full_path+":"+p.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):R("",!0)]),o.pzl_collapsed?(v(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[97]||(e[97]=p=>o.pzl_collapsed=!o.pzl_collapsed)},q$e)):(v(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[98]||(e[98]=p=>o.pzl_collapsed=!o.pzl_collapsed)},V$e))],2)]),c("div",G$e,[c("div",K$e,[c("button",{onClick:e[100]||(e[100]=ae(p=>o.ezc_collapsed=!o.ezc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[Q(c("div",null,W$e,512),[[We,o.ezc_collapsed]]),Q(c("div",null,J$e,512),[[We,!o.ezc_collapsed]]),Q$e,r.configFile.extensions?(v(),E("div",X$e,"|")):R("",!0),r.configFile.extensions?(v(),E("div",eUe,[r.mountedExtensions.length>0?(v(),E("div",tUe,[(v(!0),E(Ae,null,Ue(r.mountedExtensions,(p,x)=>(v(),E("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:x+"-"+p.name,ref_for:!0,ref:"mountedExtensions"},[c("div",nUe,[c("button",{onClick:ae(A=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[99]||(e[99]=(...A)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...A)),class:ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,oUe)],8,sUe),c("button",{onClick:ae(A=>r.unmountPersonality(p),["stop"])},aUe,8,rUe)])]))),128))])):R("",!0)])):R("",!0)])]),c("div",{class:ke([{hidden:o.ezc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",lUe,[cUe,c("div",dUe,[c("div",uUe,[o.searchExtensionInProgress?(v(),E("div",hUe,pUe)):R("",!0),o.searchExtensionInProgress?R("",!0):(v(),E("div",gUe,_Ue))]),Q(c("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[101]||(e[101]=p=>o.searchPersonality=p),onKeyup:e[102]||(e[102]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(v(),E("button",{key:0,onClick:e[103]||(e[103]=ae(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),o.searchPersonality?R("",!0):(v(),E("div",bUe,[c("label",yUe," Extensions Category: ("+z(o.extCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[104]||(e[104]=p=>r.update_extension_category(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(v(!0),E(Ae,null,Ue(o.extCatgArr,(p,x)=>(v(),E("option",{key:x,selected:p==this.extension_category},z(p),9,vUe))),128))],32)])),c("div",null,[o.extensionsFiltererd.length>0?(v(),E("div",xUe,[c("label",wUe,z(o.searchPersonality?"Search results":"Personalities")+": ("+z(o.extensionsFiltererd.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[le(It,{name:"bounce"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.extensionsFiltererd,(p,x)=>(v(),Xe(h,{ref_for:!0,ref:"extensionsZoo",key:"index-"+x+"-"+p.name,extension:p,select_language:!0,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(A=>A===p.full_path),"on-selected":r.onExtensionSelected,"on-mount":r.mountExtension,"on-un-mount":r.unmountExtension,"on-remount":r.remountExtension,"on-reinstall":t.onExtensionReinstall,"on-settings":t.onSettingsExtension},null,8,["extension","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):R("",!0)]),o.pzl_collapsed?(v(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[105]||(e[105]=p=>o.pzl_collapsed=!o.pzl_collapsed)},EUe)):(v(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[106]||(e[106]=p=>o.pzl_collapsed=!o.pzl_collapsed)},AUe))],2)]),c("div",SUe,[c("div",TUe,[c("button",{onClick:e[107]||(e[107]=ae(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,OUe,512),[[We,o.mc_collapsed]]),Q(c("div",null,NUe,512),[[We,!o.mc_collapsed]]),LUe])]),c("div",{class:ke([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[c("div",DUe,[c("div",IUe,[Q(c("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[108]||(e[108]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[109]||(e[109]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[110]||(e[110]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[Qe,r.configFile.override_personality_model_parameters]]),PUe])]),c("div",{class:ke(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[c("div",FUe,[BUe,Q(c("input",{type:"text",id:"seed","onUpdate:modelValue":e[111]||(e[111]=p=>r.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Re,r.configFile.seed]])]),c("div",zUe,[c("div",$Ue,[c("div",UUe,[jUe,c("p",qUe,[Q(c("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[112]||(e[112]=p=>r.configFile.temperature=p),onChange:e[113]||(e[113]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.temperature]])])]),Q(c("input",{id:"temperature",onChange:e[114]||(e[114]=p=>o.settingsChanged=!0),type:"range","onUpdate:modelValue":e[115]||(e[115]=p=>r.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.temperature]])])]),c("div",HUe,[c("div",VUe,[c("div",GUe,[KUe,c("p",ZUe,[Q(c("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[116]||(e[116]=p=>r.configFile.n_predict=p),onChange:e[117]||(e[117]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.n_predict]])])]),Q(c("input",{id:"predict",type:"range",onChange:e[118]||(e[118]=p=>o.settingsChanged=!0),"onUpdate:modelValue":e[119]||(e[119]=p=>r.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.n_predict]])])]),c("div",WUe,[c("div",YUe,[c("div",JUe,[QUe,c("p",XUe,[Q(c("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[120]||(e[120]=p=>r.configFile.top_k=p),onChange:e[121]||(e[121]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_k]])])]),Q(c("input",{id:"top_k",type:"range",onChange:e[122]||(e[122]=p=>o.settingsChanged=!0),"onUpdate:modelValue":e[123]||(e[123]=p=>r.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_k]])])]),c("div",eje,[c("div",tje,[c("div",nje,[sje,c("p",oje,[Q(c("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[124]||(e[124]=p=>r.configFile.top_p=p),onChange:e[125]||(e[125]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_p]])])]),Q(c("input",{id:"top_p",type:"range","onUpdate:modelValue":e[126]||(e[126]=p=>r.configFile.top_p=p),min:"0",max:"1",step:"0.01",onChange:e[127]||(e[127]=p=>o.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_p]])])]),c("div",rje,[c("div",ije,[c("div",aje,[lje,c("p",cje,[Q(c("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[128]||(e[128]=p=>r.configFile.repeat_penalty=p),onChange:e[129]||(e[129]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_penalty]])])]),Q(c("input",{id:"repeat_penalty",onChange:e[130]||(e[130]=p=>o.settingsChanged=!0),type:"range","onUpdate:modelValue":e[131]||(e[131]=p=>r.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_penalty]])])]),c("div",dje,[c("div",uje,[c("div",hje,[fje,c("p",pje,[Q(c("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[132]||(e[132]=p=>r.configFile.repeat_last_n=p),onChange:e[133]||(e[133]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_last_n]])])]),Q(c("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[134]||(e[134]=p=>r.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",onChange:e[135]||(e[135]=p=>o.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),le(f,{ref:"toast"},null,512),le(g,{ref:"yesNoDialog",class:"z-20"},null,512),le(m,{ref:"addmodeldialog"},null,512),le(_,{ref:"messageBox"},null,512),le(w,{ref:"universalForm",class:"z-20"},null,512),le(b,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const mje=ze(IIe,[["render",gje],["__scopeId","data-v-12b93420"]]),_je={components:{ClipBoardTextInput:xc,Card:Uo},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ve.post("/start_training",t).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},bje={key:0,class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},yje={class:"mb-4"},vje=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),xje=["value"],wje={class:"mb-4"},kje=c("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),Eje={class:"mb-4"},Cje=c("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),Aje={class:"mb-4"},Sje=c("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),Tje={class:"mb-4"},Mje=c("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),Oje={class:"mb-4"},Rje=c("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),Nje={class:"mb-4"},Lje=c("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),Dje=c("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),Ije={key:1};function Pje(t,e,n,s,o,r){const i=Ie("Card"),a=Ie("ClipBoardTextInput");return r.selectedModel!==null&&r.selectedModel.toLowerCase().includes("gptq")?(v(),E("div",bje,[c("form",{onSubmit:e[2]||(e[2]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[le(i,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[le(i,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",yje,[vje,Q(c("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>r.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>t.setModel&&t.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(v(!0),E(Ae,null,Ue(r.models,l=>(v(),E("option",{key:l,value:l},z(l),9,xje))),128))],544),[[qt,r.selectedModel]])])]),_:1}),le(i,{title:"Data",isHorizontal:!1},{default:Ne(()=>[c("div",wje,[kje,le(a,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),le(i,{title:"Training",isHorizontal:!1},{default:Ne(()=>[c("div",Eje,[Cje,le(a,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),c("div",Aje,[Sje,le(a,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),c("div",Tje,[Mje,le(a,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),c("div",Oje,[Rje,le(a,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),le(i,{title:"Output",isHorizontal:!1},{default:Ne(()=>[c("div",Nje,[Lje,le(a,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Dje]),_:1})],32)])):(v(),E("div",Ije,[le(i,{title:"Info",class:"",isHorizontal:!1},{default:Ne(()=>[xe(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const Fje=ze(_je,[["render",Pje]]),Bje={components:{ClipBoardTextInput:xc,Card:Uo},data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},zje={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},$je={class:"mb-4"},Uje=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),jje={class:"mb-4"},qje=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Hje=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Vje(t,e,n,s,o,r){const i=Ie("ClipBoardTextInput"),a=Ie("Card");return v(),E("div",zje,[c("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[le(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[le(a,{title:"Model",class:"",isHorizontal:!1},{default:Ne(()=>[c("div",$je,[Uje,le(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",jje,[qje,le(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),le(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ne(()=>[Hje]),_:1})],32)])}const Gje=ze(Bje,[["render",Vje]]),Kje={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,_e(()=>{ye.replace()})},watch:{showConfirmation(){_e(()=>{ye.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&_e(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},Zje=["id"],Wje={class:"flex flex-row items-center gap-2"},Yje={key:0},Jje=["title"],Qje=["value"],Xje={class:"flex items-center flex-1 max-h-6"},eqe={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},tqe=c("i",{"data-feather":"check"},null,-1),nqe=[tqe],sqe=c("i",{"data-feather":"x"},null,-1),oqe=[sqe],rqe={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},iqe=c("i",{"data-feather":"x"},null,-1),aqe=[iqe],lqe=c("i",{"data-feather":"check"},null,-1),cqe=[lqe],dqe={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},uqe=c("i",{"data-feather":"edit-2"},null,-1),hqe=[uqe],fqe=c("i",{"data-feather":"trash"},null,-1),pqe=[fqe];function gqe(t,e,n,s,o,r){return v(),E("div",{class:ke([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ae(i=>r.selectEvent(),["stop"]))},[c("div",Wje,[n.isCheckbox?(v(),E("div",Yje,[Q(c("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[Qe,o.checkBoxValue_local]])])):R("",!0),n.selected?(v(),E("div",{key:1,class:ke(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):R("",!0),n.selected?R("",!0):(v(),E("div",{key:2,class:ke(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?R("",!0):(v(),E("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},z(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,Jje)),o.editTitle?(v(),E("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Tr(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Tr(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,Qje)):R("",!0),c("div",Xje,[o.showConfirmation&&!o.editTitleMode?(v(),E("div",eqe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ae(i=>r.deleteEvent(),["stop"]))},nqe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ae(i=>o.showConfirmation=!1,["stop"]))},oqe)])):R("",!0),o.showConfirmation&&o.editTitleMode?(v(),E("div",rqe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ae(i=>o.editTitleMode=!1,["stop"]))},aqe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ae(i=>r.editTitleEvent(),["stop"]))},cqe)])):R("",!0),o.showConfirmation?R("",!0):(v(),E("div",dqe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ae(i=>o.editTitleMode=!0,["stop"]))},hqe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ae(i=>o.showConfirmation=!0,["stop"]))},pqe)]))])],10,Zje)}const Hg=ze(Kje,[["render",gqe]]),mqe={props:{htmlContent:{type:String,required:!0}}},_qe=["innerHTML"];function bqe(t,e,n,s,o,r){return v(),E("div",null,[c("div",{innerHTML:n.htmlContent},null,8,_qe)])}const yqe=ze(mqe,[["render",bqe]]);const vqe={props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Form"}},data(){return{collapsed:!0}},computed:{formattedJson(){return typeof this.jsonData=="string"?JSON.stringify(JSON.parse(this.jsonData),null," ").replace(/\n/g,"
"):JSON.stringify(this.jsonData,null," ").replace(/\n/g,"
")},isObject(){return typeof this.jsonData=="object"&&this.jsonData!==null},isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")}},methods:{toggleCollapsed(){this.collapsed=!this.collapsed},toggleCollapsible(){this.collapsed=!this.collapsed}}},xqe={key:0},wqe={class:"toggle-icon mr-1"},kqe={key:0,class:"fas fa-plus-circle text-gray-600"},Eqe={key:1,class:"fas fa-minus-circle text-gray-600"},Cqe={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},Aqe={key:0,class:"fas fa-plus-circle text-gray-600"},Sqe={key:1,class:"fas fa-minus-circle text-gray-600"},Tqe=["innerHTML"];function Mqe(t,e,n,s,o,r){return r.isContentPresent?(v(),E("div",xqe,[c("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...i)=>r.toggleCollapsible&&r.toggleCollapsible(...i))},[c("span",wqe,[o.collapsed?(v(),E("i",kqe)):(v(),E("i",Eqe))]),xe(" "+z(n.jsonFormText),1)]),Q(c("div",null,[c("div",Cqe,[r.isObject?(v(),E("span",{key:0,onClick:e[1]||(e[1]=(...i)=>r.toggleCollapsed&&r.toggleCollapsed(...i)),class:"toggle-icon cursor-pointer mr-1"},[o.collapsed?(v(),E("i",Aqe)):(v(),E("i",Sqe))])):R("",!0),c("pre",{innerHTML:r.formattedJson},null,8,Tqe)])],512),[[We,!o.collapsed]])])):R("",!0)}const Oqe=ze(vqe,[["render",Mqe]]),Rqe={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},Nqe={class:"step flex items-center mb-4"},Lqe={class:"flex items-center justify-center w-6 h-6 mr-2"},Dqe={key:0},Iqe=c("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),Pqe=[Iqe],Fqe={key:1},Bqe=c("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),zqe=[Bqe],$qe={key:2},Uqe=c("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),jqe=[Uqe],qqe={key:0,role:"status"},Hqe=c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),Vqe=[Hqe];function Gqe(t,e,n,s,o,r){return v(),E("div",Nqe,[c("div",Lqe,[n.done?R("",!0):(v(),E("div",Dqe,Pqe)),n.done&&n.status?(v(),E("div",Fqe,zqe)):R("",!0),n.done&&!n.status?(v(),E("div",$qe,jqe)):R("",!0)]),n.done?R("",!0):(v(),E("div",qqe,Vqe)),c("div",{class:ke(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},z(n.message),3)])}const Kqe=ze(Rqe,[["render",Gqe]]);const Zqe="/",Wqe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:zg,Step:Kqe,RenderHTMLJS:yqe,JsonViewer:Oqe,DynamicUIRenderer:qg},props:{message:Object,avatar:""},data(){return{msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),_e(()=>{ye.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?",` -`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{if(this.message.content.includes(".")){const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{s()},1)};s()},toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?Zqe+this.avatar:Dn},defaultImg(t){t.target.src=Dn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},"message.ui":function(t){console.log("ui changed"),console.log(this.message_ui)},showConfirmation(){_e(()=>{ye.replace()})},editMsgMode(t){_e(()=>{ye.replace()})},deleteMsgMode(){_e(()=>{ye.replace()})}},computed:{message_ui:{get(){return this.message.ui}},isTalking:{get(){return this.isSpeaking}},created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(d){return d<10&&(d="0"+d),d}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},Yqe={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},Jqe={class:"flex flex-row gap-2"},Qqe={class:"flex-shrink-0"},Xqe={class:"group/avatar"},eHe=["src","data-popover-target"],tHe={class:"flex flex-col w-full flex-grow-0"},nHe={class:"flex flex-row flex-grow items-start"},sHe={class:"flex flex-col mb-2"},oHe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},rHe=["title"],iHe=c("div",{class:"flex-grow"},null,-1),aHe={class:"flex-row justify-end mx-2"},lHe={class:"invisible group-hover:visible flex flex-row"},cHe={key:0,class:"flex items-center duration-75"},dHe=c("i",{"data-feather":"x"},null,-1),uHe=[dHe],hHe=c("i",{"data-feather":"check"},null,-1),fHe=[hHe],pHe=c("i",{"data-feather":"edit"},null,-1),gHe=[pHe],mHe=c("i",{"data-feather":"copy"},null,-1),_He=[mHe],bHe=c("i",{"data-feather":"refresh-cw"},null,-1),yHe=[bHe],vHe=c("i",{"data-feather":"fast-forward"},null,-1),xHe=[vHe],wHe={key:4,class:"flex items-center duration-75"},kHe=c("i",{"data-feather":"x"},null,-1),EHe=[kHe],CHe=c("i",{"data-feather":"check"},null,-1),AHe=[CHe],SHe=c("i",{"data-feather":"trash"},null,-1),THe=[SHe],MHe=c("i",{"data-feather":"thumbs-up"},null,-1),OHe=[MHe],RHe={class:"flex flex-row items-center"},NHe=c("i",{"data-feather":"thumbs-down"},null,-1),LHe=[NHe],DHe={class:"flex flex-row items-center"},IHe=c("i",{"data-feather":"volume-2"},null,-1),PHe=[IHe],FHe={class:"overflow-x-auto w-full"},BHe={class:"flex flex-col items-start w-full"},zHe={class:"flex flex-col items-start w-full"},$He={key:2},UHe={class:"text-sm text-gray-400 mt-2"},jHe={class:"flex flex-row items-center gap-2"},qHe={key:0},HHe={class:"font-thin"},VHe={key:1},GHe={class:"font-thin"},KHe={key:2},ZHe={class:"font-thin"},WHe={key:3},YHe=["title"];function JHe(t,e,n,s,o,r){const i=Ie("Step"),a=Ie("RenderHTMLJS"),l=Ie("MarkdownRenderer"),d=Ie("JsonViewer"),u=Ie("DynamicUIRenderer");return v(),E("div",Yqe,[c("div",Jqe,[c("div",Qqe,[c("div",Xqe,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=h=>r.defaultImg(h)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,eHe)])]),c("div",tHe,[c("div",nHe,[c("div",sHe,[c("div",oHe,z(n.message.sender)+" ",1),n.message.created_at?(v(),E("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},z(r.created_at),9,rHe)):R("",!0)]),iHe,c("div",aHe,[c("div",lHe,[o.editMsgMode?(v(),E("div",cHe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ae(h=>o.editMsgMode=!1,["stop"]))},uHe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ae((...h)=>r.updateMessage&&r.updateMessage(...h),["stop"]))},fHe)])):R("",!0),o.editMsgMode?R("",!0):(v(),E("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ae(h=>o.editMsgMode=!0,["stop"]))},gHe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ae(h=>r.copyContentToClipboard(),["stop"]))},_He),n.message.sender!=this.$store.state.mountedPers.name?(v(),E("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ae(h=>r.resendMessage(),["stop"]))},yHe)):R("",!0),n.message.sender==this.$store.state.mountedPers.name?(v(),E("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=ae(h=>r.continueMessage(),["stop"]))},xHe)):R("",!0),o.deleteMsgMode?(v(),E("div",wHe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=ae(h=>o.deleteMsgMode=!1,["stop"]))},EHe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=ae(h=>r.deleteMsg(),["stop"]))},AHe)])):R("",!0),o.deleteMsgMode?R("",!0):(v(),E("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=h=>o.deleteMsgMode=!0)},THe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=ae(h=>r.rankUp(),["stop"]))},OHe),c("div",RHe,[c("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=ae(h=>r.rankDown(),["stop"]))},LHe),n.message.rank!=0?(v(),E("div",{key:0,class:ke(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},z(n.message.rank),3)):R("",!0)]),c("div",DHe,[c("div",{class:ke(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=ae(h=>r.speak(),["stop"]))},PHe,2)])])])]),c("div",FHe,[c("div",BHe,[(v(!0),E(Ae,null,Ue(n.message.steps,(h,f)=>(v(),E("div",{key:"step-"+n.message.id+"-"+f,class:"step font-bold",style:yt({backgroundColor:h.done?"transparent":"inherit"})},[le(i,{done:h.done,message:h.message,status:h.status},null,8,["done","message","status"])],4))),128))]),c("div",zHe,[(v(!0),E(Ae,null,Ue(n.message.html_js_s,(h,f)=>(v(),E("div",{key:"htmljs-"+n.message.id+"-"+f,class:"htmljs font-bold",style:yt({backgroundColor:t.step.done?"transparent":"inherit"})},[le(a,{htmlContent:h},null,8,["htmlContent"])],4))),128))]),o.editMsgMode?R("",!0):(v(),Xe(l,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Q((v(),E("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:yt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=h=>n.message.content=h)},null,4)),[[Re,n.message.content]]):R("",!0),n.message.metadata!==null?(v(),E("div",$He,[(v(!0),E(Ae,null,Ue(n.message.metadata,(h,f)=>(v(),E("div",{key:"json-"+n.message.id+"-"+f,class:"json font-bold"},[le(d,{jsonFormText:h.title,jsonData:h.content},null,8,["jsonFormText","jsonData"])]))),128))])):R("",!0),n.message.ui!==null&&n.message.ui!==void 0&&n.message.ui!==""?(v(),Xe(u,{key:3,class:"w-full h-full",code:r.message_ui},null,8,["code"])):R("",!0)]),c("div",UHe,[c("div",jHe,[n.message.binding?(v(),E("p",qHe,[xe("Binding: "),c("span",HHe,z(n.message.binding),1)])):R("",!0),n.message.model?(v(),E("p",VHe,[xe("Model: "),c("span",GHe,z(n.message.model),1)])):R("",!0),n.message.seed?(v(),E("p",KHe,[xe("Seed: "),c("span",ZHe,z(n.message.seed),1)])):R("",!0),r.time_spent?(v(),E("p",WHe,[xe("Time spent: "),c("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},z(r.time_spent),9,YHe)])):R("",!0)])])])])])}const Vg=ze(Wqe,[["render",JHe]]),QHe="/";ve.defaults.baseURL="/";const XHe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:wc},data(){return{bUrl:QHe,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{onSettingsPersonality(t){try{ve.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.name,"Save changes","Cancel").then(n=>{try{ve.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. +You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},G=t=>(rs("data-v-abe0afe3"),t=t(),is(),t),FIe={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},BIe={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},zIe={key:0,class:"flex gap-3 flex-1 items-center duration-75"},$Ie=G(()=>c("i",{"data-feather":"x"},null,-1)),UIe=[$Ie],jIe=G(()=>c("i",{"data-feather":"check"},null,-1)),qIe=[jIe],HIe={key:1,class:"flex gap-3 flex-1 items-center"},VIe=G(()=>c("i",{"data-feather":"save"},null,-1)),GIe=[VIe],KIe=G(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),ZIe=[KIe],WIe=G(()=>c("i",{"data-feather":"list"},null,-1)),YIe=[WIe],JIe={class:"flex gap-3 flex-1 items-center justify-end"},QIe=G(()=>c("i",{"data-feather":"trash-2"},null,-1)),XIe=[QIe],ePe=G(()=>c("i",{"data-feather":"refresh-ccw"},null,-1)),tPe=[ePe],nPe=G(()=>c("i",{"data-feather":"arrow-up-circle"},null,-1)),sPe={key:0},oPe=G(()=>c("i",{"data-feather":"alert-circle"},null,-1)),rPe=[oPe],iPe={class:"flex gap-3 items-center"},aPe={key:0,class:"flex gap-3 items-center"},lPe=G(()=>c("p",{class:"text-red-600 font-bold"},"Apply changes:",-1)),cPe=G(()=>c("i",{"data-feather":"check"},null,-1)),dPe=[cPe],uPe={key:1,role:"status"},hPe=G(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),fPe=G(()=>c("span",{class:"sr-only"},"Loading...",-1)),pPe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},gPe={class:"flex flex-row p-3"},mPe=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),_Pe=[mPe],bPe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),yPe=[bPe],vPe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),xPe=G(()=>c("div",{class:"mr-2"},"|",-1)),wPe={class:"text-base font-semibold cursor-pointer select-none items-center"},kPe={class:"flex gap-2 items-center"},EPe={key:0},CPe={class:"flex gap-2 items-center"},APe=["title"],SPe=Vs('',34),TPe=[SPe],MPe={class:"font-bold font-large text-lg"},OPe={key:1},RPe={class:"flex gap-2 items-center"},DPe=Vs('',1),NPe={class:"font-bold font-large text-lg"},LPe=G(()=>c("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),IPe={class:"font-bold font-large text-lg"},PPe=G(()=>c("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),FPe={class:"font-bold font-large text-lg"},BPe={class:"mb-2"},zPe=G(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[c("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),xe(" CPU Ram usage: ")],-1)),$Pe={class:"flex flex-col mx-2"},UPe=G(()=>c("b",null,"Avaliable ram: ",-1)),jPe=G(()=>c("b",null,"Ram usage: ",-1)),qPe={class:"p-2"},HPe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},VPe={class:"mb-2"},GPe=G(()=>c("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[c("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),xe(" Disk usage: ")],-1)),KPe={class:"flex flex-col mx-2"},ZPe=G(()=>c("b",null,"Avaliable disk space: ",-1)),WPe=G(()=>c("b",null,"Disk usage: ",-1)),YPe={class:"p-2"},JPe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},QPe={class:"mb-2"},XPe=Vs('',1),eFe={class:"flex flex-col mx-2"},tFe=G(()=>c("b",null,"Model: ",-1)),nFe=G(()=>c("b",null,"Avaliable vram: ",-1)),sFe=G(()=>c("b",null,"GPU usage: ",-1)),oFe={class:"p-2"},rFe={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},iFe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},aFe={class:"flex flex-row p-3"},lFe=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),cFe=[lFe],dFe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),uFe=[dFe],hFe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),fFe={class:"flex flex-col mb-2 px-3 pb-2"},pFe={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},gFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),mFe={style:{width:"100%"}},_Fe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),bFe={style:{width:"100%"}},yFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),vFe={style:{width:"100%"}},xFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),wFe={class:"flex flex-row"},kFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),EFe={class:"text-center items-center"},CFe={class:"flex flex-row"},AFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),SFe={class:"flex flex-row"},TFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),MFe={class:"flex flex-row"},OFe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},RFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),DFe={style:{width:"100%"}},NFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),LFe={style:{width:"100%"}},IFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),PFe={style:{width:"100%"}},FFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),BFe={style:{width:"100%"}},zFe={for:"avatar-upload"},$Fe=["src"],UFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),jFe={class:"flex flex-row"},qFe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},HFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),VFe={class:"flex flex-row"},GFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"use_discussions_history",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate discussion vectorization:")],-1)),KFe={class:"flex flex-row"},ZFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files vectorization:")],-1)),WFe={class:"flex flex-row"},YFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),JFe={class:"flex flex-row"},QFe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),XFe=G(()=>c("option",{value:"ftidf_vectorizer"},"ftidf Vectorizer",-1)),eBe=G(()=>c("option",{value:"model_embedding"},"Model Embedding",-1)),tBe=[XFe,eBe],nBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),sBe=G(()=>c("option",{value:"PCA"},"PCA",-1)),oBe=G(()=>c("option",{value:"TSNE"},"TSNE",-1)),rBe=[sBe,oBe],iBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),aBe={class:"flex flex-row"},lBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),cBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),dBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),uBe={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},hBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),fBe={class:"flex flex-row"},pBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),gBe={class:"flex flex-row"},mBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),_Be=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),bBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),yBe=["value"],vBe=G(()=>c("td",{style:{"min-width":"200px"}},[c("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),xBe=["value"],wBe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},kBe={class:"flex flex-row p-3"},EBe=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),CBe=[EBe],ABe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),SBe=[ABe],TBe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),MBe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},OBe=G(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),RBe={key:1,class:"mr-2"},DBe={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},NBe={class:"flex gap-1 items-center"},LBe=["src"],IBe={class:"font-bold font-large text-lg line-clamp-1"},PBe={key:0,class:"mb-2"},FBe={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},BBe=G(()=>c("i",{"data-feather":"chevron-up"},null,-1)),zBe=[BBe],$Be=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),UBe=[$Be],jBe={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},qBe={class:"flex flex-row p-3"},HBe=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),VBe=[HBe],GBe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),KBe=[GBe],ZBe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),WBe={class:"flex flex-row items-center"},YBe={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},JBe=G(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),QBe={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},XBe=G(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),eze={key:2,class:"mr-2"},tze={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},nze={class:"flex gap-1 items-center"},sze=["src"],oze={class:"font-bold font-large text-lg line-clamp-1"},rze={class:"mx-2 mb-4"},ize={class:"relative"},aze={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},lze={key:0},cze=G(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),dze=[cze],uze={key:1},hze=G(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),fze=[hze],pze=G(()=>c("label",{for:"only_installed"},"Show only installed models",-1)),gze=G(()=>c("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),mze={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},_ze=G(()=>c("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),bze=G(()=>c("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),yze=[_ze,bze],vze={key:1},xze={key:0,class:"mb-2"},wze={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},kze={key:2},Eze={key:0,class:"mb-2"},Cze={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Aze=G(()=>c("i",{"data-feather":"chevron-up"},null,-1)),Sze=[Aze],Tze=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),Mze=[Tze],Oze={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Rze={class:"flex flex-row p-3"},Dze=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),Nze=[Dze],Lze=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),Ize=[Lze],Pze=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),Fze={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Bze=G(()=>c("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),zze={key:1,class:"mr-2"},$ze={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},Uze={class:"flex gap-1 items-center"},jze=["src"],qze={class:"font-bold font-large text-lg line-clamp-1"},Hze={class:"mb-2"},Vze={class:"p-2"},Gze={class:"mb-3"},Kze=G(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),Zze={key:0},Wze={class:"mb-3"},Yze=G(()=>c("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),Jze={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},Qze=G(()=>c("div",{role:"status",class:"justify-center"},null,-1)),Xze={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},e$e={class:"w-full p-2"},t$e={class:"flex justify-between mb-1"},n$e=Vs(' Downloading Loading...',1),s$e={class:"text-sm font-medium text-blue-700 dark:text-white"},o$e=["title"],r$e={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},i$e={class:"flex justify-between mb-1"},a$e={class:"text-base font-medium text-blue-700 dark:text-white"},l$e={class:"text-sm font-medium text-blue-700 dark:text-white"},c$e={class:"flex flex-grow"},d$e={class:"flex flex-row flex-grow gap-3"},u$e={class:"p-2 text-center grow"},h$e={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},f$e={class:"flex flex-row p-3 items-center"},p$e=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),g$e=[p$e],m$e=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),_$e=[m$e],b$e=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),y$e={key:0,class:"mr-2"},v$e={class:"mr-2 font-bold font-large text-lg line-clamp-1"},x$e={key:1,class:"mr-2"},w$e={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},k$e={key:0,class:"flex -space-x-4 items-center"},E$e={class:"group items-center flex flex-row"},C$e=["onClick"],A$e=["src","title"],S$e=["onClick"],T$e=G(()=>c("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[c("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),M$e=[T$e],O$e={class:"mx-2 mb-4"},R$e=G(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),D$e={class:"relative"},N$e={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},L$e={key:0},I$e=G(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),P$e=[I$e],F$e={key:1},B$e=G(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),z$e=[B$e],$$e={key:0,class:"mx-2 mb-4"},U$e={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},j$e=["selected"],q$e={key:0,class:"mb-2"},H$e={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},V$e=G(()=>c("i",{"data-feather":"chevron-up"},null,-1)),G$e=[V$e],K$e=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),Z$e=[K$e],W$e={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Y$e={class:"flex flex-row p-3 items-center"},J$e=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),Q$e=[J$e],X$e=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),eUe=[X$e],tUe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Extensions zoo",-1)),nUe={key:0,class:"mr-2"},sUe={key:1,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},oUe={key:0,class:"flex -space-x-4 items-center"},rUe={class:"group items-center flex flex-row"},iUe=["onClick"],aUe=["src","title"],lUe=["onClick"],cUe=G(()=>c("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[c("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),dUe=[cUe],uUe={class:"mx-2 mb-4"},hUe=G(()=>c("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),fUe={class:"relative"},pUe={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},gUe={key:0},mUe=G(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),_Ue=[mUe],bUe={key:1},yUe=G(()=>c("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),vUe=[yUe],xUe={key:0,class:"mx-2 mb-4"},wUe={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},kUe=["selected"],EUe={key:0,class:"mb-2"},CUe={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},AUe=G(()=>c("i",{"data-feather":"chevron-up"},null,-1)),SUe=[AUe],TUe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),MUe=[TUe],OUe={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},RUe={class:"flex flex-row"},DUe=G(()=>c("i",{"data-feather":"chevron-right"},null,-1)),NUe=[DUe],LUe=G(()=>c("i",{"data-feather":"chevron-down"},null,-1)),IUe=[LUe],PUe=G(()=>c("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),FUe={class:"m-2"},BUe={class:"flex flex-row gap-2 items-center"},zUe=G(()=>c("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),$Ue={class:"m-2"},UUe=G(()=>c("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),jUe={class:"m-2"},qUe={class:"flex flex-col align-bottom"},HUe={class:"relative"},VUe=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),GUe={class:"absolute right-0"},KUe={class:"m-2"},ZUe={class:"flex flex-col align-bottom"},WUe={class:"relative"},YUe=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),JUe={class:"absolute right-0"},QUe={class:"m-2"},XUe={class:"flex flex-col align-bottom"},eje={class:"relative"},tje=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),nje={class:"absolute right-0"},sje={class:"m-2"},oje={class:"flex flex-col align-bottom"},rje={class:"relative"},ije=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),aje={class:"absolute right-0"},lje={class:"m-2"},cje={class:"flex flex-col align-bottom"},dje={class:"relative"},uje=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),hje={class:"absolute right-0"},fje={class:"m-2"},pje={class:"flex flex-col align-bottom"},gje={class:"relative"},mje=G(()=>c("p",{class:"absolute left-0 mt-6"},[c("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),_je={class:"absolute right-0"};function bje(t,e,n,s,o,r){const i=Ie("Card"),a=Ie("BindingEntry"),l=Ie("RadioOptions"),d=Ie("model-entry"),u=Ie("personality-entry"),h=Ie("ExtensionEntry"),f=Ie("Toast"),g=Ie("YesNoDialog"),m=Ie("AddModelDialog"),_=Ie("MessageBox"),w=Ie("UniversalForm"),b=Ie("ChoiceDialog");return y(),E(Ae,null,[c("div",FIe,[c("div",BIe,[o.showConfirmation?(y(),E("div",zIe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ae(p=>o.showConfirmation=!1,["stop"]))},UIe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ae(p=>r.save_configuration(),["stop"]))},qIe)])):R("",!0),o.showConfirmation?R("",!0):(y(),E("div",HIe,[c("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},GIe),c("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},ZIe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ae(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},YIe)])),c("div",JIe,[c("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=p=>r.api_get_req("clear_uploads").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},XIe),c("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=p=>r.api_get_req("restart_program").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},tPe),c("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=p=>r.api_get_req("update_software").then(x=>{x.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[nPe,o.has_updates?(y(),E("div",sPe,rPe)):R("",!0)]),c("div",iPe,[o.settingsChanged?(y(),E("div",aPe,[lPe,o.isLoading?R("",!0):(y(),E("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=ae(p=>r.applyConfiguration(),["stop"]))},dPe))])):R("",!0),o.isLoading?(y(),E("div",uPe,[c("p",null,z(o.loading_text),1),hPe,fPe])):R("",!0)])])]),c("div",{class:ke(o.isLoading?"pointer-events-none opacity-30":"")},[c("div",pPe,[c("div",gPe,[c("button",{onClick:e[9]||(e[9]=ae(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,_Pe,512),[[We,o.sc_collapsed]]),Q(c("div",null,yPe,512),[[We,!o.sc_collapsed]]),vPe,xPe,c("div",wPe,[c("div",kPe,[c("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(y(),E("div",EPe,[(y(!0),E(Ae,null,Ue(r.vramUsage.gpus,p=>(y(),E("div",CPe,[(y(),E("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TPe,8,APe)),c("h3",MPe,[c("div",null,z(r.computedFileSize(p.used_vram))+" / "+z(r.computedFileSize(p.total_vram))+" ("+z(p.percentage)+"%) ",1)])]))),256))])):R("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(y(),E("div",OPe,[c("div",RPe,[DPe,c("h3",NPe,[c("div",null,z(r.vramUsage.gpus.length)+"x ",1)])])])):R("",!0)]),LPe,c("h3",IPe,[c("div",null,z(r.ram_usage)+" / "+z(r.ram_total_space)+" ("+z(r.ram_percent_usage)+"%)",1)]),PPe,c("h3",FPe,[c("div",null,z(r.disk_binding_models_usage)+" / "+z(r.disk_total_space)+" ("+z(r.disk_percent_usage)+"%)",1)])])])])]),c("div",{class:ke([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",BPe,[zPe,c("div",$Pe,[c("div",null,[UPe,xe(z(r.ram_available_space),1)]),c("div",null,[jPe,xe(" "+z(r.ram_usage)+" / "+z(r.ram_total_space)+" ("+z(r.ram_percent_usage)+")% ",1)])]),c("div",qPe,[c("div",HPe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),c("div",VPe,[GPe,c("div",KPe,[c("div",null,[ZPe,xe(z(r.disk_available_space),1)]),c("div",null,[WPe,xe(" "+z(r.disk_binding_models_usage)+" / "+z(r.disk_total_space)+" ("+z(r.disk_percent_usage)+"%)",1)])]),c("div",YPe,[c("div",JPe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(y(!0),E(Ae,null,Ue(r.vramUsage.gpus,p=>(y(),E("div",QPe,[XPe,c("div",eFe,[c("div",null,[tFe,xe(z(p.gpu_model),1)]),c("div",null,[nFe,xe(z(this.computedFileSize(p.available_space)),1)]),c("div",null,[sFe,xe(" "+z(this.computedFileSize(p.used_vram))+" / "+z(this.computedFileSize(p.total_vram))+" ("+z(p.percentage)+"%)",1)])]),c("div",oFe,[c("div",rFe,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),c("div",iFe,[c("div",aFe,[c("button",{onClick:e[10]||(e[10]=ae(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,cFe,512),[[We,o.minconf_collapsed]]),Q(c("div",null,uFe,512),[[We,!o.minconf_collapsed]]),hFe])]),c("div",{class:ke([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",fFe,[le(i,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:De(()=>[c("table",pFe,[c("tr",null,[gFe,c("td",mFe,[Q(c("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=p=>r.configFile.host=p),onChange:e[12]||(e[12]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.host]])])]),c("tr",null,[_Fe,c("td",bFe,[Q(c("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=p=>r.configFile.port=p),onChange:e[14]||(e[14]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.port]])])]),c("tr",null,[yFe,c("td",vFe,[Q(c("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=p=>r.configFile.db_path=p),onChange:e[16]||(e[16]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[Re,r.configFile.db_path]])])]),c("tr",null,[xFe,c("td",null,[c("div",wFe,[Q(c("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[17]||(e[17]=p=>r.configFile.auto_show_browser=p),onChange:e[18]||(e[18]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_show_browser]])])])]),c("tr",null,[kFe,c("td",EFe,[c("div",CFe,[Q(c("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[19]||(e[19]=p=>r.configFile.enable_gpu=p),onChange:e[20]||(e[20]=p=>o.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.enable_gpu]]),r.configFile.enable_gpu?R("",!0):(y(),E("button",{key:0,onClick:e[21]||(e[21]=ae((...p)=>r.upgrade2GPU&&r.upgrade2GPU(...p),["prevent"])),class:"w-100 text-center rounded m-2 bg-blue-300 hover:bg-blue-200 text-l hover:text-primary p-2 m-2 text-left flex flex-row"}," Upgrade from CPU to GPU "))])])]),c("tr",null,[AFe,c("td",null,[c("div",SFe,[Q(c("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[22]||(e[22]=p=>r.configFile.auto_save=p),onChange:e[23]||(e[23]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_save]])])])]),c("tr",null,[TFe,c("td",null,[c("div",MFe,[Q(c("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[24]||(e[24]=p=>r.configFile.auto_update=p),onChange:e[25]||(e[25]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_update]])])])])])]),_:1}),le(i,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:De(()=>[c("table",OFe,[c("tr",null,[RFe,c("td",DFe,[Q(c("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[26]||(e[26]=p=>r.configFile.user_name=p),onChange:e[27]||(e[27]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.user_name]])])]),c("tr",null,[NFe,c("td",LFe,[Q(c("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[28]||(e[28]=p=>r.configFile.user_description=p),onChange:e[29]||(e[29]=p=>o.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.user_description]])])]),c("tr",null,[IFe,c("td",PFe,[Q(c("input",{type:"checkbox",id:"override_personality_model_parameters",required:"","onUpdate:modelValue":e[30]||(e[30]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[31]||(e[31]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.override_personality_model_parameters]])])]),c("tr",null,[FFe,c("td",BFe,[c("label",zFe,[c("img",{src:"/user_infos/"+r.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,$Fe)]),c("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[32]||(e[32]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)])]),c("tr",null,[UFe,c("td",null,[c("div",jFe,[Q(c("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[33]||(e[33]=p=>r.configFile.use_user_name_in_discussions=p),onChange:e[34]||(e[34]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.use_user_name_in_discussions]])])])])])]),_:1}),le(i,{title:"Files Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:De(()=>[c("table",qFe,[c("tr",null,[HFe,c("td",null,[c("div",VFe,[Q(c("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[35]||(e[35]=p=>r.configFile.use_files=p),onChange:e[36]||(e[36]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.use_files]])])])]),c("tr",null,[GFe,c("td",null,[c("div",KFe,[Q(c("input",{type:"checkbox",id:"use_discussions_history",required:"","onUpdate:modelValue":e[37]||(e[37]=p=>r.configFile.use_discussions_history=p),onChange:e[38]||(e[38]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.use_discussions_history]])])])]),c("tr",null,[ZFe,c("td",null,[c("div",WFe,[Q(c("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[39]||(e[39]=p=>r.configFile.data_vectorization_activate=p),onChange:e[40]||(e[40]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_activate]])])])]),c("tr",null,[YFe,c("td",null,[c("div",JFe,[Q(c("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[41]||(e[41]=p=>r.configFile.data_vectorization_build_keys_words=p),onChange:e[42]||(e[42]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_build_keys_words]])])])]),c("tr",null,[QFe,c("td",null,[Q(c("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[43]||(e[43]=p=>r.configFile.data_vectorization_method=p),onChange:e[44]||(e[44]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},tBe,544),[[Ht,r.configFile.data_vectorization_method]])])]),c("tr",null,[nBe,c("td",null,[Q(c("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[45]||(e[45]=p=>r.configFile.data_visualization_method=p),onChange:e[46]||(e[46]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},rBe,544),[[Ht,r.configFile.data_visualization_method]])])]),c("tr",null,[iBe,c("td",null,[c("div",aBe,[Q(c("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[47]||(e[47]=p=>r.configFile.data_vectorization_save_db=p),onChange:e[48]||(e[48]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.data_vectorization_save_db]])])])]),c("tr",null,[lBe,c("td",null,[Q(c("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[49]||(e[49]=p=>r.configFile.data_vectorization_chunk_size=p),onChange:e[50]||(e[50]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_chunk_size]]),Q(c("input",{"onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.data_vectorization_chunk_size=p),type:"number",onChange:e[52]||(e[52]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_chunk_size]])])]),c("tr",null,[cBe,c("td",null,[Q(c("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[53]||(e[53]=p=>r.configFile.data_vectorization_overlap_size=p),onChange:e[54]||(e[54]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_overlap_size]]),Q(c("input",{"onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.data_vectorization_overlap_size=p),type:"number",onChange:e[56]||(e[56]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_overlap_size]])])]),c("tr",null,[dBe,c("td",null,[Q(c("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[57]||(e[57]=p=>r.configFile.data_vectorization_nb_chunks=p),onChange:e[58]||(e[58]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.data_vectorization_nb_chunks]]),Q(c("input",{"onUpdate:modelValue":e[59]||(e[59]=p=>r.configFile.data_vectorization_nb_chunks=p),type:"number",onChange:e[60]||(e[60]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),le(i,{title:"Audio",is_subcard:!0,class:"pb-2 m-2"},{default:De(()=>[c("table",uBe,[c("tr",null,[hBe,c("td",null,[c("div",fBe,[Q(c("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.audio_auto_send_input=p),onChange:e[62]||(e[62]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.audio_auto_send_input]])])])]),c("tr",null,[pBe,c("td",null,[c("div",gBe,[Q(c("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[63]||(e[63]=p=>r.configFile.auto_speak=p),onChange:e[64]||(e[64]=p=>o.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Qe,r.configFile.auto_speak]])])])]),c("tr",null,[mBe,c("td",null,[Q(c("input",{id:"audio_pitch","onUpdate:modelValue":e[65]||(e[65]=p=>r.configFile.audio_pitch=p),onChange:e[66]||(e[66]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.audio_pitch]]),Q(c("input",{"onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.audio_pitch=p),onChange:e[68]||(e[68]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_pitch]])])]),c("tr",null,[_Be,c("td",null,[Q(c("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[69]||(e[69]=p=>r.configFile.audio_silenceTimer=p),onChange:e[70]||(e[70]=p=>o.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.audio_silenceTimer]]),Q(c("input",{"onUpdate:modelValue":e[71]||(e[71]=p=>r.configFile.audio_silenceTimer=p),onChange:e[72]||(e[72]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Re,r.configFile.audio_silenceTimer]])])]),c("tr",null,[bBe,c("td",null,[Q(c("select",{id:"audio_in_language","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.audio_in_language=p),onChange:e[74]||(e[74]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(y(!0),E(Ae,null,Ue(r.audioLanguages,p=>(y(),E("option",{key:p.code,value:p.code},z(p.name),9,yBe))),128))],544),[[Ht,r.configFile.audio_in_language]])])]),c("tr",null,[vBe,c("td",null,[Q(c("select",{id:"audio_out_voice","onUpdate:modelValue":e[75]||(e[75]=p=>r.configFile.audio_out_voice=p),onChange:e[76]||(e[76]=p=>o.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(y(!0),E(Ae,null,Ue(o.audioVoices,p=>(y(),E("option",{key:p.name,value:p.name},z(p.name),9,xBe))),128))],544),[[Ht,r.configFile.audio_out_voice]])])])])]),_:1})])],2)]),c("div",wBe,[c("div",kBe,[c("button",{onClick:e[77]||(e[77]=ae(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[Q(c("div",null,CBe,512),[[We,o.bzc_collapsed]]),Q(c("div",null,SBe,512),[[We,!o.bzc_collapsed]]),TBe,r.configFile.binding_name?R("",!0):(y(),E("div",MBe,[OBe,xe(" No binding selected! ")])),r.configFile.binding_name?(y(),E("div",RBe,"|")):R("",!0),r.configFile.binding_name?(y(),E("div",DBe,[c("div",NBe,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,LBe),c("h3",IBe,z(r.binding_name),1)])])):R("",!0)])]),c("div",{class:ke([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr&&r.bindingsArr.length>0?(y(),E("div",PBe,[c("label",FBe," Bindings: ("+z(r.bindingsArr.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:De(()=>[(y(!0),E(Ae,null,Ue(r.bindingsArr,(p,x)=>(y(),Xe(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+x+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-unInstall":r.onUnInstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):R("",!0),o.bzl_collapsed?(y(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[78]||(e[78]=p=>o.bzl_collapsed=!o.bzl_collapsed)},zBe)):(y(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[79]||(e[79]=p=>o.bzl_collapsed=!o.bzl_collapsed)},UBe))],2)]),c("div",jBe,[c("div",qBe,[c("button",{onClick:e[80]||(e[80]=ae(p=>r.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,VBe,512),[[We,o.mzc_collapsed]]),Q(c("div",null,KBe,512),[[We,!o.mzc_collapsed]]),ZBe,c("div",WBe,[r.configFile.binding_name?R("",!0):(y(),E("div",YBe,[JBe,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(y(),E("div",QBe,[XBe,xe(" No model selected! ")])):R("",!0),r.configFile.model_name?(y(),E("div",eze,"|")):R("",!0),r.configFile.model_name?(y(),E("div",tze,[c("div",nze,[c("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,sze),c("h3",oze,z(r.model_name),1)])])):R("",!0)])])]),c("div",{class:ke([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",rze,[c("div",ize,[c("div",aze,[o.searchModelInProgress?(y(),E("div",lze,dze)):R("",!0),o.searchModelInProgress?R("",!0):(y(),E("div",uze,fze))]),Q(c("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[81]||(e[81]=p=>o.searchModel=p),onKeyup:e[82]||(e[82]=Mr((...p)=>r.searchModel_func&&r.searchModel_func(...p),["enter"]))},null,544),[[Re,o.searchModel]]),o.searchModel?(y(),E("button",{key:0,onClick:e[83]||(e[83]=ae(p=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),c("div",null,[Q(c("input",{"onUpdate:modelValue":e[84]||(e[84]=p=>o.show_only_installed_models=p),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[Qe,o.show_only_installed_models]]),pze]),c("div",null,[le(l,{radioOptions:o.sortOptions,onRadioSelected:r.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),gze,o.is_loading_zoo?(y(),E("div",mze,yze)):R("",!0),o.searchModel?(y(),E("div",vze,[o.modelsFiltered.length>0?(y(),E("div",xze,[c("label",wze," Search results: ("+z(o.modelsFiltered.length)+") ",1),c("div",{class:ke(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",o.mzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.show_only_installed_models?r.filter_installed(o.modelsFiltered):o.modelsFiltered,(p,x)=>(y(),Xe(d,{ref_for:!0,ref:"modelZoo",key:"index-"+x+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):R("",!0)])):R("",!0),o.searchModel?R("",!0):(y(),E("div",kze,[r.models&&r.models.length>0?(y(),E("div",Eze,[c("label",Cze," Models: ("+z(r.models.length)+") ",1),c("div",{class:ke(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",o.mzl_collapsed?"":"max-h-96"])},[le(It,{name:"list"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.show_only_installed_models?r.filter_installed(r.models):r.models,(p,x)=>(y(),Xe(d,{ref_for:!0,ref:"modelZoo",key:"index-"+x+"-"+p.name,model:p,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.name===r.configFile.model_name,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):R("",!0)])),o.mzl_collapsed?(y(),E("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[85]||(e[85]=(...p)=>r.open_mzl&&r.open_mzl(...p))},Sze)):(y(),E("button",{key:4,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[86]||(e[86]=(...p)=>r.open_mzl&&r.open_mzl(...p))},Mze))],2)]),c("div",Oze,[c("div",Rze,[c("button",{onClick:e[87]||(e[87]=ae(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,Nze,512),[[We,o.mzdc_collapsed]]),Q(c("div",null,Ize,512),[[We,!o.mzdc_collapsed]]),Pze,r.binding_name?R("",!0):(y(),E("div",Fze,[Bze,xe(" No binding selected! ")])),r.configFile.binding_name?(y(),E("div",zze,"|")):R("",!0),r.configFile.binding_name?(y(),E("div",$ze,[c("div",Uze,[c("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,jze),c("h3",qze,z(r.binding_name),1)])])):R("",!0)])]),c("div",{class:ke([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",Hze,[c("div",Vze,[c("div",null,[c("div",Gze,[Kze,Q(c("input",{type:"text","onUpdate:modelValue":e[88]||(e[88]=p=>o.reference_path=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter Path ...",required:""},null,512),[[Re,o.reference_path]])]),c("button",{type:"button",onClick:e[89]||(e[89]=ae(p=>r.onCreateReference(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Add reference")]),o.modelDownlaodInProgress?R("",!0):(y(),E("div",Zze,[c("div",Wze,[Yze,Q(c("input",{type:"text","onUpdate:modelValue":e[90]||(e[90]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[Re,o.addModel.url]])]),c("button",{type:"button",onClick:e[91]||(e[91]=ae(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(y(),E("div",Jze,[Qze,c("div",Xze,[c("div",e$e,[c("div",t$e,[n$e,c("span",s$e,z(Math.floor(o.addModel.progress))+"%",1)]),c("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},z(o.addModel.url),9,o$e),c("div",r$e,[c("div",{class:"bg-blue-600 h-2.5 rounded-full",style:yt({width:o.addModel.progress+"%"})},null,4)]),c("div",i$e,[c("span",a$e,"Download speed: "+z(r.speed_computed)+"/s",1),c("span",l$e,z(r.downloaded_size_computed)+"/"+z(r.total_size_computed),1)])])]),c("div",c$e,[c("div",d$e,[c("div",u$e,[c("button",{onClick:e[92]||(e[92]=ae((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):R("",!0)])])],2)]),c("div",h$e,[c("div",f$e,[c("button",{onClick:e[94]||(e[94]=ae(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[Q(c("div",null,g$e,512),[[We,o.pzc_collapsed]]),Q(c("div",null,_$e,512),[[We,!o.pzc_collapsed]]),b$e,r.configFile.personalities?(y(),E("div",y$e,"|")):R("",!0),c("div",v$e,z(r.active_pesonality),1),r.configFile.personalities?(y(),E("div",x$e,"|")):R("",!0),r.configFile.personalities?(y(),E("div",w$e,[r.mountedPersArr.length>0?(y(),E("div",k$e,[(y(!0),E(Ae,null,Ue(r.mountedPersArr,(p,x)=>(y(),E("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:x+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[c("div",E$e,[c("button",{onClick:ae(A=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[93]||(e[93]=(...A)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...A)),class:ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,A$e)],8,C$e),c("button",{onClick:ae(A=>r.unmountPersonality(p),["stop"])},M$e,8,S$e)])]))),128))])):R("",!0)])):R("",!0)])]),c("div",{class:ke([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",O$e,[R$e,c("div",D$e,[c("div",N$e,[o.searchPersonalityInProgress?(y(),E("div",L$e,P$e)):R("",!0),o.searchPersonalityInProgress?R("",!0):(y(),E("div",F$e,z$e))]),Q(c("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[95]||(e[95]=p=>o.searchPersonality=p),onKeyup:e[96]||(e[96]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(y(),E("button",{key:0,onClick:e[97]||(e[97]=ae(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),o.searchPersonality?R("",!0):(y(),E("div",$$e,[c("label",U$e," Personalities Category: ("+z(o.persCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[98]||(e[98]=p=>r.update_personality_category(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(y(!0),E(Ae,null,Ue(o.persCatgArr,(p,x)=>(y(),E("option",{key:x,selected:p==this.configFile.personality_category},z(p),9,j$e))),128))],32)])),c("div",null,[o.personalitiesFiltered.length>0?(y(),E("div",q$e,[c("label",H$e,z(o.searchPersonality?"Search results":"Personalities")+": ("+z(o.personalitiesFiltered.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[le(It,{name:"bounce"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.personalitiesFiltered,(p,x)=>(y(),Xe(u,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+x+"-"+p.name,personality:p,select_language:!0,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(A=>A===p.full_path||A===p.full_path+":"+p.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):R("",!0)]),o.pzl_collapsed?(y(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[99]||(e[99]=p=>o.pzl_collapsed=!o.pzl_collapsed)},G$e)):(y(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[100]||(e[100]=p=>o.pzl_collapsed=!o.pzl_collapsed)},Z$e))],2)]),c("div",W$e,[c("div",Y$e,[c("button",{onClick:e[102]||(e[102]=ae(p=>o.ezc_collapsed=!o.ezc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[Q(c("div",null,Q$e,512),[[We,o.ezc_collapsed]]),Q(c("div",null,eUe,512),[[We,!o.ezc_collapsed]]),tUe,r.configFile.extensions?(y(),E("div",nUe,"|")):R("",!0),r.configFile.extensions?(y(),E("div",sUe,[r.mountedExtensions.length>0?(y(),E("div",oUe,[(y(!0),E(Ae,null,Ue(r.mountedExtensions,(p,x)=>(y(),E("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:x+"-"+p.name,ref_for:!0,ref:"mountedExtensions"},[c("div",rUe,[c("button",{onClick:ae(A=>r.onPersonalitySelected(p),["stop"])},[c("img",{src:o.bUrl+p.avatar,onError:e[101]||(e[101]=(...A)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...A)),class:ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,aUe)],8,iUe),c("button",{onClick:ae(A=>r.unmountPersonality(p),["stop"])},dUe,8,lUe)])]))),128))])):R("",!0)])):R("",!0)])]),c("div",{class:ke([{hidden:o.ezc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[c("div",uUe,[hUe,c("div",fUe,[c("div",pUe,[o.searchExtensionInProgress?(y(),E("div",gUe,_Ue)):R("",!0),o.searchExtensionInProgress?R("",!0):(y(),E("div",bUe,vUe))]),Q(c("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[103]||(e[103]=p=>o.searchPersonality=p),onKeyup:e[104]||(e[104]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(y(),E("button",{key:0,onClick:e[105]||(e[105]=ae(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):R("",!0)])]),o.searchPersonality?R("",!0):(y(),E("div",xUe,[c("label",wUe," Extensions Category: ("+z(o.extCatgArr.length)+") ",1),c("select",{id:"persCat",onChange:e[106]||(e[106]=p=>r.update_extension_category(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(y(!0),E(Ae,null,Ue(o.extCatgArr,(p,x)=>(y(),E("option",{key:x,selected:p==this.extension_category},z(p),9,kUe))),128))],32)])),c("div",null,[o.extensionsFiltererd.length>0?(y(),E("div",EUe,[c("label",CUe,z(o.searchPersonality?"Search results":"Personalities")+": ("+z(o.extensionsFiltererd.length)+") ",1),c("div",{class:ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[le(It,{name:"bounce"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.extensionsFiltererd,(p,x)=>(y(),Xe(h,{ref_for:!0,ref:"extensionsZoo",key:"index-"+x+"-"+p.name,extension:p,select_language:!0,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(A=>A===p.full_path),"on-selected":r.onExtensionSelected,"on-mount":r.mountExtension,"on-un-mount":r.unmountExtension,"on-remount":r.remountExtension,"on-reinstall":t.onExtensionReinstall,"on-settings":t.onSettingsExtension},null,8,["extension","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):R("",!0)]),o.pzl_collapsed?(y(),E("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[107]||(e[107]=p=>o.pzl_collapsed=!o.pzl_collapsed)},SUe)):(y(),E("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[108]||(e[108]=p=>o.pzl_collapsed=!o.pzl_collapsed)},MUe))],2)]),c("div",OUe,[c("div",RUe,[c("button",{onClick:e[109]||(e[109]=ae(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[Q(c("div",null,NUe,512),[[We,o.mc_collapsed]]),Q(c("div",null,IUe,512),[[We,!o.mc_collapsed]]),PUe])]),c("div",{class:ke([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[c("div",FUe,[c("div",BUe,[Q(c("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[110]||(e[110]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[111]||(e[111]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[112]||(e[112]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[Qe,r.configFile.override_personality_model_parameters]]),zUe])]),c("div",{class:ke(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[c("div",$Ue,[UUe,Q(c("input",{type:"text",id:"seed","onUpdate:modelValue":e[113]||(e[113]=p=>r.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Re,r.configFile.seed]])]),c("div",jUe,[c("div",qUe,[c("div",HUe,[VUe,c("p",GUe,[Q(c("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[114]||(e[114]=p=>r.configFile.temperature=p),onChange:e[115]||(e[115]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.temperature]])])]),Q(c("input",{id:"temperature",onChange:e[116]||(e[116]=p=>o.settingsChanged=!0),type:"range","onUpdate:modelValue":e[117]||(e[117]=p=>r.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.temperature]])])]),c("div",KUe,[c("div",ZUe,[c("div",WUe,[YUe,c("p",JUe,[Q(c("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[118]||(e[118]=p=>r.configFile.n_predict=p),onChange:e[119]||(e[119]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.n_predict]])])]),Q(c("input",{id:"predict",type:"range",onChange:e[120]||(e[120]=p=>o.settingsChanged=!0),"onUpdate:modelValue":e[121]||(e[121]=p=>r.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.n_predict]])])]),c("div",QUe,[c("div",XUe,[c("div",eje,[tje,c("p",nje,[Q(c("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[122]||(e[122]=p=>r.configFile.top_k=p),onChange:e[123]||(e[123]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_k]])])]),Q(c("input",{id:"top_k",type:"range",onChange:e[124]||(e[124]=p=>o.settingsChanged=!0),"onUpdate:modelValue":e[125]||(e[125]=p=>r.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_k]])])]),c("div",sje,[c("div",oje,[c("div",rje,[ije,c("p",aje,[Q(c("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[126]||(e[126]=p=>r.configFile.top_p=p),onChange:e[127]||(e[127]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_p]])])]),Q(c("input",{id:"top_p",type:"range","onUpdate:modelValue":e[128]||(e[128]=p=>r.configFile.top_p=p),min:"0",max:"1",step:"0.01",onChange:e[129]||(e[129]=p=>o.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.top_p]])])]),c("div",lje,[c("div",cje,[c("div",dje,[uje,c("p",hje,[Q(c("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[130]||(e[130]=p=>r.configFile.repeat_penalty=p),onChange:e[131]||(e[131]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_penalty]])])]),Q(c("input",{id:"repeat_penalty",onChange:e[132]||(e[132]=p=>o.settingsChanged=!0),type:"range","onUpdate:modelValue":e[133]||(e[133]=p=>r.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_penalty]])])]),c("div",fje,[c("div",pje,[c("div",gje,[mje,c("p",_je,[Q(c("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[134]||(e[134]=p=>r.configFile.repeat_last_n=p),onChange:e[135]||(e[135]=p=>o.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_last_n]])])]),Q(c("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[136]||(e[136]=p=>r.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",onChange:e[137]||(e[137]=p=>o.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Re,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),le(f,{ref:"toast"},null,512),le(g,{ref:"yesNoDialog",class:"z-20"},null,512),le(m,{ref:"addmodeldialog"},null,512),le(_,{ref:"messageBox"},null,512),le(w,{ref:"universalForm",class:"z-20"},null,512),le(b,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const yje=ze(PIe,[["render",bje],["__scopeId","data-v-abe0afe3"]]),vje={components:{ClipBoardTextInput:xc,Card:jo},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ve.post("/start_training",t).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},xje={key:0,class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},wje={class:"mb-4"},kje=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Eje=["value"],Cje={class:"mb-4"},Aje=c("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),Sje={class:"mb-4"},Tje=c("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),Mje={class:"mb-4"},Oje=c("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),Rje={class:"mb-4"},Dje=c("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),Nje={class:"mb-4"},Lje=c("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),Ije={class:"mb-4"},Pje=c("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),Fje=c("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),Bje={key:1};function zje(t,e,n,s,o,r){const i=Ie("Card"),a=Ie("ClipBoardTextInput");return r.selectedModel!==null&&r.selectedModel.toLowerCase().includes("gptq")?(y(),E("div",xje,[c("form",{onSubmit:e[2]||(e[2]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[le(i,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[le(i,{title:"Model",class:"",isHorizontal:!1},{default:De(()=>[c("div",wje,[kje,Q(c("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>r.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>t.setModel&&t.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(y(!0),E(Ae,null,Ue(r.models,l=>(y(),E("option",{key:l,value:l},z(l),9,Eje))),128))],544),[[Ht,r.selectedModel]])])]),_:1}),le(i,{title:"Data",isHorizontal:!1},{default:De(()=>[c("div",Cje,[Aje,le(a,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),le(i,{title:"Training",isHorizontal:!1},{default:De(()=>[c("div",Sje,[Tje,le(a,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),c("div",Mje,[Oje,le(a,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),c("div",Rje,[Dje,le(a,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),c("div",Nje,[Lje,le(a,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),le(i,{title:"Output",isHorizontal:!1},{default:De(()=>[c("div",Ije,[Pje,le(a,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),le(i,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[Fje]),_:1})],32)])):(y(),E("div",Bje,[le(i,{title:"Info",class:"",isHorizontal:!1},{default:De(()=>[xe(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const $je=ze(vje,[["render",zje]]),Uje={components:{ClipBoardTextInput:xc,Card:jo},data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},jje={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},qje={class:"mb-4"},Hje=c("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Vje={class:"mb-4"},Gje=c("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Kje=c("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Zje(t,e,n,s,o,r){const i=Ie("ClipBoardTextInput"),a=Ie("Card");return y(),E("div",jje,[c("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[le(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[le(a,{title:"Model",class:"",isHorizontal:!1},{default:De(()=>[c("div",qje,[Hje,le(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),c("div",Vje,[Gje,le(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),le(a,{disableHoverAnimation:!0,disableFocus:!0},{default:De(()=>[Kje]),_:1})],32)])}const Wje=ze(Uje,[["render",Zje]]),Yje={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,_e(()=>{ye.replace()})},watch:{showConfirmation(){_e(()=>{ye.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&_e(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},Jje=["id"],Qje={class:"flex flex-row items-center gap-2"},Xje={key:0},eqe=["title"],tqe=["value"],nqe={class:"flex items-center flex-1 max-h-6"},sqe={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},oqe=c("i",{"data-feather":"check"},null,-1),rqe=[oqe],iqe=c("i",{"data-feather":"x"},null,-1),aqe=[iqe],lqe={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},cqe=c("i",{"data-feather":"x"},null,-1),dqe=[cqe],uqe=c("i",{"data-feather":"check"},null,-1),hqe=[uqe],fqe={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},pqe=c("i",{"data-feather":"edit-2"},null,-1),gqe=[pqe],mqe=c("i",{"data-feather":"trash"},null,-1),_qe=[mqe];function bqe(t,e,n,s,o,r){return y(),E("div",{class:ke([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ae(i=>r.selectEvent(),["stop"]))},[c("div",Qje,[n.isCheckbox?(y(),E("div",Xje,[Q(c("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[Qe,o.checkBoxValue_local]])])):R("",!0),n.selected?(y(),E("div",{key:1,class:ke(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):R("",!0),n.selected?R("",!0):(y(),E("div",{key:2,class:ke(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?R("",!0):(y(),E("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},z(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,eqe)),o.editTitle?(y(),E("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Mr(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Mr(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,tqe)):R("",!0),c("div",nqe,[o.showConfirmation&&!o.editTitleMode?(y(),E("div",sqe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ae(i=>r.deleteEvent(),["stop"]))},rqe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ae(i=>o.showConfirmation=!1,["stop"]))},aqe)])):R("",!0),o.showConfirmation&&o.editTitleMode?(y(),E("div",lqe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ae(i=>o.editTitleMode=!1,["stop"]))},dqe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ae(i=>r.editTitleEvent(),["stop"]))},hqe)])):R("",!0),o.showConfirmation?R("",!0):(y(),E("div",fqe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ae(i=>o.editTitleMode=!0,["stop"]))},gqe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ae(i=>o.showConfirmation=!0,["stop"]))},_qe)]))])],10,Jje)}const Gg=ze(Yje,[["render",bqe]]),yqe={props:{htmlContent:{type:String,required:!0}}},vqe=["innerHTML"];function xqe(t,e,n,s,o,r){return y(),E("div",null,[c("div",{innerHTML:n.htmlContent},null,8,vqe)])}const wqe=ze(yqe,[["render",xqe]]);const kqe={props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Form"}},data(){return{collapsed:!0}},computed:{formattedJson(){return typeof this.jsonData=="string"?JSON.stringify(JSON.parse(this.jsonData),null," ").replace(/\n/g,"
"):JSON.stringify(this.jsonData,null," ").replace(/\n/g,"
")},isObject(){return typeof this.jsonData=="object"&&this.jsonData!==null},isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")}},methods:{toggleCollapsed(){this.collapsed=!this.collapsed},toggleCollapsible(){this.collapsed=!this.collapsed}}},Eqe={key:0},Cqe={class:"toggle-icon mr-1"},Aqe={key:0,class:"fas fa-plus-circle text-gray-600"},Sqe={key:1,class:"fas fa-minus-circle text-gray-600"},Tqe={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},Mqe={key:0,class:"fas fa-plus-circle text-gray-600"},Oqe={key:1,class:"fas fa-minus-circle text-gray-600"},Rqe=["innerHTML"];function Dqe(t,e,n,s,o,r){return r.isContentPresent?(y(),E("div",Eqe,[c("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...i)=>r.toggleCollapsible&&r.toggleCollapsible(...i))},[c("span",Cqe,[o.collapsed?(y(),E("i",Aqe)):(y(),E("i",Sqe))]),xe(" "+z(n.jsonFormText),1)]),Q(c("div",null,[c("div",Tqe,[r.isObject?(y(),E("span",{key:0,onClick:e[1]||(e[1]=(...i)=>r.toggleCollapsed&&r.toggleCollapsed(...i)),class:"toggle-icon cursor-pointer mr-1"},[o.collapsed?(y(),E("i",Mqe)):(y(),E("i",Oqe))])):R("",!0),c("pre",{innerHTML:r.formattedJson},null,8,Rqe)])],512),[[We,!o.collapsed]])])):R("",!0)}const Nqe=ze(kqe,[["render",Dqe]]),Lqe={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},Iqe={class:"step flex items-center mb-4"},Pqe={class:"flex items-center justify-center w-6 h-6 mr-2"},Fqe={key:0},Bqe=c("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),zqe=[Bqe],$qe={key:1},Uqe=c("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),jqe=[Uqe],qqe={key:2},Hqe=c("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),Vqe=[Hqe],Gqe={key:0,role:"status"},Kqe=c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),Zqe=[Kqe];function Wqe(t,e,n,s,o,r){return y(),E("div",Iqe,[c("div",Pqe,[n.done?R("",!0):(y(),E("div",Fqe,zqe)),n.done&&n.status?(y(),E("div",$qe,jqe)):R("",!0),n.done&&!n.status?(y(),E("div",qqe,Vqe)):R("",!0)]),n.done?R("",!0):(y(),E("div",Gqe,Zqe)),c("div",{class:ke(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},z(n.message),3)])}const Yqe=ze(Lqe,[["render",Wqe]]);const Rh="/",Jqe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:Ug,Step:Yqe,RenderHTMLJS:wqe,JsonViewer:Nqe,DynamicUIRenderer:Vg},props:{message:Object,avatar:""},data(){return{msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),_e(()=>{ye.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?",` +`];let a=-1;return i.forEach(l=>{const d=r.lastIndexOf(l);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{if(this.message.content.includes(".")){const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{s()},1)};s()},toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?(console.log("Avatar:",Rh+this.avatar),Rh+this.avatar):(console.log("No avatar found"),Ro)},defaultImg(t){t.target.src=Ro},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},"message.ui":function(t){console.log("ui changed"),console.log(this.message_ui)},showConfirmation(){_e(()=>{ye.replace()})},editMsgMode(t){_e(()=>{ye.replace()})},deleteMsgMode(){_e(()=>{ye.replace()})}},computed:{message_ui:{get(){return this.message.ui}},isTalking:{get(){return this.isSpeaking}},created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(d){return d<10&&(d="0"+d),d}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},Qqe={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},Xqe={class:"flex flex-row gap-2"},eHe={class:"flex-shrink-0"},tHe={class:"group/avatar"},nHe=["src","data-popover-target"],sHe={class:"flex flex-col w-full flex-grow-0"},oHe={class:"flex flex-row flex-grow items-start"},rHe={class:"flex flex-col mb-2"},iHe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},aHe=["title"],lHe=c("div",{class:"flex-grow"},null,-1),cHe={class:"flex-row justify-end mx-2"},dHe={class:"invisible group-hover:visible flex flex-row"},uHe={key:0,class:"flex items-center duration-75"},hHe=c("i",{"data-feather":"x"},null,-1),fHe=[hHe],pHe=c("i",{"data-feather":"check"},null,-1),gHe=[pHe],mHe=c("i",{"data-feather":"edit"},null,-1),_He=[mHe],bHe=c("i",{"data-feather":"copy"},null,-1),yHe=[bHe],vHe=c("i",{"data-feather":"refresh-cw"},null,-1),xHe=[vHe],wHe=c("i",{"data-feather":"fast-forward"},null,-1),kHe=[wHe],EHe={key:4,class:"flex items-center duration-75"},CHe=c("i",{"data-feather":"x"},null,-1),AHe=[CHe],SHe=c("i",{"data-feather":"check"},null,-1),THe=[SHe],MHe=c("i",{"data-feather":"trash"},null,-1),OHe=[MHe],RHe=c("i",{"data-feather":"thumbs-up"},null,-1),DHe=[RHe],NHe={class:"flex flex-row items-center"},LHe=c("i",{"data-feather":"thumbs-down"},null,-1),IHe=[LHe],PHe={class:"flex flex-row items-center"},FHe=c("i",{"data-feather":"volume-2"},null,-1),BHe=[FHe],zHe={class:"overflow-x-auto w-full"},$He={class:"flex flex-col items-start w-full"},UHe={class:"flex flex-col items-start w-full"},jHe={key:2},qHe={class:"text-sm text-gray-400 mt-2"},HHe={class:"flex flex-row items-center gap-2"},VHe={key:0},GHe={class:"font-thin"},KHe={key:1},ZHe={class:"font-thin"},WHe={key:2},YHe={class:"font-thin"},JHe={key:3},QHe=["title"];function XHe(t,e,n,s,o,r){const i=Ie("Step"),a=Ie("RenderHTMLJS"),l=Ie("MarkdownRenderer"),d=Ie("JsonViewer"),u=Ie("DynamicUIRenderer");return y(),E("div",Qqe,[c("div",Xqe,[c("div",eHe,[c("div",tHe,[c("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=h=>r.defaultImg(h)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,nHe)])]),c("div",sHe,[c("div",oHe,[c("div",rHe,[c("div",iHe,z(n.message.sender)+" ",1),n.message.created_at?(y(),E("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},z(r.created_at),9,aHe)):R("",!0)]),lHe,c("div",cHe,[c("div",dHe,[o.editMsgMode?(y(),E("div",uHe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ae(h=>o.editMsgMode=!1,["stop"]))},fHe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ae((...h)=>r.updateMessage&&r.updateMessage(...h),["stop"]))},gHe)])):R("",!0),o.editMsgMode?R("",!0):(y(),E("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ae(h=>o.editMsgMode=!0,["stop"]))},_He)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ae(h=>r.copyContentToClipboard(),["stop"]))},yHe),n.message.sender!=this.$store.state.mountedPers.name?(y(),E("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ae(h=>r.resendMessage(),["stop"]))},xHe)):R("",!0),n.message.sender==this.$store.state.mountedPers.name?(y(),E("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=ae(h=>r.continueMessage(),["stop"]))},kHe)):R("",!0),o.deleteMsgMode?(y(),E("div",EHe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=ae(h=>o.deleteMsgMode=!1,["stop"]))},AHe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=ae(h=>r.deleteMsg(),["stop"]))},THe)])):R("",!0),o.deleteMsgMode?R("",!0):(y(),E("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=h=>o.deleteMsgMode=!0)},OHe)),c("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=ae(h=>r.rankUp(),["stop"]))},DHe),c("div",NHe,[c("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=ae(h=>r.rankDown(),["stop"]))},IHe),n.message.rank!=0?(y(),E("div",{key:0,class:ke(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},z(n.message.rank),3)):R("",!0)]),c("div",PHe,[c("div",{class:ke(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=ae(h=>r.speak(),["stop"]))},BHe,2)])])])]),c("div",zHe,[c("div",$He,[(y(!0),E(Ae,null,Ue(n.message.steps,(h,f)=>(y(),E("div",{key:"step-"+n.message.id+"-"+f,class:"step font-bold",style:yt({backgroundColor:h.done?"transparent":"inherit"})},[le(i,{done:h.done,message:h.message,status:h.status},null,8,["done","message","status"])],4))),128))]),c("div",UHe,[(y(!0),E(Ae,null,Ue(n.message.html_js_s,(h,f)=>(y(),E("div",{key:"htmljs-"+n.message.id+"-"+f,class:"htmljs font-bold",style:yt({backgroundColor:t.step.done?"transparent":"inherit"})},[le(a,{htmlContent:h},null,8,["htmlContent"])],4))),128))]),o.editMsgMode?R("",!0):(y(),Xe(l,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Q((y(),E("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:yt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=h=>n.message.content=h)},null,4)),[[Re,n.message.content]]):R("",!0),n.message.metadata!==null?(y(),E("div",jHe,[(y(!0),E(Ae,null,Ue(n.message.metadata,(h,f)=>(y(),E("div",{key:"json-"+n.message.id+"-"+f,class:"json font-bold"},[le(d,{jsonFormText:h.title,jsonData:h.content},null,8,["jsonFormText","jsonData"])]))),128))])):R("",!0),n.message.ui!==null&&n.message.ui!==void 0&&n.message.ui!==""?(y(),Xe(u,{key:3,class:"w-full h-full",code:r.message_ui},null,8,["code"])):R("",!0)]),c("div",qHe,[c("div",HHe,[n.message.binding?(y(),E("p",VHe,[xe("Binding: "),c("span",GHe,z(n.message.binding),1)])):R("",!0),n.message.model?(y(),E("p",KHe,[xe("Model: "),c("span",ZHe,z(n.message.model),1)])):R("",!0),n.message.seed?(y(),E("p",WHe,[xe("Seed: "),c("span",YHe,z(n.message.seed),1)])):R("",!0),r.time_spent?(y(),E("p",JHe,[xe("Time spent: "),c("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},z(r.time_spent),9,QHe)])):R("",!0)])])])])])}const Kg=ze(Jqe,[["render",XHe]]),eVe="/";ve.defaults.baseURL="/";const tVe={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:wc},data(){return{bUrl:eVe,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{onSettingsPersonality(t){try{ve.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.name,"Save changes","Cancel").then(n=>{try{ve.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. `+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. - Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(_e(()=>{ye.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Dn}}},eVe={class:"w-fit select-none"},tVe={key:0,class:"flex -space-x-4"},nVe=["src","title"],sVe={key:1,class:"flex -space-x-4"},oVe=["src","title"],rVe={key:2,title:"Loading personalities"},iVe=c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1),aVe=[iVe];function lVe(t,e,n,s,o,r){const i=Ie("UniversalForm");return v(),E(Ae,null,[c("div",eVe,[r.mountedPersArr.length>1?(v(),E("div",tVe,[c("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,nVe),c("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[2]||(e[2]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+z(r.mountedPersArr.length-1),1)])):R("",!0),r.mountedPersArr.length==1?(v(),E("div",sVe,[c("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+this.$store.state.mountedPers.name,onClick:e[4]||(e[4]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"]))},null,40,oVe)])):R("",!0),r.mountedPersArr.length==0?(v(),E("div",rVe,aVe)):R("",!0)]),le(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const cVe=ze(XHe,[["render",lVe]]);const dVe="/";ve.defaults.baseURL="/";const uVe={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:jg,Toast:Ys,UniversalForm:wc},name:"MountedPersonalitiesList",data(){return{bUrl:dVe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Dn},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ve.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality + Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(_e(()=>{ye.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Xs}}},nVe={class:"w-fit select-none"},sVe={key:0,class:"flex -space-x-4"},oVe=["src","title"],rVe={key:1,class:"flex -space-x-4"},iVe=["src","title"],aVe={key:2,title:"Loading personalities"},lVe=c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1),cVe=[lVe];function dVe(t,e,n,s,o,r){const i=Ie("UniversalForm");return y(),E(Ae,null,[c("div",nVe,[r.mountedPersArr.length>1?(y(),E("div",sVe,[c("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,oVe),c("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[2]||(e[2]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+z(r.mountedPersArr.length-1),1)])):R("",!0),r.mountedPersArr.length==1?(y(),E("div",rVe,[c("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+this.$store.state.mountedPers.name,onClick:e[4]||(e[4]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"]))},null,40,iVe)])):R("",!0),r.mountedPersArr.length==0?(y(),E("div",aVe,cVe)):R("",!0)]),le(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const uVe=ze(tVe,[["render",dVe]]);const hVe="/";ve.defaults.baseURL="/";const fVe={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Hg,Toast:Ws,UniversalForm:wc},name:"MountedPersonalitiesList",data(){return{bUrl:hVe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Xs},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ve.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality `+e.message,4,!1),{status:!1}))},onPersonalityMounted(t){this.mountPersonality(t)},onPersonalityUnMounted(t){this.unmountPersonality(t)},onPersonalityRemount(t){this.reMountPersonality(t)},async handleOnTalk(t){if(ye.replace(),console.log("ppa",t),t){if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0))}else this.onPersonalityMounted(t);this.onTalk(t)}},async onPersonalitySelected(t){if(ye.replace(),console.log("Selected personality : ",JSON.stringify(t.personality)),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{ve.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{ve.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. @@ -192,12 +192,12 @@ You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},Z=t=>(i Error: `+e.error,4,!1))},async reMountPersonality(t){if(console.log("remount pers",t),!t)return;if(!this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality not mounted",4,!1);return}const e=await this.remount_personality(t.personality);console.log("remount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality remounted",4,!0),t.isMounted=!0,this.onMounted(this),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;console.log(`Unmounting ${JSON.stringify(t.personality)}`);const e=await this.unmount_personality(t.personality);if(e.status){console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities;const n=this.configFile.personalities[this.configFile.active_personality_id],s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path),r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&ye.replace(),this.$refs.toast.showToast("Personality unmounted",4,!0),this.onUnMounted(this)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},kc=t=>(is("data-v-430515e1"),t=t(),as(),t),hVe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},fVe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},pVe=kc(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),gVe=kc(()=>c("span",{class:"sr-only"},"Loading...",-1)),mVe=[pVe,gVe],_Ve=kc(()=>c("i",{"data-feather":"chevron-down"},null,-1)),bVe=[_Ve],yVe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},vVe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function xVe(t,e,n,s,o,r){const i=Ie("personality-entry"),a=Ie("Toast"),l=Ie("UniversalForm");return v(),E("div",hVe,[o.isLoading?(v(),E("div",fVe,mVe)):R("",!0),c("div",null,[r.mountedPersArr.length>0?(v(),E("div",{key:0,class:ke(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[c("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ae((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},bVe),c("label",yVe," Mounted Personalities: ("+z(r.mountedPersArr.length)+") ",1),c("div",vVe,[le(It,{name:"bounce"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(this.$store.state.mountedPersArr,(d,u)=>(v(),Xe(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,select_language:!1,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path||r.configFile.personalities[r.configFile.active_personality_id]===d.full_path+":"+d.language,"on-selected":r.onPersonalitySelected,"on-mount":r.onPersonalityMounted,"on-un-mount":r.onPersonalityUnMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):R("",!0)]),le(a,{ref:"toast"},null,512),le(l,{ref:"universalForm",class:"z-20"},null,512)])}const wVe=ze(uVe,[["render",xVe],["__scopeId","data-v-430515e1"]]);const kVe={components:{InteractiveMenu:jo},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ye.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const n={filename:this.selectedFile.name,fileData:e.result};Ce.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file -`+s.error,4,!1),this.loading=!1,Ce.off("file_received")}),Ce.emit("send_file",n)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ye.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},EVe=t=>(is("data-v-52cfa09c"),t=t(),as(),t),CVe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},AVe=EVe(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),SVe=[AVe];function TVe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return o.loading?(v(),E("div",CVe,SVe)):(v(),Xe(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const MVe=ze(kVe,[["render",TVe],["__scopeId","data-v-52cfa09c"]]);const OVe={name:"ChatBox",emits:["messageSentEvent","stopGenerating","loaded"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Ys,MountedPersonalities:cVe,MountedPersonalitiesList:wVe,PersonalitiesCommands:MVe,InteractiveMenu:jo},setup(){},data(){return{message:"",selecting_model:!1,selectedModel:"",models:{},isLesteningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:"#M"}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{console.log(e),this.$refs.toast.showToast(`Model changed to ${t.value}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$refs.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},clear_files(){ve.get("/clear_personality_files_list").then(t=>{t.data.status?console.log("Files removed"):console.log("Files couldn't be removed")}),this.filesList=[],this.isFileSentList=[]},send_file(t){new FormData().append("file",t),console.log("Uploading file");const n=new FileReader;n.onload=()=>{const s={filename:t.name,fileData:n.result};Ce.on("file_received",o=>{if(o.status){console.log(o.filename);let r=this.filesList.findIndex(i=>i.name===o.filename);r>=0?(this.isFileSentList[r]=!0,console.log(this.isFileSentList)):console.log("Not found"),this.onShowToastMessage("File uploaded successfully",4,!0)}else{this.onShowToastMessage(`Couldn't upload file -`+o.error,4,!1);try{this.filesList.removeItem(t)}catch{}}Ce.off("file_received")}),Ce.emit("send_file",s)},n.readAsDataURL(t)},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountFun(t){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(t){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(t){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return _e(()=>{ye.replace()}),Kt(t)},removeItem(t){this.filesList=this.filesList.filter(e=>e!=t)},sendMessageEvent(t){this.filesList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){console.log("Adding file"),this.filesList=this.filesList.concat([...t.target.files]),console.log(`Files_list : ${this.filesList}`),this.isFileSentList=this.isFileSentList.concat([!1]*this.filesList.length),this.send_file(this.filesList[this.filesList.length-1])}},watch:{showfilesList(){_e(()=>{ye.replace()})},loading(t,e){_e(()=>{ye.replace()})},filesList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{console.log("List models "+t.data),this.models=t.data,ve.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),this.emitloaded(),_e(()=>{ye.replace()})},activated(){_e(()=>{ye.replace()})}},ft=t=>(is("data-v-21d74680"),t=t(),as(),t),RVe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},NVe={key:0,class:"flex items-center justify-center w-full"},LVe={class:"flex flex-row p-2 rounded-t-lg"},DVe=ft(()=>c("label",{for:"chat",class:"sr-only"},"Send message",-1)),IVe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},PVe={class:"flex flex-col gap-2"},FVe={class:"flex"},BVe=["title"],zVe=ft(()=>c("i",{"data-feather":"list"},null,-1)),$Ve=[zVe],UVe={key:0},jVe={class:"flex flex-col max-h-64"},qVe=["title"],HVe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},VVe={key:0,filesList:"",role:"status"},GVe=ft(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),KVe=ft(()=>c("span",{class:"sr-only"},"Loading...",-1)),ZVe=[GVe,KVe],WVe=ft(()=>c("div",null,[c("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),YVe=ft(()=>c("div",{class:"grow"},null,-1)),JVe={class:"flex flex-row items-center"},QVe={class:"whitespace-nowrap"},XVe=["onClick"],eGe=ft(()=>c("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),tGe=[eGe],nGe={key:1,class:"flex items-center mx-1"},sGe={class:"whitespace-nowrap flex flex-row gap-2"},oGe=ft(()=>c("p",{class:"font-bold"}," Total size: ",-1)),rGe=ft(()=>c("div",{class:"grow"},null,-1)),iGe=ft(()=>c("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),aGe=[iGe],lGe={key:2,class:"mx-1"},cGe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},dGe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},uGe=ft(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Selecting model...")],-1)),hGe=[uGe],fGe={class:"w-fit"},pGe={class:"w-fit"},gGe={class:"relative grow"},mGe=ft(()=>c("i",{"data-feather":"file-plus"},null,-1)),_Ge=[mGe],bGe={class:"inline-flex justify-center rounded-full"},yGe=ft(()=>c("i",{"data-feather":"mic"},null,-1)),vGe=[yGe],xGe=ft(()=>c("i",{"data-feather":"send"},null,-1)),wGe=ft(()=>c("span",{class:"sr-only"},"Send message",-1)),kGe=[xGe,wGe],EGe={key:1,title:"Waiting for reply"},CGe=ft(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),AGe=[CGe];function SGe(t,e,n,s,o,r){const i=Ie("MountedPersonalitiesList"),a=Ie("InteractiveMenu"),l=Ie("MountedPersonalities"),d=Ie("PersonalitiesCommands"),u=Ie("Toast");return v(),E(Ae,null,[c("div",RVe,[n.loading?(v(),E("div",NVe,[c("div",LVe,[c("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ae((...h)=>r.stopGenerating&&r.stopGenerating(...h),["stop"]))}," Stop generating ")])])):R("",!0),c("form",null,[DVe,c("div",IVe,[c("div",PVe,[c("div",FVe,[o.filesList.length>0?(v(),E("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ae(h=>o.showfilesList=!o.showfilesList,["stop"]))},$Ve,8,BVe)):R("",!0)]),o.filesList.length>0&&o.showfilesList==!0?(v(),E("div",UVe,[c("div",jVe,[le(It,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(o.filesList,(h,f)=>(v(),E("div",{key:f+"-"+h.name},[c("div",{class:"m-1",title:h.name},[c("div",HVe,[o.isFileSentList[f]?R("",!0):(v(),E("div",VVe,ZVe)),WVe,c("div",{class:ke(["line-clamp-1 w-3/5",o.isFileSentList[f]?"text-green-200":"text-red-200"])},z(h.name),3),YVe,c("div",JVe,[c("p",QVe,z(r.computedFileSize(h.size)),1),c("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:g=>r.removeItem(h)},tGe,8,XVe)])])],8,qVe)]))),128))]),_:1})])])):R("",!0),o.filesList.length>0?(v(),E("div",nGe,[c("div",sGe,[oGe,xe(" "+z(o.totalSize)+" ("+z(o.filesList.length)+") ",1)]),rGe,c("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=(...h)=>r.clear_files&&r.clear_files(...h))},aGe)])):R("",!0),o.showPersonalities?(v(),E("div",lGe,[le(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mounted":r.onMountFun,"on-un-mounted":r.onUnmountFun,"on-remounted":t.onRemountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):R("",!0),c("div",cGe,[le(a,{title:o.selectedModel,execute_cmd:r.setModel,icon:o.models_menu_icon,commands:r.commandify(o.models),selected_entry:o.selectedModel},null,8,["title","execute_cmd","icon","commands","selected_entry"]),o.selecting_model?(v(),E("div",dGe,hGe)):R("",!0),c("div",fGe,[le(l,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),c("div",pGe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(v(),Xe(d,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):R("",!0)]),c("div",gGe,[Q(c("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=h=>o.message=h),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=Tr(ae(h=>r.submitOnEnter(h),["exact"]),["enter"]))},`\r +Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},Ec=t=>(rs("data-v-430515e1"),t=t(),is(),t),pVe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},gVe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},mVe=Ec(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),_Ve=Ec(()=>c("span",{class:"sr-only"},"Loading...",-1)),bVe=[mVe,_Ve],yVe=Ec(()=>c("i",{"data-feather":"chevron-down"},null,-1)),vVe=[yVe],xVe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},wVe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function kVe(t,e,n,s,o,r){const i=Ie("personality-entry"),a=Ie("Toast"),l=Ie("UniversalForm");return y(),E("div",pVe,[o.isLoading?(y(),E("div",gVe,bVe)):R("",!0),c("div",null,[r.mountedPersArr.length>0?(y(),E("div",{key:0,class:ke(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[c("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ae((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},vVe),c("label",xVe," Mounted Personalities: ("+z(r.mountedPersArr.length)+") ",1),c("div",wVe,[le(It,{name:"bounce"},{default:De(()=>[(y(!0),E(Ae,null,Ue(this.$store.state.mountedPersArr,(d,u)=>(y(),Xe(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,select_language:!1,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path||r.configFile.personalities[r.configFile.active_personality_id]===d.full_path+":"+d.language,"on-selected":r.onPersonalitySelected,"on-mount":r.onPersonalityMounted,"on-un-mount":r.onPersonalityUnMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):R("",!0)]),le(a,{ref:"toast"},null,512),le(l,{ref:"universalForm",class:"z-20"},null,512)])}const EVe=ze(fVe,[["render",kVe],["__scopeId","data-v-430515e1"]]);const CVe={components:{InteractiveMenu:qo},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ye.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const n={filename:this.selectedFile.name,fileData:e.result};Ce.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file +`+s.error,4,!1),this.loading=!1,Ce.off("file_received")}),Ce.emit("send_file",n)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ye.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},AVe=t=>(rs("data-v-52cfa09c"),t=t(),is(),t),SVe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},TVe=AVe(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),MVe=[TVe];function OVe(t,e,n,s,o,r){const i=Ie("InteractiveMenu");return o.loading?(y(),E("div",SVe,MVe)):(y(),Xe(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const RVe=ze(CVe,[["render",OVe],["__scopeId","data-v-52cfa09c"]]);const DVe={name:"ChatBox",emits:["messageSentEvent","stopGenerating","loaded"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Ws,MountedPersonalities:uVe,MountedPersonalitiesList:EVe,PersonalitiesCommands:RVe,InteractiveMenu:qo},setup(){},data(){return{message:"",selecting_model:!1,selectedModel:"",models:{},isLesteningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:"#M"}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{console.log(e),this.$refs.toast.showToast(`Model changed to ${t.value}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$refs.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},clear_files(){ve.get("/clear_personality_files_list").then(t=>{t.data.status?console.log("Files removed"):console.log("Files couldn't be removed")}),this.filesList=[],this.isFileSentList=[]},send_file(t){new FormData().append("file",t),console.log("Uploading file");const n=new FileReader;n.onload=()=>{const s={filename:t.name,fileData:n.result};Ce.on("file_received",o=>{if(o.status){console.log(o.filename);let r=this.filesList.findIndex(i=>i.name===o.filename);r>=0?(this.isFileSentList[r]=!0,console.log(this.isFileSentList)):console.log("Not found"),this.onShowToastMessage("File uploaded successfully",4,!0)}else{this.onShowToastMessage(`Couldn't upload file +`+o.error,4,!1);try{this.filesList.removeItem(t)}catch{}}Ce.off("file_received")}),Ce.emit("send_file",s)},n.readAsDataURL(t)},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountFun(t){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(t){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(t){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return _e(()=>{ye.replace()}),Zt(t)},removeItem(t){this.filesList=this.filesList.filter(e=>e!=t)},sendMessageEvent(t){this.filesList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){console.log("Adding file"),this.filesList=this.filesList.concat([...t.target.files]),console.log(`Files_list : ${this.filesList}`),this.isFileSentList=this.isFileSentList.concat([!1]*this.filesList.length),this.send_file(this.filesList[this.filesList.length-1])}},watch:{showfilesList(){_e(()=>{ye.replace()})},loading(t,e){_e(()=>{ye.replace()})},filesList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{console.log("List models "+t.data),this.models=t.data,ve.get("get_active_model").then(e=>{console.log("Active model "+JSON.stringify(e.data)),e.data!=null&&(this.selectedModel=e.data.model)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}),this.emitloaded(),_e(()=>{ye.replace()})},activated(){_e(()=>{ye.replace()})}},ft=t=>(rs("data-v-21d74680"),t=t(),is(),t),NVe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},LVe={key:0,class:"flex items-center justify-center w-full"},IVe={class:"flex flex-row p-2 rounded-t-lg"},PVe=ft(()=>c("label",{for:"chat",class:"sr-only"},"Send message",-1)),FVe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},BVe={class:"flex flex-col gap-2"},zVe={class:"flex"},$Ve=["title"],UVe=ft(()=>c("i",{"data-feather":"list"},null,-1)),jVe=[UVe],qVe={key:0},HVe={class:"flex flex-col max-h-64"},VVe=["title"],GVe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},KVe={key:0,filesList:"",role:"status"},ZVe=ft(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),WVe=ft(()=>c("span",{class:"sr-only"},"Loading...",-1)),YVe=[ZVe,WVe],JVe=ft(()=>c("div",null,[c("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),QVe=ft(()=>c("div",{class:"grow"},null,-1)),XVe={class:"flex flex-row items-center"},eGe={class:"whitespace-nowrap"},tGe=["onClick"],nGe=ft(()=>c("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),sGe=[nGe],oGe={key:1,class:"flex items-center mx-1"},rGe={class:"whitespace-nowrap flex flex-row gap-2"},iGe=ft(()=>c("p",{class:"font-bold"}," Total size: ",-1)),aGe=ft(()=>c("div",{class:"grow"},null,-1)),lGe=ft(()=>c("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),cGe=[lGe],dGe={key:2,class:"mx-1"},uGe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},hGe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},fGe=ft(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Selecting model...")],-1)),pGe=[fGe],gGe={class:"w-fit"},mGe={class:"w-fit"},_Ge={class:"relative grow"},bGe=ft(()=>c("i",{"data-feather":"file-plus"},null,-1)),yGe=[bGe],vGe={class:"inline-flex justify-center rounded-full"},xGe=ft(()=>c("i",{"data-feather":"mic"},null,-1)),wGe=[xGe],kGe=ft(()=>c("i",{"data-feather":"send"},null,-1)),EGe=ft(()=>c("span",{class:"sr-only"},"Send message",-1)),CGe=[kGe,EGe],AGe={key:1,title:"Waiting for reply"},SGe=ft(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),TGe=[SGe];function MGe(t,e,n,s,o,r){const i=Ie("MountedPersonalitiesList"),a=Ie("InteractiveMenu"),l=Ie("MountedPersonalities"),d=Ie("PersonalitiesCommands"),u=Ie("Toast");return y(),E(Ae,null,[c("div",NVe,[n.loading?(y(),E("div",LVe,[c("div",IVe,[c("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ae((...h)=>r.stopGenerating&&r.stopGenerating(...h),["stop"]))}," Stop generating ")])])):R("",!0),c("form",null,[PVe,c("div",FVe,[c("div",BVe,[c("div",zVe,[o.filesList.length>0?(y(),E("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ae(h=>o.showfilesList=!o.showfilesList,["stop"]))},jVe,8,$Ve)):R("",!0)]),o.filesList.length>0&&o.showfilesList==!0?(y(),E("div",qVe,[c("div",HVe,[le(It,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:De(()=>[(y(!0),E(Ae,null,Ue(o.filesList,(h,f)=>(y(),E("div",{key:f+"-"+h.name},[c("div",{class:"m-1",title:h.name},[c("div",GVe,[o.isFileSentList[f]?R("",!0):(y(),E("div",KVe,YVe)),JVe,c("div",{class:ke(["line-clamp-1 w-3/5",o.isFileSentList[f]?"text-green-200":"text-red-200"])},z(h.name),3),QVe,c("div",XVe,[c("p",eGe,z(r.computedFileSize(h.size)),1),c("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:g=>r.removeItem(h)},sGe,8,tGe)])])],8,VVe)]))),128))]),_:1})])])):R("",!0),o.filesList.length>0?(y(),E("div",oGe,[c("div",rGe,[iGe,xe(" "+z(o.totalSize)+" ("+z(o.filesList.length)+") ",1)]),aGe,c("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=(...h)=>r.clear_files&&r.clear_files(...h))},cGe)])):R("",!0),o.showPersonalities?(y(),E("div",dGe,[le(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mounted":r.onMountFun,"on-un-mounted":r.onUnmountFun,"on-remounted":t.onRemountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):R("",!0),c("div",uGe,[le(a,{title:o.selectedModel,execute_cmd:r.setModel,icon:o.models_menu_icon,commands:r.commandify(o.models),selected_entry:o.selectedModel},null,8,["title","execute_cmd","icon","commands","selected_entry"]),o.selecting_model?(y(),E("div",hGe,pGe)):R("",!0),c("div",gGe,[le(l,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),c("div",mGe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(y(),Xe(d,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):R("",!0)]),c("div",_Ge,[Q(c("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=h=>o.message=h),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=Mr(ae(h=>r.submitOnEnter(h),["exact"]),["enter"]))},`\r \r \r - `,544),[[Re,o.message]]),c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...h)=>r.addFiles&&r.addFiles(...h)),multiple:""},null,544),c("button",{type:"button",onClick:e[6]||(e[6]=ae(h=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},_Ge)]),c("div",bGe,[c("button",{type:"button",onClick:e[7]||(e[7]=(...h)=>r.startSpeechRecognition&&r.startSpeechRecognition(...h)),class:ke([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},vGe,2),n.loading?R("",!0):(v(),E("button",{key:0,type:"button",onClick:e[8]||(e[8]=(...h)=>r.submit&&r.submit(...h)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},kGe)),n.loading?(v(),E("div",EGe,AGe)):R("",!0)])])])])])]),le(u,{ref:"toast"},null,512)],64)}const Gg=ze(OVe,[["render",SGe],["__scopeId","data-v-21d74680"]]),TGe={name:"WelcomeComponent",setup(){return{}}},MGe={class:"flex flex-col text-center"},OGe=Gs('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),RGe=[OGe];function NGe(t,e,n,s,o,r){return v(),E("div",MGe,RGe)}const Kg=ze(TGe,[["render",NGe]]);const LGe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){_e(()=>{ye.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),_e(()=>{ye.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,_e(()=>{ye.replace()})}}},DGe={class:"text-4xl text-center"};function IGe(t,e,n,s,o,r){return v(),Xe(It,{name:"list",tag:"div"},{default:Ne(()=>[o.show?(v(),E("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ae(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ae(i=>r.panelDrop(i),["stop","prevent"]))},[c("div",{class:ke(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[c("div",DGe,[Ar(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):R("",!0)]),_:3})}const yl=ze(LGe,[["render",IGe]]);var PGe=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),Pr=globalThis&&globalThis.__assign||function(){return Pr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=xt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function WGe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!Tt(r)||!Qt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function YGe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,d){return l[d]="",l},{});!Tt(o)||!Qt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const JGe={name:"applyStyles",enabled:!0,phase:"write",fn:WGe,effect:YGe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var ts=Math.max,$r=Math.min,Bs=Math.round;function vl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function om(){return!/^((?!chrome|android).)*safari/i.test(vl())}function zs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Bs(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Bs(s.height)/t.offsetHeight||1);var i=os(t)?xt(t):window,a=i.visualViewport,l=!om()&&n,d=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Ac(t){var e=zs(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function rm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Cc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function fn(t){return xt(t).getComputedStyle(t)}function QGe(t){return["table","td","th"].indexOf(Qt(t))>=0}function Fn(t){return((os(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ei(t){return Qt(t)==="html"?t:t.assignedSlot||t.parentNode||(Cc(t)?t.host:null)||Fn(t)}function Lh(t){return!Tt(t)||fn(t).position==="fixed"?null:t.offsetParent}function XGe(t){var e=/firefox/i.test(vl()),n=/Trident/i.test(vl());if(n&&Tt(t)){var s=fn(t);if(s.position==="fixed")return null}var o=Ei(t);for(Cc(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Qt(o))<0;){var r=fn(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Ho(t){for(var e=xt(t),n=Lh(t);n&&QGe(n)&&fn(n).position==="static";)n=Lh(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&fn(n).position==="static")?e:n||XGe(t)||e}function Sc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _o(t,e,n){return ts(t,$r(e,n))}function eKe(t,e,n){var s=_o(t,e,n);return s>n?n:s}function im(){return{top:0,right:0,bottom:0,left:0}}function am(t){return Object.assign({},im(),t)}function lm(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var tKe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,am(typeof e!="number"?e:lm(e,qo))};function nKe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=Sc(a),d=[mt,Rt].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!i)){var h=tKe(o.padding,n),f=Ac(r),g=l==="y"?gt:mt,m=l==="y"?Ot:Rt,_=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],w=i[l]-n.rects.reference[l],b=Ho(r),p=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,x=_/2-w/2,A=h[g],N=p-f[u]-h[m],O=p/2-f[u]/2+x,D=_o(A,O,N),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-O,e)}}function sKe(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||rm(e.elements.popper,o)&&(e.elements.arrow=o))}const oKe={name:"arrow",enabled:!0,phase:"main",fn:nKe,effect:sKe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $s(t){return t.split("-")[1]}var rKe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function iKe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Bs(n*o)/o||0,y:Bs(s*o)/o||0}}function Dh(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,g=f===void 0?0:f,m=i.y,_=m===void 0?0:m,w=typeof u=="function"?u({x:g,y:_}):{x:g,y:_};g=w.x,_=w.y;var b=i.hasOwnProperty("x"),p=i.hasOwnProperty("y"),x=mt,A=gt,N=window;if(d){var O=Ho(n),D="clientHeight",y="clientWidth";if(O===xt(n)&&(O=Fn(n),fn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),O=O,o===gt||(o===mt||o===Rt)&&r===Do){A=Ot;var C=h&&O===N&&N.visualViewport?N.visualViewport.height:O[D];_-=C-s.height,_*=l?1:-1}if(o===mt||(o===gt||o===Ot)&&r===Do){x=Rt;var M=h&&O===N&&N.visualViewport?N.visualViewport.width:O[y];g-=M-s.width,g*=l?1:-1}}var I=Object.assign({position:a},d&&rKe),B=u===!0?iKe({x:g,y:_},xt(n)):{x:g,y:_};if(g=B.x,_=B.y,l){var X;return Object.assign({},I,(X={},X[A]=p?"0":"",X[x]=b?"0":"",X.transform=(N.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",X))}return Object.assign({},I,(e={},e[A]=p?_+"px":"",e[x]=b?g+"px":"",e.transform="",e))}function aKe(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,d={placement:Wt(e.placement),variation:$s(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Dh(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Dh(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const lKe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aKe,data:{}};var sr={passive:!0};function cKe(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=xt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",n.update,sr)}),a&&l.addEventListener("resize",n.update,sr),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",n.update,sr)}),a&&l.removeEventListener("resize",n.update,sr)}}const dKe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cKe,data:{}};var uKe={left:"right",right:"left",bottom:"top",top:"bottom"};function xr(t){return t.replace(/left|right|bottom|top/g,function(e){return uKe[e]})}var hKe={start:"end",end:"start"};function Ih(t){return t.replace(/start|end/g,function(e){return hKe[e]})}function Tc(t){var e=xt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Mc(t){return zs(Fn(t)).left+Tc(t).scrollLeft}function fKe(t,e){var n=xt(t),s=Fn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var d=om();(d||!d&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Mc(t),y:l}}function pKe(t){var e,n=Fn(t),s=Tc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=ts(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ts(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Mc(t),l=-s.scrollTop;return fn(o||n).direction==="rtl"&&(a+=ts(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Oc(t){var e=fn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function cm(t){return["html","body","#document"].indexOf(Qt(t))>=0?t.ownerDocument.body:Tt(t)&&Oc(t)?t:cm(Ei(t))}function bo(t,e){var n;e===void 0&&(e=[]);var s=cm(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=xt(s),i=o?[r].concat(r.visualViewport||[],Oc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(bo(Ei(i)))}function xl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gKe(t,e){var n=zs(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ph(t,e,n){return e===nm?xl(fKe(t,n)):os(e)?gKe(e,n):xl(pKe(Fn(t)))}function mKe(t){var e=bo(Ei(t)),n=["absolute","fixed"].indexOf(fn(t).position)>=0,s=n&&Tt(t)?Ho(t):t;return os(s)?e.filter(function(o){return os(o)&&rm(o,s)&&Qt(o)!=="body"}):[]}function _Ke(t,e,n,s){var o=e==="clippingParents"?mKe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,d){var u=Ph(t,d,s);return l.top=ts(u.top,l.top),l.right=$r(u.right,l.right),l.bottom=$r(u.bottom,l.bottom),l.left=ts(u.left,l.left),l},Ph(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function dm(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?$s(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case gt:l={x:i,y:e.y-n.height};break;case Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case mt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var d=o?Sc(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case Fs:l[d]=l[d]-(e[u]/2-n[u]/2);break;case Do:l[d]=l[d]+(e[u]/2-n[u]/2);break}}return l}function Io(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?FGe:a,d=n.rootBoundary,u=d===void 0?nm:d,h=n.elementContext,f=h===void 0?ro:h,g=n.altBoundary,m=g===void 0?!1:g,_=n.padding,w=_===void 0?0:_,b=am(typeof w!="number"?w:lm(w,qo)),p=f===ro?BGe:ro,x=t.rects.popper,A=t.elements[m?p:f],N=_Ke(os(A)?A:A.contextElement||Fn(t.elements.popper),l,u,i),O=zs(t.elements.reference),D=dm({reference:O,element:x,strategy:"absolute",placement:o}),y=xl(Object.assign({},x,D)),C=f===ro?y:O,M={top:N.top-C.top+b.top,bottom:C.bottom-N.bottom+b.bottom,left:N.left-C.left+b.left,right:C.right-N.right+b.right},I=t.modifiersData.offset;if(f===ro&&I){var B=I[o];Object.keys(M).forEach(function(X){var P=[Rt,Ot].indexOf(X)>=0?1:-1,ue=[gt,Ot].indexOf(X)>=0?"y":"x";M[X]+=B[ue]*P})}return M}function bKe(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,d=l===void 0?sm:l,u=$s(s),h=u?a?Nh:Nh.filter(function(m){return $s(m)===u}):qo,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,_){return m[_]=Io(t,{placement:_,boundary:o,rootBoundary:r,padding:i})[Wt(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function yKe(t){if(Wt(t)===Ec)return[];var e=xr(t);return[Ih(t),e,Ih(e)]}function vKe(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,_=n.allowedAutoPlacements,w=e.options.placement,b=Wt(w),p=b===w,x=l||(p||!m?[xr(w)]:yKe(w)),A=[w].concat(x).reduce(function(Me,L){return Me.concat(Wt(L)===Ec?bKe(e,{placement:L,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:_}):L)},[]),N=e.rects.reference,O=e.rects.popper,D=new Map,y=!0,C=A[0],M=0;M=0,ue=P?"width":"height",Y=Io(e,{placement:I,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),T=P?X?Rt:mt:X?Ot:gt;N[ue]>O[ue]&&(T=xr(T));var H=xr(T),G=[];if(r&&G.push(Y[B]<=0),a&&G.push(Y[T]<=0,Y[H]<=0),G.every(function(Me){return Me})){C=I,y=!1;break}D.set(I,G)}if(y)for(var we=m?3:1,be=function(L){var ee=A.find(function(V){var se=D.get(V);if(se)return se.slice(0,L).every(function(te){return te})});if(ee)return C=ee,"break"},ne=we;ne>0;ne--){var Ee=be(ne);if(Ee==="break")break}e.placement!==C&&(e.modifiersData[s]._skip=!0,e.placement=C,e.reset=!0)}}const xKe={name:"flip",enabled:!0,phase:"main",fn:vKe,requiresIfExists:["offset"],data:{_skip:!1}};function Fh(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Bh(t){return[gt,Rt,Ot,mt].some(function(e){return t[e]>=0})}function wKe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Io(e,{elementContext:"reference"}),a=Io(e,{altBoundary:!0}),l=Fh(i,s),d=Fh(a,o,r),u=Bh(l),h=Bh(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const kKe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wKe};function EKe(t,e,n){var s=Wt(t),o=[mt,gt].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[mt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function CKe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=sm.reduce(function(u,h){return u[h]=EKe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=i}const AKe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CKe};function SKe(t){var e=t.state,n=t.name;e.modifiersData[n]=dm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const TKe={name:"popperOffsets",enabled:!0,phase:"read",fn:SKe,data:{}};function MKe(t){return t==="x"?"y":"x"}function OKe(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,g=f===void 0?!0:f,m=n.tetherOffset,_=m===void 0?0:m,w=Io(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),b=Wt(e.placement),p=$s(e.placement),x=!p,A=Sc(b),N=MKe(A),O=e.modifiersData.popperOffsets,D=e.rects.reference,y=e.rects.popper,C=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,M=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(O){if(r){var X,P=A==="y"?gt:mt,ue=A==="y"?Ot:Rt,Y=A==="y"?"height":"width",T=O[A],H=T+w[P],G=T-w[ue],we=g?-y[Y]/2:0,be=p===Fs?D[Y]:y[Y],ne=p===Fs?-y[Y]:-D[Y],Ee=e.elements.arrow,Me=g&&Ee?Ac(Ee):{width:0,height:0},L=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:im(),ee=L[P],V=L[ue],se=_o(0,D[Y],Me[Y]),te=x?D[Y]/2-we-se-ee-M.mainAxis:be-se-ee-M.mainAxis,ge=x?-D[Y]/2+we+se+V+M.mainAxis:ne+se+V+M.mainAxis,he=e.elements.arrow&&Ho(e.elements.arrow),k=he?A==="y"?he.clientTop||0:he.clientLeft||0:0,S=(X=I==null?void 0:I[A])!=null?X:0,F=T+te-S-k,$=T+ge-S,U=_o(g?$r(H,F):H,T,g?ts(G,$):G);O[A]=U,B[A]=U-T}if(a){var oe,ce=A==="x"?gt:mt,j=A==="x"?Ot:Rt,re=O[N],q=N==="y"?"height":"width",J=re+w[ce],de=re-w[j],pe=[gt,mt].indexOf(b)!==-1,fe=(oe=I==null?void 0:I[N])!=null?oe:0,Se=pe?J:re-D[q]-y[q]-fe+M.altAxis,W=pe?re+D[q]+y[q]-fe-M.altAxis:de,ie=g&&pe?eKe(Se,re,W):_o(g?Se:J,re,g?W:de);O[N]=ie,B[N]=ie-re}e.modifiersData[s]=B}}const RKe={name:"preventOverflow",enabled:!0,phase:"main",fn:OKe,requiresIfExists:["offset"]};function NKe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function LKe(t){return t===xt(t)||!Tt(t)?Tc(t):NKe(t)}function DKe(t){var e=t.getBoundingClientRect(),n=Bs(e.width)/t.offsetWidth||1,s=Bs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function IKe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&DKe(e),r=Fn(e),i=zs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Qt(e)!=="body"||Oc(r))&&(a=LKe(e)),Tt(e)?(l=zs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Mc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function PKe(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function FKe(t){var e=PKe(t);return ZGe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function BKe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function zKe(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var zh={placement:"bottom",modifiers:[],strategy:"absolute"};function $h(){for(var t=arguments.length,e=new Array(t),n=0;n(is("data-v-f8600c84"),t=t(),as(),t),HKe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},VKe={class:"flex flex-col text-center"},GKe={class:"flex flex-col text-center items-center"},KKe={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},ZKe=Ke(()=>c("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:oc,alt:"Logo"},null,-1)),WKe={class:"flex flex-col items-start"},YKe={class:"text-2xl"},JKe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),QKe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),XKe=Ke(()=>c("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"},null,-1)),eZe=Ke(()=>c("p",{class:"text-2xl"},"Welcome",-1)),tZe=Ke(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),nZe=Ke(()=>c("span",{class:"text-2xl font-bold ml-4"},"Loading ...",-1)),sZe=Ke(()=>c("i",{"data-feather":"chevron-right"},null,-1)),oZe=[sZe],rZe=Ke(()=>c("i",{"data-feather":"chevron-left"},null,-1)),iZe=[rZe],aZe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},lZe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},cZe={class:"flex-row p-4 flex items-center gap-3 flex-0"},dZe=Ke(()=>c("i",{"data-feather":"plus"},null,-1)),uZe=[dZe],hZe=Ke(()=>c("i",{"data-feather":"check-square"},null,-1)),fZe=[hZe],pZe=Ke(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[c("i",{"data-feather":"refresh-ccw"})],-1)),gZe=Ke(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[c("i",{"data-feather":"database"})],-1)),mZe=Ke(()=>c("i",{"data-feather":"log-in"},null,-1)),_Ze=[mZe],bZe={key:0,class:"dropdown"},yZe=Ke(()=>c("i",{"data-feather":"search"},null,-1)),vZe=[yZe],xZe=Ke(()=>c("i",{"data-feather":"save"},null,-1)),wZe=[xZe],kZe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},EZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),CZe=[EZe],AZe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),SZe=[AZe],TZe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},MZe=Ke(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),OZe=[MZe],RZe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},NZe={class:"p-4 pt-2"},LZe={class:"relative"},DZe=Ke(()=>c("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[c("div",{class:"scale-75"},[c("i",{"data-feather":"search"})])],-1)),IZe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},PZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),FZe=[PZe],BZe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},zZe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},$Ze={class:"flex flex-row flex-grow"},UZe={key:0},jZe={class:"flex flex-row"},qZe={key:0,class:"flex gap-3"},HZe=Ke(()=>c("i",{"data-feather":"trash"},null,-1)),VZe=[HZe],GZe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},KZe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),ZZe=[KZe],WZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),YZe=[WZe],JZe={class:"flex gap-3"},QZe=Ke(()=>c("i",{"data-feather":"log-out"},null,-1)),XZe=[QZe],eWe=Ke(()=>c("i",{"data-feather":"list"},null,-1)),tWe=[eWe],nWe={class:"z-5"},sWe={class:"relative flex flex-row flex-grow mb-10 z-0"},oWe={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},rWe=Ke(()=>c("p",{class:"px-3"},"No discussions are found",-1)),iWe=[rWe],aWe=Ke(()=>c("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),lWe={class:"z-20 h-max"},cWe={class:"container pt-4 pb-10 mb-28"},dWe=Ke(()=>c("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),uWe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},hWe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14,MSG_TYPE_NEW_MESSAGE:15,MSG_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,ve.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},showToastMessage(t,e,n){console.log("sending",t),this.$refs.toast.showToast(t,e,n)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await ve.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},load_discussion(t,e){t&&(console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading),Ce.on("discussion",n=>{this.loading=!1,this.setDiscussionLoading(t,this.loading),n&&(console.log("received discussion"),console.log(n),this.discussionArr=n.filter(s=>s.message_type==this.msgTypes.MSG_TYPE_CHUNK||s.message_type==this.msgTypes.MSG_TYPE_FULL||s.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI||s.message_type==this.msgTypes.MSG_TYPE_CODE||s.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS||s.message_type==this.msgTypes.MSG_TYPE_UI),console.log("this.discussionArr"),console.log(this.discussionArr),e&&e()),Ce.off("discussion")}),Ce.emit("load_discussion",{id:t}))},recoverFiles(){console.log("Recovering files"),ve.get("/get_current_personality_files_list").then(t=>{this.$refs.chatBox.filesList=t.data.files,this.$refs.chatBox.isFileSentList=t.data.files.map(e=>!0),console.log(`Files recovered: ${this.$refs.chatBox.filesList}`)})},new_discussion(t){try{this.loading=!0,Ce.on("discussion_created",e=>{Ce.off("discussion_created"),this.list_discussions().then(()=>{const n=this.list.findIndex(o=>o.id==e.id),s=this.list[n];this.selectDiscussion(s),this.load_discussion(e.id,()=>{this.loading=!1,ve.post("/get_current_personality_files_list").then(o=>{console.log("Files recovered"),this.fileList=o.files}),_e(()=>{const o=document.getElementById("dis-"+e.id);this.scrollToElement(o),console.log("Scrolling tp "+o)})})})}),console.log("new_discussion ",t),Ce.emit("new_discussion",{title:t})}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await ve.post("/delete_discussion",{client_id:this.client_id,id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await ve.post("/edit_title",{client_id:this.client_id,id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await ve.get("/delete_message",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(Ce.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await ve.get("/message_rank_up",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await ve.get("/message_rank_down",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async edit_message(t,e){try{const n=await ve.get("/edit_message",{params:{client_id:this.client_id,id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await ve.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await ve.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion===void 0?(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(t.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})):this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(t.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})),_e(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at,steps:[],html_js_s:[]};this.discussionArr.push(e),_e(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!0,!0},socketIODisconnected(){return console.log("socketIOConnected"),this.currentDiscussion=null,this.$store.dispatch("refreshModels"),this.$store.state.isConnected=!1,!0},new_message(t){console.log("Making a new message"),console.log("New message",t);let e={sender:t.sender,message_type:t.message_type,sender_type:t.sender_type,content:t.content,id:t.id,parent_id:t.parent_id,binding:t.binding,model:t.model,personality:t.personality,created_at:t.created_at,finished_generating_at:t.finished_generating_at,rank:0,ui:t.ui,steps:[],parameters:t.parameters,metadata:t.metadata};console.log(e),this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),Ce.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{Ce.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:this.$store.state.config.user_name,created_at:new Date().toLocaleString(),sender:this.$store.state.config.user_name,message_type:this.msgTypes.MSG_TYPE_FULL,sender_type:this.senderTypes.SENDER_TYPES_USER,content:t,id:n,parent_id:n,binding:"",model:"",personality:"",created_at:new Date().toLocaleString(),finished_generating_at:new Date().toLocaleString(),rank:0,steps:[],parameters:null,metadata:[],ui:null};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},notify(t){self.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),_e(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),this.$refs.toast.showToast(t.content,5,t.status),this.chime.play()},streamMessageContent(t){const e=t.discussion_id;if(this.setDiscussionLoading(e,!0),this.currentDiscussion.id==e){this.isGenerating=!0;const n=this.discussionArr.findIndex(o=>o.id==t.id),s=this.discussionArr[n];if(s&&(t.message_type==this.msgTypes.MSG_TYPE_FULL||t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI))s.content=t.content,s.finished_generating_at=t.finished_generating_at;else if(s&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)s.content+=t.content;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)s.steps.push({message:t.content,done:!1,status:!0});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const o=s.steps.find(r=>r.message===t.content);if(o){o.done=!0;try{console.log(t.parameters);const r=t.parameters;o.status=r.status,console.log(r)}catch(r){console.error("Error parsing JSON:",r.message)}}}else t.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS?(console.log("JSON message"),console.log(t.metadata),s.metadata=t.metadata):t.message_type==this.msgTypes.MSG_TYPE_UI?(console.log("UI message"),s.ui=t.ui,console.log(s.ui)):t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.content,5,!1)}this.$nextTick(()=>{ye.replace()})},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.new_discussion(null)},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.edit_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(n=>{n&&(n.data.status?console.log("Already generating"):Ce.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},continueMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(n=>{n&&(n.data.status?console.log("Already generating"):Ce.emit("continue_generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t),t.parent_id;const e=t.discussion_id;if(this.currentDiscussion.id==e){const n=this.discussionArr.findIndex(s=>s.id==t.id);this.discussionArr[n].content=t.content,this.discussionArr[n].finished_generating_at=t.finished_generating_at}_e(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` + `,544),[[Re,o.message]]),c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...h)=>r.addFiles&&r.addFiles(...h)),multiple:""},null,544),c("button",{type:"button",onClick:e[6]||(e[6]=ae(h=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},yGe)]),c("div",vGe,[c("button",{type:"button",onClick:e[7]||(e[7]=(...h)=>r.startSpeechRecognition&&r.startSpeechRecognition(...h)),class:ke([{"text-red-500":o.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},wGe,2),n.loading?R("",!0):(y(),E("button",{key:0,type:"button",onClick:e[8]||(e[8]=(...h)=>r.submit&&r.submit(...h)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},CGe)),n.loading?(y(),E("div",AGe,TGe)):R("",!0)])])])])])]),le(u,{ref:"toast"},null,512)],64)}const Zg=ze(DVe,[["render",MGe],["__scopeId","data-v-21d74680"]]),OGe={name:"WelcomeComponent",setup(){return{}}},RGe={class:"flex flex-col text-center"},DGe=Vs('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),NGe=[DGe];function LGe(t,e,n,s,o,r){return y(),E("div",RGe,NGe)}const Wg=ze(OGe,[["render",LGe]]);const IGe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){_e(()=>{ye.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),_e(()=>{ye.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,_e(()=>{ye.replace()})}}},PGe={class:"text-4xl text-center"};function FGe(t,e,n,s,o,r){return y(),Xe(It,{name:"list",tag:"div"},{default:De(()=>[o.show?(y(),E("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ae(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ae(i=>r.panelDrop(i),["stop","prevent"]))},[c("div",{class:ke(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[c("div",PGe,[Sr(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):R("",!0)]),_:3})}const vl=ze(IGe,[["render",FGe]]);var BGe=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),Fr=globalThis&&globalThis.__assign||function(){return Fr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=xt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function JGe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!Tt(r)||!Xt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function QGe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,d){return l[d]="",l},{});!Tt(o)||!Xt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const XGe={name:"applyStyles",enabled:!0,phase:"write",fn:JGe,effect:QGe,requires:["computeStyles"]};function Yt(t){return t.split("-")[0]}var es=Math.max,Ur=Math.min,Fs=Math.round;function xl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function im(){return!/^((?!chrome|android).)*safari/i.test(xl())}function Bs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Fs(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Fs(s.height)/t.offsetHeight||1);var i=ss(t)?xt(t):window,a=i.visualViewport,l=!im()&&n,d=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Sc(t){var e=Bs(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function am(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Ac(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function fn(t){return xt(t).getComputedStyle(t)}function eKe(t){return["table","td","th"].indexOf(Xt(t))>=0}function Pn(t){return((ss(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ci(t){return Xt(t)==="html"?t:t.assignedSlot||t.parentNode||(Ac(t)?t.host:null)||Pn(t)}function Ih(t){return!Tt(t)||fn(t).position==="fixed"?null:t.offsetParent}function tKe(t){var e=/firefox/i.test(xl()),n=/Trident/i.test(xl());if(n&&Tt(t)){var s=fn(t);if(s.position==="fixed")return null}var o=Ci(t);for(Ac(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Xt(o))<0;){var r=fn(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Vo(t){for(var e=xt(t),n=Ih(t);n&&eKe(n)&&fn(n).position==="static";)n=Ih(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&fn(n).position==="static")?e:n||tKe(t)||e}function Tc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _o(t,e,n){return es(t,Ur(e,n))}function nKe(t,e,n){var s=_o(t,e,n);return s>n?n:s}function lm(){return{top:0,right:0,bottom:0,left:0}}function cm(t){return Object.assign({},lm(),t)}function dm(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var sKe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,cm(typeof e!="number"?e:dm(e,Ho))};function oKe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Yt(n.placement),l=Tc(a),d=[mt,Rt].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!i)){var h=sKe(o.padding,n),f=Sc(r),g=l==="y"?gt:mt,m=l==="y"?Ot:Rt,_=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],w=i[l]-n.rects.reference[l],b=Vo(r),p=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,x=_/2-w/2,A=h[g],D=p-f[u]-h[m],O=p/2-f[u]/2+x,L=_o(A,O,D),v=l;n.modifiersData[s]=(e={},e[v]=L,e.centerOffset=L-O,e)}}function rKe(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||am(e.elements.popper,o)&&(e.elements.arrow=o))}const iKe={name:"arrow",enabled:!0,phase:"main",fn:oKe,effect:rKe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zs(t){return t.split("-")[1]}var aKe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lKe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Fs(n*o)/o||0,y:Fs(s*o)/o||0}}function Ph(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,g=f===void 0?0:f,m=i.y,_=m===void 0?0:m,w=typeof u=="function"?u({x:g,y:_}):{x:g,y:_};g=w.x,_=w.y;var b=i.hasOwnProperty("x"),p=i.hasOwnProperty("y"),x=mt,A=gt,D=window;if(d){var O=Vo(n),L="clientHeight",v="clientWidth";if(O===xt(n)&&(O=Pn(n),fn(O).position!=="static"&&a==="absolute"&&(L="scrollHeight",v="scrollWidth")),O=O,o===gt||(o===mt||o===Rt)&&r===Io){A=Ot;var C=h&&O===D&&D.visualViewport?D.visualViewport.height:O[L];_-=C-s.height,_*=l?1:-1}if(o===mt||(o===gt||o===Ot)&&r===Io){x=Rt;var M=h&&O===D&&D.visualViewport?D.visualViewport.width:O[v];g-=M-s.width,g*=l?1:-1}}var I=Object.assign({position:a},d&&aKe),B=u===!0?lKe({x:g,y:_},xt(n)):{x:g,y:_};if(g=B.x,_=B.y,l){var X;return Object.assign({},I,(X={},X[A]=p?"0":"",X[x]=b?"0":"",X.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",X))}return Object.assign({},I,(e={},e[A]=p?_+"px":"",e[x]=b?g+"px":"",e.transform="",e))}function cKe(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,d={placement:Yt(e.placement),variation:zs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ph(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ph(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const dKe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cKe,data:{}};var or={passive:!0};function uKe(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=xt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",n.update,or)}),a&&l.addEventListener("resize",n.update,or),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",n.update,or)}),a&&l.removeEventListener("resize",n.update,or)}}const hKe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uKe,data:{}};var fKe={left:"right",right:"left",bottom:"top",top:"bottom"};function wr(t){return t.replace(/left|right|bottom|top/g,function(e){return fKe[e]})}var pKe={start:"end",end:"start"};function Fh(t){return t.replace(/start|end/g,function(e){return pKe[e]})}function Mc(t){var e=xt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Oc(t){return Bs(Pn(t)).left+Mc(t).scrollLeft}function gKe(t,e){var n=xt(t),s=Pn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var d=im();(d||!d&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Oc(t),y:l}}function mKe(t){var e,n=Pn(t),s=Mc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=es(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=es(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Oc(t),l=-s.scrollTop;return fn(o||n).direction==="rtl"&&(a+=es(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Rc(t){var e=fn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function um(t){return["html","body","#document"].indexOf(Xt(t))>=0?t.ownerDocument.body:Tt(t)&&Rc(t)?t:um(Ci(t))}function bo(t,e){var n;e===void 0&&(e=[]);var s=um(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=xt(s),i=o?[r].concat(r.visualViewport||[],Rc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(bo(Ci(i)))}function wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _Ke(t,e){var n=Bs(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Bh(t,e,n){return e===om?wl(gKe(t,n)):ss(e)?_Ke(e,n):wl(mKe(Pn(t)))}function bKe(t){var e=bo(Ci(t)),n=["absolute","fixed"].indexOf(fn(t).position)>=0,s=n&&Tt(t)?Vo(t):t;return ss(s)?e.filter(function(o){return ss(o)&&am(o,s)&&Xt(o)!=="body"}):[]}function yKe(t,e,n,s){var o=e==="clippingParents"?bKe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,d){var u=Bh(t,d,s);return l.top=es(u.top,l.top),l.right=Ur(u.right,l.right),l.bottom=Ur(u.bottom,l.bottom),l.left=es(u.left,l.left),l},Bh(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function hm(t){var e=t.reference,n=t.element,s=t.placement,o=s?Yt(s):null,r=s?zs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case gt:l={x:i,y:e.y-n.height};break;case Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case mt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var d=o?Tc(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case Ps:l[d]=l[d]-(e[u]/2-n[u]/2);break;case Io:l[d]=l[d]+(e[u]/2-n[u]/2);break}}return l}function Po(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?zGe:a,d=n.rootBoundary,u=d===void 0?om:d,h=n.elementContext,f=h===void 0?ro:h,g=n.altBoundary,m=g===void 0?!1:g,_=n.padding,w=_===void 0?0:_,b=cm(typeof w!="number"?w:dm(w,Ho)),p=f===ro?$Ge:ro,x=t.rects.popper,A=t.elements[m?p:f],D=yKe(ss(A)?A:A.contextElement||Pn(t.elements.popper),l,u,i),O=Bs(t.elements.reference),L=hm({reference:O,element:x,strategy:"absolute",placement:o}),v=wl(Object.assign({},x,L)),C=f===ro?v:O,M={top:D.top-C.top+b.top,bottom:C.bottom-D.bottom+b.bottom,left:D.left-C.left+b.left,right:C.right-D.right+b.right},I=t.modifiersData.offset;if(f===ro&&I){var B=I[o];Object.keys(M).forEach(function(X){var P=[Rt,Ot].indexOf(X)>=0?1:-1,ue=[gt,Ot].indexOf(X)>=0?"y":"x";M[X]+=B[ue]*P})}return M}function vKe(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,d=l===void 0?rm:l,u=zs(s),h=u?a?Lh:Lh.filter(function(m){return zs(m)===u}):Ho,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,_){return m[_]=Po(t,{placement:_,boundary:o,rootBoundary:r,padding:i})[Yt(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function xKe(t){if(Yt(t)===Cc)return[];var e=wr(t);return[Fh(t),e,Fh(e)]}function wKe(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,_=n.allowedAutoPlacements,w=e.options.placement,b=Yt(w),p=b===w,x=l||(p||!m?[wr(w)]:xKe(w)),A=[w].concat(x).reduce(function(Me,N){return Me.concat(Yt(N)===Cc?vKe(e,{placement:N,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:_}):N)},[]),D=e.rects.reference,O=e.rects.popper,L=new Map,v=!0,C=A[0],M=0;M=0,ue=P?"width":"height",Y=Po(e,{placement:I,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),T=P?X?Rt:mt:X?Ot:gt;D[ue]>O[ue]&&(T=wr(T));var H=wr(T),K=[];if(r&&K.push(Y[B]<=0),a&&K.push(Y[T]<=0,Y[H]<=0),K.every(function(Me){return Me})){C=I,v=!1;break}L.set(I,K)}if(v)for(var we=m?3:1,be=function(N){var ee=A.find(function(V){var se=L.get(V);if(se)return se.slice(0,N).every(function(te){return te})});if(ee)return C=ee,"break"},ne=we;ne>0;ne--){var Ee=be(ne);if(Ee==="break")break}e.placement!==C&&(e.modifiersData[s]._skip=!0,e.placement=C,e.reset=!0)}}const kKe={name:"flip",enabled:!0,phase:"main",fn:wKe,requiresIfExists:["offset"],data:{_skip:!1}};function zh(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function $h(t){return[gt,Rt,Ot,mt].some(function(e){return t[e]>=0})}function EKe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Po(e,{elementContext:"reference"}),a=Po(e,{altBoundary:!0}),l=zh(i,s),d=zh(a,o,r),u=$h(l),h=$h(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const CKe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:EKe};function AKe(t,e,n){var s=Yt(t),o=[mt,gt].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[mt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function SKe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=rm.reduce(function(u,h){return u[h]=AKe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=i}const TKe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:SKe};function MKe(t){var e=t.state,n=t.name;e.modifiersData[n]=hm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const OKe={name:"popperOffsets",enabled:!0,phase:"read",fn:MKe,data:{}};function RKe(t){return t==="x"?"y":"x"}function DKe(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,g=f===void 0?!0:f,m=n.tetherOffset,_=m===void 0?0:m,w=Po(e,{boundary:l,rootBoundary:d,padding:h,altBoundary:u}),b=Yt(e.placement),p=zs(e.placement),x=!p,A=Tc(b),D=RKe(A),O=e.modifiersData.popperOffsets,L=e.rects.reference,v=e.rects.popper,C=typeof _=="function"?_(Object.assign({},e.rects,{placement:e.placement})):_,M=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(O){if(r){var X,P=A==="y"?gt:mt,ue=A==="y"?Ot:Rt,Y=A==="y"?"height":"width",T=O[A],H=T+w[P],K=T-w[ue],we=g?-v[Y]/2:0,be=p===Ps?L[Y]:v[Y],ne=p===Ps?-v[Y]:-L[Y],Ee=e.elements.arrow,Me=g&&Ee?Sc(Ee):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:lm(),ee=N[P],V=N[ue],se=_o(0,L[Y],Me[Y]),te=x?L[Y]/2-we-se-ee-M.mainAxis:be-se-ee-M.mainAxis,ge=x?-L[Y]/2+we+se+V+M.mainAxis:ne+se+V+M.mainAxis,he=e.elements.arrow&&Vo(e.elements.arrow),k=he?A==="y"?he.clientTop||0:he.clientLeft||0:0,S=(X=I==null?void 0:I[A])!=null?X:0,F=T+te-S-k,$=T+ge-S,U=_o(g?Ur(H,F):H,T,g?es(K,$):K);O[A]=U,B[A]=U-T}if(a){var oe,ce=A==="x"?gt:mt,j=A==="x"?Ot:Rt,re=O[D],q=D==="y"?"height":"width",J=re+w[ce],de=re-w[j],pe=[gt,mt].indexOf(b)!==-1,fe=(oe=I==null?void 0:I[D])!=null?oe:0,Se=pe?J:re-L[q]-v[q]-fe+M.altAxis,W=pe?re+L[q]+v[q]-fe-M.altAxis:de,ie=g&&pe?nKe(Se,re,W):_o(g?Se:J,re,g?W:de);O[D]=ie,B[D]=ie-re}e.modifiersData[s]=B}}const NKe={name:"preventOverflow",enabled:!0,phase:"main",fn:DKe,requiresIfExists:["offset"]};function LKe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function IKe(t){return t===xt(t)||!Tt(t)?Mc(t):LKe(t)}function PKe(t){var e=t.getBoundingClientRect(),n=Fs(e.width)/t.offsetWidth||1,s=Fs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function FKe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&PKe(e),r=Pn(e),i=Bs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Xt(e)!=="body"||Rc(r))&&(a=IKe(e)),Tt(e)?(l=Bs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Oc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function BKe(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function zKe(t){var e=BKe(t);return YGe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function $Ke(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function UKe(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Uh={placement:"bottom",modifiers:[],strategy:"absolute"};function jh(){for(var t=arguments.length,e=new Array(t),n=0;n(rs("data-v-aa03397c"),t=t(),is(),t),GKe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},KKe={class:"flex flex-col text-center"},ZKe={class:"flex flex-col text-center items-center"},WKe={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},YKe=Ke(()=>c("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:Ro,alt:"Logo"},null,-1)),JKe={class:"flex flex-col items-start"},QKe={class:"text-2xl"},XKe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),eZe=Ke(()=>c("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),tZe=Ke(()=>c("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"},null,-1)),nZe=Ke(()=>c("p",{class:"text-2xl"},"Welcome",-1)),sZe=Ke(()=>c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),oZe=Ke(()=>c("span",{class:"text-2xl font-bold ml-4"},"Loading ...",-1)),rZe=Ke(()=>c("i",{"data-feather":"chevron-right"},null,-1)),iZe=[rZe],aZe=Ke(()=>c("i",{"data-feather":"chevron-left"},null,-1)),lZe=[aZe],cZe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},dZe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},uZe={class:"flex-row p-4 flex items-center gap-3 flex-0"},hZe=Ke(()=>c("i",{"data-feather":"plus"},null,-1)),fZe=[hZe],pZe=Ke(()=>c("i",{"data-feather":"check-square"},null,-1)),gZe=[pZe],mZe=Ke(()=>c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[c("i",{"data-feather":"refresh-ccw"})],-1)),_Ze=Ke(()=>c("i",{"data-feather":"database"},null,-1)),bZe=[_Ze],yZe=Ke(()=>c("i",{"data-feather":"log-in"},null,-1)),vZe=[yZe],xZe={key:0,class:"dropdown"},wZe=Ke(()=>c("i",{"data-feather":"search"},null,-1)),kZe=[wZe],EZe=Ke(()=>c("i",{"data-feather":"save"},null,-1)),CZe=[EZe],AZe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},SZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),TZe=[SZe],MZe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),OZe=[MZe],RZe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},DZe=Ke(()=>c("div",{role:"status"},[c("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),c("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),c("span",{class:"sr-only"},"Loading...")],-1)),NZe=[DZe],LZe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},IZe={class:"p-4 pt-2"},PZe={class:"relative"},FZe=Ke(()=>c("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[c("div",{class:"scale-75"},[c("i",{"data-feather":"search"})])],-1)),BZe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},zZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),$Ze=[zZe],UZe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},jZe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},qZe={class:"flex flex-row flex-grow"},HZe={key:0},VZe={class:"flex flex-row"},GZe={key:0,class:"flex gap-3"},KZe=Ke(()=>c("i",{"data-feather":"trash"},null,-1)),ZZe=[KZe],WZe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},YZe=Ke(()=>c("i",{"data-feather":"check"},null,-1)),JZe=[YZe],QZe=Ke(()=>c("i",{"data-feather":"x"},null,-1)),XZe=[QZe],eWe={class:"flex gap-3"},tWe=Ke(()=>c("i",{"data-feather":"log-out"},null,-1)),nWe=[tWe],sWe=Ke(()=>c("i",{"data-feather":"list"},null,-1)),oWe=[sWe],rWe={class:"z-5"},iWe={class:"relative flex flex-row flex-grow mb-10 z-0"},aWe={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},lWe=Ke(()=>c("p",{class:"px-3"},"No discussions are found",-1)),cWe=[lWe],dWe=Ke(()=>c("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),uWe={class:"z-20 h-max"},hWe={class:"container pt-4 pb-10 mb-28"},fWe=Ke(()=>c("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),pWe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},gWe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14,MSG_TYPE_NEW_MESSAGE:15,MSG_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],database_selectorDialogVisible:!1,isDragOverDiscussion:!1,isDragOverChat:!1,panelCollapsed:!1,isOpen:!1}},methods:{ondatabase_selectorDialogSelected(t){console.log("Selected:",t),this.$store.state.config.database=t},onclosedatabase_selectorDialog(){this.database_selectorDialogVisible=!1},onvalidatedatabase_selectorChoice(){this.database_selectorDialogVisible=!1},save_configuration(){this.showConfirmation=!1,ve.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},showToastMessage(t,e,n){console.log("sending",t),this.$refs.toast.showToast(t,e,n)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await ve.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await ve.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},load_discussion(t,e){t&&(console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading),Ce.on("discussion",n=>{this.loading=!1,this.setDiscussionLoading(t,this.loading),n&&(console.log("received discussion"),console.log(n),this.discussionArr=n.filter(s=>s.message_type==this.msgTypes.MSG_TYPE_CHUNK||s.message_type==this.msgTypes.MSG_TYPE_FULL||s.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI||s.message_type==this.msgTypes.MSG_TYPE_CODE||s.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS||s.message_type==this.msgTypes.MSG_TYPE_UI),console.log("this.discussionArr"),console.log(this.discussionArr),e&&e()),Ce.off("discussion")}),Ce.emit("load_discussion",{id:t}))},recoverFiles(){console.log("Recovering files"),ve.get("/get_current_personality_files_list").then(t=>{this.$refs.chatBox.filesList=t.data.files,this.$refs.chatBox.isFileSentList=t.data.files.map(e=>!0),console.log(`Files recovered: ${this.$refs.chatBox.filesList}`)})},new_discussion(t){try{this.loading=!0,Ce.on("discussion_created",e=>{Ce.off("discussion_created"),this.list_discussions().then(()=>{const n=this.list.findIndex(o=>o.id==e.id),s=this.list[n];this.selectDiscussion(s),this.load_discussion(e.id,()=>{this.loading=!1,ve.post("/get_current_personality_files_list").then(o=>{console.log("Files recovered"),this.fileList=o.files}),_e(()=>{const o=document.getElementById("dis-"+e.id);this.scrollToElement(o),console.log("Scrolling tp "+o)})})})}),console.log("new_discussion ",t),Ce.emit("new_discussion",{title:t})}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await ve.post("/delete_discussion",{client_id:this.client_id,id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await ve.post("/edit_title",{client_id:this.client_id,id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await ve.get("/delete_message",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(Ce.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await ve.get("/message_rank_up",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await ve.get("/message_rank_down",{params:{client_id:this.client_id,id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async edit_message(t,e){try{const n=await ve.get("/edit_message",{params:{client_id:this.client_id,id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await ve.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await ve.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion===void 0?(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(t.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})):this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(t.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})),_e(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at,steps:[],html_js_s:[]};this.discussionArr.push(e),_e(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.state.isConnected=!0,!0},socketIODisconnected(){return console.log("socketIOConnected"),this.currentDiscussion=null,this.$store.dispatch("refreshModels"),this.$store.state.isConnected=!1,!0},new_message(t){console.log("Making a new message"),console.log("New message",t);let e={sender:t.sender,message_type:t.message_type,sender_type:t.sender_type,content:t.content,id:t.id,parent_id:t.parent_id,binding:t.binding,model:t.model,personality:t.personality,created_at:t.created_at,finished_generating_at:t.finished_generating_at,rank:0,ui:t.ui,steps:[],parameters:t.parameters,metadata:t.metadata};console.log(e),this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),Ce.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{Ce.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:this.$store.state.config.user_name,created_at:new Date().toLocaleString(),sender:this.$store.state.config.user_name,message_type:this.msgTypes.MSG_TYPE_FULL,sender_type:this.senderTypes.SENDER_TYPES_USER,content:t,id:n,parent_id:n,binding:"",model:"",personality:"",created_at:new Date().toLocaleString(),finished_generating_at:new Date().toLocaleString(),rank:0,steps:[],parameters:null,metadata:[],ui:null};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},notify(t){self.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),_e(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),this.$refs.toast.showToast(t.content,5,t.status),this.chime.play()},streamMessageContent(t){const e=t.discussion_id;if(this.setDiscussionLoading(e,!0),this.currentDiscussion.id==e){this.isGenerating=!0;const n=this.discussionArr.findIndex(o=>o.id==t.id),s=this.discussionArr[n];if(s&&(t.message_type==this.msgTypes.MSG_TYPE_FULL||t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI))s.content=t.content,s.finished_generating_at=t.finished_generating_at;else if(s&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)s.content+=t.content;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)s.steps.push({message:t.content,done:!1,status:!0});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const o=s.steps.find(r=>r.message===t.content);if(o){o.done=!0;try{console.log(t.parameters);const r=t.parameters;o.status=r.status,console.log(r)}catch(r){console.error("Error parsing JSON:",r.message)}}}else t.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS?(console.log("JSON message"),console.log(t.metadata),s.metadata=t.metadata):t.message_type==this.msgTypes.MSG_TYPE_UI?(console.log("UI message"),s.ui=t.ui,console.log(s.ui)):t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.content,5,!1)}this.$nextTick(()=>{ye.replace()})},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.new_discussion(null)},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.edit_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(n=>{n&&(n.data.status?console.log("Already generating"):Ce.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},continueMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ve.get("/get_generation_status",{}).then(n=>{n&&(n.data.status?console.log("Already generating"):Ce.emit("continue_generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t),t.parent_id;const e=t.discussion_id;if(this.currentDiscussion.id==e){const n=this.discussionArr.findIndex(s=>s.id==t.id);this.discussionArr[n].content=t.content,this.discussionArr[n].finished_generating_at=t.finished_generating_at}_e(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=` Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=` Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const d=`${t.message.sender}${n}${s} @@ -206,4 +206,4 @@ ${o} ${l}`;navigator.clipboard.writeText(d),_e(()=>{ye.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. `+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),d="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,d),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return console.log("Avatar",n.avatar),n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox -`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){for(this.$nextTick(()=>{ye.replace()}),Ce.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},Ce.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),Ce.disconnect()},Ce.on("connected",this.socketIOConnected),Ce.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100)),console.log(this.$store.state.ready);console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),Ce.on("notification",this.notify),Ce.on("new_message",this.new_message),Ce.on("update_message",this.streamMessageContent),Ce.on("close_message",this.finalMsgEvent),Ce.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.isCreated=!0},async mounted(){this.$nextTick(()=>{ye.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Hg,Message:Vg,ChatBox:Gg,WelcomeComponent:Kg,Toast:Ys,DragDrop:yl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){_e(()=>{ye.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){_e(()=>{ye.replace()})},isSearch(){_e(()=>{ye.replace()})}},computed:{client_id(){return Ce.id},isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return _e(()=>{ye.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},fWe=Object.assign(hWe,{__name:"DiscussionsView",setup(t){return ti(()=>{jKe()}),ve.defaults.baseURL="/",(e,n)=>(v(),E(Ae,null,[le(Os,{name:"fade-and-fly"},{default:Ne(()=>[e.isReady?R("",!0):(v(),E("div",HKe,[c("div",VKe,[c("div",GKe,[c("div",KKe,[ZKe,c("div",WKe,[c("p",YKe,"Lord of Large Language Models v "+z(dt(Em).state.version),1),JKe,QKe])]),XKe,eZe,tZe,nZe])])]))]),_:1}),e.isReady?(v(),E("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[Q(c("div",null,oZe,512),[[We,e.panelCollapsed]]),Q(c("div",null,iZe,512),[[We,!e.panelCollapsed]])])):R("",!0),le(Os,{name:"slide-right"},{default:Ne(()=>[e.showPanel?(v(),E("div",aZe,[c("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=ae(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[c("div",lZe,[c("div",cZe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},uZe),c("button",{class:ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},fZe,2),pZe,gZe,c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[4]||(n[4]=ae(s=>e.$refs.fileDialog.click(),["stop"]))},_Ze),e.isOpen?(v(),E("div",bZe,[c("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),c("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):R("",!0),c("button",{class:ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},vZe,2),e.showConfirmation?R("",!0):(v(),E("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},wZe)),e.showConfirmation?(v(),E("div",kZe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=ae(s=>e.showConfirmation=!1,["stop"]))},CZe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=ae(s=>e.save_configuration(),["stop"]))},SZe)])):R("",!0),e.loading?(v(),E("div",TZe,OZe)):R("",!0)]),e.isSearch?(v(),E("div",RZe,[c("div",NZe,[c("div",LZe,[DZe,c("div",IZe,[c("div",{class:ke(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},FZe,2)]),Q(c("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Re,e.filterTitle]])])])])):R("",!0),e.isCheckbox?(v(),E("hr",BZe)):R("",!0),e.isCheckbox?(v(),E("div",zZe,[c("div",$Ze,[e.selectedDiscussions.length>0?(v(),E("p",UZe,"Selected: "+z(e.selectedDiscussions.length),1)):R("",!0)]),c("div",jZe,[e.selectedDiscussions.length>0?(v(),E("div",qZe,[e.showConfirmation?R("",!0):(v(),E("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[14]||(n[14]=ae(s=>e.showConfirmation=!0,["stop"]))},VZe)),e.showConfirmation?(v(),E("div",GZe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=ae((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},ZZe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=ae(s=>e.showConfirmation=!1,["stop"]))},YZe)])):R("",!0)])):R("",!0),c("div",JZe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[17]||(n[17]=ae((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},XZe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=ae((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},tWe)])])])):R("",!0)]),c("div",nWe,[le(yl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Ne(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),c("div",sWe,[c("div",{class:ke(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[c("div",{id:"dis-list",class:ke([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(v(),Xe(It,{key:0,name:"list"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(e.list,(s,o)=>(v(),Xe(Hg,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):R("",!0),e.list.length<1?(v(),E("div",oWe,iWe)):R("",!0),aWe],2)],2)])],32)])):R("",!0)]),_:1}),e.isReady?(v(),E("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[c("div",lWe,[le(yl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),c("div",{id:"messages-list",class:ke(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[c("div",cWe,[e.discussionArr.length>0?(v(),Xe(It,{key:0,name:"list"},{default:Ne(()=>[(v(!0),E(Ae,null,Ue(e.discussionArr,(s,o)=>(v(),Xe(Vg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):R("",!0),e.currentDiscussion.id?R("",!0):(v(),Xe(Kg,{key:1}))]),dWe,e.currentDiscussion.id?(v(),E("div",uWe,[le(Gg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onLoaded:e.recoverFiles},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk","onLoaded"])])):R("",!0)],2)],32)):R("",!0),le(Ys,{ref:"toast"},null,512),le(Ug,{ref:"messageBox"},null,512)],64))}}),pWe=ze(fWe,[["__scopeId","data-v-f8600c84"]]),gWe=Vy({history:cy("/"),routes:[{path:"/playground/",name:"playground",component:mMe},{path:"/extensions/",name:"extensions",component:SMe},{path:"/help/",name:"help",component:KMe},{path:"/settings/",name:"settings",component:mje},{path:"/training/",name:"training",component:Fje},{path:"/quantizing/",name:"quantizing",component:Gje},{path:"/",name:"discussions",component:pWe}]});const Ci=o0(C2);console.log("Loaded main.js");function jh(t){const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}const Em=R0({state(){return{ready:!1,version:"unknown",settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:[],mountedExtensions:[],bindingsArr:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:[],activeExtensions:[]}},mutations:{setIsReady(t,e){t.ready=e},setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setMountedExtensions(t,e){t.mountedExtensions=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setselectedModel(t,e){t.selectedModel=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setActiveExtensions(t,e){t.activeExtensions=e},setExtensionsZoo(t,e){t.extensionsZoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getmmountedExtensions(t){return t.mountedExtensions},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getActiveExtensions(t){return t.activeExtensions},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async getVersion(){let t=await ve.get("/get_lollms_webui_version",{});t&&(this.state.version=t.data.version)},async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await nn("get_config");e.active_personality_id<0&&(e.active_personality_id=0);let n=e.personalities[e.active_personality_id].split("/");e.personality_category=n[0],e.personality_folder=n[1],e.extensions.length>0?e.extension_category=e.extensions[-1]:e.extension_category="ai_sensors",console.log("Recovered config"),console.log(e),console.log("Committing config"),console.log(e),console.log(this.state.config),t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesZoo({commit:t}){let e=[];const n=await nn("get_all_personalities"),s=Object.keys(n);console.log("Personalities recovered:"+this.state.config.personalities);for(let o=0;o{let d=!1;for(const h of this.state.config.personalities)if(h.includes(r+"/"+l.folder)&&(d=!0,h.includes(":"))){const f=h.split(":");l.language=f[1]}let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const n=[];for(let s=0;sa.full_path==o||a.full_path==r[0]);if(i>=0){let a=jh(this.state.personalities[i]);r.length>1&&(a.language=r[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(l=>l.full_path=="generic/lollms")])}else n.push(s),console.log("Couldn't load personality : ",o)}for(let s=n.length-1;s>=0;s--)console.log("Removing personality : ",this.state.config.personalities[n[s]]),this.state.config.personalities.splice(n[s],1),this.state.config.active_personality_id>n[s]&&(this.state.config.active_personality_id-=1);t("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(s=>s.full_path==this.state.config.personalities[this.state.config.active_personality_id]||s.full_path+":"+s.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:t}){let e=await nn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){console.log("Fetching models");let e=await nn("list_models");console.log(`Found ${e}`);let n=await nn("get_active_model");n!=null&&t("setselectedModel",n.model),t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=[],n=await nn("list_extensions");const s=Object.keys(n);console.log("Extensions recovered:"+n);for(let o=0;o{let d=!1;for(const h of this.state.config.extensions)h.includes(r+"/"+l.folder)&&(d=!0);let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setActiveExtensions",this.state.config.extensions),console.log("Done loading extensions"),t("setExtensionsZoo",e)},refreshmountedExtensions({commit:t}){let e=[];const n=[];for(let s=0;si.full_path==o);if(r>=0){let i=jh(this.state.extensions[r]);i&&e.push(i)}else n.push(s),console.log("Couldn't load extension : ",o)}for(let s=n.length-1;s>=0;s--)console.log("Removing extensions : ",this.state.config.extensions[n[s]]),this.state.config.extensions.splice(n[s],1);t("setMountedExtensions",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await nn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await nn("ram_usage")},async refreshVramUsage({commit:t}){const e=await nn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){for(this.$nextTick(()=>{ye.replace()}),Ce.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},Ce.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),Ce.disconnect()},Ce.on("connected",this.socketIOConnected),Ce.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100)),console.log(this.$store.state.ready);console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),Ce.on("notification",this.notify),Ce.on("new_message",this.new_message),Ce.on("update_message",this.streamMessageContent),Ce.on("close_message",this.finalMsgEvent),Ce.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.isCreated=!0},async mounted(){this.$nextTick(()=>{ye.replace()})},async activated(){for(;this.isReady===!1;)await new Promise(t=>setTimeout(t,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Gg,Message:Kg,ChatBox:Zg,WelcomeComponent:Wg,Toast:Ws,DragDrop:vl,ChoiceDialog:kc},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){_e(()=>{ye.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){_e(()=>{ye.replace()})},isSearch(){_e(()=>{ye.replace()})}},computed:{isReady:{get(){return this.$store.state.ready}},databases(){return this.$store.state.databases},client_id(){return Ce.id},isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return _e(()=>{ye.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},mWe=Object.assign(gWe,{__name:"DiscussionsView",setup(t){return ni(()=>{HKe()}),ve.defaults.baseURL="/",(e,n)=>(y(),E(Ae,null,[le(Ms,{name:"fade-and-fly"},{default:De(()=>[e.isReady?R("",!0):(y(),E("div",GKe,[c("div",KKe,[c("div",ZKe,[c("div",WKe,[YKe,c("div",JKe,[c("p",QKe,"Lord of Large Language Models v "+z(dt(Am).state.version),1),XKe,eZe])]),tZe,nZe,sZe,oZe])])]))]),_:1}),e.isReady?(y(),E("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[Q(c("div",null,iZe,512),[[We,e.panelCollapsed]]),Q(c("div",null,lZe,512),[[We,!e.panelCollapsed]])])):R("",!0),le(Ms,{name:"slide-right"},{default:De(()=>[e.showPanel?(y(),E("div",cZe,[c("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[c("div",dZe,[c("div",uZe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},fZe),c("button",{class:ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},gZe,2),mZe,c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button",onClick:n[3]||(n[3]=ae(s=>e.database_selectorDialogVisible=!0,["stop"]))},bZe),c("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[4]||(n[4]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[5]||(n[5]=ae(s=>e.$refs.fileDialog.click(),["stop"]))},vZe),e.isOpen?(y(),E("div",xZe,[c("button",{onClick:n[6]||(n[6]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),c("button",{onClick:n[7]||(n[7]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):R("",!0),c("button",{class:ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[8]||(n[8]=s=>e.isSearch=!e.isSearch)},kZe,2),e.showConfirmation?R("",!0):(y(),E("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[9]||(n[9]=s=>e.showConfirmation=!0)},CZe)),e.showConfirmation?(y(),E("div",AZe,[c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[10]||(n[10]=ae(s=>e.showConfirmation=!1,["stop"]))},TZe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[11]||(n[11]=ae(s=>e.save_configuration(),["stop"]))},OZe)])):R("",!0),e.loading?(y(),E("div",RZe,NZe)):R("",!0)]),e.isSearch?(y(),E("div",LZe,[c("div",IZe,[c("div",PZe,[FZe,c("div",BZe,[c("div",{class:ke(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[12]||(n[12]=s=>e.filterTitle="")},$Ze,2)]),Q(c("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[13]||(n[13]=s=>e.filterTitle=s),onInput:n[14]||(n[14]=s=>e.filterDiscussions())},null,544),[[Re,e.filterTitle]])])])])):R("",!0),e.isCheckbox?(y(),E("hr",UZe)):R("",!0),e.isCheckbox?(y(),E("div",jZe,[c("div",qZe,[e.selectedDiscussions.length>0?(y(),E("p",HZe,"Selected: "+z(e.selectedDiscussions.length),1)):R("",!0)]),c("div",VZe,[e.selectedDiscussions.length>0?(y(),E("div",GZe,[e.showConfirmation?R("",!0):(y(),E("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[15]||(n[15]=ae(s=>e.showConfirmation=!0,["stop"]))},ZZe)),e.showConfirmation?(y(),E("div",WZe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[16]||(n[16]=ae((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},JZe),c("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[17]||(n[17]=ae(s=>e.showConfirmation=!1,["stop"]))},XZe)])):R("",!0)])):R("",!0),c("div",eWe,[c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[18]||(n[18]=ae((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},nWe),c("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[19]||(n[19]=ae((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},oWe)])])])):R("",!0)]),c("div",rWe,[le(vl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:De(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),c("div",iWe,[c("div",{class:ke(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[c("div",{id:"dis-list",class:ke([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(y(),Xe(It,{key:0,name:"list"},{default:De(()=>[(y(!0),E(Ae,null,Ue(e.list,(s,o)=>(y(),Xe(Gg,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):R("",!0),e.list.length<1?(y(),E("div",aWe,cWe)):R("",!0),dWe],2)],2)])],32)])):R("",!0)]),_:1}),e.isReady?(y(),E("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[21]||(n[21]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[c("div",uWe,[le(vl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),c("div",{id:"messages-list",class:ke(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[c("div",hWe,[e.discussionArr.length>0?(y(),Xe(It,{key:0,name:"list"},{default:De(()=>[(y(!0),E(Ae,null,Ue(e.discussionArr,(s,o)=>(y(),Xe(Kg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):R("",!0),e.currentDiscussion.id?R("",!0):(y(),Xe(Wg,{key:1}))]),fWe,e.currentDiscussion.id?(y(),E("div",pWe,[le(Zg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onLoaded:e.recoverFiles},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk","onLoaded"])])):R("",!0)],2)],32)):R("",!0),le(Ws,{ref:"toast"},null,512),le(qg,{ref:"messageBox"},null,512),le(kc,{reference:"database_selector",class:"z-20",show:e.database_selectorDialogVisible,choices:e.databases,onChoiceSelected:e.ondatabase_selectorDialogSelected,onCloseDialog:e.onclosedatabase_selectorDialog,onChoiceValidated:e.onvalidatedatabase_selectorChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64))}}),_We=ze(mWe,[["__scopeId","data-v-aa03397c"]]),bWe=Ky({history:uy("/"),routes:[{path:"/playground/",name:"playground",component:bMe},{path:"/extensions/",name:"extensions",component:MMe},{path:"/help/",name:"help",component:WMe},{path:"/settings/",name:"settings",component:yje},{path:"/training/",name:"training",component:$je},{path:"/quantizing/",name:"quantizing",component:Wje},{path:"/",name:"discussions",component:_We}]});const Ai=i0(S2);console.log("Loaded main.js");function Hh(t){const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}const Am=N0({state(){return{ready:!1,version:"unknown",settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:[],mountedExtensions:[],bindingsArr:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:[],databases:[]}},mutations:{setIsReady(t,e){t.ready=e},setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setMountedExtensions(t,e){t.mountedExtensions=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setselectedModel(t,e){t.selectedModel=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setDatabases(t,e){t.databases=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getmmountedExtensions(t){return t.mountedExtensions},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getDatabasesList(t){return t.databases},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async getVersion(){let t=await ve.get("/get_lollms_webui_version",{});t&&(this.state.version=t.data.version)},async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await Ut("get_config");e.active_personality_id<0&&(e.active_personality_id=0);let n=e.personalities[e.active_personality_id].split("/");e.personality_category=n[0],e.personality_folder=n[1],e.extensions.length>0?e.extension_category=e.extensions[-1]:e.extension_category="ai_sensors",console.log("Recovered config"),console.log(e),console.log("Committing config"),console.log(e),console.log(this.state.config),t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshDatabase({commit:t}){let e=await Ut("list_databases");console.log("databases:",e),t("setDatabases",e)},async refreshPersonalitiesZoo({commit:t}){let e=[];const n=await Ut("get_all_personalities"),s=Object.keys(n);console.log("Personalities recovered:"+this.state.config.personalities);for(let o=0;o{let d=!1;for(const h of this.state.config.personalities)if(h.includes(r+"/"+l.folder)&&(d=!0,h.includes(":"))){const f=h.split(":");l.language=f[1]}let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const n=[];for(let s=0;sa.full_path==o||a.full_path==r[0]);if(i>=0){let a=Hh(this.state.personalities[i]);r.length>1&&(a.language=r[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(l=>l.full_path=="generic/lollms")])}else n.push(s),console.log("Couldn't load personality : ",o)}for(let s=n.length-1;s>=0;s--)console.log("Removing personality : ",this.state.config.personalities[n[s]]),this.state.config.personalities.splice(n[s],1),this.state.config.active_personality_id>n[s]&&(this.state.config.active_personality_id-=1);t("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(s=>s.full_path==this.state.config.personalities[this.state.config.active_personality_id]||s.full_path+":"+s.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:t}){let e=await Ut("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){console.log("Fetching models");let e=await Ut("list_models");console.log(`Found ${e}`);let n=await Ut("get_active_model");n!=null&&t("setselectedModel",n.model),t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=[],n=await Ut("list_extensions");const s=Object.keys(n);console.log("Extensions recovered:"+n);for(let o=0;o{let d=!1;for(const h of this.state.config.extensions)h.includes(r+"/"+l.folder)&&(d=!0);let u={};return u=l,u.category=r,u.full_path=r+"/"+l.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setActiveExtensions",this.state.config.extensions),console.log("Done loading extensions"),t("setExtensionsZoo",e)},refreshmountedExtensions({commit:t}){let e=[];const n=[];for(let s=0;si.full_path==o);if(r>=0){let i=Hh(this.state.extensions[r]);i&&e.push(i)}else n.push(s),console.log("Couldn't load extension : ",o)}for(let s=n.length-1;s>=0;s--)console.log("Removing extensions : ",this.state.config.extensions[n[s]]),this.state.config.extensions.splice(n[s],1);t("setMountedExtensions",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await Ut("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await Ut("ram_usage")},async refreshVramUsage({commit:t}){const e=await Ut("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o LoLLMS WebUI - Welcome - - + +
diff --git a/web/src/components/ChoiceDialog.vue b/web/src/components/ChoiceDialog.vue index 32e4b6ed..133c72af 100644 --- a/web/src/components/ChoiceDialog.vue +++ b/web/src/components/ChoiceDialog.vue @@ -13,8 +13,8 @@ :class="{'selected-choice': choice === selectedChoice}" class="py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700" > - {{ choice.name }}
- {{ this.formatSize(choice.size) }} + {{ displayName(choice) }}
+ {{ this.formatSize(choice.size) }} @@ -66,6 +66,16 @@ export default { }; }, methods: { + displayName(choice) { + console.log("choice:",choice) + if (typeof choice === 'string') { + return choice; + } else if (choice && choice.name) { + return choice.name; + } else { + return ''; + } + }, selectChoice(choice) { this.selectedChoice = choice; // Update the selectedChoice when a choice is clicked this.$emit("choice-selected", choice); diff --git a/web/src/components/ExtensionEntry.vue b/web/src/components/ExtensionEntry.vue index af4cef0b..598716a7 100644 --- a/web/src/components/ExtensionEntry.vue +++ b/web/src/components/ExtensionEntry.vue @@ -6,7 +6,6 @@ :title="!extension.installed ? 'Not installed' : ''">
-
diff --git a/web/src/components/Message.vue b/web/src/components/Message.vue index 3b620dbb..b4b94b74 100644 --- a/web/src/components/Message.vue +++ b/web/src/components/Message.vue @@ -192,7 +192,7 @@ }