From 695b8743803314e219e1f52e50d83bd46c512d08 Mon Sep 17 00:00:00 2001
From: Saifeddine ALOUI <aloui.seifeddine@gmail.com>
Date: Sat, 9 Dec 2023 11:41:17 +0100
Subject: [PATCH] Upgraded

---
 api/__init__.py                               | 13 ++++
 lollms_core                                   |  2 +-
 web/dist/assets/index-4ffd8c20.css            |  8 ---
 web/dist/assets/index-98356d8a.css            |  8 +++
 .../{index-b2f552bf.js => index-d408a8bd.js}  | 52 +++++++--------
 web/dist/index.html                           |  4 +-
 web/src/components/CodeBlock.vue              |  2 +-
 web/src/components/FloatingFrame.vue          | 63 +++++++++++++++++++
 web/src/main.js                               |  2 +-
 web/src/views/InteractiveView.vue             | 32 +++++++---
 zoos/personalities_zoo                        |  2 +-
 11 files changed, 139 insertions(+), 49 deletions(-)
 delete mode 100644 web/dist/assets/index-4ffd8c20.css
 create mode 100644 web/dist/assets/index-98356d8a.css
 rename web/dist/assets/{index-b2f552bf.js => index-d408a8bd.js} (98%)
 create mode 100644 web/src/components/FloatingFrame.vue

diff --git a/api/__init__.py b/api/__init__.py
index 601a69ae..eaa02532 100644
--- a/api/__init__.py
+++ b/api/__init__.py
@@ -19,6 +19,7 @@ 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.media import WebcamImageSender
 from safe_store import TextVectorizer, VectorizationMethod, VisualizationMethod
 import threading
 from tqdm import tqdm 
@@ -177,6 +178,8 @@ class LoLLMsAPI(LollmsApplication):
                 "first_chunk": True,
             }
         }
+
+        self.webcam = WebcamImageSender(socketio)
         
         # =========================================================================================
         # Socket IO stuff    
@@ -210,6 +213,16 @@ class LoLLMsAPI(LollmsApplication):
             
             ASCIIColors.error(f'Client {request.sid} disconnected')
 
+        
+        @socketio.on('start_webcam_video_stream')
+        def start_webcam_video_stream():
+            self.webcam.start_capture()
+
+        @socketio.on('stop_webcam_video_stream')
+        def stop_webcam_video_stream():
+            self.webcam.stop_capture()
+        
+
         @socketio.on('upgrade_vectorization')
         def upgrade_vectorization():
             if self.config.data_vectorization_activate and self.config.use_discussions_history:
diff --git a/lollms_core b/lollms_core
index 8b2b885e..04bd34f1 160000
--- a/lollms_core
+++ b/lollms_core
@@ -1 +1 @@
-Subproject commit 8b2b885e63a6a675fe34bb8c2d559cc7fd0ed61a
+Subproject commit 04bd34f1e6aa93974a7d8855552bbb7cc50722cb
diff --git a/web/dist/assets/index-4ffd8c20.css b/web/dist/assets/index-4ffd8c20.css
deleted file mode 100644
index 60d8a12b..00000000
--- a/web/dist/assets/index-4ffd8c20.css
+++ /dev/null
@@ -1,8 +0,0 @@
-.container{margin:0;padding:0}.link-item{height:25px;margin-top:5px;padding:0 20px;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#82a1d4;color:#000;transition:duration-300 ease-in-out transform}.link-item:hover{background-color:#3dabff;animation-timing-function:ease-in-out}.link-item.router-link-active{height:30px;margin-top:0;background-color:#b9d2f7}.link-item-dark{padding:0 20px;color:#f0f8ff;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#000;transition:duration-300 ease-in-out transform}.link-item-dark:hover{background-color:#0cc96a;animation-timing-function:ease-in-out}.link-item-dark.router-link-active{height:30px;margin-top:0;background-color:#2b74e2}.nav-ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;height:100%}.nav-li{cursor:pointer;display:flex;align-items:center;padding:5px}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#ff9da4}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#d1f1a9}.hljs-title,.hljs-section{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
-  Theme: Tokyo-night-Dark
-  origin: https://github.com/enkia/tokyo-night-vscode-theme
-  Description: Original highlight.js style
-  Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
-  License: see project LICENSE
-  Touched: 2022
-*/.hljs-meta,.hljs-comment{color:#565f89}.hljs-tag,.hljs-doctag,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-template-tag,.hljs-selector-pseudo,.hljs-selector-attr,.hljs-variable.language_,.hljs-deletion{color:#f7768e}.hljs-variable,.hljs-template-variable,.hljs-number,.hljs-literal,.hljs-type,.hljs-params,.hljs-link{color:#ff9e64}.hljs-built_in,.hljs-attribute{color:#e0af68}.hljs-selector-tag{color:#2ac3de}.hljs-keyword,.hljs-title.function_,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-subst,.hljs-property{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-quote,.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-name,.hljs-keyword,.hljs-operator,.hljs-char.escape_,.hljs-attr{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.code-container{display:flex;margin:0}.line-numbers{flex-shrink:0;padding-right:5px;color:#999;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;margin:0}.code-content{flex-grow:1;margin:0}.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-1c00af41]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-1c00af41]::-webkit-scrollbar{width:8px}.scrollbar[data-v-1c00af41]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-1c00af41]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-1c00af41]::-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-b0f524f9]{font-size:24px;animation:pulsate-b0f524f9 1.5s infinite}@keyframes pulsate-b0f524f9{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-b0f524f9],.list-enter-active[data-v-b0f524f9],.list-leave-active[data-v-b0f524f9]{transition:all .5s ease}.list-enter-from[data-v-b0f524f9]{transform:translatey(-30px)}.list-leave-to[data-v-b0f524f9]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-b0f524f9]{position:absolute}.bounce-enter-active[data-v-b0f524f9]{animation:bounce-in-b0f524f9 .5s}.bounce-leave-active[data-v-b0f524f9]{animation:bounce-in-b0f524f9 .5s reverse}@keyframes bounce-in-b0f524f9{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-b0f524f9]{background-color:#0ff}.hover[data-v-b0f524f9]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-b0f524f9]{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-d16a58b9]{animation:bounce-in-d16a58b9 .5s}.bounce-leave-active[data-v-d16a58b9]{animation:bounce-in-d16a58b9 .5s reverse}@keyframes bounce-in-d16a58b9{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-84cf73cd],.list-enter-active[data-v-84cf73cd],.list-leave-active[data-v-84cf73cd]{transition:all .5s ease}.list-enter-from[data-v-84cf73cd]{transform:translatey(-30px)}.list-leave-to[data-v-84cf73cd]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-84cf73cd]{position:absolute}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.slide-right-enter-active[data-v-32aed454],.slide-right-leave-active[data-v-32aed454]{transition:transform .3s ease}.slide-right-enter[data-v-32aed454],.slide-right-leave-to[data-v-32aed454]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-32aed454]{animation:fade-and-fly-enter-32aed454 .5s ease}.fade-and-fly-leave-active[data-v-32aed454]{animation:fade-and-fly-leave-32aed454 .5s ease}@keyframes fade-and-fly-enter-32aed454{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-32aed454{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-32aed454],.list-enter-active[data-v-32aed454],.list-leave-active[data-v-32aed454]{transition:all .5s ease}.list-enter-from[data-v-32aed454]{transform:translatey(-30px)}.list-leave-to[data-v-32aed454]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-32aed454]{position:absolute}#webglContainer{position:absolute;top:0;left:0}*,: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-feature-settings:inherit;font-variation-settings: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}dialog{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}.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}[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 aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;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:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[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");background-size:1em 1em}.dark [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");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[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;margin-inline-start:-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}*{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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: 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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: 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{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-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:0}.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:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-7{left:1.75rem}.left-9{left:2.25rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0}.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}.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-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-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-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 pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) 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-to: rgb(226 237 255 / 0) var(--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-to: rgb(185 210 247 / 0) var(--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-to: rgb(63 131 248 / 0) var(--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-to: rgb(6 182 212 / 0) var(--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-to: rgb(49 196 141 / 0) var(--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-to: rgb(14 159 110 / 0) var(--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-to: rgb(132 204 22 / 0) var(--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-to: rgb(231 70 148 / 0) var(--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-to: rgb(144 97 249 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(251 213 213 / 0) var(--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-to: rgb(240 82 82 / 0) var(--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-to: rgb(175 236 239 / 0) var(--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-to: rgb(126 220 226 / 0) var(--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-to: rgb(6 148 162 / 0) var(--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-to: rgb(226 237 255 / 0) var(--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-to: rgb(28 100 242 / 0) var(--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-to: rgb(8 145 178 / 0) var(--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-to: rgb(5 122 85 / 0) var(--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-to: rgb(101 163 13 / 0) var(--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-to: rgb(214 31 105 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(248 180 180 / 0) var(--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-to: rgb(224 36 36 / 0) var(--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-to: rgb(4 116 129 / 0) var(--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)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--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-400{--tw-text-opacity: 1;color:rgb(118 169 250 / 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-400{--tw-text-opacity: 1;color:rgb(249 128 128 / 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}p{font-size:16px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}ul{list-style-type:disc;margin-left:0}li{list-style-type:disc;margin-left:20px}ol{list-style-type:decimal;margin-left:20px}.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(2n){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(2n){--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\:-translate-y-10{--tw-translate-y: -2.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))}.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-to: rgb(6 182 212 / 0) var(--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-to: rgb(49 196 141 / 0) var(--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-to: rgb(231 70 148 / 0) var(--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-to: rgb(144 97 249 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(251 213 213 / 0) var(--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-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--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)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--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,.group:hover .group-hover\: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\:block:hover{display:block}.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-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / 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-to: rgb(175 236 239 / 0) var(--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)}.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-green-500:hover{--tw-text-opacity: 1;color:rgb(14 159 110 / 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-800){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / 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-to: rgb(19 46 89 / 0) var(--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-to: rgb(37 71 125 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-to: rgb(19 46 89 / 0) var(--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(2n)){--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(2n)){--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{top:0;right:0;bottom:0;left:0}.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-1{grid-template-columns:repeat(1,minmax(0,1fr))}.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-98356d8a.css b/web/dist/assets/index-98356d8a.css
new file mode 100644
index 00000000..44e34e59
--- /dev/null
+++ b/web/dist/assets/index-98356d8a.css
@@ -0,0 +1,8 @@
+.container{margin:0;padding:0}.link-item{height:25px;margin-top:5px;padding:0 20px;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#82a1d4;color:#000;transition:duration-300 ease-in-out transform}.link-item:hover{background-color:#3dabff;animation-timing-function:ease-in-out}.link-item.router-link-active{height:30px;margin-top:0;background-color:#b9d2f7}.link-item-dark{padding:0 20px;color:#f0f8ff;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#000;transition:duration-300 ease-in-out transform}.link-item-dark:hover{background-color:#0cc96a;animation-timing-function:ease-in-out}.link-item-dark.router-link-active{height:30px;margin-top:0;background-color:#2b74e2}.nav-ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;height:100%}.nav-li{cursor:pointer;display:flex;align-items:center;padding:5px}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#ff9da4}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#d1f1a9}.hljs-title,.hljs-section{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
+  Theme: Tokyo-night-Dark
+  origin: https://github.com/enkia/tokyo-night-vscode-theme
+  Description: Original highlight.js style
+  Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
+  License: see project LICENSE
+  Touched: 2022
+*/.hljs-meta,.hljs-comment{color:#565f89}.hljs-tag,.hljs-doctag,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-template-tag,.hljs-selector-pseudo,.hljs-selector-attr,.hljs-variable.language_,.hljs-deletion{color:#f7768e}.hljs-variable,.hljs-template-variable,.hljs-number,.hljs-literal,.hljs-type,.hljs-params,.hljs-link{color:#ff9e64}.hljs-built_in,.hljs-attribute{color:#e0af68}.hljs-selector-tag{color:#2ac3de}.hljs-keyword,.hljs-title.function_,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-subst,.hljs-property{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-quote,.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-name,.hljs-keyword,.hljs-operator,.hljs-char.escape_,.hljs-attr{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.code-container{display:flex;margin:0}.line-numbers{flex-shrink:0;padding-right:5px;color:#999;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;margin:0}.code-content{flex-grow:1;margin:0}.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-1c00af41]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-1c00af41]::-webkit-scrollbar{width:8px}.scrollbar[data-v-1c00af41]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-1c00af41]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-1c00af41]::-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-b0f524f9]{font-size:24px;animation:pulsate-b0f524f9 1.5s infinite}@keyframes pulsate-b0f524f9{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-b0f524f9],.list-enter-active[data-v-b0f524f9],.list-leave-active[data-v-b0f524f9]{transition:all .5s ease}.list-enter-from[data-v-b0f524f9]{transform:translatey(-30px)}.list-leave-to[data-v-b0f524f9]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-b0f524f9]{position:absolute}.bounce-enter-active[data-v-b0f524f9]{animation:bounce-in-b0f524f9 .5s}.bounce-leave-active[data-v-b0f524f9]{animation:bounce-in-b0f524f9 .5s reverse}@keyframes bounce-in-b0f524f9{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-b0f524f9]{background-color:#0ff}.hover[data-v-b0f524f9]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-b0f524f9]{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-d16a58b9]{animation:bounce-in-d16a58b9 .5s}.bounce-leave-active[data-v-d16a58b9]{animation:bounce-in-d16a58b9 .5s reverse}@keyframes bounce-in-d16a58b9{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-84cf73cd],.list-enter-active[data-v-84cf73cd],.list-leave-active[data-v-84cf73cd]{transition:all .5s ease}.list-enter-from[data-v-84cf73cd]{transform:translatey(-30px)}.list-leave-to[data-v-84cf73cd]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-84cf73cd]{position:absolute}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.slide-right-enter-active[data-v-32aed454],.slide-right-leave-active[data-v-32aed454]{transition:transform .3s ease}.slide-right-enter[data-v-32aed454],.slide-right-leave-to[data-v-32aed454]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-32aed454]{animation:fade-and-fly-enter-32aed454 .5s ease}.fade-and-fly-leave-active[data-v-32aed454]{animation:fade-and-fly-leave-32aed454 .5s ease}@keyframes fade-and-fly-enter-32aed454{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-32aed454{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-32aed454],.list-enter-active[data-v-32aed454],.list-leave-active[data-v-32aed454]{transition:all .5s ease}.list-enter-from[data-v-32aed454]{transform:translatey(-30px)}.list-leave-to[data-v-32aed454]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-32aed454]{position:absolute}.floating-frame{margin:15px;float:left;width:200px;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;z-index:5000}.floating-frame img{width:100%;height:auto}.controls{margin-top:10px}#webglContainer{top:0;left:0}*,: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-feature-settings:inherit;font-variation-settings: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}dialog{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}.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}[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 aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;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:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[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");background-size:1em 1em}.dark [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");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[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;margin-inline-start:-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}*{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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: 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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: 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{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-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:0}.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:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-7{left:1.75rem}.left-9{left:2.25rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0}.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}.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-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-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-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 pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) 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-to: rgb(226 237 255 / 0) var(--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-to: rgb(185 210 247 / 0) var(--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-to: rgb(63 131 248 / 0) var(--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-to: rgb(6 182 212 / 0) var(--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-to: rgb(49 196 141 / 0) var(--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-to: rgb(14 159 110 / 0) var(--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-to: rgb(132 204 22 / 0) var(--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-to: rgb(231 70 148 / 0) var(--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-to: rgb(144 97 249 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(251 213 213 / 0) var(--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-to: rgb(240 82 82 / 0) var(--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-to: rgb(175 236 239 / 0) var(--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-to: rgb(126 220 226 / 0) var(--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-to: rgb(6 148 162 / 0) var(--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-to: rgb(226 237 255 / 0) var(--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-to: rgb(28 100 242 / 0) var(--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-to: rgb(8 145 178 / 0) var(--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-to: rgb(5 122 85 / 0) var(--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-to: rgb(101 163 13 / 0) var(--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-to: rgb(214 31 105 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(248 180 180 / 0) var(--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-to: rgb(224 36 36 / 0) var(--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-to: rgb(4 116 129 / 0) var(--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)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--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-400{--tw-text-opacity: 1;color:rgb(118 169 250 / 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-400{--tw-text-opacity: 1;color:rgb(249 128 128 / 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}p{font-size:16px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}ul{list-style-type:disc;margin-left:0}li{list-style-type:disc;margin-left:20px}ol{list-style-type:decimal;margin-left:20px}.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(2n){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(2n){--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\:-translate-y-10{--tw-translate-y: -2.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))}.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-to: rgb(6 182 212 / 0) var(--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-to: rgb(49 196 141 / 0) var(--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-to: rgb(231 70 148 / 0) var(--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-to: rgb(144 97 249 / 0) var(--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-to: rgb(126 58 242 / 0) var(--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-to: rgb(251 213 213 / 0) var(--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-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--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)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--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,.group:hover .group-hover\: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\:block:hover{display:block}.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-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / 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-to: rgb(175 236 239 / 0) var(--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)}.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-green-500:hover{--tw-text-opacity: 1;color:rgb(14 159 110 / 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-800){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / 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-to: rgb(19 46 89 / 0) var(--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-to: rgb(37 71 125 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-to: rgb(19 46 89 / 0) var(--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(2n)){--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(2n)){--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{top:0;right:0;bottom:0;left:0}.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-1{grid-template-columns:repeat(1,minmax(0,1fr))}.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-b2f552bf.js b/web/dist/assets/index-d408a8bd.js
similarity index 98%
rename from web/dist/assets/index-b2f552bf.js
rename to web/dist/assets/index-d408a8bd.js
index f6915022..1d82acde 100644
--- a/web/dist/assets/index-b2f552bf.js
+++ b/web/dist/assets/index-d408a8bd.js
@@ -1,4 +1,4 @@
-(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();function dg(n,e){const t=Object.create(null),i=n.split(",");for(let r=0;r<i.length;r++)t[i[r]]=!0;return e?r=>!!t[r.toLowerCase()]:r=>!!t[r]}const zt={},To=[],_i=()=>{},FO=()=>!1,BO=/^on[^a-z]/,Rd=n=>BO.test(n),ug=n=>n.startsWith("onUpdate:"),Qt=Object.assign,_g=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},GO=Object.prototype.hasOwnProperty,Ct=(n,e)=>GO.call(n,e),Ze=Array.isArray,xo=n=>oa(n)==="[object Map]",sa=n=>oa(n)==="[object Set]",sb=n=>oa(n)==="[object Date]",zO=n=>oa(n)==="[object RegExp]",ut=n=>typeof n=="function",Kt=n=>typeof n=="string",ol=n=>typeof n=="symbol",Pt=n=>n!==null&&typeof n=="object",hR=n=>Pt(n)&&ut(n.then)&&ut(n.catch),mR=Object.prototype.toString,oa=n=>mR.call(n),HO=n=>oa(n).slice(8,-1),gR=n=>oa(n)==="[object Object]",pg=n=>Kt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,kc=dg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ad=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},VO=/-(\w)/g,Mi=Ad(n=>n.replace(VO,(e,t)=>t?t.toUpperCase():"")),qO=/\B([A-Z])/g,Bs=Ad(n=>n.replace(qO,"-$1").toLowerCase()),wd=Ad(n=>n.charAt(0).toUpperCase()+n.slice(1)),fu=Ad(n=>n?`on${wd(n)}`:""),al=(n,e)=>!Object.is(n,e),Co=(n,e)=>{for(let t=0;t<n.length;t++)n[t](e)},Qc=(n,e,t)=>{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:t})},Xc=n=>{const e=parseFloat(n);return isNaN(e)?n:e},YO=n=>{const e=Kt(n)?Number(n):NaN;return isNaN(e)?n:e};let ob;const dm=()=>ob||(ob=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(n){if(Ze(n)){const e={};for(let t=0;t<n.length;t++){const i=n[t],r=Kt(i)?jO(i):Rn(i);if(r)for(const s in r)e[s]=r[s]}return e}else{if(Kt(n))return n;if(Pt(n))return n}}const $O=/;(?![^(]*\))/g,WO=/:([^]+)/,KO=/\/\*[^]*?\*\//g;function jO(n){const e={};return n.replace(KO,"").split($O).forEach(t=>{if(t){const i=t.split(WO);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ke(n){let e="";if(Kt(n))e=n;else if(Ze(n))for(let t=0;t<n.length;t++){const i=Ke(n[t]);i&&(e+=i+" ")}else if(Pt(n))for(const t in n)n[t]&&(e+=t+" ");return e.trim()}const QO="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XO=dg(QO);function ER(n){return!!n||n===""}function ZO(n,e){if(n.length!==e.length)return!1;let t=!0;for(let i=0;t&&i<n.length;i++)t=Ms(n[i],e[i]);return t}function Ms(n,e){if(n===e)return!0;let t=sb(n),i=sb(e);if(t||i)return t&&i?n.getTime()===e.getTime():!1;if(t=ol(n),i=ol(e),t||i)return n===e;if(t=Ze(n),i=Ze(e),t||i)return t&&i?ZO(n,e):!1;if(t=Pt(n),i=Pt(e),t||i){if(!t||!i)return!1;const r=Object.keys(n).length,s=Object.keys(e).length;if(r!==s)return!1;for(const o in n){const a=n.hasOwnProperty(o),l=e.hasOwnProperty(o);if(a&&!l||!a&&l||!Ms(n[o],e[o]))return!1}}return String(n)===String(e)}function fg(n,e){return n.findIndex(t=>Ms(t,e))}const ge=n=>Kt(n)?n:n==null?"":Ze(n)||Pt(n)&&(n.toString===mR||!ut(n.toString))?JSON.stringify(n,bR,2):String(n),bR=(n,e)=>e&&e.__v_isRef?bR(n,e.value):xo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[i,r])=>(t[`${i} =>`]=r,t),{})}:sa(e)?{[`Set(${e.size})`]:[...e.values()]}:Pt(e)&&!Ze(e)&&!gR(e)?String(e):e;let ai;class SR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ai,!e&&ai&&(this.index=(ai.scopes||(ai.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ai;try{return ai=this,e()}finally{ai=t}}}on(){ai=this}off(){ai=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function JO(n){return new SR(n)}function eN(n,e=ai){e&&e.active&&e.effects.push(n)}function tN(){return ai}const hg=n=>{const e=new Set(n);return e.w=0,e.n=0,e},yR=n=>(n.w&Wr)>0,vR=n=>(n.n&Wr)>0,nN=({deps:n})=>{if(n.length)for(let e=0;e<n.length;e++)n[e].w|=Wr},iN=n=>{const{deps:e}=n;if(e.length){let t=0;for(let i=0;i<e.length;i++){const r=e[i];yR(r)&&!vR(r)?r.delete(n):e[t++]=r,r.w&=~Wr,r.n&=~Wr}e.length=t}},um=new WeakMap;let Va=0,Wr=1;const _m=30;let di;const xs=Symbol(""),pm=Symbol("");class mg{constructor(e,t=null,i){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,eN(this,i)}run(){if(!this.active)return this.fn();let e=di,t=Gr;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=di,di=this,Gr=!0,Wr=1<<++Va,Va<=_m?nN(this):ab(this),this.fn()}finally{Va<=_m&&iN(this),Wr=1<<--Va,di=this.parent,Gr=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){di===this?this.deferStop=!0:this.active&&(ab(this),this.onStop&&this.onStop(),this.active=!1)}}function ab(n){const{deps:e}=n;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(n);e.length=0}}let Gr=!0;const TR=[];function aa(){TR.push(Gr),Gr=!1}function la(){const n=TR.pop();Gr=n===void 0?!0:n}function kn(n,e,t){if(Gr&&di){let i=um.get(n);i||um.set(n,i=new Map);let r=i.get(t);r||i.set(t,r=hg()),xR(r)}}function xR(n,e){let t=!1;Va<=_m?vR(n)||(n.n|=Wr,t=!yR(n)):t=!n.has(di),t&&(n.add(di),di.deps.push(n))}function ar(n,e,t,i,r,s){const o=um.get(n);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(t==="length"&&Ze(n)){const l=Number(i);o.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(t!==void 0&&a.push(o.get(t)),e){case"add":Ze(n)?pg(t)&&a.push(o.get("length")):(a.push(o.get(xs)),xo(n)&&a.push(o.get(pm)));break;case"delete":Ze(n)||(a.push(o.get(xs)),xo(n)&&a.push(o.get(pm)));break;case"set":xo(n)&&a.push(o.get(xs));break}if(a.length===1)a[0]&&fm(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);fm(hg(l))}}function fm(n,e){const t=Ze(n)?n:[...n];for(const i of t)i.computed&&lb(i);for(const i of t)i.computed||lb(i)}function lb(n,e){(n!==di||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const rN=dg("__proto__,__v_isRef,__isVue"),CR=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(ol)),sN=gg(),oN=gg(!1,!0),aN=gg(!0),cb=lN();function lN(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const i=Rt(this);for(let s=0,o=this.length;s<o;s++)kn(i,"get",s+"");const r=i[e](...t);return r===-1||r===!1?i[e](...t.map(Rt)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{n[e]=function(...t){aa();const i=Rt(this)[e].apply(this,t);return la(),i}}),n}function cN(n){const e=Rt(this);return kn(e,"has",n),e.hasOwnProperty(n)}function gg(n=!1,e=!1){return function(i,r,s){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&s===(n?e?CN:NR:e?OR:wR).get(i))return i;const o=Ze(i);if(!n){if(o&&Ct(cb,r))return Reflect.get(cb,r,s);if(r==="hasOwnProperty")return cN}const a=Reflect.get(i,r,s);return(ol(r)?CR.has(r):rN(r))||(n||kn(i,"get",r),e)?a:Sn(a)?o&&pg(r)?a:a.value:Pt(a)?n?IR(a):Rl(a):a}}const dN=RR(),uN=RR(!0);function RR(n=!1){return function(t,i,r,s){let o=t[i];if(Lo(o)&&Sn(o)&&!Sn(r))return!1;if(!n&&(!Zc(r)&&!Lo(r)&&(o=Rt(o),r=Rt(r)),!Ze(t)&&Sn(o)&&!Sn(r)))return o.value=r,!0;const a=Ze(t)&&pg(i)?Number(i)<t.length:Ct(t,i),l=Reflect.set(t,i,r,s);return t===Rt(s)&&(a?al(r,o)&&ar(t,"set",i,r):ar(t,"add",i,r)),l}}function _N(n,e){const t=Ct(n,e);n[e];const i=Reflect.deleteProperty(n,e);return i&&t&&ar(n,"delete",e,void 0),i}function pN(n,e){const t=Reflect.has(n,e);return(!ol(e)||!CR.has(e))&&kn(n,"has",e),t}function fN(n){return kn(n,"iterate",Ze(n)?"length":xs),Reflect.ownKeys(n)}const AR={get:sN,set:dN,deleteProperty:_N,has:pN,ownKeys:fN},hN={get:aN,set(n,e){return!0},deleteProperty(n,e){return!0}},mN=Qt({},AR,{get:oN,set:uN}),Eg=n=>n,Od=n=>Reflect.getPrototypeOf(n);function zl(n,e,t=!1,i=!1){n=n.__v_raw;const r=Rt(n),s=Rt(e);t||(e!==s&&kn(r,"get",e),kn(r,"get",s));const{has:o}=Od(r),a=i?Eg:t?yg:ll;if(o.call(r,e))return a(n.get(e));if(o.call(r,s))return a(n.get(s));n!==r&&n.get(e)}function Hl(n,e=!1){const t=this.__v_raw,i=Rt(t),r=Rt(n);return e||(n!==r&&kn(i,"has",n),kn(i,"has",r)),n===r?t.has(n):t.has(n)||t.has(r)}function Vl(n,e=!1){return n=n.__v_raw,!e&&kn(Rt(n),"iterate",xs),Reflect.get(n,"size",n)}function db(n){n=Rt(n);const e=Rt(this);return Od(e).has.call(e,n)||(e.add(n),ar(e,"add",n,n)),this}function ub(n,e){e=Rt(e);const t=Rt(this),{has:i,get:r}=Od(t);let s=i.call(t,n);s||(n=Rt(n),s=i.call(t,n));const o=r.call(t,n);return t.set(n,e),s?al(e,o)&&ar(t,"set",n,e):ar(t,"add",n,e),this}function _b(n){const e=Rt(this),{has:t,get:i}=Od(e);let r=t.call(e,n);r||(n=Rt(n),r=t.call(e,n)),i&&i.call(e,n);const s=e.delete(n);return r&&ar(e,"delete",n,void 0),s}function pb(){const n=Rt(this),e=n.size!==0,t=n.clear();return e&&ar(n,"clear",void 0,void 0),t}function ql(n,e){return function(i,r){const s=this,o=s.__v_raw,a=Rt(o),l=e?Eg:n?yg:ll;return!n&&kn(a,"iterate",xs),o.forEach((c,d)=>i.call(r,l(c),l(d),s))}}function Yl(n,e,t){return function(...i){const r=this.__v_raw,s=Rt(r),o=xo(s),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...i),d=t?Eg:e?yg:ll;return!e&&kn(s,"iterate",l?pm:xs),{next(){const{value:u,done:_}=c.next();return _?{value:u,done:_}:{value:a?[d(u[0]),d(u[1])]:d(u),done:_}},[Symbol.iterator](){return this}}}}function gr(n){return function(...e){return n==="delete"?!1:this}}function gN(){const n={get(s){return zl(this,s)},get size(){return Vl(this)},has:Hl,add:db,set:ub,delete:_b,clear:pb,forEach:ql(!1,!1)},e={get(s){return zl(this,s,!1,!0)},get size(){return Vl(this)},has:Hl,add:db,set:ub,delete:_b,clear:pb,forEach:ql(!1,!0)},t={get(s){return zl(this,s,!0)},get size(){return Vl(this,!0)},has(s){return Hl.call(this,s,!0)},add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear"),forEach:ql(!0,!1)},i={get(s){return zl(this,s,!0,!0)},get size(){return Vl(this,!0)},has(s){return Hl.call(this,s,!0)},add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear"),forEach:ql(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yl(s,!1,!1),t[s]=Yl(s,!0,!1),e[s]=Yl(s,!1,!0),i[s]=Yl(s,!0,!0)}),[n,t,e,i]}const[EN,bN,SN,yN]=gN();function bg(n,e){const t=e?n?yN:SN:n?bN:EN;return(i,r,s)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?i:Reflect.get(Ct(t,r)&&r in i?t:i,r,s)}const vN={get:bg(!1,!1)},TN={get:bg(!1,!0)},xN={get:bg(!0,!1)},wR=new WeakMap,OR=new WeakMap,NR=new WeakMap,CN=new WeakMap;function RN(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function AN(n){return n.__v_skip||!Object.isExtensible(n)?0:RN(HO(n))}function Rl(n){return Lo(n)?n:Sg(n,!1,AR,vN,wR)}function MR(n){return Sg(n,!1,mN,TN,OR)}function IR(n){return Sg(n,!0,hN,xN,NR)}function Sg(n,e,t,i,r){if(!Pt(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=r.get(n);if(s)return s;const o=AN(n);if(o===0)return n;const a=new Proxy(n,o===2?i:t);return r.set(n,a),a}function Ro(n){return Lo(n)?Ro(n.__v_raw):!!(n&&n.__v_isReactive)}function Lo(n){return!!(n&&n.__v_isReadonly)}function Zc(n){return!!(n&&n.__v_isShallow)}function DR(n){return Ro(n)||Lo(n)}function Rt(n){const e=n&&n.__v_raw;return e?Rt(e):n}function LR(n){return Qc(n,"__v_skip",!0),n}const ll=n=>Pt(n)?Rl(n):n,yg=n=>Pt(n)?IR(n):n;function kR(n){Gr&&di&&(n=Rt(n),xR(n.dep||(n.dep=hg())))}function PR(n,e){n=Rt(n);const t=n.dep;t&&fm(t)}function Sn(n){return!!(n&&n.__v_isRef===!0)}function UR(n){return FR(n,!1)}function wN(n){return FR(n,!0)}function FR(n,e){return Sn(n)?n:new ON(n,e)}class ON{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Rt(e),this._value=t?e:ll(e)}get value(){return kR(this),this._value}set value(e){const t=this.__v_isShallow||Zc(e)||Lo(e);e=t?e:Rt(e),al(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:ll(e),PR(this))}}function nn(n){return Sn(n)?n.value:n}const NN={get:(n,e,t)=>nn(Reflect.get(n,e,t)),set:(n,e,t,i)=>{const r=n[e];return Sn(r)&&!Sn(t)?(r.value=t,!0):Reflect.set(n,e,t,i)}};function BR(n){return Ro(n)?n:new Proxy(n,NN)}class MN{constructor(e,t,i,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new mg(e,()=>{this._dirty||(this._dirty=!0,PR(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=Rt(this);return kR(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function IN(n,e,t=!1){let i,r;const s=ut(n);return s?(i=n,r=_i):(i=n.get,r=n.set),new MN(i,r,s||!r,t)}function zr(n,e,t,i){let r;try{r=i?n(...i):n()}catch(s){Nd(s,e,t)}return r}function Qn(n,e,t,i){if(ut(n)){const s=zr(n,e,t,i);return s&&hR(s)&&s.catch(o=>{Nd(o,e,t)}),s}const r=[];for(let s=0;s<n.length;s++)r.push(Qn(n[s],e,t,i));return r}function Nd(n,e,t,i=!0){const r=e?e.vnode:null;if(e){let s=e.parent;const o=e.proxy,a=t;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](n,o,a)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){zr(l,null,10,[n,o,a]);return}}DN(n,t,r,i)}function DN(n,e,t,i=!0){console.error(n)}let cl=!1,hm=!1;const bn=[];let yi=0;const Ao=[];let Ji=null,hs=0;const GR=Promise.resolve();let vg=null;function Fe(n){const e=vg||GR;return n?e.then(this?n.bind(this):n):e}function LN(n){let e=yi+1,t=bn.length;for(;e<t;){const i=e+t>>>1;dl(bn[i])<n?e=i+1:t=i}return e}function Tg(n){(!bn.length||!bn.includes(n,cl&&n.allowRecurse?yi+1:yi))&&(n.id==null?bn.push(n):bn.splice(LN(n.id),0,n),zR())}function zR(){!cl&&!hm&&(hm=!0,vg=GR.then(VR))}function kN(n){const e=bn.indexOf(n);e>yi&&bn.splice(e,1)}function PN(n){Ze(n)?Ao.push(...n):(!Ji||!Ji.includes(n,n.allowRecurse?hs+1:hs))&&Ao.push(n),zR()}function fb(n,e=cl?yi+1:0){for(;e<bn.length;e++){const t=bn[e];t&&t.pre&&(bn.splice(e,1),e--,t())}}function HR(n){if(Ao.length){const e=[...new Set(Ao)];if(Ao.length=0,Ji){Ji.push(...e);return}for(Ji=e,Ji.sort((t,i)=>dl(t)-dl(i)),hs=0;hs<Ji.length;hs++)Ji[hs]();Ji=null,hs=0}}const dl=n=>n.id==null?1/0:n.id,UN=(n,e)=>{const t=dl(n)-dl(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function VR(n){hm=!1,cl=!0,bn.sort(UN);const e=_i;try{for(yi=0;yi<bn.length;yi++){const t=bn[yi];t&&t.active!==!1&&zr(t,null,14)}}finally{yi=0,bn.length=0,HR(),cl=!1,vg=null,(bn.length||Ao.length)&&VR()}}function FN(n,e,...t){if(n.isUnmounted)return;const i=n.vnode.props||zt;let r=t;const s=e.startsWith("update:"),o=s&&e.slice(7);if(o&&o in i){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:u,trim:_}=i[d]||zt;_&&(r=t.map(f=>Kt(f)?f.trim():f)),u&&(r=t.map(Xc))}let a,l=i[a=fu(e)]||i[a=fu(Mi(e))];!l&&s&&(l=i[a=fu(Bs(e))]),l&&Qn(l,n,6,r);const c=i[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Qn(c,n,6,r)}}function qR(n,e,t=!1){const i=e.emitsCache,r=i.get(n);if(r!==void 0)return r;const s=n.emits;let o={},a=!1;if(!ut(n)){const l=c=>{const d=qR(c,e,!0);d&&(a=!0,Qt(o,d))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!s&&!a?(Pt(n)&&i.set(n,null),null):(Ze(s)?s.forEach(l=>o[l]=null):Qt(o,s),Pt(n)&&i.set(n,o),o)}function Md(n,e){return!n||!Rd(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ct(n,e[0].toLowerCase()+e.slice(1))||Ct(n,Bs(e))||Ct(n,e))}let _n=null,Id=null;function Jc(n){const e=_n;return _n=n,Id=n&&n.type.__scopeId||null,e}function Gs(n){Id=n}function zs(){Id=null}function ot(n,e=_n,t){if(!e||n._n)return n;const i=(...r)=>{i._d&&Rb(-1);const s=Jc(e);let o;try{o=n(...r)}finally{Jc(s),i._d&&Rb(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function hu(n){const{type:e,vnode:t,proxy:i,withProxy:r,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:d,renderCache:u,data:_,setupState:f,ctx:E,inheritAttrs:b}=n;let g,h;const m=Jc(n);try{if(t.shapeFlag&4){const v=r||i;g=bi(d.call(v,v,u,s,f,_,E)),h=l}else{const v=e;g=bi(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),h=e.props?l:BN(l)}}catch(v){ja.length=0,Nd(v,n,1),g=De(Xn)}let S=g;if(h&&b!==!1){const v=Object.keys(h),{shapeFlag:T}=S;v.length&&T&7&&(o&&v.some(ug)&&(h=GN(h,o)),S=lr(S,h))}return t.dirs&&(S=lr(S),S.dirs=S.dirs?S.dirs.concat(t.dirs):t.dirs),t.transition&&(S.transition=t.transition),g=S,Jc(m),g}const BN=n=>{let e;for(const t in n)(t==="class"||t==="style"||Rd(t))&&((e||(e={}))[t]=n[t]);return e},GN=(n,e)=>{const t={};for(const i in n)(!ug(i)||!(i.slice(9)in e))&&(t[i]=n[i]);return t};function zN(n,e,t){const{props:i,children:r,component:s}=n,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?hb(i,o,c):!!o;if(l&8){const d=e.dynamicProps;for(let u=0;u<d.length;u++){const _=d[u];if(o[_]!==i[_]&&!Md(c,_))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:i===o?!1:i?o?hb(i,o,c):!0:!!o;return!1}function hb(n,e,t){const i=Object.keys(e);if(i.length!==Object.keys(n).length)return!0;for(let r=0;r<i.length;r++){const s=i[r];if(e[s]!==n[s]&&!Md(t,s))return!0}return!1}function HN({vnode:n,parent:e},t){for(;e&&e.subTree===n;)(n=e.vnode).el=t,e=e.parent}const YR=n=>n.__isSuspense;function VN(n,e){e&&e.pendingBranch?Ze(n)?e.effects.push(...n):e.effects.push(n):PN(n)}const $l={};function Hr(n,e,t){return $R(n,e,t)}function $R(n,e,{immediate:t,deep:i,flush:r,onTrack:s,onTrigger:o}=zt){var a;const l=tN()===((a=cn)==null?void 0:a.scope)?cn:null;let c,d=!1,u=!1;if(Sn(n)?(c=()=>n.value,d=Zc(n)):Ro(n)?(c=()=>n,i=!0):Ze(n)?(u=!0,d=n.some(v=>Ro(v)||Zc(v)),c=()=>n.map(v=>{if(Sn(v))return v.value;if(Ro(v))return ys(v);if(ut(v))return zr(v,l,2)})):ut(n)?e?c=()=>zr(n,l,2):c=()=>{if(!(l&&l.isUnmounted))return _&&_(),Qn(n,l,3,[f])}:c=_i,e&&i){const v=c;c=()=>ys(v())}let _,f=v=>{_=m.onStop=()=>{zr(v,l,4)}},E;if(fl)if(f=_i,e?t&&Qn(e,l,3,[c(),u?[]:void 0,f]):c(),r==="sync"){const v=kM();E=v.__watcherHandles||(v.__watcherHandles=[])}else return _i;let b=u?new Array(n.length).fill($l):$l;const g=()=>{if(m.active)if(e){const v=m.run();(i||d||(u?v.some((T,C)=>al(T,b[C])):al(v,b)))&&(_&&_(),Qn(e,l,3,[v,b===$l?void 0:u&&b[0]===$l?[]:b,f]),b=v)}else m.run()};g.allowRecurse=!!e;let h;r==="sync"?h=g:r==="post"?h=()=>un(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),h=()=>Tg(g));const m=new mg(c,h);e?t?g():b=m.run():r==="post"?un(m.run.bind(m),l&&l.suspense):m.run();const S=()=>{m.stop(),l&&l.scope&&_g(l.scope.effects,m)};return E&&E.push(S),S}function qN(n,e,t){const i=this.proxy,r=Kt(n)?n.includes(".")?WR(i,n):()=>i[n]:n.bind(i,i);let s;ut(e)?s=e:(s=e.handler,t=e);const o=cn;Po(this);const a=$R(r,s.bind(i),t);return o?Po(o):Cs(),a}function WR(n,e){const t=e.split(".");return()=>{let i=n;for(let r=0;r<t.length&&i;r++)i=i[t[r]];return i}}function ys(n,e){if(!Pt(n)||n.__v_skip||(e=e||new Set,e.has(n)))return n;if(e.add(n),Sn(n))ys(n.value,e);else if(Ze(n))for(let t=0;t<n.length;t++)ys(n[t],e);else if(sa(n)||xo(n))n.forEach(t=>{ys(t,e)});else if(gR(n))for(const t in n)ys(n[t],e);return n}function we(n,e){const t=_n;if(t===null)return n;const i=Ud(t)||t.proxy,r=n.dirs||(n.dirs=[]);for(let s=0;s<e.length;s++){let[o,a,l,c=zt]=e[s];o&&(ut(o)&&(o={mounted:o,updated:o}),o.deep&&ys(a),r.push({dir:o,instance:i,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function is(n,e,t,i){const r=n.dirs,s=e&&e.dirs;for(let o=0;o<r.length;o++){const a=r[o];s&&(a.oldValue=s[o].value);let l=a.dir[i];l&&(aa(),Qn(l,t,8,[n.el,a,n,e]),la())}}function KR(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Al(()=>{n.isMounted=!0}),Rg(()=>{n.isUnmounting=!0}),n}const zn=[Function,Array],jR={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},YN={name:"BaseTransition",props:jR,setup(n,{slots:e}){const t=Ig(),i=KR();let r;return()=>{const s=e.default&&xg(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const b of s)if(b.type!==Xn){o=b;break}}const a=Rt(n),{mode:l}=a;if(i.isLeaving)return mu(o);const c=mb(o);if(!c)return mu(o);const d=ul(c,a,i,t);ko(c,d);const u=t.subTree,_=u&&mb(u);let f=!1;const{getTransitionKey:E}=c.type;if(E){const b=E();r===void 0?r=b:b!==r&&(r=b,f=!0)}if(_&&_.type!==Xn&&(!Pr(c,_)||f)){const b=ul(_,a,i,t);if(ko(_,b),l==="out-in")return i.isLeaving=!0,b.afterLeave=()=>{i.isLeaving=!1,t.update.active!==!1&&t.update()},mu(o);l==="in-out"&&c.type!==Xn&&(b.delayLeave=(g,h,m)=>{const S=QR(i,_);S[String(_.key)]=_,g._leaveCb=()=>{h(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=m})}return o}}},$N=YN;function QR(n,e){const{leavingVNodes:t}=n;let i=t.get(e.type);return i||(i=Object.create(null),t.set(e.type,i)),i}function ul(n,e,t,i){const{appear:r,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:_,onAfterLeave:f,onLeaveCancelled:E,onBeforeAppear:b,onAppear:g,onAfterAppear:h,onAppearCancelled:m}=e,S=String(n.key),v=QR(t,n),T=(x,y)=>{x&&Qn(x,i,9,y)},C=(x,y)=>{const R=y[1];T(x,y),Ze(x)?x.every(P=>P.length<=1)&&R():x.length<=1&&R()},N={mode:s,persisted:o,beforeEnter(x){let y=a;if(!t.isMounted)if(r)y=b||a;else return;x._leaveCb&&x._leaveCb(!0);const R=v[S];R&&Pr(n,R)&&R.el._leaveCb&&R.el._leaveCb(),T(y,[x])},enter(x){let y=l,R=c,P=d;if(!t.isMounted)if(r)y=g||l,R=h||c,P=m||d;else return;let k=!1;const W=x._enterCb=M=>{k||(k=!0,M?T(P,[x]):T(R,[x]),N.delayedLeave&&N.delayedLeave(),x._enterCb=void 0)};y?C(y,[x,W]):W()},leave(x,y){const R=String(n.key);if(x._enterCb&&x._enterCb(!0),t.isUnmounting)return y();T(u,[x]);let P=!1;const k=x._leaveCb=W=>{P||(P=!0,y(),W?T(E,[x]):T(f,[x]),x._leaveCb=void 0,v[R]===n&&delete v[R])};v[R]=n,_?C(_,[x,k]):k()},clone(x){return ul(x,e,t,i)}};return N}function mu(n){if(Dd(n))return n=lr(n),n.children=null,n}function mb(n){return Dd(n)?n.children?n.children[0]:void 0:n}function ko(n,e){n.shapeFlag&6&&n.component?ko(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function xg(n,e=!1,t){let i=[],r=0;for(let s=0;s<n.length;s++){let o=n[s];const a=t==null?o.key:String(t)+String(o.key!=null?o.key:s);o.type===Xe?(o.patchFlag&128&&r++,i=i.concat(xg(o.children,e,a))):(e||o.type!==Xn)&&i.push(a!=null?lr(o,{key:a}):o)}if(r>1)for(let s=0;s<i.length;s++)i[s].patchFlag=-2;return i}function XR(n,e){return ut(n)?(()=>Qt({name:n.name},e,{setup:n}))():n}const wo=n=>!!n.type.__asyncLoader,Dd=n=>n.type.__isKeepAlive,WN={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const t=Ig(),i=t.ctx;if(!i.renderer)return()=>{const m=e.default&&e.default();return m&&m.length===1?m[0]:m};const r=new Map,s=new Set;let o=null;const a=t.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=i,_=u("div");i.activate=(m,S,v,T,C)=>{const N=m.component;c(m,S,v,0,a),l(N.vnode,m,S,v,N,a,T,m.slotScopeIds,C),un(()=>{N.isDeactivated=!1,N.a&&Co(N.a);const x=m.props&&m.props.onVnodeMounted;x&&Vn(x,N.parent,m)},a)},i.deactivate=m=>{const S=m.component;c(m,_,null,1,a),un(()=>{S.da&&Co(S.da);const v=m.props&&m.props.onVnodeUnmounted;v&&Vn(v,S.parent,m),S.isDeactivated=!0},a)};function f(m){gu(m),d(m,t,a,!0)}function E(m){r.forEach((S,v)=>{const T=vm(S.type);T&&(!m||!m(T))&&b(v)})}function b(m){const S=r.get(m);!o||!Pr(S,o)?f(S):o&&gu(o),r.delete(m),s.delete(m)}Hr(()=>[n.include,n.exclude],([m,S])=>{m&&E(v=>qa(m,v)),S&&E(v=>!qa(S,v))},{flush:"post",deep:!0});let g=null;const h=()=>{g!=null&&r.set(g,Eu(t.subTree))};return Al(h),Cg(h),Rg(()=>{r.forEach(m=>{const{subTree:S,suspense:v}=t,T=Eu(S);if(m.type===T.type&&m.key===T.key){gu(T);const C=T.component.da;C&&un(C,v);return}f(m)})}),()=>{if(g=null,!e.default)return null;const m=e.default(),S=m[0];if(m.length>1)return o=null,m;if(!pl(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let v=Eu(S);const T=v.type,C=vm(wo(v)?v.type.__asyncResolved||{}:T),{include:N,exclude:x,max:y}=n;if(N&&(!C||!qa(N,C))||x&&C&&qa(x,C))return o=v,S;const R=v.key==null?T:v.key,P=r.get(R);return v.el&&(v=lr(v),S.shapeFlag&128&&(S.ssContent=v)),g=R,P?(v.el=P.el,v.component=P.component,v.transition&&ko(v,v.transition),v.shapeFlag|=512,s.delete(R),s.add(R)):(s.add(R),y&&s.size>parseInt(y,10)&&b(s.values().next().value)),v.shapeFlag|=256,o=v,YR(S.type)?S:v}}},KN=WN;function qa(n,e){return Ze(n)?n.some(t=>qa(t,e)):Kt(n)?n.split(",").includes(e):zO(n)?n.test(e):!1}function jN(n,e){ZR(n,"a",e)}function QN(n,e){ZR(n,"da",e)}function ZR(n,e,t=cn){const i=n.__wdc||(n.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(Ld(e,i,t),t){let r=t.parent;for(;r&&r.parent;)Dd(r.parent.vnode)&&XN(i,e,t,r),r=r.parent}}function XN(n,e,t,i){const r=Ld(e,n,i,!0);JR(()=>{_g(i[e],r)},t)}function gu(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function Eu(n){return n.shapeFlag&128?n.ssContent:n}function Ld(n,e,t=cn,i=!1){if(t){const r=t[n]||(t[n]=[]),s=e.__weh||(e.__weh=(...o)=>{if(t.isUnmounted)return;aa(),Po(t);const a=Qn(e,t,n,o);return Cs(),la(),a});return i?r.unshift(s):r.push(s),s}}const ur=n=>(e,t=cn)=>(!fl||n==="sp")&&Ld(n,(...i)=>e(...i),t),ZN=ur("bm"),Al=ur("m"),JN=ur("bu"),Cg=ur("u"),Rg=ur("bum"),JR=ur("um"),eM=ur("sp"),tM=ur("rtg"),nM=ur("rtc");function iM(n,e=cn){Ld("ec",n,e)}const Ag="components";function ht(n,e){return tA(Ag,n,!0,e)||n}const eA=Symbol.for("v-ndc");function rM(n){return Kt(n)?tA(Ag,n,!1)||n:n||eA}function tA(n,e,t=!0,i=!1){const r=_n||cn;if(r){const s=r.type;if(n===Ag){const a=vm(s,!1);if(a&&(a===e||a===Mi(e)||a===wd(Mi(e))))return s}const o=gb(r[n]||s[n],e)||gb(r.appContext[n],e);return!o&&i?s:o}}function gb(n,e){return n&&(n[e]||n[Mi(e)]||n[wd(Mi(e))])}function St(n,e,t,i){let r;const s=t&&t[i];if(Ze(n)||Kt(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=e(n[o],o,void 0,s&&s[o])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=e(o+1,o,void 0,s&&s[o])}else if(Pt(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>e(o,a,void 0,s&&s[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=e(n[c],c,a,s&&s[a])}}else r=[];return t&&(t[i]=r),r}function mm(n,e,t={},i,r){if(_n.isCE||_n.parent&&wo(_n.parent)&&_n.parent.isCE)return e!=="default"&&(t.name=e),De("slot",t,i&&i());let s=n[e];s&&s._c&&(s._d=!1),D();const o=s&&nA(s(t)),a=jt(Xe,{key:t.key||o&&o.key||`_${e}`},o||(i?i():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function nA(n){return n.some(e=>pl(e)?!(e.type===Xn||e.type===Xe&&!nA(e.children)):!0)?n:null}const gm=n=>n?pA(n)?Ud(n)||n.proxy:gm(n.parent):null,Ka=Qt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>gm(n.parent),$root:n=>gm(n.root),$emit:n=>n.emit,$options:n=>wg(n),$forceUpdate:n=>n.f||(n.f=()=>Tg(n.update)),$nextTick:n=>n.n||(n.n=Fe.bind(n.proxy)),$watch:n=>qN.bind(n)}),bu=(n,e)=>n!==zt&&!n.__isScriptSetup&&Ct(n,e),sM={get({_:n},e){const{ctx:t,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=n;let c;if(e[0]!=="$"){const f=o[e];if(f!==void 0)switch(f){case 1:return i[e];case 2:return r[e];case 4:return t[e];case 3:return s[e]}else{if(bu(i,e))return o[e]=1,i[e];if(r!==zt&&Ct(r,e))return o[e]=2,r[e];if((c=n.propsOptions[0])&&Ct(c,e))return o[e]=3,s[e];if(t!==zt&&Ct(t,e))return o[e]=4,t[e];Em&&(o[e]=0)}}const d=Ka[e];let u,_;if(d)return e==="$attrs"&&kn(n,"get",e),d(n);if((u=a.__cssModules)&&(u=u[e]))return u;if(t!==zt&&Ct(t,e))return o[e]=4,t[e];if(_=l.config.globalProperties,Ct(_,e))return _[e]},set({_:n},e,t){const{data:i,setupState:r,ctx:s}=n;return bu(r,e)?(r[e]=t,!0):i!==zt&&Ct(i,e)?(i[e]=t,!0):Ct(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!t[o]||n!==zt&&Ct(n,o)||bu(e,o)||(a=s[0])&&Ct(a,o)||Ct(i,o)||Ct(Ka,o)||Ct(r.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:Ct(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function Eb(n){return Ze(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}let Em=!0;function oM(n){const e=wg(n),t=n.proxy,i=n.ctx;Em=!1,e.beforeCreate&&bb(e.beforeCreate,n,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:_,beforeUpdate:f,updated:E,activated:b,deactivated:g,beforeDestroy:h,beforeUnmount:m,destroyed:S,unmounted:v,render:T,renderTracked:C,renderTriggered:N,errorCaptured:x,serverPrefetch:y,expose:R,inheritAttrs:P,components:k,directives:W,filters:M}=e;if(c&&aM(c,i,null),o)for(const I in o){const Y=o[I];ut(Y)&&(i[I]=Y.bind(t))}if(r){const I=r.call(t,t);Pt(I)&&(n.data=Rl(I))}if(Em=!0,s)for(const I in s){const Y=s[I],K=ut(Y)?Y.bind(t,t):ut(Y.get)?Y.get.bind(t,t):_i,q=!ut(Y)&&ut(Y.set)?Y.set.bind(t):_i,le=$n({get:K,set:q});Object.defineProperty(i,I,{enumerable:!0,configurable:!0,get:()=>le.value,set:X=>le.value=X})}if(a)for(const I in a)iA(a[I],i,t,I);if(l){const I=ut(l)?l.call(t):l;Reflect.ownKeys(I).forEach(Y=>{Pc(Y,I[Y])})}d&&bb(d,n,"c");function z(I,Y){Ze(Y)?Y.forEach(K=>I(K.bind(t))):Y&&I(Y.bind(t))}if(z(ZN,u),z(Al,_),z(JN,f),z(Cg,E),z(jN,b),z(QN,g),z(iM,x),z(nM,C),z(tM,N),z(Rg,m),z(JR,v),z(eM,y),Ze(R))if(R.length){const I=n.exposed||(n.exposed={});R.forEach(Y=>{Object.defineProperty(I,Y,{get:()=>t[Y],set:K=>t[Y]=K})})}else n.exposed||(n.exposed={});T&&n.render===_i&&(n.render=T),P!=null&&(n.inheritAttrs=P),k&&(n.components=k),W&&(n.directives=W)}function aM(n,e,t=_i){Ze(n)&&(n=bm(n));for(const i in n){const r=n[i];let s;Pt(r)?"default"in r?s=rr(r.from||i,r.default,!0):s=rr(r.from||i):s=rr(r),Sn(s)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[i]=s}}function bb(n,e,t){Qn(Ze(n)?n.map(i=>i.bind(e.proxy)):n.bind(e.proxy),e,t)}function iA(n,e,t,i){const r=i.includes(".")?WR(t,i):()=>t[i];if(Kt(n)){const s=e[n];ut(s)&&Hr(r,s)}else if(ut(n))Hr(r,n.bind(t));else if(Pt(n))if(Ze(n))n.forEach(s=>iA(s,e,t,i));else{const s=ut(n.handler)?n.handler.bind(t):e[n.handler];ut(s)&&Hr(r,s,n)}}function wg(n){const e=n.type,{mixins:t,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=n.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!t&&!i?l=e:(l={},r.length&&r.forEach(c=>ed(l,c,o,!0)),ed(l,e,o)),Pt(e)&&s.set(e,l),l}function ed(n,e,t,i=!1){const{mixins:r,extends:s}=e;s&&ed(n,s,t,!0),r&&r.forEach(o=>ed(n,o,t,!0));for(const o in e)if(!(i&&o==="expose")){const a=lM[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const lM={data:Sb,props:yb,emits:yb,methods:Ya,computed:Ya,beforeCreate:Tn,created:Tn,beforeMount:Tn,mounted:Tn,beforeUpdate:Tn,updated:Tn,beforeDestroy:Tn,beforeUnmount:Tn,destroyed:Tn,unmounted:Tn,activated:Tn,deactivated:Tn,errorCaptured:Tn,serverPrefetch:Tn,components:Ya,directives:Ya,watch:dM,provide:Sb,inject:cM};function Sb(n,e){return e?n?function(){return Qt(ut(n)?n.call(this,this):n,ut(e)?e.call(this,this):e)}:e:n}function cM(n,e){return Ya(bm(n),bm(e))}function bm(n){if(Ze(n)){const e={};for(let t=0;t<n.length;t++)e[n[t]]=n[t];return e}return n}function Tn(n,e){return n?[...new Set([].concat(n,e))]:e}function Ya(n,e){return n?Qt(Object.create(null),n,e):e}function yb(n,e){return n?Ze(n)&&Ze(e)?[...new Set([...n,...e])]:Qt(Object.create(null),Eb(n),Eb(e??{})):e}function dM(n,e){if(!n)return e;if(!e)return n;const t=Qt(Object.create(null),n);for(const i in e)t[i]=Tn(n[i],e[i]);return t}function rA(){return{app:null,config:{isNativeTag:FO,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 uM=0;function _M(n,e){return function(i,r=null){ut(i)||(i=Qt({},i)),r!=null&&!Pt(r)&&(r=null);const s=rA(),o=new Set;let a=!1;const l=s.app={_uid:uM++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:PM,get config(){return s.config},set config(c){},use(c,...d){return o.has(c)||(c&&ut(c.install)?(o.add(c),c.install(l,...d)):ut(c)&&(o.add(c),c(l,...d))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,d){return d?(s.components[c]=d,l):s.components[c]},directive(c,d){return d?(s.directives[c]=d,l):s.directives[c]},mount(c,d,u){if(!a){const _=De(i,r);return _.appContext=s,d&&e?e(_,c):n(_,c,u),a=!0,l._container=c,c.__vue_app__=l,Ud(_.component)||_.component.proxy}},unmount(){a&&(n(null,l._container),delete l._container.__vue_app__)},provide(c,d){return s.provides[c]=d,l},runWithContext(c){td=l;try{return c()}finally{td=null}}};return l}}let td=null;function Pc(n,e){if(cn){let t=cn.provides;const i=cn.parent&&cn.parent.provides;i===t&&(t=cn.provides=Object.create(i)),t[n]=e}}function rr(n,e,t=!1){const i=cn||_n;if(i||td){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:td._context.provides;if(r&&n in r)return r[n];if(arguments.length>1)return t&&ut(e)?e.call(i&&i.proxy):e}}function pM(n,e,t,i=!1){const r={},s={};Qc(s,Pd,1),n.propsDefaults=Object.create(null),sA(n,e,r,s);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);t?n.props=i?r:MR(r):n.type.props?n.props=r:n.props=s,n.attrs=s}function fM(n,e,t,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=n,a=Rt(r),[l]=n.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const d=n.vnode.dynamicProps;for(let u=0;u<d.length;u++){let _=d[u];if(Md(n.emitsOptions,_))continue;const f=e[_];if(l)if(Ct(s,_))f!==s[_]&&(s[_]=f,c=!0);else{const E=Mi(_);r[E]=Sm(l,a,E,f,n,!1)}else f!==s[_]&&(s[_]=f,c=!0)}}}else{sA(n,e,r,s)&&(c=!0);let d;for(const u in a)(!e||!Ct(e,u)&&((d=Bs(u))===u||!Ct(e,d)))&&(l?t&&(t[u]!==void 0||t[d]!==void 0)&&(r[u]=Sm(l,a,u,void 0,n,!0)):delete r[u]);if(s!==a)for(const u in s)(!e||!Ct(e,u))&&(delete s[u],c=!0)}c&&ar(n,"set","$attrs")}function sA(n,e,t,i){const[r,s]=n.propsOptions;let o=!1,a;if(e)for(let l in e){if(kc(l))continue;const c=e[l];let d;r&&Ct(r,d=Mi(l))?!s||!s.includes(d)?t[d]=c:(a||(a={}))[d]=c:Md(n.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,o=!0)}if(s){const l=Rt(t),c=a||zt;for(let d=0;d<s.length;d++){const u=s[d];t[u]=Sm(r,l,u,c[u],n,!Ct(c,u))}}return o}function Sm(n,e,t,i,r,s){const o=n[t];if(o!=null){const a=Ct(o,"default");if(a&&i===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&ut(l)){const{propsDefaults:c}=r;t in c?i=c[t]:(Po(r),i=c[t]=l.call(null,e),Cs())}else i=l}o[0]&&(s&&!a?i=!1:o[1]&&(i===""||i===Bs(t))&&(i=!0))}return i}function oA(n,e,t=!1){const i=e.propsCache,r=i.get(n);if(r)return r;const s=n.props,o={},a=[];let l=!1;if(!ut(n)){const d=u=>{l=!0;const[_,f]=oA(u,e,!0);Qt(o,_),f&&a.push(...f)};!t&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}if(!s&&!l)return Pt(n)&&i.set(n,To),To;if(Ze(s))for(let d=0;d<s.length;d++){const u=Mi(s[d]);vb(u)&&(o[u]=zt)}else if(s)for(const d in s){const u=Mi(d);if(vb(u)){const _=s[d],f=o[u]=Ze(_)||ut(_)?{type:_}:Qt({},_);if(f){const E=Cb(Boolean,f.type),b=Cb(String,f.type);f[0]=E>-1,f[1]=b<0||E<b,(E>-1||Ct(f,"default"))&&a.push(u)}}}const c=[o,a];return Pt(n)&&i.set(n,c),c}function vb(n){return n[0]!=="$"}function Tb(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function xb(n,e){return Tb(n)===Tb(e)}function Cb(n,e){return Ze(e)?e.findIndex(t=>xb(t,n)):ut(e)&&xb(e,n)?0:-1}const aA=n=>n[0]==="_"||n==="$stable",Og=n=>Ze(n)?n.map(bi):[bi(n)],hM=(n,e,t)=>{if(e._n)return e;const i=ot((...r)=>Og(e(...r)),t);return i._c=!1,i},lA=(n,e,t)=>{const i=n._ctx;for(const r in n){if(aA(r))continue;const s=n[r];if(ut(s))e[r]=hM(r,s,i);else if(s!=null){const o=Og(s);e[r]=()=>o}}},cA=(n,e)=>{const t=Og(e);n.slots.default=()=>t},mM=(n,e)=>{if(n.vnode.shapeFlag&32){const t=e._;t?(n.slots=Rt(e),Qc(e,"_",t)):lA(e,n.slots={})}else n.slots={},e&&cA(n,e);Qc(n.slots,Pd,1)},gM=(n,e,t)=>{const{vnode:i,slots:r}=n;let s=!0,o=zt;if(i.shapeFlag&32){const a=e._;a?t&&a===1?s=!1:(Qt(r,e),!t&&a===1&&delete r._):(s=!e.$stable,lA(e,r)),o=e}else e&&(cA(n,e),o={default:1});if(s)for(const a in r)!aA(a)&&!(a in o)&&delete r[a]};function ym(n,e,t,i,r=!1){if(Ze(n)){n.forEach((_,f)=>ym(_,e&&(Ze(e)?e[f]:e),t,i,r));return}if(wo(i)&&!r)return;const s=i.shapeFlag&4?Ud(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=n,c=e&&e.r,d=a.refs===zt?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Kt(c)?(d[c]=null,Ct(u,c)&&(u[c]=null)):Sn(c)&&(c.value=null)),ut(l))zr(l,a,12,[o,d]);else{const _=Kt(l),f=Sn(l);if(_||f){const E=()=>{if(n.f){const b=_?Ct(u,l)?u[l]:d[l]:l.value;r?Ze(b)&&_g(b,s):Ze(b)?b.includes(s)||b.push(s):_?(d[l]=[s],Ct(u,l)&&(u[l]=d[l])):(l.value=[s],n.k&&(d[n.k]=l.value))}else _?(d[l]=o,Ct(u,l)&&(u[l]=o)):f&&(l.value=o,n.k&&(d[n.k]=o))};o?(E.id=-1,un(E,t)):E()}}}const un=VN;function EM(n){return bM(n)}function bM(n,e){const t=dm();t.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:_,setScopeId:f=_i,insertStaticContent:E}=n,b=(O,F,V,re=null,ee=null,be=null,xe=!1,B=null,ae=!!F.dynamicChildren)=>{if(O===F)return;O&&!Pr(O,F)&&(re=j(O),X(O,ee,be,!0),O=null),F.patchFlag===-2&&(ae=!1,F.dynamicChildren=null);const{type:te,ref:ie,shapeFlag:w}=F;switch(te){case kd:g(O,F,V,re);break;case Xn:h(O,F,V,re);break;case Uc:O==null&&m(F,V,re,xe);break;case Xe:k(O,F,V,re,ee,be,xe,B,ae);break;default:w&1?T(O,F,V,re,ee,be,xe,B,ae):w&6?W(O,F,V,re,ee,be,xe,B,ae):(w&64||w&128)&&te.process(O,F,V,re,ee,be,xe,B,ae,Q)}ie!=null&&ee&&ym(ie,O&&O.ref,be,F||O,!F)},g=(O,F,V,re)=>{if(O==null)i(F.el=a(F.children),V,re);else{const ee=F.el=O.el;F.children!==O.children&&c(ee,F.children)}},h=(O,F,V,re)=>{O==null?i(F.el=l(F.children||""),V,re):F.el=O.el},m=(O,F,V,re)=>{[O.el,O.anchor]=E(O.children,F,V,re,O.el,O.anchor)},S=({el:O,anchor:F},V,re)=>{let ee;for(;O&&O!==F;)ee=_(O),i(O,V,re),O=ee;i(F,V,re)},v=({el:O,anchor:F})=>{let V;for(;O&&O!==F;)V=_(O),r(O),O=V;r(F)},T=(O,F,V,re,ee,be,xe,B,ae)=>{xe=xe||F.type==="svg",O==null?C(F,V,re,ee,be,xe,B,ae):y(O,F,ee,be,xe,B,ae)},C=(O,F,V,re,ee,be,xe,B)=>{let ae,te;const{type:ie,props:w,shapeFlag:A,transition:G,dirs:ce}=O;if(ae=O.el=o(O.type,be,w&&w.is,w),A&8?d(ae,O.children):A&16&&x(O.children,ae,null,re,ee,be&&ie!=="foreignObject",xe,B),ce&&is(O,null,re,"created"),N(ae,O,O.scopeId,xe,re),w){for(const J in w)J!=="value"&&!kc(J)&&s(ae,J,null,w[J],be,O.children,re,ee,ye);"value"in w&&s(ae,"value",null,w.value),(te=w.onVnodeBeforeMount)&&Vn(te,re,O)}ce&&is(O,null,re,"beforeMount");const $=(!ee||ee&&!ee.pendingBranch)&&G&&!G.persisted;$&&G.beforeEnter(ae),i(ae,F,V),((te=w&&w.onVnodeMounted)||$||ce)&&un(()=>{te&&Vn(te,re,O),$&&G.enter(ae),ce&&is(O,null,re,"mounted")},ee)},N=(O,F,V,re,ee)=>{if(V&&f(O,V),re)for(let be=0;be<re.length;be++)f(O,re[be]);if(ee){let be=ee.subTree;if(F===be){const xe=ee.vnode;N(O,xe,xe.scopeId,xe.slotScopeIds,ee.parent)}}},x=(O,F,V,re,ee,be,xe,B,ae=0)=>{for(let te=ae;te<O.length;te++){const ie=O[te]=B?wr(O[te]):bi(O[te]);b(null,ie,F,V,re,ee,be,xe,B)}},y=(O,F,V,re,ee,be,xe)=>{const B=F.el=O.el;let{patchFlag:ae,dynamicChildren:te,dirs:ie}=F;ae|=O.patchFlag&16;const w=O.props||zt,A=F.props||zt;let G;V&&rs(V,!1),(G=A.onVnodeBeforeUpdate)&&Vn(G,V,F,O),ie&&is(F,O,V,"beforeUpdate"),V&&rs(V,!0);const ce=ee&&F.type!=="foreignObject";if(te?R(O.dynamicChildren,te,B,V,re,ce,be):xe||Y(O,F,B,null,V,re,ce,be,!1),ae>0){if(ae&16)P(B,F,w,A,V,re,ee);else if(ae&2&&w.class!==A.class&&s(B,"class",null,A.class,ee),ae&4&&s(B,"style",w.style,A.style,ee),ae&8){const $=F.dynamicProps;for(let J=0;J<$.length;J++){const ve=$[J],Ee=w[ve],Me=A[ve];(Me!==Ee||ve==="value")&&s(B,ve,Ee,Me,ee,O.children,V,re,ye)}}ae&1&&O.children!==F.children&&d(B,F.children)}else!xe&&te==null&&P(B,F,w,A,V,re,ee);((G=A.onVnodeUpdated)||ie)&&un(()=>{G&&Vn(G,V,F,O),ie&&is(F,O,V,"updated")},re)},R=(O,F,V,re,ee,be,xe)=>{for(let B=0;B<F.length;B++){const ae=O[B],te=F[B],ie=ae.el&&(ae.type===Xe||!Pr(ae,te)||ae.shapeFlag&70)?u(ae.el):V;b(ae,te,ie,null,re,ee,be,xe,!0)}},P=(O,F,V,re,ee,be,xe)=>{if(V!==re){if(V!==zt)for(const B in V)!kc(B)&&!(B in re)&&s(O,B,V[B],null,xe,F.children,ee,be,ye);for(const B in re){if(kc(B))continue;const ae=re[B],te=V[B];ae!==te&&B!=="value"&&s(O,B,te,ae,xe,F.children,ee,be,ye)}"value"in re&&s(O,"value",V.value,re.value)}},k=(O,F,V,re,ee,be,xe,B,ae)=>{const te=F.el=O?O.el:a(""),ie=F.anchor=O?O.anchor:a("");let{patchFlag:w,dynamicChildren:A,slotScopeIds:G}=F;G&&(B=B?B.concat(G):G),O==null?(i(te,V,re),i(ie,V,re),x(F.children,V,ie,ee,be,xe,B,ae)):w>0&&w&64&&A&&O.dynamicChildren?(R(O.dynamicChildren,A,V,ee,be,xe,B),(F.key!=null||ee&&F===ee.subTree)&&dA(O,F,!0)):Y(O,F,V,ie,ee,be,xe,B,ae)},W=(O,F,V,re,ee,be,xe,B,ae)=>{F.slotScopeIds=B,O==null?F.shapeFlag&512?ee.ctx.activate(F,V,re,xe,ae):M(F,V,re,ee,be,xe,ae):H(O,F,ae)},M=(O,F,V,re,ee,be,xe)=>{const B=O.component=wM(O,re,ee);if(Dd(O)&&(B.ctx.renderer=Q),OM(B),B.asyncDep){if(ee&&ee.registerDep(B,z),!O.el){const ae=B.subTree=De(Xn);h(null,ae,F,V)}return}z(B,O,F,V,ee,be,xe)},H=(O,F,V)=>{const re=F.component=O.component;if(zN(O,F,V))if(re.asyncDep&&!re.asyncResolved){I(re,F,V);return}else re.next=F,kN(re.update),re.update();else F.el=O.el,re.vnode=F},z=(O,F,V,re,ee,be,xe)=>{const B=()=>{if(O.isMounted){let{next:ie,bu:w,u:A,parent:G,vnode:ce}=O,$=ie,J;rs(O,!1),ie?(ie.el=ce.el,I(O,ie,xe)):ie=ce,w&&Co(w),(J=ie.props&&ie.props.onVnodeBeforeUpdate)&&Vn(J,G,ie,ce),rs(O,!0);const ve=hu(O),Ee=O.subTree;O.subTree=ve,b(Ee,ve,u(Ee.el),j(Ee),O,ee,be),ie.el=ve.el,$===null&&HN(O,ve.el),A&&un(A,ee),(J=ie.props&&ie.props.onVnodeUpdated)&&un(()=>Vn(J,G,ie,ce),ee)}else{let ie;const{el:w,props:A}=F,{bm:G,m:ce,parent:$}=O,J=wo(F);if(rs(O,!1),G&&Co(G),!J&&(ie=A&&A.onVnodeBeforeMount)&&Vn(ie,$,F),rs(O,!0),w&&Ae){const ve=()=>{O.subTree=hu(O),Ae(w,O.subTree,O,ee,null)};J?F.type.__asyncLoader().then(()=>!O.isUnmounted&&ve()):ve()}else{const ve=O.subTree=hu(O);b(null,ve,V,re,O,ee,be),F.el=ve.el}if(ce&&un(ce,ee),!J&&(ie=A&&A.onVnodeMounted)){const ve=F;un(()=>Vn(ie,$,ve),ee)}(F.shapeFlag&256||$&&wo($.vnode)&&$.vnode.shapeFlag&256)&&O.a&&un(O.a,ee),O.isMounted=!0,F=V=re=null}},ae=O.effect=new mg(B,()=>Tg(te),O.scope),te=O.update=()=>ae.run();te.id=O.uid,rs(O,!0),te()},I=(O,F,V)=>{F.component=O;const re=O.vnode.props;O.vnode=F,O.next=null,fM(O,F.props,re,V),gM(O,F.children,V),aa(),fb(),la()},Y=(O,F,V,re,ee,be,xe,B,ae=!1)=>{const te=O&&O.children,ie=O?O.shapeFlag:0,w=F.children,{patchFlag:A,shapeFlag:G}=F;if(A>0){if(A&128){q(te,w,V,re,ee,be,xe,B,ae);return}else if(A&256){K(te,w,V,re,ee,be,xe,B,ae);return}}G&8?(ie&16&&ye(te,ee,be),w!==te&&d(V,w)):ie&16?G&16?q(te,w,V,re,ee,be,xe,B,ae):ye(te,ee,be,!0):(ie&8&&d(V,""),G&16&&x(w,V,re,ee,be,xe,B,ae))},K=(O,F,V,re,ee,be,xe,B,ae)=>{O=O||To,F=F||To;const te=O.length,ie=F.length,w=Math.min(te,ie);let A;for(A=0;A<w;A++){const G=F[A]=ae?wr(F[A]):bi(F[A]);b(O[A],G,V,null,ee,be,xe,B,ae)}te>ie?ye(O,ee,be,!0,!1,w):x(F,V,re,ee,be,xe,B,ae,w)},q=(O,F,V,re,ee,be,xe,B,ae)=>{let te=0;const ie=F.length;let w=O.length-1,A=ie-1;for(;te<=w&&te<=A;){const G=O[te],ce=F[te]=ae?wr(F[te]):bi(F[te]);if(Pr(G,ce))b(G,ce,V,null,ee,be,xe,B,ae);else break;te++}for(;te<=w&&te<=A;){const G=O[w],ce=F[A]=ae?wr(F[A]):bi(F[A]);if(Pr(G,ce))b(G,ce,V,null,ee,be,xe,B,ae);else break;w--,A--}if(te>w){if(te<=A){const G=A+1,ce=G<ie?F[G].el:re;for(;te<=A;)b(null,F[te]=ae?wr(F[te]):bi(F[te]),V,ce,ee,be,xe,B,ae),te++}}else if(te>A)for(;te<=w;)X(O[te],ee,be,!0),te++;else{const G=te,ce=te,$=new Map;for(te=ce;te<=A;te++){const tt=F[te]=ae?wr(F[te]):bi(F[te]);tt.key!=null&&$.set(tt.key,te)}let J,ve=0;const Ee=A-ce+1;let Me=!1,Ue=0;const Je=new Array(Ee);for(te=0;te<Ee;te++)Je[te]=0;for(te=G;te<=w;te++){const tt=O[te];if(ve>=Ee){X(tt,ee,be,!0);continue}let $e;if(tt.key!=null)$e=$.get(tt.key);else for(J=ce;J<=A;J++)if(Je[J-ce]===0&&Pr(tt,F[J])){$e=J;break}$e===void 0?X(tt,ee,be,!0):(Je[$e-ce]=te+1,$e>=Ue?Ue=$e:Me=!0,b(tt,F[$e],V,null,ee,be,xe,B,ae),ve++)}const Ne=Me?SM(Je):To;for(J=Ne.length-1,te=Ee-1;te>=0;te--){const tt=ce+te,$e=F[tt],Pe=tt+1<ie?F[tt+1].el:re;Je[te]===0?b(null,$e,V,Pe,ee,be,xe,B,ae):Me&&(J<0||te!==Ne[J]?le($e,V,Pe,2):J--)}}},le=(O,F,V,re,ee=null)=>{const{el:be,type:xe,transition:B,children:ae,shapeFlag:te}=O;if(te&6){le(O.component.subTree,F,V,re);return}if(te&128){O.suspense.move(F,V,re);return}if(te&64){xe.move(O,F,V,Q);return}if(xe===Xe){i(be,F,V);for(let w=0;w<ae.length;w++)le(ae[w],F,V,re);i(O.anchor,F,V);return}if(xe===Uc){S(O,F,V);return}if(re!==2&&te&1&&B)if(re===0)B.beforeEnter(be),i(be,F,V),un(()=>B.enter(be),ee);else{const{leave:w,delayLeave:A,afterLeave:G}=B,ce=()=>i(be,F,V),$=()=>{w(be,()=>{ce(),G&&G()})};A?A(be,ce,$):$()}else i(be,F,V)},X=(O,F,V,re=!1,ee=!1)=>{const{type:be,props:xe,ref:B,children:ae,dynamicChildren:te,shapeFlag:ie,patchFlag:w,dirs:A}=O;if(B!=null&&ym(B,null,V,O,!0),ie&256){F.ctx.deactivate(O);return}const G=ie&1&&A,ce=!wo(O);let $;if(ce&&($=xe&&xe.onVnodeBeforeUnmount)&&Vn($,F,O),ie&6)fe(O.component,V,re);else{if(ie&128){O.suspense.unmount(V,re);return}G&&is(O,null,F,"beforeUnmount"),ie&64?O.type.remove(O,F,V,ee,Q,re):te&&(be!==Xe||w>0&&w&64)?ye(te,F,V,!1,!0):(be===Xe&&w&384||!ee&&ie&16)&&ye(ae,F,V),re&&Z(O)}(ce&&($=xe&&xe.onVnodeUnmounted)||G)&&un(()=>{$&&Vn($,F,O),G&&is(O,null,F,"unmounted")},V)},Z=O=>{const{type:F,el:V,anchor:re,transition:ee}=O;if(F===Xe){_e(V,re);return}if(F===Uc){v(O);return}const be=()=>{r(V),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(O.shapeFlag&1&&ee&&!ee.persisted){const{leave:xe,delayLeave:B}=ee,ae=()=>xe(V,be);B?B(O.el,be,ae):ae()}else be()},_e=(O,F)=>{let V;for(;O!==F;)V=_(O),r(O),O=V;r(F)},fe=(O,F,V)=>{const{bum:re,scope:ee,update:be,subTree:xe,um:B}=O;re&&Co(re),ee.stop(),be&&(be.active=!1,X(xe,O,F,V)),B&&un(B,F),un(()=>{O.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},ye=(O,F,V,re=!1,ee=!1,be=0)=>{for(let xe=be;xe<O.length;xe++)X(O[xe],F,V,re,ee)},j=O=>O.shapeFlag&6?j(O.component.subTree):O.shapeFlag&128?O.suspense.next():_(O.anchor||O.el),de=(O,F,V)=>{O==null?F._vnode&&X(F._vnode,null,null,!0):b(F._vnode||null,O,F,null,null,null,V),fb(),HR(),F._vnode=O},Q={p:b,um:X,m:le,r:Z,mt:M,mc:x,pc:Y,pbc:R,n:j,o:n};let he,Ae;return e&&([he,Ae]=e(Q)),{render:de,hydrate:he,createApp:_M(de,he)}}function rs({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function dA(n,e,t=!1){const i=n.children,r=e.children;if(Ze(i)&&Ze(r))for(let s=0;s<i.length;s++){const o=i[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=wr(r[s]),a.el=o.el),t||dA(o,a)),a.type===kd&&(a.el=o.el)}}function SM(n){const e=n.slice(),t=[0];let i,r,s,o,a;const l=n.length;for(i=0;i<l;i++){const c=n[i];if(c!==0){if(r=t[t.length-1],n[r]<c){e[i]=r,t.push(i);continue}for(s=0,o=t.length-1;s<o;)a=s+o>>1,n[t[a]]<c?s=a+1:o=a;c<n[t[s]]&&(s>0&&(e[i]=t[s-1]),t[s]=i)}}for(s=t.length,o=t[s-1];s-- >0;)t[s]=o,o=e[o];return t}const yM=n=>n.__isTeleport,Xe=Symbol.for("v-fgt"),kd=Symbol.for("v-txt"),Xn=Symbol.for("v-cmt"),Uc=Symbol.for("v-stc"),ja=[];let ui=null;function D(n=!1){ja.push(ui=n?null:[])}function vM(){ja.pop(),ui=ja[ja.length-1]||null}let _l=1;function Rb(n){_l+=n}function uA(n){return n.dynamicChildren=_l>0?ui||To:null,vM(),_l>0&&ui&&ui.push(n),n}function L(n,e,t,i,r,s){return uA(p(n,e,t,i,r,s,!0))}function jt(n,e,t,i,r){return uA(De(n,e,t,i,r,!0))}function pl(n){return n?n.__v_isVNode===!0:!1}function Pr(n,e){return n.type===e.type&&n.key===e.key}const Pd="__vInternal",_A=({key:n})=>n??null,Fc=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?Kt(n)||Sn(n)||ut(n)?{i:_n,r:n,k:e,f:!!t}:n:null);function p(n,e=null,t=null,i=0,r=null,s=n===Xe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&_A(e),ref:e&&Fc(e),scopeId:Id,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_n};return a?(Mg(l,t),s&128&&n.normalize(l)):t&&(l.shapeFlag|=Kt(t)?8:16),_l>0&&!o&&ui&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ui.push(l),l}const De=TM;function TM(n,e=null,t=null,i=0,r=null,s=!1){if((!n||n===eA)&&(n=Xn),pl(n)){const a=lr(n,e,!0);return t&&Mg(a,t),_l>0&&!s&&ui&&(a.shapeFlag&6?ui[ui.indexOf(n)]=a:ui.push(a)),a.patchFlag|=-2,a}if(DM(n)&&(n=n.__vccOpts),e){e=xM(e);let{class:a,style:l}=e;a&&!Kt(a)&&(e.class=Ke(a)),Pt(l)&&(DR(l)&&!Ze(l)&&(l=Qt({},l)),e.style=Rn(l))}const o=Kt(n)?1:YR(n)?128:yM(n)?64:Pt(n)?4:ut(n)?2:0;return p(n,e,t,i,r,o,s,!0)}function xM(n){return n?DR(n)||Pd in n?Qt({},n):n:null}function lr(n,e,t=!1){const{props:i,ref:r,patchFlag:s,children:o}=n,a=e?CM(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&_A(a),ref:e&&e.ref?t&&r?Ze(r)?r.concat(Fc(e)):[r,Fc(e)]:Fc(e):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xe?s===-1?16:s|16:s,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&lr(n.ssContent),ssFallback:n.ssFallback&&lr(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function Ye(n=" ",e=0){return De(kd,null,n,e)}function Ng(n,e){const t=De(Uc,null,n);return t.staticCount=e,t}function se(n="",e=!1){return e?(D(),jt(Xn,null,n)):De(Xn,null,n)}function bi(n){return n==null||typeof n=="boolean"?De(Xn):Ze(n)?De(Xe,null,n.slice()):typeof n=="object"?wr(n):De(kd,null,String(n))}function wr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:lr(n)}function Mg(n,e){let t=0;const{shapeFlag:i}=n;if(e==null)e=null;else if(Ze(e))t=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),Mg(n,r()),r._c&&(r._d=!0));return}else{t=32;const r=e._;!r&&!(Pd in e)?e._ctx=_n:r===3&&_n&&(_n.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else ut(e)?(e={default:e,_ctx:_n},t=32):(e=String(e),i&64?(t=16,e=[Ye(e)]):t=8);n.children=e,n.shapeFlag|=t}function CM(...n){const e={};for(let t=0;t<n.length;t++){const i=n[t];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=Ke([e.class,i.class]));else if(r==="style")e.style=Rn([e.style,i.style]);else if(Rd(r)){const s=e[r],o=i[r];o&&s!==o&&!(Ze(s)&&s.includes(o))&&(e[r]=s?[].concat(s,o):o)}else r!==""&&(e[r]=i[r])}return e}function Vn(n,e,t,i=null){Qn(n,e,7,[t,i])}const RM=rA();let AM=0;function wM(n,e,t){const i=n.type,r=(e?e.appContext:n.appContext)||RM,s={uid:AM++,vnode:n,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new SR(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oA(i,r),emitsOptions:qR(i,r),emit:null,emitted:null,propsDefaults:zt,inheritAttrs:i.inheritAttrs,ctx:zt,data:zt,props:zt,attrs:zt,slots:zt,refs:zt,setupState:zt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=FN.bind(null,s),n.ce&&n.ce(s),s}let cn=null;const Ig=()=>cn||_n;let Dg,Ks,Ab="__VUE_INSTANCE_SETTERS__";(Ks=dm()[Ab])||(Ks=dm()[Ab]=[]),Ks.push(n=>cn=n),Dg=n=>{Ks.length>1?Ks.forEach(e=>e(n)):Ks[0](n)};const Po=n=>{Dg(n),n.scope.on()},Cs=()=>{cn&&cn.scope.off(),Dg(null)};function pA(n){return n.vnode.shapeFlag&4}let fl=!1;function OM(n,e=!1){fl=e;const{props:t,children:i}=n.vnode,r=pA(n);pM(n,t,r,e),mM(n,i);const s=r?NM(n,e):void 0;return fl=!1,s}function NM(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=LR(new Proxy(n.ctx,sM));const{setup:i}=t;if(i){const r=n.setupContext=i.length>1?IM(n):null;Po(n),aa();const s=zr(i,n,0,[n.props,r]);if(la(),Cs(),hR(s)){if(s.then(Cs,Cs),e)return s.then(o=>{wb(n,o,e)}).catch(o=>{Nd(o,n,0)});n.asyncDep=s}else wb(n,s,e)}else fA(n,e)}function wb(n,e,t){ut(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:Pt(e)&&(n.setupState=BR(e)),fA(n,t)}let Ob;function fA(n,e,t){const i=n.type;if(!n.render){if(!e&&Ob&&!i.render){const r=i.template||wg(n).template;if(r){const{isCustomElement:s,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=i,c=Qt(Qt({isCustomElement:s,delimiters:a},o),l);i.render=Ob(r,c)}}n.render=i.render||_i}Po(n),aa(),oM(n),la(),Cs()}function MM(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get(e,t){return kn(n,"get","$attrs"),e[t]}}))}function IM(n){const e=t=>{n.exposed=t||{}};return{get attrs(){return MM(n)},slots:n.slots,emit:n.emit,expose:e}}function Ud(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(BR(LR(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in Ka)return Ka[t](n)},has(e,t){return t in e||t in Ka}}))}function vm(n,e=!0){return ut(n)?n.displayName||n.name:n.name||e&&n.__name}function DM(n){return ut(n)&&"__vccOpts"in n}const $n=(n,e)=>IN(n,e,fl);function Lg(n,e,t){const i=arguments.length;return i===2?Pt(e)&&!Ze(e)?pl(e)?De(n,null,[e]):De(n,e):De(n,null,e):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&pl(t)&&(t=[t]),De(n,e,t))}const LM=Symbol.for("v-scx"),kM=()=>rr(LM),PM="3.3.4",UM="http://www.w3.org/2000/svg",ms=typeof document<"u"?document:null,Nb=ms&&ms.createElement("template"),FM={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const r=e?ms.createElementNS(UM,n):ms.createElement(n,t?{is:t}:void 0);return n==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:n=>ms.createTextNode(n),createComment:n=>ms.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>ms.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,r,s){const o=t?t.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),t),!(r===s||!(r=r.nextSibling)););else{Nb.innerHTML=i?`<svg>${n}</svg>`:n;const a=Nb.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function BM(n,e,t){const i=n._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}function GM(n,e,t){const i=n.style,r=Kt(t);if(t&&!r){if(e&&!Kt(e))for(const s in e)t[s]==null&&Tm(i,s,"");for(const s in t)Tm(i,s,t[s])}else{const s=i.display;r?e!==t&&(i.cssText=t):e&&n.removeAttribute("style"),"_vod"in n&&(i.display=s)}}const Mb=/\s*!important$/;function Tm(n,e,t){if(Ze(t))t.forEach(i=>Tm(n,e,i));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const i=zM(n,e);Mb.test(t)?n.setProperty(Bs(i),t.replace(Mb,""),"important"):n[i]=t}}const Ib=["Webkit","Moz","ms"],Su={};function zM(n,e){const t=Su[e];if(t)return t;let i=Mi(e);if(i!=="filter"&&i in n)return Su[e]=i;i=wd(i);for(let r=0;r<Ib.length;r++){const s=Ib[r]+i;if(s in n)return Su[e]=s}return e}const Db="http://www.w3.org/1999/xlink";function HM(n,e,t,i,r){if(i&&e.startsWith("xlink:"))t==null?n.removeAttributeNS(Db,e.slice(6,e.length)):n.setAttributeNS(Db,e,t);else{const s=XO(e);t==null||s&&!ER(t)?n.removeAttribute(e):n.setAttribute(e,s?"":t)}}function VM(n,e,t,i,r,s,o){if(e==="innerHTML"||e==="textContent"){i&&o(i,r,s),n[e]=t??"";return}const a=n.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){n._value=t;const c=a==="OPTION"?n.getAttribute("value"):n.value,d=t??"";c!==d&&(n.value=d),t==null&&n.removeAttribute(e);return}let l=!1;if(t===""||t==null){const c=typeof n[e];c==="boolean"?t=ER(t):t==null&&c==="string"?(t="",l=!0):c==="number"&&(t=0,l=!0)}try{n[e]=t}catch{}l&&n.removeAttribute(e)}function er(n,e,t,i){n.addEventListener(e,t,i)}function qM(n,e,t,i){n.removeEventListener(e,t,i)}function YM(n,e,t,i,r=null){const s=n._vei||(n._vei={}),o=s[e];if(i&&o)o.value=i;else{const[a,l]=$M(e);if(i){const c=s[e]=jM(i,r);er(n,a,c,l)}else o&&(qM(n,a,o,l),s[e]=void 0)}}const Lb=/(?:Once|Passive|Capture)$/;function $M(n){let e;if(Lb.test(n)){e={};let i;for(;i=n.match(Lb);)n=n.slice(0,n.length-i[0].length),e[i[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):Bs(n.slice(2)),e]}let yu=0;const WM=Promise.resolve(),KM=()=>yu||(WM.then(()=>yu=0),yu=Date.now());function jM(n,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;Qn(QM(i,t.value),e,5,[i])};return t.value=n,t.attached=KM(),t}function QM(n,e){if(Ze(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const kb=/^on[a-z]/,XM=(n,e,t,i,r=!1,s,o,a,l)=>{e==="class"?BM(n,i,r):e==="style"?GM(n,t,i):Rd(e)?ug(e)||YM(n,e,t,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ZM(n,e,i,r))?VM(n,e,i,s,o,a,l):(e==="true-value"?n._trueValue=i:e==="false-value"&&(n._falseValue=i),HM(n,e,i,r))};function ZM(n,e,t,i){return i?!!(e==="innerHTML"||e==="textContent"||e in n&&kb.test(e)&&ut(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||kb.test(e)&&Kt(t)?!1:e in n}const Er="transition",Aa="animation",Uo=(n,{slots:e})=>Lg($N,mA(n),e);Uo.displayName="Transition";const hA={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},JM=Uo.props=Qt({},jR,hA),ss=(n,e=[])=>{Ze(n)?n.forEach(t=>t(...e)):n&&n(...e)},Pb=n=>n?Ze(n)?n.some(e=>e.length>1):n.length>1:!1;function mA(n){const e={};for(const k in n)k in hA||(e[k]=n[k]);if(n.css===!1)return e;const{name:t="v",type:i,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:d=a,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:_=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=n,E=eI(r),b=E&&E[0],g=E&&E[1],{onBeforeEnter:h,onEnter:m,onEnterCancelled:S,onLeave:v,onLeaveCancelled:T,onBeforeAppear:C=h,onAppear:N=m,onAppearCancelled:x=S}=e,y=(k,W,M)=>{Ar(k,W?d:a),Ar(k,W?c:o),M&&M()},R=(k,W)=>{k._isLeaving=!1,Ar(k,u),Ar(k,f),Ar(k,_),W&&W()},P=k=>(W,M)=>{const H=k?N:m,z=()=>y(W,k,M);ss(H,[W,z]),Ub(()=>{Ar(W,k?l:s),Xi(W,k?d:a),Pb(H)||Fb(W,i,b,z)})};return Qt(e,{onBeforeEnter(k){ss(h,[k]),Xi(k,s),Xi(k,o)},onBeforeAppear(k){ss(C,[k]),Xi(k,l),Xi(k,c)},onEnter:P(!1),onAppear:P(!0),onLeave(k,W){k._isLeaving=!0;const M=()=>R(k,W);Xi(k,u),EA(),Xi(k,_),Ub(()=>{k._isLeaving&&(Ar(k,u),Xi(k,f),Pb(v)||Fb(k,i,g,M))}),ss(v,[k,M])},onEnterCancelled(k){y(k,!1),ss(S,[k])},onAppearCancelled(k){y(k,!0),ss(x,[k])},onLeaveCancelled(k){R(k),ss(T,[k])}})}function eI(n){if(n==null)return null;if(Pt(n))return[vu(n.enter),vu(n.leave)];{const e=vu(n);return[e,e]}}function vu(n){return YO(n)}function Xi(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n._vtc||(n._vtc=new Set)).add(e)}function Ar(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const{_vtc:t}=n;t&&(t.delete(e),t.size||(n._vtc=void 0))}function Ub(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let tI=0;function Fb(n,e,t,i){const r=n._endId=++tI,s=()=>{r===n._endId&&i()};if(t)return setTimeout(s,t);const{type:o,timeout:a,propCount:l}=gA(n,e);if(!o)return i();const c=o+"end";let d=0;const u=()=>{n.removeEventListener(c,_),s()},_=f=>{f.target===n&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},a+1),n.addEventListener(c,_)}function gA(n,e){const t=window.getComputedStyle(n),i=E=>(t[E]||"").split(", "),r=i(`${Er}Delay`),s=i(`${Er}Duration`),o=Bb(r,s),a=i(`${Aa}Delay`),l=i(`${Aa}Duration`),c=Bb(a,l);let d=null,u=0,_=0;e===Er?o>0&&(d=Er,u=o,_=s.length):e===Aa?c>0&&(d=Aa,u=c,_=l.length):(u=Math.max(o,c),d=u>0?o>c?Er:Aa:null,_=d?d===Er?s.length:l.length:0);const f=d===Er&&/\b(transform|all)(,|$)/.test(i(`${Er}Property`).toString());return{type:d,timeout:u,propCount:_,hasTransform:f}}function Bb(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((t,i)=>Gb(t)+Gb(n[i])))}function Gb(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function EA(){return document.body.offsetHeight}const bA=new WeakMap,SA=new WeakMap,yA={name:"TransitionGroup",props:Qt({},JM,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=Ig(),i=KR();let r,s;return Cg(()=>{if(!r.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!oI(r[0].el,t.vnode.el,o))return;r.forEach(iI),r.forEach(rI);const a=r.filter(sI);EA(),a.forEach(l=>{const c=l.el,d=c.style;Xi(c,o),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=_=>{_&&_.target!==c||(!_||/transform$/.test(_.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,Ar(c,o))};c.addEventListener("transitionend",u)})}),()=>{const o=Rt(n),a=mA(o);let l=o.tag||Xe;r=s,s=e.default?xg(e.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&ko(d,ul(d,a,i,t))}if(r)for(let c=0;c<r.length;c++){const d=r[c];ko(d,ul(d,a,i,t)),bA.set(d,d.el.getBoundingClientRect())}return De(l,null,s)}}},nI=n=>delete n.mode;yA.props;const tr=yA;function iI(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function rI(n){SA.set(n,n.el.getBoundingClientRect())}function sI(n){const e=bA.get(n),t=SA.get(n),i=e.left-t.left,r=e.top-t.top;if(i||r){const s=n.el.style;return s.transform=s.webkitTransform=`translate(${i}px,${r}px)`,s.transitionDuration="0s",n}}function oI(n,e,t){const i=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),t.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:s}=gA(i);return r.removeChild(i),s}const Kr=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Ze(e)?t=>Co(e,t):e};function aI(n){n.target.composing=!0}function zb(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const et={created(n,{modifiers:{lazy:e,trim:t,number:i}},r){n._assign=Kr(r);const s=i||r.props&&r.props.type==="number";er(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),s&&(a=Xc(a)),n._assign(a)}),t&&er(n,"change",()=>{n.value=n.value.trim()}),e||(er(n,"compositionstart",aI),er(n,"compositionend",zb),er(n,"change",zb))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:t,trim:i,number:r}},s){if(n._assign=Kr(s),n.composing||document.activeElement===n&&n.type!=="range"&&(t||i&&n.value.trim()===e||(r||n.type==="number")&&Xc(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},Ft={deep:!0,created(n,e,t){n._assign=Kr(t),er(n,"change",()=>{const i=n._modelValue,r=Fo(n),s=n.checked,o=n._assign;if(Ze(i)){const a=fg(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(sa(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o(vA(n,s))})},mounted:Hb,beforeUpdate(n,e,t){n._assign=Kr(t),Hb(n,e,t)}};function Hb(n,{value:e,oldValue:t},i){n._modelValue=e,Ze(e)?n.checked=fg(e,i.props.value)>-1:sa(e)?n.checked=e.has(i.props.value):e!==t&&(n.checked=Ms(e,vA(n,!0)))}const lI={created(n,{value:e},t){n.checked=Ms(e,t.props.value),n._assign=Kr(t),er(n,"change",()=>{n._assign(Fo(n))})},beforeUpdate(n,{value:e,oldValue:t},i){n._assign=Kr(i),e!==t&&(n.checked=Ms(e,i.props.value))}},Ci={deep:!0,created(n,{value:e,modifiers:{number:t}},i){const r=sa(e);er(n,"change",()=>{const s=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?Xc(Fo(o)):Fo(o));n._assign(n.multiple?r?new Set(s):s:s[0])}),n._assign=Kr(i)},mounted(n,{value:e}){Vb(n,e)},beforeUpdate(n,e,t){n._assign=Kr(t)},updated(n,{value:e}){Vb(n,e)}};function Vb(n,e){const t=n.multiple;if(!(t&&!Ze(e)&&!sa(e))){for(let i=0,r=n.options.length;i<r;i++){const s=n.options[i],o=Fo(s);if(t)Ze(e)?s.selected=fg(e,o)>-1:s.selected=e.has(o);else if(Ms(Fo(s),e)){n.selectedIndex!==i&&(n.selectedIndex=i);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Fo(n){return"_value"in n?n._value:n.value}function vA(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const cI=["ctrl","shift","alt","meta"],dI={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>cI.some(t=>n[`${t}Key`]&&!e.includes(t))},Ie=(n,e)=>(t,...i)=>{for(let r=0;r<e.length;r++){const s=dI[e[r]];if(s&&s(t,e))return}return n(t,...i)},uI={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Bo=(n,e)=>t=>{if(!("key"in t))return;const i=Bs(t.key);if(e.some(r=>r===i||uI[r]===i))return n(t)},Ot={beforeMount(n,{value:e},{transition:t}){n._vod=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):wa(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:i}){!e!=!t&&(i?e?(i.beforeEnter(n),wa(n,!0),i.enter(n)):i.leave(n,()=>{wa(n,!1)}):wa(n,e))},beforeUnmount(n,{value:e}){wa(n,e)}};function wa(n,e){n.style.display=e?n._vod:"none"}const _I=Qt({patchProp:XM},FM);let qb;function pI(){return qb||(qb=EM(_I))}const fI=(...n)=>{const e=pI().createApp(...n),{mount:t}=e;return e.mount=i=>{const r=hI(i);if(!r)return;const s=e._component;!ut(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const o=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function hI(n){return Kt(n)?document.querySelector(n):n}function mI(){return TA().__VUE_DEVTOOLS_GLOBAL_HOOK__}function TA(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const gI=typeof Proxy=="function",EI="devtools-plugin:setup",bI="plugin:settings:set";let js,xm;function SI(){var n;return js!==void 0||(typeof window<"u"&&window.performance?(js=!0,xm=window.performance):typeof global<"u"&&(!((n=global.perf_hooks)===null||n===void 0)&&n.performance)?(js=!0,xm=global.perf_hooks.performance):js=!1),js}function yI(){return SI()?xm.now():Date.now()}class vI{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const i={};if(e.settings)for(const o in e.settings){const a=e.settings[o];i[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let s=Object.assign({},i);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}s=o},now(){return yI()}},t&&t.on(bI,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,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(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function TI(n,e){const t=n,i=TA(),r=mI(),s=gI&&t.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))r.emit(EI,n,e);else{const o=s?new vI(t,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}/*!
+(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();function dg(n,e){const t=Object.create(null),i=n.split(",");for(let r=0;r<i.length;r++)t[i[r]]=!0;return e?r=>!!t[r.toLowerCase()]:r=>!!t[r]}const zt={},To=[],_i=()=>{},FO=()=>!1,BO=/^on[^a-z]/,Rd=n=>BO.test(n),ug=n=>n.startsWith("onUpdate:"),Qt=Object.assign,_g=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},GO=Object.prototype.hasOwnProperty,Ct=(n,e)=>GO.call(n,e),Ze=Array.isArray,xo=n=>oa(n)==="[object Map]",sa=n=>oa(n)==="[object Set]",sb=n=>oa(n)==="[object Date]",zO=n=>oa(n)==="[object RegExp]",_t=n=>typeof n=="function",Kt=n=>typeof n=="string",ol=n=>typeof n=="symbol",Pt=n=>n!==null&&typeof n=="object",hR=n=>Pt(n)&&_t(n.then)&&_t(n.catch),mR=Object.prototype.toString,oa=n=>mR.call(n),HO=n=>oa(n).slice(8,-1),gR=n=>oa(n)==="[object Object]",pg=n=>Kt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,kc=dg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ad=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},VO=/-(\w)/g,Mi=Ad(n=>n.replace(VO,(e,t)=>t?t.toUpperCase():"")),qO=/\B([A-Z])/g,Bs=Ad(n=>n.replace(qO,"-$1").toLowerCase()),wd=Ad(n=>n.charAt(0).toUpperCase()+n.slice(1)),fu=Ad(n=>n?`on${wd(n)}`:""),al=(n,e)=>!Object.is(n,e),Co=(n,e)=>{for(let t=0;t<n.length;t++)n[t](e)},Qc=(n,e,t)=>{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:t})},Xc=n=>{const e=parseFloat(n);return isNaN(e)?n:e},YO=n=>{const e=Kt(n)?Number(n):NaN;return isNaN(e)?n:e};let ob;const dm=()=>ob||(ob=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(n){if(Ze(n)){const e={};for(let t=0;t<n.length;t++){const i=n[t],r=Kt(i)?jO(i):Rn(i);if(r)for(const s in r)e[s]=r[s]}return e}else{if(Kt(n))return n;if(Pt(n))return n}}const $O=/;(?![^(]*\))/g,WO=/:([^]+)/,KO=/\/\*[^]*?\*\//g;function jO(n){const e={};return n.replace(KO,"").split($O).forEach(t=>{if(t){const i=t.split(WO);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ke(n){let e="";if(Kt(n))e=n;else if(Ze(n))for(let t=0;t<n.length;t++){const i=Ke(n[t]);i&&(e+=i+" ")}else if(Pt(n))for(const t in n)n[t]&&(e+=t+" ");return e.trim()}const QO="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XO=dg(QO);function ER(n){return!!n||n===""}function ZO(n,e){if(n.length!==e.length)return!1;let t=!0;for(let i=0;t&&i<n.length;i++)t=Ms(n[i],e[i]);return t}function Ms(n,e){if(n===e)return!0;let t=sb(n),i=sb(e);if(t||i)return t&&i?n.getTime()===e.getTime():!1;if(t=ol(n),i=ol(e),t||i)return n===e;if(t=Ze(n),i=Ze(e),t||i)return t&&i?ZO(n,e):!1;if(t=Pt(n),i=Pt(e),t||i){if(!t||!i)return!1;const r=Object.keys(n).length,s=Object.keys(e).length;if(r!==s)return!1;for(const o in n){const a=n.hasOwnProperty(o),l=e.hasOwnProperty(o);if(a&&!l||!a&&l||!Ms(n[o],e[o]))return!1}}return String(n)===String(e)}function fg(n,e){return n.findIndex(t=>Ms(t,e))}const ge=n=>Kt(n)?n:n==null?"":Ze(n)||Pt(n)&&(n.toString===mR||!_t(n.toString))?JSON.stringify(n,bR,2):String(n),bR=(n,e)=>e&&e.__v_isRef?bR(n,e.value):xo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[i,r])=>(t[`${i} =>`]=r,t),{})}:sa(e)?{[`Set(${e.size})`]:[...e.values()]}:Pt(e)&&!Ze(e)&&!gR(e)?String(e):e;let ai;class SR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ai,!e&&ai&&(this.index=(ai.scopes||(ai.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ai;try{return ai=this,e()}finally{ai=t}}}on(){ai=this}off(){ai=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function JO(n){return new SR(n)}function eN(n,e=ai){e&&e.active&&e.effects.push(n)}function tN(){return ai}const hg=n=>{const e=new Set(n);return e.w=0,e.n=0,e},yR=n=>(n.w&Wr)>0,vR=n=>(n.n&Wr)>0,nN=({deps:n})=>{if(n.length)for(let e=0;e<n.length;e++)n[e].w|=Wr},iN=n=>{const{deps:e}=n;if(e.length){let t=0;for(let i=0;i<e.length;i++){const r=e[i];yR(r)&&!vR(r)?r.delete(n):e[t++]=r,r.w&=~Wr,r.n&=~Wr}e.length=t}},um=new WeakMap;let Va=0,Wr=1;const _m=30;let di;const xs=Symbol(""),pm=Symbol("");class mg{constructor(e,t=null,i){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,eN(this,i)}run(){if(!this.active)return this.fn();let e=di,t=Gr;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=di,di=this,Gr=!0,Wr=1<<++Va,Va<=_m?nN(this):ab(this),this.fn()}finally{Va<=_m&&iN(this),Wr=1<<--Va,di=this.parent,Gr=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){di===this?this.deferStop=!0:this.active&&(ab(this),this.onStop&&this.onStop(),this.active=!1)}}function ab(n){const{deps:e}=n;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(n);e.length=0}}let Gr=!0;const TR=[];function aa(){TR.push(Gr),Gr=!1}function la(){const n=TR.pop();Gr=n===void 0?!0:n}function kn(n,e,t){if(Gr&&di){let i=um.get(n);i||um.set(n,i=new Map);let r=i.get(t);r||i.set(t,r=hg()),xR(r)}}function xR(n,e){let t=!1;Va<=_m?vR(n)||(n.n|=Wr,t=!yR(n)):t=!n.has(di),t&&(n.add(di),di.deps.push(n))}function ar(n,e,t,i,r,s){const o=um.get(n);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(t==="length"&&Ze(n)){const l=Number(i);o.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(t!==void 0&&a.push(o.get(t)),e){case"add":Ze(n)?pg(t)&&a.push(o.get("length")):(a.push(o.get(xs)),xo(n)&&a.push(o.get(pm)));break;case"delete":Ze(n)||(a.push(o.get(xs)),xo(n)&&a.push(o.get(pm)));break;case"set":xo(n)&&a.push(o.get(xs));break}if(a.length===1)a[0]&&fm(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);fm(hg(l))}}function fm(n,e){const t=Ze(n)?n:[...n];for(const i of t)i.computed&&lb(i);for(const i of t)i.computed||lb(i)}function lb(n,e){(n!==di||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const rN=dg("__proto__,__v_isRef,__isVue"),CR=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(ol)),sN=gg(),oN=gg(!1,!0),aN=gg(!0),cb=lN();function lN(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const i=Rt(this);for(let s=0,o=this.length;s<o;s++)kn(i,"get",s+"");const r=i[e](...t);return r===-1||r===!1?i[e](...t.map(Rt)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{n[e]=function(...t){aa();const i=Rt(this)[e].apply(this,t);return la(),i}}),n}function cN(n){const e=Rt(this);return kn(e,"has",n),e.hasOwnProperty(n)}function gg(n=!1,e=!1){return function(i,r,s){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&s===(n?e?CN:NR:e?OR:wR).get(i))return i;const o=Ze(i);if(!n){if(o&&Ct(cb,r))return Reflect.get(cb,r,s);if(r==="hasOwnProperty")return cN}const a=Reflect.get(i,r,s);return(ol(r)?CR.has(r):rN(r))||(n||kn(i,"get",r),e)?a:Sn(a)?o&&pg(r)?a:a.value:Pt(a)?n?IR(a):Rl(a):a}}const dN=RR(),uN=RR(!0);function RR(n=!1){return function(t,i,r,s){let o=t[i];if(Lo(o)&&Sn(o)&&!Sn(r))return!1;if(!n&&(!Zc(r)&&!Lo(r)&&(o=Rt(o),r=Rt(r)),!Ze(t)&&Sn(o)&&!Sn(r)))return o.value=r,!0;const a=Ze(t)&&pg(i)?Number(i)<t.length:Ct(t,i),l=Reflect.set(t,i,r,s);return t===Rt(s)&&(a?al(r,o)&&ar(t,"set",i,r):ar(t,"add",i,r)),l}}function _N(n,e){const t=Ct(n,e);n[e];const i=Reflect.deleteProperty(n,e);return i&&t&&ar(n,"delete",e,void 0),i}function pN(n,e){const t=Reflect.has(n,e);return(!ol(e)||!CR.has(e))&&kn(n,"has",e),t}function fN(n){return kn(n,"iterate",Ze(n)?"length":xs),Reflect.ownKeys(n)}const AR={get:sN,set:dN,deleteProperty:_N,has:pN,ownKeys:fN},hN={get:aN,set(n,e){return!0},deleteProperty(n,e){return!0}},mN=Qt({},AR,{get:oN,set:uN}),Eg=n=>n,Od=n=>Reflect.getPrototypeOf(n);function zl(n,e,t=!1,i=!1){n=n.__v_raw;const r=Rt(n),s=Rt(e);t||(e!==s&&kn(r,"get",e),kn(r,"get",s));const{has:o}=Od(r),a=i?Eg:t?yg:ll;if(o.call(r,e))return a(n.get(e));if(o.call(r,s))return a(n.get(s));n!==r&&n.get(e)}function Hl(n,e=!1){const t=this.__v_raw,i=Rt(t),r=Rt(n);return e||(n!==r&&kn(i,"has",n),kn(i,"has",r)),n===r?t.has(n):t.has(n)||t.has(r)}function Vl(n,e=!1){return n=n.__v_raw,!e&&kn(Rt(n),"iterate",xs),Reflect.get(n,"size",n)}function db(n){n=Rt(n);const e=Rt(this);return Od(e).has.call(e,n)||(e.add(n),ar(e,"add",n,n)),this}function ub(n,e){e=Rt(e);const t=Rt(this),{has:i,get:r}=Od(t);let s=i.call(t,n);s||(n=Rt(n),s=i.call(t,n));const o=r.call(t,n);return t.set(n,e),s?al(e,o)&&ar(t,"set",n,e):ar(t,"add",n,e),this}function _b(n){const e=Rt(this),{has:t,get:i}=Od(e);let r=t.call(e,n);r||(n=Rt(n),r=t.call(e,n)),i&&i.call(e,n);const s=e.delete(n);return r&&ar(e,"delete",n,void 0),s}function pb(){const n=Rt(this),e=n.size!==0,t=n.clear();return e&&ar(n,"clear",void 0,void 0),t}function ql(n,e){return function(i,r){const s=this,o=s.__v_raw,a=Rt(o),l=e?Eg:n?yg:ll;return!n&&kn(a,"iterate",xs),o.forEach((c,d)=>i.call(r,l(c),l(d),s))}}function Yl(n,e,t){return function(...i){const r=this.__v_raw,s=Rt(r),o=xo(s),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...i),d=t?Eg:e?yg:ll;return!e&&kn(s,"iterate",l?pm:xs),{next(){const{value:u,done:_}=c.next();return _?{value:u,done:_}:{value:a?[d(u[0]),d(u[1])]:d(u),done:_}},[Symbol.iterator](){return this}}}}function gr(n){return function(...e){return n==="delete"?!1:this}}function gN(){const n={get(s){return zl(this,s)},get size(){return Vl(this)},has:Hl,add:db,set:ub,delete:_b,clear:pb,forEach:ql(!1,!1)},e={get(s){return zl(this,s,!1,!0)},get size(){return Vl(this)},has:Hl,add:db,set:ub,delete:_b,clear:pb,forEach:ql(!1,!0)},t={get(s){return zl(this,s,!0)},get size(){return Vl(this,!0)},has(s){return Hl.call(this,s,!0)},add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear"),forEach:ql(!0,!1)},i={get(s){return zl(this,s,!0,!0)},get size(){return Vl(this,!0)},has(s){return Hl.call(this,s,!0)},add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear"),forEach:ql(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yl(s,!1,!1),t[s]=Yl(s,!0,!1),e[s]=Yl(s,!1,!0),i[s]=Yl(s,!0,!0)}),[n,t,e,i]}const[EN,bN,SN,yN]=gN();function bg(n,e){const t=e?n?yN:SN:n?bN:EN;return(i,r,s)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?i:Reflect.get(Ct(t,r)&&r in i?t:i,r,s)}const vN={get:bg(!1,!1)},TN={get:bg(!1,!0)},xN={get:bg(!0,!1)},wR=new WeakMap,OR=new WeakMap,NR=new WeakMap,CN=new WeakMap;function RN(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function AN(n){return n.__v_skip||!Object.isExtensible(n)?0:RN(HO(n))}function Rl(n){return Lo(n)?n:Sg(n,!1,AR,vN,wR)}function MR(n){return Sg(n,!1,mN,TN,OR)}function IR(n){return Sg(n,!0,hN,xN,NR)}function Sg(n,e,t,i,r){if(!Pt(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=r.get(n);if(s)return s;const o=AN(n);if(o===0)return n;const a=new Proxy(n,o===2?i:t);return r.set(n,a),a}function Ro(n){return Lo(n)?Ro(n.__v_raw):!!(n&&n.__v_isReactive)}function Lo(n){return!!(n&&n.__v_isReadonly)}function Zc(n){return!!(n&&n.__v_isShallow)}function DR(n){return Ro(n)||Lo(n)}function Rt(n){const e=n&&n.__v_raw;return e?Rt(e):n}function LR(n){return Qc(n,"__v_skip",!0),n}const ll=n=>Pt(n)?Rl(n):n,yg=n=>Pt(n)?IR(n):n;function kR(n){Gr&&di&&(n=Rt(n),xR(n.dep||(n.dep=hg())))}function PR(n,e){n=Rt(n);const t=n.dep;t&&fm(t)}function Sn(n){return!!(n&&n.__v_isRef===!0)}function UR(n){return FR(n,!1)}function wN(n){return FR(n,!0)}function FR(n,e){return Sn(n)?n:new ON(n,e)}class ON{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Rt(e),this._value=t?e:ll(e)}get value(){return kR(this),this._value}set value(e){const t=this.__v_isShallow||Zc(e)||Lo(e);e=t?e:Rt(e),al(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:ll(e),PR(this))}}function nn(n){return Sn(n)?n.value:n}const NN={get:(n,e,t)=>nn(Reflect.get(n,e,t)),set:(n,e,t,i)=>{const r=n[e];return Sn(r)&&!Sn(t)?(r.value=t,!0):Reflect.set(n,e,t,i)}};function BR(n){return Ro(n)?n:new Proxy(n,NN)}class MN{constructor(e,t,i,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new mg(e,()=>{this._dirty||(this._dirty=!0,PR(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=Rt(this);return kR(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function IN(n,e,t=!1){let i,r;const s=_t(n);return s?(i=n,r=_i):(i=n.get,r=n.set),new MN(i,r,s||!r,t)}function zr(n,e,t,i){let r;try{r=i?n(...i):n()}catch(s){Nd(s,e,t)}return r}function Qn(n,e,t,i){if(_t(n)){const s=zr(n,e,t,i);return s&&hR(s)&&s.catch(o=>{Nd(o,e,t)}),s}const r=[];for(let s=0;s<n.length;s++)r.push(Qn(n[s],e,t,i));return r}function Nd(n,e,t,i=!0){const r=e?e.vnode:null;if(e){let s=e.parent;const o=e.proxy,a=t;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](n,o,a)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){zr(l,null,10,[n,o,a]);return}}DN(n,t,r,i)}function DN(n,e,t,i=!0){console.error(n)}let cl=!1,hm=!1;const bn=[];let yi=0;const Ao=[];let Ji=null,hs=0;const GR=Promise.resolve();let vg=null;function Fe(n){const e=vg||GR;return n?e.then(this?n.bind(this):n):e}function LN(n){let e=yi+1,t=bn.length;for(;e<t;){const i=e+t>>>1;dl(bn[i])<n?e=i+1:t=i}return e}function Tg(n){(!bn.length||!bn.includes(n,cl&&n.allowRecurse?yi+1:yi))&&(n.id==null?bn.push(n):bn.splice(LN(n.id),0,n),zR())}function zR(){!cl&&!hm&&(hm=!0,vg=GR.then(VR))}function kN(n){const e=bn.indexOf(n);e>yi&&bn.splice(e,1)}function PN(n){Ze(n)?Ao.push(...n):(!Ji||!Ji.includes(n,n.allowRecurse?hs+1:hs))&&Ao.push(n),zR()}function fb(n,e=cl?yi+1:0){for(;e<bn.length;e++){const t=bn[e];t&&t.pre&&(bn.splice(e,1),e--,t())}}function HR(n){if(Ao.length){const e=[...new Set(Ao)];if(Ao.length=0,Ji){Ji.push(...e);return}for(Ji=e,Ji.sort((t,i)=>dl(t)-dl(i)),hs=0;hs<Ji.length;hs++)Ji[hs]();Ji=null,hs=0}}const dl=n=>n.id==null?1/0:n.id,UN=(n,e)=>{const t=dl(n)-dl(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function VR(n){hm=!1,cl=!0,bn.sort(UN);const e=_i;try{for(yi=0;yi<bn.length;yi++){const t=bn[yi];t&&t.active!==!1&&zr(t,null,14)}}finally{yi=0,bn.length=0,HR(),cl=!1,vg=null,(bn.length||Ao.length)&&VR()}}function FN(n,e,...t){if(n.isUnmounted)return;const i=n.vnode.props||zt;let r=t;const s=e.startsWith("update:"),o=s&&e.slice(7);if(o&&o in i){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:u,trim:_}=i[d]||zt;_&&(r=t.map(f=>Kt(f)?f.trim():f)),u&&(r=t.map(Xc))}let a,l=i[a=fu(e)]||i[a=fu(Mi(e))];!l&&s&&(l=i[a=fu(Bs(e))]),l&&Qn(l,n,6,r);const c=i[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Qn(c,n,6,r)}}function qR(n,e,t=!1){const i=e.emitsCache,r=i.get(n);if(r!==void 0)return r;const s=n.emits;let o={},a=!1;if(!_t(n)){const l=c=>{const d=qR(c,e,!0);d&&(a=!0,Qt(o,d))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!s&&!a?(Pt(n)&&i.set(n,null),null):(Ze(s)?s.forEach(l=>o[l]=null):Qt(o,s),Pt(n)&&i.set(n,o),o)}function Md(n,e){return!n||!Rd(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ct(n,e[0].toLowerCase()+e.slice(1))||Ct(n,Bs(e))||Ct(n,e))}let _n=null,Id=null;function Jc(n){const e=_n;return _n=n,Id=n&&n.type.__scopeId||null,e}function Gs(n){Id=n}function zs(){Id=null}function ot(n,e=_n,t){if(!e||n._n)return n;const i=(...r)=>{i._d&&Rb(-1);const s=Jc(e);let o;try{o=n(...r)}finally{Jc(s),i._d&&Rb(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function hu(n){const{type:e,vnode:t,proxy:i,withProxy:r,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:d,renderCache:u,data:_,setupState:f,ctx:E,inheritAttrs:b}=n;let g,h;const m=Jc(n);try{if(t.shapeFlag&4){const v=r||i;g=bi(d.call(v,v,u,s,f,_,E)),h=l}else{const v=e;g=bi(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),h=e.props?l:BN(l)}}catch(v){ja.length=0,Nd(v,n,1),g=De(Xn)}let S=g;if(h&&b!==!1){const v=Object.keys(h),{shapeFlag:T}=S;v.length&&T&7&&(o&&v.some(ug)&&(h=GN(h,o)),S=lr(S,h))}return t.dirs&&(S=lr(S),S.dirs=S.dirs?S.dirs.concat(t.dirs):t.dirs),t.transition&&(S.transition=t.transition),g=S,Jc(m),g}const BN=n=>{let e;for(const t in n)(t==="class"||t==="style"||Rd(t))&&((e||(e={}))[t]=n[t]);return e},GN=(n,e)=>{const t={};for(const i in n)(!ug(i)||!(i.slice(9)in e))&&(t[i]=n[i]);return t};function zN(n,e,t){const{props:i,children:r,component:s}=n,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?hb(i,o,c):!!o;if(l&8){const d=e.dynamicProps;for(let u=0;u<d.length;u++){const _=d[u];if(o[_]!==i[_]&&!Md(c,_))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:i===o?!1:i?o?hb(i,o,c):!0:!!o;return!1}function hb(n,e,t){const i=Object.keys(e);if(i.length!==Object.keys(n).length)return!0;for(let r=0;r<i.length;r++){const s=i[r];if(e[s]!==n[s]&&!Md(t,s))return!0}return!1}function HN({vnode:n,parent:e},t){for(;e&&e.subTree===n;)(n=e.vnode).el=t,e=e.parent}const YR=n=>n.__isSuspense;function VN(n,e){e&&e.pendingBranch?Ze(n)?e.effects.push(...n):e.effects.push(n):PN(n)}const $l={};function Hr(n,e,t){return $R(n,e,t)}function $R(n,e,{immediate:t,deep:i,flush:r,onTrack:s,onTrigger:o}=zt){var a;const l=tN()===((a=cn)==null?void 0:a.scope)?cn:null;let c,d=!1,u=!1;if(Sn(n)?(c=()=>n.value,d=Zc(n)):Ro(n)?(c=()=>n,i=!0):Ze(n)?(u=!0,d=n.some(v=>Ro(v)||Zc(v)),c=()=>n.map(v=>{if(Sn(v))return v.value;if(Ro(v))return ys(v);if(_t(v))return zr(v,l,2)})):_t(n)?e?c=()=>zr(n,l,2):c=()=>{if(!(l&&l.isUnmounted))return _&&_(),Qn(n,l,3,[f])}:c=_i,e&&i){const v=c;c=()=>ys(v())}let _,f=v=>{_=m.onStop=()=>{zr(v,l,4)}},E;if(fl)if(f=_i,e?t&&Qn(e,l,3,[c(),u?[]:void 0,f]):c(),r==="sync"){const v=kM();E=v.__watcherHandles||(v.__watcherHandles=[])}else return _i;let b=u?new Array(n.length).fill($l):$l;const g=()=>{if(m.active)if(e){const v=m.run();(i||d||(u?v.some((T,C)=>al(T,b[C])):al(v,b)))&&(_&&_(),Qn(e,l,3,[v,b===$l?void 0:u&&b[0]===$l?[]:b,f]),b=v)}else m.run()};g.allowRecurse=!!e;let h;r==="sync"?h=g:r==="post"?h=()=>un(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),h=()=>Tg(g));const m=new mg(c,h);e?t?g():b=m.run():r==="post"?un(m.run.bind(m),l&&l.suspense):m.run();const S=()=>{m.stop(),l&&l.scope&&_g(l.scope.effects,m)};return E&&E.push(S),S}function qN(n,e,t){const i=this.proxy,r=Kt(n)?n.includes(".")?WR(i,n):()=>i[n]:n.bind(i,i);let s;_t(e)?s=e:(s=e.handler,t=e);const o=cn;Po(this);const a=$R(r,s.bind(i),t);return o?Po(o):Cs(),a}function WR(n,e){const t=e.split(".");return()=>{let i=n;for(let r=0;r<t.length&&i;r++)i=i[t[r]];return i}}function ys(n,e){if(!Pt(n)||n.__v_skip||(e=e||new Set,e.has(n)))return n;if(e.add(n),Sn(n))ys(n.value,e);else if(Ze(n))for(let t=0;t<n.length;t++)ys(n[t],e);else if(sa(n)||xo(n))n.forEach(t=>{ys(t,e)});else if(gR(n))for(const t in n)ys(n[t],e);return n}function we(n,e){const t=_n;if(t===null)return n;const i=Ud(t)||t.proxy,r=n.dirs||(n.dirs=[]);for(let s=0;s<e.length;s++){let[o,a,l,c=zt]=e[s];o&&(_t(o)&&(o={mounted:o,updated:o}),o.deep&&ys(a),r.push({dir:o,instance:i,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function is(n,e,t,i){const r=n.dirs,s=e&&e.dirs;for(let o=0;o<r.length;o++){const a=r[o];s&&(a.oldValue=s[o].value);let l=a.dir[i];l&&(aa(),Qn(l,t,8,[n.el,a,n,e]),la())}}function KR(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Al(()=>{n.isMounted=!0}),Rg(()=>{n.isUnmounting=!0}),n}const zn=[Function,Array],jR={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},YN={name:"BaseTransition",props:jR,setup(n,{slots:e}){const t=Ig(),i=KR();let r;return()=>{const s=e.default&&xg(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const b of s)if(b.type!==Xn){o=b;break}}const a=Rt(n),{mode:l}=a;if(i.isLeaving)return mu(o);const c=mb(o);if(!c)return mu(o);const d=ul(c,a,i,t);ko(c,d);const u=t.subTree,_=u&&mb(u);let f=!1;const{getTransitionKey:E}=c.type;if(E){const b=E();r===void 0?r=b:b!==r&&(r=b,f=!0)}if(_&&_.type!==Xn&&(!Pr(c,_)||f)){const b=ul(_,a,i,t);if(ko(_,b),l==="out-in")return i.isLeaving=!0,b.afterLeave=()=>{i.isLeaving=!1,t.update.active!==!1&&t.update()},mu(o);l==="in-out"&&c.type!==Xn&&(b.delayLeave=(g,h,m)=>{const S=QR(i,_);S[String(_.key)]=_,g._leaveCb=()=>{h(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=m})}return o}}},$N=YN;function QR(n,e){const{leavingVNodes:t}=n;let i=t.get(e.type);return i||(i=Object.create(null),t.set(e.type,i)),i}function ul(n,e,t,i){const{appear:r,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:_,onAfterLeave:f,onLeaveCancelled:E,onBeforeAppear:b,onAppear:g,onAfterAppear:h,onAppearCancelled:m}=e,S=String(n.key),v=QR(t,n),T=(x,y)=>{x&&Qn(x,i,9,y)},C=(x,y)=>{const R=y[1];T(x,y),Ze(x)?x.every(P=>P.length<=1)&&R():x.length<=1&&R()},N={mode:s,persisted:o,beforeEnter(x){let y=a;if(!t.isMounted)if(r)y=b||a;else return;x._leaveCb&&x._leaveCb(!0);const R=v[S];R&&Pr(n,R)&&R.el._leaveCb&&R.el._leaveCb(),T(y,[x])},enter(x){let y=l,R=c,P=d;if(!t.isMounted)if(r)y=g||l,R=h||c,P=m||d;else return;let k=!1;const W=x._enterCb=M=>{k||(k=!0,M?T(P,[x]):T(R,[x]),N.delayedLeave&&N.delayedLeave(),x._enterCb=void 0)};y?C(y,[x,W]):W()},leave(x,y){const R=String(n.key);if(x._enterCb&&x._enterCb(!0),t.isUnmounting)return y();T(u,[x]);let P=!1;const k=x._leaveCb=W=>{P||(P=!0,y(),W?T(E,[x]):T(f,[x]),x._leaveCb=void 0,v[R]===n&&delete v[R])};v[R]=n,_?C(_,[x,k]):k()},clone(x){return ul(x,e,t,i)}};return N}function mu(n){if(Dd(n))return n=lr(n),n.children=null,n}function mb(n){return Dd(n)?n.children?n.children[0]:void 0:n}function ko(n,e){n.shapeFlag&6&&n.component?ko(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function xg(n,e=!1,t){let i=[],r=0;for(let s=0;s<n.length;s++){let o=n[s];const a=t==null?o.key:String(t)+String(o.key!=null?o.key:s);o.type===Xe?(o.patchFlag&128&&r++,i=i.concat(xg(o.children,e,a))):(e||o.type!==Xn)&&i.push(a!=null?lr(o,{key:a}):o)}if(r>1)for(let s=0;s<i.length;s++)i[s].patchFlag=-2;return i}function XR(n,e){return _t(n)?(()=>Qt({name:n.name},e,{setup:n}))():n}const wo=n=>!!n.type.__asyncLoader,Dd=n=>n.type.__isKeepAlive,WN={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const t=Ig(),i=t.ctx;if(!i.renderer)return()=>{const m=e.default&&e.default();return m&&m.length===1?m[0]:m};const r=new Map,s=new Set;let o=null;const a=t.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=i,_=u("div");i.activate=(m,S,v,T,C)=>{const N=m.component;c(m,S,v,0,a),l(N.vnode,m,S,v,N,a,T,m.slotScopeIds,C),un(()=>{N.isDeactivated=!1,N.a&&Co(N.a);const x=m.props&&m.props.onVnodeMounted;x&&Vn(x,N.parent,m)},a)},i.deactivate=m=>{const S=m.component;c(m,_,null,1,a),un(()=>{S.da&&Co(S.da);const v=m.props&&m.props.onVnodeUnmounted;v&&Vn(v,S.parent,m),S.isDeactivated=!0},a)};function f(m){gu(m),d(m,t,a,!0)}function E(m){r.forEach((S,v)=>{const T=vm(S.type);T&&(!m||!m(T))&&b(v)})}function b(m){const S=r.get(m);!o||!Pr(S,o)?f(S):o&&gu(o),r.delete(m),s.delete(m)}Hr(()=>[n.include,n.exclude],([m,S])=>{m&&E(v=>qa(m,v)),S&&E(v=>!qa(S,v))},{flush:"post",deep:!0});let g=null;const h=()=>{g!=null&&r.set(g,Eu(t.subTree))};return Al(h),Cg(h),Rg(()=>{r.forEach(m=>{const{subTree:S,suspense:v}=t,T=Eu(S);if(m.type===T.type&&m.key===T.key){gu(T);const C=T.component.da;C&&un(C,v);return}f(m)})}),()=>{if(g=null,!e.default)return null;const m=e.default(),S=m[0];if(m.length>1)return o=null,m;if(!pl(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let v=Eu(S);const T=v.type,C=vm(wo(v)?v.type.__asyncResolved||{}:T),{include:N,exclude:x,max:y}=n;if(N&&(!C||!qa(N,C))||x&&C&&qa(x,C))return o=v,S;const R=v.key==null?T:v.key,P=r.get(R);return v.el&&(v=lr(v),S.shapeFlag&128&&(S.ssContent=v)),g=R,P?(v.el=P.el,v.component=P.component,v.transition&&ko(v,v.transition),v.shapeFlag|=512,s.delete(R),s.add(R)):(s.add(R),y&&s.size>parseInt(y,10)&&b(s.values().next().value)),v.shapeFlag|=256,o=v,YR(S.type)?S:v}}},KN=WN;function qa(n,e){return Ze(n)?n.some(t=>qa(t,e)):Kt(n)?n.split(",").includes(e):zO(n)?n.test(e):!1}function jN(n,e){ZR(n,"a",e)}function QN(n,e){ZR(n,"da",e)}function ZR(n,e,t=cn){const i=n.__wdc||(n.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(Ld(e,i,t),t){let r=t.parent;for(;r&&r.parent;)Dd(r.parent.vnode)&&XN(i,e,t,r),r=r.parent}}function XN(n,e,t,i){const r=Ld(e,n,i,!0);JR(()=>{_g(i[e],r)},t)}function gu(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function Eu(n){return n.shapeFlag&128?n.ssContent:n}function Ld(n,e,t=cn,i=!1){if(t){const r=t[n]||(t[n]=[]),s=e.__weh||(e.__weh=(...o)=>{if(t.isUnmounted)return;aa(),Po(t);const a=Qn(e,t,n,o);return Cs(),la(),a});return i?r.unshift(s):r.push(s),s}}const ur=n=>(e,t=cn)=>(!fl||n==="sp")&&Ld(n,(...i)=>e(...i),t),ZN=ur("bm"),Al=ur("m"),JN=ur("bu"),Cg=ur("u"),Rg=ur("bum"),JR=ur("um"),eM=ur("sp"),tM=ur("rtg"),nM=ur("rtc");function iM(n,e=cn){Ld("ec",n,e)}const Ag="components";function ut(n,e){return tA(Ag,n,!0,e)||n}const eA=Symbol.for("v-ndc");function rM(n){return Kt(n)?tA(Ag,n,!1)||n:n||eA}function tA(n,e,t=!0,i=!1){const r=_n||cn;if(r){const s=r.type;if(n===Ag){const a=vm(s,!1);if(a&&(a===e||a===Mi(e)||a===wd(Mi(e))))return s}const o=gb(r[n]||s[n],e)||gb(r.appContext[n],e);return!o&&i?s:o}}function gb(n,e){return n&&(n[e]||n[Mi(e)]||n[wd(Mi(e))])}function St(n,e,t,i){let r;const s=t&&t[i];if(Ze(n)||Kt(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=e(n[o],o,void 0,s&&s[o])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=e(o+1,o,void 0,s&&s[o])}else if(Pt(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>e(o,a,void 0,s&&s[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=e(n[c],c,a,s&&s[a])}}else r=[];return t&&(t[i]=r),r}function mm(n,e,t={},i,r){if(_n.isCE||_n.parent&&wo(_n.parent)&&_n.parent.isCE)return e!=="default"&&(t.name=e),De("slot",t,i&&i());let s=n[e];s&&s._c&&(s._d=!1),D();const o=s&&nA(s(t)),a=jt(Xe,{key:t.key||o&&o.key||`_${e}`},o||(i?i():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function nA(n){return n.some(e=>pl(e)?!(e.type===Xn||e.type===Xe&&!nA(e.children)):!0)?n:null}const gm=n=>n?pA(n)?Ud(n)||n.proxy:gm(n.parent):null,Ka=Qt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>gm(n.parent),$root:n=>gm(n.root),$emit:n=>n.emit,$options:n=>wg(n),$forceUpdate:n=>n.f||(n.f=()=>Tg(n.update)),$nextTick:n=>n.n||(n.n=Fe.bind(n.proxy)),$watch:n=>qN.bind(n)}),bu=(n,e)=>n!==zt&&!n.__isScriptSetup&&Ct(n,e),sM={get({_:n},e){const{ctx:t,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=n;let c;if(e[0]!=="$"){const f=o[e];if(f!==void 0)switch(f){case 1:return i[e];case 2:return r[e];case 4:return t[e];case 3:return s[e]}else{if(bu(i,e))return o[e]=1,i[e];if(r!==zt&&Ct(r,e))return o[e]=2,r[e];if((c=n.propsOptions[0])&&Ct(c,e))return o[e]=3,s[e];if(t!==zt&&Ct(t,e))return o[e]=4,t[e];Em&&(o[e]=0)}}const d=Ka[e];let u,_;if(d)return e==="$attrs"&&kn(n,"get",e),d(n);if((u=a.__cssModules)&&(u=u[e]))return u;if(t!==zt&&Ct(t,e))return o[e]=4,t[e];if(_=l.config.globalProperties,Ct(_,e))return _[e]},set({_:n},e,t){const{data:i,setupState:r,ctx:s}=n;return bu(r,e)?(r[e]=t,!0):i!==zt&&Ct(i,e)?(i[e]=t,!0):Ct(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!t[o]||n!==zt&&Ct(n,o)||bu(e,o)||(a=s[0])&&Ct(a,o)||Ct(i,o)||Ct(Ka,o)||Ct(r.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:Ct(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function Eb(n){return Ze(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}let Em=!0;function oM(n){const e=wg(n),t=n.proxy,i=n.ctx;Em=!1,e.beforeCreate&&bb(e.beforeCreate,n,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:_,beforeUpdate:f,updated:E,activated:b,deactivated:g,beforeDestroy:h,beforeUnmount:m,destroyed:S,unmounted:v,render:T,renderTracked:C,renderTriggered:N,errorCaptured:x,serverPrefetch:y,expose:R,inheritAttrs:P,components:k,directives:W,filters:M}=e;if(c&&aM(c,i,null),o)for(const I in o){const Y=o[I];_t(Y)&&(i[I]=Y.bind(t))}if(r){const I=r.call(t,t);Pt(I)&&(n.data=Rl(I))}if(Em=!0,s)for(const I in s){const Y=s[I],K=_t(Y)?Y.bind(t,t):_t(Y.get)?Y.get.bind(t,t):_i,q=!_t(Y)&&_t(Y.set)?Y.set.bind(t):_i,le=$n({get:K,set:q});Object.defineProperty(i,I,{enumerable:!0,configurable:!0,get:()=>le.value,set:X=>le.value=X})}if(a)for(const I in a)iA(a[I],i,t,I);if(l){const I=_t(l)?l.call(t):l;Reflect.ownKeys(I).forEach(Y=>{Pc(Y,I[Y])})}d&&bb(d,n,"c");function z(I,Y){Ze(Y)?Y.forEach(K=>I(K.bind(t))):Y&&I(Y.bind(t))}if(z(ZN,u),z(Al,_),z(JN,f),z(Cg,E),z(jN,b),z(QN,g),z(iM,x),z(nM,C),z(tM,N),z(Rg,m),z(JR,v),z(eM,y),Ze(R))if(R.length){const I=n.exposed||(n.exposed={});R.forEach(Y=>{Object.defineProperty(I,Y,{get:()=>t[Y],set:K=>t[Y]=K})})}else n.exposed||(n.exposed={});T&&n.render===_i&&(n.render=T),P!=null&&(n.inheritAttrs=P),k&&(n.components=k),W&&(n.directives=W)}function aM(n,e,t=_i){Ze(n)&&(n=bm(n));for(const i in n){const r=n[i];let s;Pt(r)?"default"in r?s=rr(r.from||i,r.default,!0):s=rr(r.from||i):s=rr(r),Sn(s)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[i]=s}}function bb(n,e,t){Qn(Ze(n)?n.map(i=>i.bind(e.proxy)):n.bind(e.proxy),e,t)}function iA(n,e,t,i){const r=i.includes(".")?WR(t,i):()=>t[i];if(Kt(n)){const s=e[n];_t(s)&&Hr(r,s)}else if(_t(n))Hr(r,n.bind(t));else if(Pt(n))if(Ze(n))n.forEach(s=>iA(s,e,t,i));else{const s=_t(n.handler)?n.handler.bind(t):e[n.handler];_t(s)&&Hr(r,s,n)}}function wg(n){const e=n.type,{mixins:t,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=n.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!t&&!i?l=e:(l={},r.length&&r.forEach(c=>ed(l,c,o,!0)),ed(l,e,o)),Pt(e)&&s.set(e,l),l}function ed(n,e,t,i=!1){const{mixins:r,extends:s}=e;s&&ed(n,s,t,!0),r&&r.forEach(o=>ed(n,o,t,!0));for(const o in e)if(!(i&&o==="expose")){const a=lM[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const lM={data:Sb,props:yb,emits:yb,methods:Ya,computed:Ya,beforeCreate:Tn,created:Tn,beforeMount:Tn,mounted:Tn,beforeUpdate:Tn,updated:Tn,beforeDestroy:Tn,beforeUnmount:Tn,destroyed:Tn,unmounted:Tn,activated:Tn,deactivated:Tn,errorCaptured:Tn,serverPrefetch:Tn,components:Ya,directives:Ya,watch:dM,provide:Sb,inject:cM};function Sb(n,e){return e?n?function(){return Qt(_t(n)?n.call(this,this):n,_t(e)?e.call(this,this):e)}:e:n}function cM(n,e){return Ya(bm(n),bm(e))}function bm(n){if(Ze(n)){const e={};for(let t=0;t<n.length;t++)e[n[t]]=n[t];return e}return n}function Tn(n,e){return n?[...new Set([].concat(n,e))]:e}function Ya(n,e){return n?Qt(Object.create(null),n,e):e}function yb(n,e){return n?Ze(n)&&Ze(e)?[...new Set([...n,...e])]:Qt(Object.create(null),Eb(n),Eb(e??{})):e}function dM(n,e){if(!n)return e;if(!e)return n;const t=Qt(Object.create(null),n);for(const i in e)t[i]=Tn(n[i],e[i]);return t}function rA(){return{app:null,config:{isNativeTag:FO,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 uM=0;function _M(n,e){return function(i,r=null){_t(i)||(i=Qt({},i)),r!=null&&!Pt(r)&&(r=null);const s=rA(),o=new Set;let a=!1;const l=s.app={_uid:uM++,_component:i,_props:r,_container:null,_context:s,_instance:null,version:PM,get config(){return s.config},set config(c){},use(c,...d){return o.has(c)||(c&&_t(c.install)?(o.add(c),c.install(l,...d)):_t(c)&&(o.add(c),c(l,...d))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,d){return d?(s.components[c]=d,l):s.components[c]},directive(c,d){return d?(s.directives[c]=d,l):s.directives[c]},mount(c,d,u){if(!a){const _=De(i,r);return _.appContext=s,d&&e?e(_,c):n(_,c,u),a=!0,l._container=c,c.__vue_app__=l,Ud(_.component)||_.component.proxy}},unmount(){a&&(n(null,l._container),delete l._container.__vue_app__)},provide(c,d){return s.provides[c]=d,l},runWithContext(c){td=l;try{return c()}finally{td=null}}};return l}}let td=null;function Pc(n,e){if(cn){let t=cn.provides;const i=cn.parent&&cn.parent.provides;i===t&&(t=cn.provides=Object.create(i)),t[n]=e}}function rr(n,e,t=!1){const i=cn||_n;if(i||td){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:td._context.provides;if(r&&n in r)return r[n];if(arguments.length>1)return t&&_t(e)?e.call(i&&i.proxy):e}}function pM(n,e,t,i=!1){const r={},s={};Qc(s,Pd,1),n.propsDefaults=Object.create(null),sA(n,e,r,s);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);t?n.props=i?r:MR(r):n.type.props?n.props=r:n.props=s,n.attrs=s}function fM(n,e,t,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=n,a=Rt(r),[l]=n.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const d=n.vnode.dynamicProps;for(let u=0;u<d.length;u++){let _=d[u];if(Md(n.emitsOptions,_))continue;const f=e[_];if(l)if(Ct(s,_))f!==s[_]&&(s[_]=f,c=!0);else{const E=Mi(_);r[E]=Sm(l,a,E,f,n,!1)}else f!==s[_]&&(s[_]=f,c=!0)}}}else{sA(n,e,r,s)&&(c=!0);let d;for(const u in a)(!e||!Ct(e,u)&&((d=Bs(u))===u||!Ct(e,d)))&&(l?t&&(t[u]!==void 0||t[d]!==void 0)&&(r[u]=Sm(l,a,u,void 0,n,!0)):delete r[u]);if(s!==a)for(const u in s)(!e||!Ct(e,u))&&(delete s[u],c=!0)}c&&ar(n,"set","$attrs")}function sA(n,e,t,i){const[r,s]=n.propsOptions;let o=!1,a;if(e)for(let l in e){if(kc(l))continue;const c=e[l];let d;r&&Ct(r,d=Mi(l))?!s||!s.includes(d)?t[d]=c:(a||(a={}))[d]=c:Md(n.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,o=!0)}if(s){const l=Rt(t),c=a||zt;for(let d=0;d<s.length;d++){const u=s[d];t[u]=Sm(r,l,u,c[u],n,!Ct(c,u))}}return o}function Sm(n,e,t,i,r,s){const o=n[t];if(o!=null){const a=Ct(o,"default");if(a&&i===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&_t(l)){const{propsDefaults:c}=r;t in c?i=c[t]:(Po(r),i=c[t]=l.call(null,e),Cs())}else i=l}o[0]&&(s&&!a?i=!1:o[1]&&(i===""||i===Bs(t))&&(i=!0))}return i}function oA(n,e,t=!1){const i=e.propsCache,r=i.get(n);if(r)return r;const s=n.props,o={},a=[];let l=!1;if(!_t(n)){const d=u=>{l=!0;const[_,f]=oA(u,e,!0);Qt(o,_),f&&a.push(...f)};!t&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}if(!s&&!l)return Pt(n)&&i.set(n,To),To;if(Ze(s))for(let d=0;d<s.length;d++){const u=Mi(s[d]);vb(u)&&(o[u]=zt)}else if(s)for(const d in s){const u=Mi(d);if(vb(u)){const _=s[d],f=o[u]=Ze(_)||_t(_)?{type:_}:Qt({},_);if(f){const E=Cb(Boolean,f.type),b=Cb(String,f.type);f[0]=E>-1,f[1]=b<0||E<b,(E>-1||Ct(f,"default"))&&a.push(u)}}}const c=[o,a];return Pt(n)&&i.set(n,c),c}function vb(n){return n[0]!=="$"}function Tb(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function xb(n,e){return Tb(n)===Tb(e)}function Cb(n,e){return Ze(e)?e.findIndex(t=>xb(t,n)):_t(e)&&xb(e,n)?0:-1}const aA=n=>n[0]==="_"||n==="$stable",Og=n=>Ze(n)?n.map(bi):[bi(n)],hM=(n,e,t)=>{if(e._n)return e;const i=ot((...r)=>Og(e(...r)),t);return i._c=!1,i},lA=(n,e,t)=>{const i=n._ctx;for(const r in n){if(aA(r))continue;const s=n[r];if(_t(s))e[r]=hM(r,s,i);else if(s!=null){const o=Og(s);e[r]=()=>o}}},cA=(n,e)=>{const t=Og(e);n.slots.default=()=>t},mM=(n,e)=>{if(n.vnode.shapeFlag&32){const t=e._;t?(n.slots=Rt(e),Qc(e,"_",t)):lA(e,n.slots={})}else n.slots={},e&&cA(n,e);Qc(n.slots,Pd,1)},gM=(n,e,t)=>{const{vnode:i,slots:r}=n;let s=!0,o=zt;if(i.shapeFlag&32){const a=e._;a?t&&a===1?s=!1:(Qt(r,e),!t&&a===1&&delete r._):(s=!e.$stable,lA(e,r)),o=e}else e&&(cA(n,e),o={default:1});if(s)for(const a in r)!aA(a)&&!(a in o)&&delete r[a]};function ym(n,e,t,i,r=!1){if(Ze(n)){n.forEach((_,f)=>ym(_,e&&(Ze(e)?e[f]:e),t,i,r));return}if(wo(i)&&!r)return;const s=i.shapeFlag&4?Ud(i.component)||i.component.proxy:i.el,o=r?null:s,{i:a,r:l}=n,c=e&&e.r,d=a.refs===zt?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Kt(c)?(d[c]=null,Ct(u,c)&&(u[c]=null)):Sn(c)&&(c.value=null)),_t(l))zr(l,a,12,[o,d]);else{const _=Kt(l),f=Sn(l);if(_||f){const E=()=>{if(n.f){const b=_?Ct(u,l)?u[l]:d[l]:l.value;r?Ze(b)&&_g(b,s):Ze(b)?b.includes(s)||b.push(s):_?(d[l]=[s],Ct(u,l)&&(u[l]=d[l])):(l.value=[s],n.k&&(d[n.k]=l.value))}else _?(d[l]=o,Ct(u,l)&&(u[l]=o)):f&&(l.value=o,n.k&&(d[n.k]=o))};o?(E.id=-1,un(E,t)):E()}}}const un=VN;function EM(n){return bM(n)}function bM(n,e){const t=dm();t.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:_,setScopeId:f=_i,insertStaticContent:E}=n,b=(O,F,V,re=null,ee=null,be=null,xe=!1,B=null,ae=!!F.dynamicChildren)=>{if(O===F)return;O&&!Pr(O,F)&&(re=j(O),X(O,ee,be,!0),O=null),F.patchFlag===-2&&(ae=!1,F.dynamicChildren=null);const{type:te,ref:ie,shapeFlag:w}=F;switch(te){case kd:g(O,F,V,re);break;case Xn:h(O,F,V,re);break;case Uc:O==null&&m(F,V,re,xe);break;case Xe:k(O,F,V,re,ee,be,xe,B,ae);break;default:w&1?T(O,F,V,re,ee,be,xe,B,ae):w&6?W(O,F,V,re,ee,be,xe,B,ae):(w&64||w&128)&&te.process(O,F,V,re,ee,be,xe,B,ae,Q)}ie!=null&&ee&&ym(ie,O&&O.ref,be,F||O,!F)},g=(O,F,V,re)=>{if(O==null)i(F.el=a(F.children),V,re);else{const ee=F.el=O.el;F.children!==O.children&&c(ee,F.children)}},h=(O,F,V,re)=>{O==null?i(F.el=l(F.children||""),V,re):F.el=O.el},m=(O,F,V,re)=>{[O.el,O.anchor]=E(O.children,F,V,re,O.el,O.anchor)},S=({el:O,anchor:F},V,re)=>{let ee;for(;O&&O!==F;)ee=_(O),i(O,V,re),O=ee;i(F,V,re)},v=({el:O,anchor:F})=>{let V;for(;O&&O!==F;)V=_(O),r(O),O=V;r(F)},T=(O,F,V,re,ee,be,xe,B,ae)=>{xe=xe||F.type==="svg",O==null?C(F,V,re,ee,be,xe,B,ae):y(O,F,ee,be,xe,B,ae)},C=(O,F,V,re,ee,be,xe,B)=>{let ae,te;const{type:ie,props:w,shapeFlag:A,transition:G,dirs:ce}=O;if(ae=O.el=o(O.type,be,w&&w.is,w),A&8?d(ae,O.children):A&16&&x(O.children,ae,null,re,ee,be&&ie!=="foreignObject",xe,B),ce&&is(O,null,re,"created"),N(ae,O,O.scopeId,xe,re),w){for(const J in w)J!=="value"&&!kc(J)&&s(ae,J,null,w[J],be,O.children,re,ee,ye);"value"in w&&s(ae,"value",null,w.value),(te=w.onVnodeBeforeMount)&&Vn(te,re,O)}ce&&is(O,null,re,"beforeMount");const $=(!ee||ee&&!ee.pendingBranch)&&G&&!G.persisted;$&&G.beforeEnter(ae),i(ae,F,V),((te=w&&w.onVnodeMounted)||$||ce)&&un(()=>{te&&Vn(te,re,O),$&&G.enter(ae),ce&&is(O,null,re,"mounted")},ee)},N=(O,F,V,re,ee)=>{if(V&&f(O,V),re)for(let be=0;be<re.length;be++)f(O,re[be]);if(ee){let be=ee.subTree;if(F===be){const xe=ee.vnode;N(O,xe,xe.scopeId,xe.slotScopeIds,ee.parent)}}},x=(O,F,V,re,ee,be,xe,B,ae=0)=>{for(let te=ae;te<O.length;te++){const ie=O[te]=B?wr(O[te]):bi(O[te]);b(null,ie,F,V,re,ee,be,xe,B)}},y=(O,F,V,re,ee,be,xe)=>{const B=F.el=O.el;let{patchFlag:ae,dynamicChildren:te,dirs:ie}=F;ae|=O.patchFlag&16;const w=O.props||zt,A=F.props||zt;let G;V&&rs(V,!1),(G=A.onVnodeBeforeUpdate)&&Vn(G,V,F,O),ie&&is(F,O,V,"beforeUpdate"),V&&rs(V,!0);const ce=ee&&F.type!=="foreignObject";if(te?R(O.dynamicChildren,te,B,V,re,ce,be):xe||Y(O,F,B,null,V,re,ce,be,!1),ae>0){if(ae&16)P(B,F,w,A,V,re,ee);else if(ae&2&&w.class!==A.class&&s(B,"class",null,A.class,ee),ae&4&&s(B,"style",w.style,A.style,ee),ae&8){const $=F.dynamicProps;for(let J=0;J<$.length;J++){const ve=$[J],Ee=w[ve],Me=A[ve];(Me!==Ee||ve==="value")&&s(B,ve,Ee,Me,ee,O.children,V,re,ye)}}ae&1&&O.children!==F.children&&d(B,F.children)}else!xe&&te==null&&P(B,F,w,A,V,re,ee);((G=A.onVnodeUpdated)||ie)&&un(()=>{G&&Vn(G,V,F,O),ie&&is(F,O,V,"updated")},re)},R=(O,F,V,re,ee,be,xe)=>{for(let B=0;B<F.length;B++){const ae=O[B],te=F[B],ie=ae.el&&(ae.type===Xe||!Pr(ae,te)||ae.shapeFlag&70)?u(ae.el):V;b(ae,te,ie,null,re,ee,be,xe,!0)}},P=(O,F,V,re,ee,be,xe)=>{if(V!==re){if(V!==zt)for(const B in V)!kc(B)&&!(B in re)&&s(O,B,V[B],null,xe,F.children,ee,be,ye);for(const B in re){if(kc(B))continue;const ae=re[B],te=V[B];ae!==te&&B!=="value"&&s(O,B,te,ae,xe,F.children,ee,be,ye)}"value"in re&&s(O,"value",V.value,re.value)}},k=(O,F,V,re,ee,be,xe,B,ae)=>{const te=F.el=O?O.el:a(""),ie=F.anchor=O?O.anchor:a("");let{patchFlag:w,dynamicChildren:A,slotScopeIds:G}=F;G&&(B=B?B.concat(G):G),O==null?(i(te,V,re),i(ie,V,re),x(F.children,V,ie,ee,be,xe,B,ae)):w>0&&w&64&&A&&O.dynamicChildren?(R(O.dynamicChildren,A,V,ee,be,xe,B),(F.key!=null||ee&&F===ee.subTree)&&dA(O,F,!0)):Y(O,F,V,ie,ee,be,xe,B,ae)},W=(O,F,V,re,ee,be,xe,B,ae)=>{F.slotScopeIds=B,O==null?F.shapeFlag&512?ee.ctx.activate(F,V,re,xe,ae):M(F,V,re,ee,be,xe,ae):H(O,F,ae)},M=(O,F,V,re,ee,be,xe)=>{const B=O.component=wM(O,re,ee);if(Dd(O)&&(B.ctx.renderer=Q),OM(B),B.asyncDep){if(ee&&ee.registerDep(B,z),!O.el){const ae=B.subTree=De(Xn);h(null,ae,F,V)}return}z(B,O,F,V,ee,be,xe)},H=(O,F,V)=>{const re=F.component=O.component;if(zN(O,F,V))if(re.asyncDep&&!re.asyncResolved){I(re,F,V);return}else re.next=F,kN(re.update),re.update();else F.el=O.el,re.vnode=F},z=(O,F,V,re,ee,be,xe)=>{const B=()=>{if(O.isMounted){let{next:ie,bu:w,u:A,parent:G,vnode:ce}=O,$=ie,J;rs(O,!1),ie?(ie.el=ce.el,I(O,ie,xe)):ie=ce,w&&Co(w),(J=ie.props&&ie.props.onVnodeBeforeUpdate)&&Vn(J,G,ie,ce),rs(O,!0);const ve=hu(O),Ee=O.subTree;O.subTree=ve,b(Ee,ve,u(Ee.el),j(Ee),O,ee,be),ie.el=ve.el,$===null&&HN(O,ve.el),A&&un(A,ee),(J=ie.props&&ie.props.onVnodeUpdated)&&un(()=>Vn(J,G,ie,ce),ee)}else{let ie;const{el:w,props:A}=F,{bm:G,m:ce,parent:$}=O,J=wo(F);if(rs(O,!1),G&&Co(G),!J&&(ie=A&&A.onVnodeBeforeMount)&&Vn(ie,$,F),rs(O,!0),w&&Ae){const ve=()=>{O.subTree=hu(O),Ae(w,O.subTree,O,ee,null)};J?F.type.__asyncLoader().then(()=>!O.isUnmounted&&ve()):ve()}else{const ve=O.subTree=hu(O);b(null,ve,V,re,O,ee,be),F.el=ve.el}if(ce&&un(ce,ee),!J&&(ie=A&&A.onVnodeMounted)){const ve=F;un(()=>Vn(ie,$,ve),ee)}(F.shapeFlag&256||$&&wo($.vnode)&&$.vnode.shapeFlag&256)&&O.a&&un(O.a,ee),O.isMounted=!0,F=V=re=null}},ae=O.effect=new mg(B,()=>Tg(te),O.scope),te=O.update=()=>ae.run();te.id=O.uid,rs(O,!0),te()},I=(O,F,V)=>{F.component=O;const re=O.vnode.props;O.vnode=F,O.next=null,fM(O,F.props,re,V),gM(O,F.children,V),aa(),fb(),la()},Y=(O,F,V,re,ee,be,xe,B,ae=!1)=>{const te=O&&O.children,ie=O?O.shapeFlag:0,w=F.children,{patchFlag:A,shapeFlag:G}=F;if(A>0){if(A&128){q(te,w,V,re,ee,be,xe,B,ae);return}else if(A&256){K(te,w,V,re,ee,be,xe,B,ae);return}}G&8?(ie&16&&ye(te,ee,be),w!==te&&d(V,w)):ie&16?G&16?q(te,w,V,re,ee,be,xe,B,ae):ye(te,ee,be,!0):(ie&8&&d(V,""),G&16&&x(w,V,re,ee,be,xe,B,ae))},K=(O,F,V,re,ee,be,xe,B,ae)=>{O=O||To,F=F||To;const te=O.length,ie=F.length,w=Math.min(te,ie);let A;for(A=0;A<w;A++){const G=F[A]=ae?wr(F[A]):bi(F[A]);b(O[A],G,V,null,ee,be,xe,B,ae)}te>ie?ye(O,ee,be,!0,!1,w):x(F,V,re,ee,be,xe,B,ae,w)},q=(O,F,V,re,ee,be,xe,B,ae)=>{let te=0;const ie=F.length;let w=O.length-1,A=ie-1;for(;te<=w&&te<=A;){const G=O[te],ce=F[te]=ae?wr(F[te]):bi(F[te]);if(Pr(G,ce))b(G,ce,V,null,ee,be,xe,B,ae);else break;te++}for(;te<=w&&te<=A;){const G=O[w],ce=F[A]=ae?wr(F[A]):bi(F[A]);if(Pr(G,ce))b(G,ce,V,null,ee,be,xe,B,ae);else break;w--,A--}if(te>w){if(te<=A){const G=A+1,ce=G<ie?F[G].el:re;for(;te<=A;)b(null,F[te]=ae?wr(F[te]):bi(F[te]),V,ce,ee,be,xe,B,ae),te++}}else if(te>A)for(;te<=w;)X(O[te],ee,be,!0),te++;else{const G=te,ce=te,$=new Map;for(te=ce;te<=A;te++){const tt=F[te]=ae?wr(F[te]):bi(F[te]);tt.key!=null&&$.set(tt.key,te)}let J,ve=0;const Ee=A-ce+1;let Me=!1,Ue=0;const Je=new Array(Ee);for(te=0;te<Ee;te++)Je[te]=0;for(te=G;te<=w;te++){const tt=O[te];if(ve>=Ee){X(tt,ee,be,!0);continue}let $e;if(tt.key!=null)$e=$.get(tt.key);else for(J=ce;J<=A;J++)if(Je[J-ce]===0&&Pr(tt,F[J])){$e=J;break}$e===void 0?X(tt,ee,be,!0):(Je[$e-ce]=te+1,$e>=Ue?Ue=$e:Me=!0,b(tt,F[$e],V,null,ee,be,xe,B,ae),ve++)}const Ne=Me?SM(Je):To;for(J=Ne.length-1,te=Ee-1;te>=0;te--){const tt=ce+te,$e=F[tt],Pe=tt+1<ie?F[tt+1].el:re;Je[te]===0?b(null,$e,V,Pe,ee,be,xe,B,ae):Me&&(J<0||te!==Ne[J]?le($e,V,Pe,2):J--)}}},le=(O,F,V,re,ee=null)=>{const{el:be,type:xe,transition:B,children:ae,shapeFlag:te}=O;if(te&6){le(O.component.subTree,F,V,re);return}if(te&128){O.suspense.move(F,V,re);return}if(te&64){xe.move(O,F,V,Q);return}if(xe===Xe){i(be,F,V);for(let w=0;w<ae.length;w++)le(ae[w],F,V,re);i(O.anchor,F,V);return}if(xe===Uc){S(O,F,V);return}if(re!==2&&te&1&&B)if(re===0)B.beforeEnter(be),i(be,F,V),un(()=>B.enter(be),ee);else{const{leave:w,delayLeave:A,afterLeave:G}=B,ce=()=>i(be,F,V),$=()=>{w(be,()=>{ce(),G&&G()})};A?A(be,ce,$):$()}else i(be,F,V)},X=(O,F,V,re=!1,ee=!1)=>{const{type:be,props:xe,ref:B,children:ae,dynamicChildren:te,shapeFlag:ie,patchFlag:w,dirs:A}=O;if(B!=null&&ym(B,null,V,O,!0),ie&256){F.ctx.deactivate(O);return}const G=ie&1&&A,ce=!wo(O);let $;if(ce&&($=xe&&xe.onVnodeBeforeUnmount)&&Vn($,F,O),ie&6)fe(O.component,V,re);else{if(ie&128){O.suspense.unmount(V,re);return}G&&is(O,null,F,"beforeUnmount"),ie&64?O.type.remove(O,F,V,ee,Q,re):te&&(be!==Xe||w>0&&w&64)?ye(te,F,V,!1,!0):(be===Xe&&w&384||!ee&&ie&16)&&ye(ae,F,V),re&&Z(O)}(ce&&($=xe&&xe.onVnodeUnmounted)||G)&&un(()=>{$&&Vn($,F,O),G&&is(O,null,F,"unmounted")},V)},Z=O=>{const{type:F,el:V,anchor:re,transition:ee}=O;if(F===Xe){_e(V,re);return}if(F===Uc){v(O);return}const be=()=>{r(V),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(O.shapeFlag&1&&ee&&!ee.persisted){const{leave:xe,delayLeave:B}=ee,ae=()=>xe(V,be);B?B(O.el,be,ae):ae()}else be()},_e=(O,F)=>{let V;for(;O!==F;)V=_(O),r(O),O=V;r(F)},fe=(O,F,V)=>{const{bum:re,scope:ee,update:be,subTree:xe,um:B}=O;re&&Co(re),ee.stop(),be&&(be.active=!1,X(xe,O,F,V)),B&&un(B,F),un(()=>{O.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},ye=(O,F,V,re=!1,ee=!1,be=0)=>{for(let xe=be;xe<O.length;xe++)X(O[xe],F,V,re,ee)},j=O=>O.shapeFlag&6?j(O.component.subTree):O.shapeFlag&128?O.suspense.next():_(O.anchor||O.el),de=(O,F,V)=>{O==null?F._vnode&&X(F._vnode,null,null,!0):b(F._vnode||null,O,F,null,null,null,V),fb(),HR(),F._vnode=O},Q={p:b,um:X,m:le,r:Z,mt:M,mc:x,pc:Y,pbc:R,n:j,o:n};let he,Ae;return e&&([he,Ae]=e(Q)),{render:de,hydrate:he,createApp:_M(de,he)}}function rs({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function dA(n,e,t=!1){const i=n.children,r=e.children;if(Ze(i)&&Ze(r))for(let s=0;s<i.length;s++){const o=i[s];let a=r[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=wr(r[s]),a.el=o.el),t||dA(o,a)),a.type===kd&&(a.el=o.el)}}function SM(n){const e=n.slice(),t=[0];let i,r,s,o,a;const l=n.length;for(i=0;i<l;i++){const c=n[i];if(c!==0){if(r=t[t.length-1],n[r]<c){e[i]=r,t.push(i);continue}for(s=0,o=t.length-1;s<o;)a=s+o>>1,n[t[a]]<c?s=a+1:o=a;c<n[t[s]]&&(s>0&&(e[i]=t[s-1]),t[s]=i)}}for(s=t.length,o=t[s-1];s-- >0;)t[s]=o,o=e[o];return t}const yM=n=>n.__isTeleport,Xe=Symbol.for("v-fgt"),kd=Symbol.for("v-txt"),Xn=Symbol.for("v-cmt"),Uc=Symbol.for("v-stc"),ja=[];let ui=null;function D(n=!1){ja.push(ui=n?null:[])}function vM(){ja.pop(),ui=ja[ja.length-1]||null}let _l=1;function Rb(n){_l+=n}function uA(n){return n.dynamicChildren=_l>0?ui||To:null,vM(),_l>0&&ui&&ui.push(n),n}function L(n,e,t,i,r,s){return uA(p(n,e,t,i,r,s,!0))}function jt(n,e,t,i,r){return uA(De(n,e,t,i,r,!0))}function pl(n){return n?n.__v_isVNode===!0:!1}function Pr(n,e){return n.type===e.type&&n.key===e.key}const Pd="__vInternal",_A=({key:n})=>n??null,Fc=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?Kt(n)||Sn(n)||_t(n)?{i:_n,r:n,k:e,f:!!t}:n:null);function p(n,e=null,t=null,i=0,r=null,s=n===Xe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&_A(e),ref:e&&Fc(e),scopeId:Id,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_n};return a?(Mg(l,t),s&128&&n.normalize(l)):t&&(l.shapeFlag|=Kt(t)?8:16),_l>0&&!o&&ui&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ui.push(l),l}const De=TM;function TM(n,e=null,t=null,i=0,r=null,s=!1){if((!n||n===eA)&&(n=Xn),pl(n)){const a=lr(n,e,!0);return t&&Mg(a,t),_l>0&&!s&&ui&&(a.shapeFlag&6?ui[ui.indexOf(n)]=a:ui.push(a)),a.patchFlag|=-2,a}if(DM(n)&&(n=n.__vccOpts),e){e=xM(e);let{class:a,style:l}=e;a&&!Kt(a)&&(e.class=Ke(a)),Pt(l)&&(DR(l)&&!Ze(l)&&(l=Qt({},l)),e.style=Rn(l))}const o=Kt(n)?1:YR(n)?128:yM(n)?64:Pt(n)?4:_t(n)?2:0;return p(n,e,t,i,r,o,s,!0)}function xM(n){return n?DR(n)||Pd in n?Qt({},n):n:null}function lr(n,e,t=!1){const{props:i,ref:r,patchFlag:s,children:o}=n,a=e?CM(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&_A(a),ref:e&&e.ref?t&&r?Ze(r)?r.concat(Fc(e)):[r,Fc(e)]:Fc(e):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xe?s===-1?16:s|16:s,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&lr(n.ssContent),ssFallback:n.ssFallback&&lr(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function Ye(n=" ",e=0){return De(kd,null,n,e)}function Ng(n,e){const t=De(Uc,null,n);return t.staticCount=e,t}function se(n="",e=!1){return e?(D(),jt(Xn,null,n)):De(Xn,null,n)}function bi(n){return n==null||typeof n=="boolean"?De(Xn):Ze(n)?De(Xe,null,n.slice()):typeof n=="object"?wr(n):De(kd,null,String(n))}function wr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:lr(n)}function Mg(n,e){let t=0;const{shapeFlag:i}=n;if(e==null)e=null;else if(Ze(e))t=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),Mg(n,r()),r._c&&(r._d=!0));return}else{t=32;const r=e._;!r&&!(Pd in e)?e._ctx=_n:r===3&&_n&&(_n.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else _t(e)?(e={default:e,_ctx:_n},t=32):(e=String(e),i&64?(t=16,e=[Ye(e)]):t=8);n.children=e,n.shapeFlag|=t}function CM(...n){const e={};for(let t=0;t<n.length;t++){const i=n[t];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=Ke([e.class,i.class]));else if(r==="style")e.style=Rn([e.style,i.style]);else if(Rd(r)){const s=e[r],o=i[r];o&&s!==o&&!(Ze(s)&&s.includes(o))&&(e[r]=s?[].concat(s,o):o)}else r!==""&&(e[r]=i[r])}return e}function Vn(n,e,t,i=null){Qn(n,e,7,[t,i])}const RM=rA();let AM=0;function wM(n,e,t){const i=n.type,r=(e?e.appContext:n.appContext)||RM,s={uid:AM++,vnode:n,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new SR(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oA(i,r),emitsOptions:qR(i,r),emit:null,emitted:null,propsDefaults:zt,inheritAttrs:i.inheritAttrs,ctx:zt,data:zt,props:zt,attrs:zt,slots:zt,refs:zt,setupState:zt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=FN.bind(null,s),n.ce&&n.ce(s),s}let cn=null;const Ig=()=>cn||_n;let Dg,Ks,Ab="__VUE_INSTANCE_SETTERS__";(Ks=dm()[Ab])||(Ks=dm()[Ab]=[]),Ks.push(n=>cn=n),Dg=n=>{Ks.length>1?Ks.forEach(e=>e(n)):Ks[0](n)};const Po=n=>{Dg(n),n.scope.on()},Cs=()=>{cn&&cn.scope.off(),Dg(null)};function pA(n){return n.vnode.shapeFlag&4}let fl=!1;function OM(n,e=!1){fl=e;const{props:t,children:i}=n.vnode,r=pA(n);pM(n,t,r,e),mM(n,i);const s=r?NM(n,e):void 0;return fl=!1,s}function NM(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=LR(new Proxy(n.ctx,sM));const{setup:i}=t;if(i){const r=n.setupContext=i.length>1?IM(n):null;Po(n),aa();const s=zr(i,n,0,[n.props,r]);if(la(),Cs(),hR(s)){if(s.then(Cs,Cs),e)return s.then(o=>{wb(n,o,e)}).catch(o=>{Nd(o,n,0)});n.asyncDep=s}else wb(n,s,e)}else fA(n,e)}function wb(n,e,t){_t(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:Pt(e)&&(n.setupState=BR(e)),fA(n,t)}let Ob;function fA(n,e,t){const i=n.type;if(!n.render){if(!e&&Ob&&!i.render){const r=i.template||wg(n).template;if(r){const{isCustomElement:s,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=i,c=Qt(Qt({isCustomElement:s,delimiters:a},o),l);i.render=Ob(r,c)}}n.render=i.render||_i}Po(n),aa(),oM(n),la(),Cs()}function MM(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get(e,t){return kn(n,"get","$attrs"),e[t]}}))}function IM(n){const e=t=>{n.exposed=t||{}};return{get attrs(){return MM(n)},slots:n.slots,emit:n.emit,expose:e}}function Ud(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(BR(LR(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in Ka)return Ka[t](n)},has(e,t){return t in e||t in Ka}}))}function vm(n,e=!0){return _t(n)?n.displayName||n.name:n.name||e&&n.__name}function DM(n){return _t(n)&&"__vccOpts"in n}const $n=(n,e)=>IN(n,e,fl);function Lg(n,e,t){const i=arguments.length;return i===2?Pt(e)&&!Ze(e)?pl(e)?De(n,null,[e]):De(n,e):De(n,null,e):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&pl(t)&&(t=[t]),De(n,e,t))}const LM=Symbol.for("v-scx"),kM=()=>rr(LM),PM="3.3.4",UM="http://www.w3.org/2000/svg",ms=typeof document<"u"?document:null,Nb=ms&&ms.createElement("template"),FM={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const r=e?ms.createElementNS(UM,n):ms.createElement(n,t?{is:t}:void 0);return n==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:n=>ms.createTextNode(n),createComment:n=>ms.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>ms.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,r,s){const o=t?t.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),t),!(r===s||!(r=r.nextSibling)););else{Nb.innerHTML=i?`<svg>${n}</svg>`:n;const a=Nb.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function BM(n,e,t){const i=n._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}function GM(n,e,t){const i=n.style,r=Kt(t);if(t&&!r){if(e&&!Kt(e))for(const s in e)t[s]==null&&Tm(i,s,"");for(const s in t)Tm(i,s,t[s])}else{const s=i.display;r?e!==t&&(i.cssText=t):e&&n.removeAttribute("style"),"_vod"in n&&(i.display=s)}}const Mb=/\s*!important$/;function Tm(n,e,t){if(Ze(t))t.forEach(i=>Tm(n,e,i));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const i=zM(n,e);Mb.test(t)?n.setProperty(Bs(i),t.replace(Mb,""),"important"):n[i]=t}}const Ib=["Webkit","Moz","ms"],Su={};function zM(n,e){const t=Su[e];if(t)return t;let i=Mi(e);if(i!=="filter"&&i in n)return Su[e]=i;i=wd(i);for(let r=0;r<Ib.length;r++){const s=Ib[r]+i;if(s in n)return Su[e]=s}return e}const Db="http://www.w3.org/1999/xlink";function HM(n,e,t,i,r){if(i&&e.startsWith("xlink:"))t==null?n.removeAttributeNS(Db,e.slice(6,e.length)):n.setAttributeNS(Db,e,t);else{const s=XO(e);t==null||s&&!ER(t)?n.removeAttribute(e):n.setAttribute(e,s?"":t)}}function VM(n,e,t,i,r,s,o){if(e==="innerHTML"||e==="textContent"){i&&o(i,r,s),n[e]=t??"";return}const a=n.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){n._value=t;const c=a==="OPTION"?n.getAttribute("value"):n.value,d=t??"";c!==d&&(n.value=d),t==null&&n.removeAttribute(e);return}let l=!1;if(t===""||t==null){const c=typeof n[e];c==="boolean"?t=ER(t):t==null&&c==="string"?(t="",l=!0):c==="number"&&(t=0,l=!0)}try{n[e]=t}catch{}l&&n.removeAttribute(e)}function er(n,e,t,i){n.addEventListener(e,t,i)}function qM(n,e,t,i){n.removeEventListener(e,t,i)}function YM(n,e,t,i,r=null){const s=n._vei||(n._vei={}),o=s[e];if(i&&o)o.value=i;else{const[a,l]=$M(e);if(i){const c=s[e]=jM(i,r);er(n,a,c,l)}else o&&(qM(n,a,o,l),s[e]=void 0)}}const Lb=/(?:Once|Passive|Capture)$/;function $M(n){let e;if(Lb.test(n)){e={};let i;for(;i=n.match(Lb);)n=n.slice(0,n.length-i[0].length),e[i[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):Bs(n.slice(2)),e]}let yu=0;const WM=Promise.resolve(),KM=()=>yu||(WM.then(()=>yu=0),yu=Date.now());function jM(n,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;Qn(QM(i,t.value),e,5,[i])};return t.value=n,t.attached=KM(),t}function QM(n,e){if(Ze(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const kb=/^on[a-z]/,XM=(n,e,t,i,r=!1,s,o,a,l)=>{e==="class"?BM(n,i,r):e==="style"?GM(n,t,i):Rd(e)?ug(e)||YM(n,e,t,i,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ZM(n,e,i,r))?VM(n,e,i,s,o,a,l):(e==="true-value"?n._trueValue=i:e==="false-value"&&(n._falseValue=i),HM(n,e,i,r))};function ZM(n,e,t,i){return i?!!(e==="innerHTML"||e==="textContent"||e in n&&kb.test(e)&&_t(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||kb.test(e)&&Kt(t)?!1:e in n}const Er="transition",Aa="animation",Uo=(n,{slots:e})=>Lg($N,mA(n),e);Uo.displayName="Transition";const hA={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},JM=Uo.props=Qt({},jR,hA),ss=(n,e=[])=>{Ze(n)?n.forEach(t=>t(...e)):n&&n(...e)},Pb=n=>n?Ze(n)?n.some(e=>e.length>1):n.length>1:!1;function mA(n){const e={};for(const k in n)k in hA||(e[k]=n[k]);if(n.css===!1)return e;const{name:t="v",type:i,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:d=a,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:_=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=n,E=eI(r),b=E&&E[0],g=E&&E[1],{onBeforeEnter:h,onEnter:m,onEnterCancelled:S,onLeave:v,onLeaveCancelled:T,onBeforeAppear:C=h,onAppear:N=m,onAppearCancelled:x=S}=e,y=(k,W,M)=>{Ar(k,W?d:a),Ar(k,W?c:o),M&&M()},R=(k,W)=>{k._isLeaving=!1,Ar(k,u),Ar(k,f),Ar(k,_),W&&W()},P=k=>(W,M)=>{const H=k?N:m,z=()=>y(W,k,M);ss(H,[W,z]),Ub(()=>{Ar(W,k?l:s),Xi(W,k?d:a),Pb(H)||Fb(W,i,b,z)})};return Qt(e,{onBeforeEnter(k){ss(h,[k]),Xi(k,s),Xi(k,o)},onBeforeAppear(k){ss(C,[k]),Xi(k,l),Xi(k,c)},onEnter:P(!1),onAppear:P(!0),onLeave(k,W){k._isLeaving=!0;const M=()=>R(k,W);Xi(k,u),EA(),Xi(k,_),Ub(()=>{k._isLeaving&&(Ar(k,u),Xi(k,f),Pb(v)||Fb(k,i,g,M))}),ss(v,[k,M])},onEnterCancelled(k){y(k,!1),ss(S,[k])},onAppearCancelled(k){y(k,!0),ss(x,[k])},onLeaveCancelled(k){R(k),ss(T,[k])}})}function eI(n){if(n==null)return null;if(Pt(n))return[vu(n.enter),vu(n.leave)];{const e=vu(n);return[e,e]}}function vu(n){return YO(n)}function Xi(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n._vtc||(n._vtc=new Set)).add(e)}function Ar(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const{_vtc:t}=n;t&&(t.delete(e),t.size||(n._vtc=void 0))}function Ub(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let tI=0;function Fb(n,e,t,i){const r=n._endId=++tI,s=()=>{r===n._endId&&i()};if(t)return setTimeout(s,t);const{type:o,timeout:a,propCount:l}=gA(n,e);if(!o)return i();const c=o+"end";let d=0;const u=()=>{n.removeEventListener(c,_),s()},_=f=>{f.target===n&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},a+1),n.addEventListener(c,_)}function gA(n,e){const t=window.getComputedStyle(n),i=E=>(t[E]||"").split(", "),r=i(`${Er}Delay`),s=i(`${Er}Duration`),o=Bb(r,s),a=i(`${Aa}Delay`),l=i(`${Aa}Duration`),c=Bb(a,l);let d=null,u=0,_=0;e===Er?o>0&&(d=Er,u=o,_=s.length):e===Aa?c>0&&(d=Aa,u=c,_=l.length):(u=Math.max(o,c),d=u>0?o>c?Er:Aa:null,_=d?d===Er?s.length:l.length:0);const f=d===Er&&/\b(transform|all)(,|$)/.test(i(`${Er}Property`).toString());return{type:d,timeout:u,propCount:_,hasTransform:f}}function Bb(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((t,i)=>Gb(t)+Gb(n[i])))}function Gb(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function EA(){return document.body.offsetHeight}const bA=new WeakMap,SA=new WeakMap,yA={name:"TransitionGroup",props:Qt({},JM,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=Ig(),i=KR();let r,s;return Cg(()=>{if(!r.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!oI(r[0].el,t.vnode.el,o))return;r.forEach(iI),r.forEach(rI);const a=r.filter(sI);EA(),a.forEach(l=>{const c=l.el,d=c.style;Xi(c,o),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=_=>{_&&_.target!==c||(!_||/transform$/.test(_.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,Ar(c,o))};c.addEventListener("transitionend",u)})}),()=>{const o=Rt(n),a=mA(o);let l=o.tag||Xe;r=s,s=e.default?xg(e.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&ko(d,ul(d,a,i,t))}if(r)for(let c=0;c<r.length;c++){const d=r[c];ko(d,ul(d,a,i,t)),bA.set(d,d.el.getBoundingClientRect())}return De(l,null,s)}}},nI=n=>delete n.mode;yA.props;const tr=yA;function iI(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function rI(n){SA.set(n,n.el.getBoundingClientRect())}function sI(n){const e=bA.get(n),t=SA.get(n),i=e.left-t.left,r=e.top-t.top;if(i||r){const s=n.el.style;return s.transform=s.webkitTransform=`translate(${i}px,${r}px)`,s.transitionDuration="0s",n}}function oI(n,e,t){const i=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),t.split(/\s+/).forEach(o=>o&&i.classList.add(o)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:s}=gA(i);return r.removeChild(i),s}const Kr=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Ze(e)?t=>Co(e,t):e};function aI(n){n.target.composing=!0}function zb(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const et={created(n,{modifiers:{lazy:e,trim:t,number:i}},r){n._assign=Kr(r);const s=i||r.props&&r.props.type==="number";er(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),s&&(a=Xc(a)),n._assign(a)}),t&&er(n,"change",()=>{n.value=n.value.trim()}),e||(er(n,"compositionstart",aI),er(n,"compositionend",zb),er(n,"change",zb))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:t,trim:i,number:r}},s){if(n._assign=Kr(s),n.composing||document.activeElement===n&&n.type!=="range"&&(t||i&&n.value.trim()===e||(r||n.type==="number")&&Xc(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},Ft={deep:!0,created(n,e,t){n._assign=Kr(t),er(n,"change",()=>{const i=n._modelValue,r=Fo(n),s=n.checked,o=n._assign;if(Ze(i)){const a=fg(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(sa(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o(vA(n,s))})},mounted:Hb,beforeUpdate(n,e,t){n._assign=Kr(t),Hb(n,e,t)}};function Hb(n,{value:e,oldValue:t},i){n._modelValue=e,Ze(e)?n.checked=fg(e,i.props.value)>-1:sa(e)?n.checked=e.has(i.props.value):e!==t&&(n.checked=Ms(e,vA(n,!0)))}const lI={created(n,{value:e},t){n.checked=Ms(e,t.props.value),n._assign=Kr(t),er(n,"change",()=>{n._assign(Fo(n))})},beforeUpdate(n,{value:e,oldValue:t},i){n._assign=Kr(i),e!==t&&(n.checked=Ms(e,i.props.value))}},Ci={deep:!0,created(n,{value:e,modifiers:{number:t}},i){const r=sa(e);er(n,"change",()=>{const s=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?Xc(Fo(o)):Fo(o));n._assign(n.multiple?r?new Set(s):s:s[0])}),n._assign=Kr(i)},mounted(n,{value:e}){Vb(n,e)},beforeUpdate(n,e,t){n._assign=Kr(t)},updated(n,{value:e}){Vb(n,e)}};function Vb(n,e){const t=n.multiple;if(!(t&&!Ze(e)&&!sa(e))){for(let i=0,r=n.options.length;i<r;i++){const s=n.options[i],o=Fo(s);if(t)Ze(e)?s.selected=fg(e,o)>-1:s.selected=e.has(o);else if(Ms(Fo(s),e)){n.selectedIndex!==i&&(n.selectedIndex=i);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Fo(n){return"_value"in n?n._value:n.value}function vA(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const cI=["ctrl","shift","alt","meta"],dI={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>cI.some(t=>n[`${t}Key`]&&!e.includes(t))},Ie=(n,e)=>(t,...i)=>{for(let r=0;r<e.length;r++){const s=dI[e[r]];if(s&&s(t,e))return}return n(t,...i)},uI={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Bo=(n,e)=>t=>{if(!("key"in t))return;const i=Bs(t.key);if(e.some(r=>r===i||uI[r]===i))return n(t)},Ot={beforeMount(n,{value:e},{transition:t}){n._vod=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):wa(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:i}){!e!=!t&&(i?e?(i.beforeEnter(n),wa(n,!0),i.enter(n)):i.leave(n,()=>{wa(n,!1)}):wa(n,e))},beforeUnmount(n,{value:e}){wa(n,e)}};function wa(n,e){n.style.display=e?n._vod:"none"}const _I=Qt({patchProp:XM},FM);let qb;function pI(){return qb||(qb=EM(_I))}const fI=(...n)=>{const e=pI().createApp(...n),{mount:t}=e;return e.mount=i=>{const r=hI(i);if(!r)return;const s=e._component;!_t(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const o=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function hI(n){return Kt(n)?document.querySelector(n):n}function mI(){return TA().__VUE_DEVTOOLS_GLOBAL_HOOK__}function TA(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const gI=typeof Proxy=="function",EI="devtools-plugin:setup",bI="plugin:settings:set";let js,xm;function SI(){var n;return js!==void 0||(typeof window<"u"&&window.performance?(js=!0,xm=window.performance):typeof global<"u"&&(!((n=global.perf_hooks)===null||n===void 0)&&n.performance)?(js=!0,xm=global.perf_hooks.performance):js=!1),js}function yI(){return SI()?xm.now():Date.now()}class vI{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const i={};if(e.settings)for(const o in e.settings){const a=e.settings[o];i[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let s=Object.assign({},i);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}s=o},now(){return yI()}},t&&t.on(bI,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,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(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function TI(n,e){const t=n,i=TA(),r=mI(),s=gI&&t.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))r.emit(EI,n,e);else{const o=s?new vI(t,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}/*!
  * vuex v4.1.0
  * (c) 2022 Evan You
  * @license MIT
@@ -15,7 +15,7 @@
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
 */(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(h,m){for(var S=m.length,v=0;v<S;++v)b(h,m[v])}var d={}.hasOwnProperty;function u(h,m){h[m]=!0}function _(h,m){for(var S in m)d.call(m,S)&&(h[S]=!!m[S])}var f=/\s+/;function E(h,m){for(var S=m.split(f),v=S.length,T=0;T<v;++T)h[S[T]]=!0}function b(h,m){if(m){var S=typeof m;S==="string"?E(h,m):Array.isArray(m)?c(h,m):S==="object"?_(h,m):S==="number"&&u(h,m)}}function g(){for(var h=arguments.length,m=Array(h),S=0;S<h;S++)m[S]=arguments[S];var v=new l;c(v,m);var T=[];for(var C in v)v[C]&&T.push(C);return T.join(" ")}return g}();typeof t<"u"&&t.exports?t.exports=a:(s=[],o=(function(){return a}).apply(i,s),o!==void 0&&(t.exports=o))})()},"./node_modules/core-js/es/array/from.js":function(t,i,r){r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/es.array.from.js");var s=r("./node_modules/core-js/internals/path.js");t.exports=s.Array.from},"./node_modules/core-js/internals/a-function.js":function(t,i){t.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},"./node_modules/core-js/internals/an-object.js":function(t,i,r){var s=r("./node_modules/core-js/internals/is-object.js");t.exports=function(o){if(!s(o))throw TypeError(String(o)+" is not an object");return o}},"./node_modules/core-js/internals/array-from.js":function(t,i,r){var s=r("./node_modules/core-js/internals/bind-context.js"),o=r("./node_modules/core-js/internals/to-object.js"),a=r("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=r("./node_modules/core-js/internals/is-array-iterator-method.js"),c=r("./node_modules/core-js/internals/to-length.js"),d=r("./node_modules/core-js/internals/create-property.js"),u=r("./node_modules/core-js/internals/get-iterator-method.js");t.exports=function(f){var E=o(f),b=typeof this=="function"?this:Array,g=arguments.length,h=g>1?arguments[1]:void 0,m=h!==void 0,S=0,v=u(E),T,C,N,x;if(m&&(h=s(h,g>2?arguments[2]:void 0,2)),v!=null&&!(b==Array&&l(v)))for(x=v.call(E),C=new b;!(N=x.next()).done;S++)d(C,S,m?a(x,h,[N.value,S],!0):N.value);else for(T=c(E.length),C=new b(T);T>S;S++)d(C,S,m?h(E[S],S):E[S]);return C.length=S,C}},"./node_modules/core-js/internals/array-includes.js":function(t,i,r){var s=r("./node_modules/core-js/internals/to-indexed-object.js"),o=r("./node_modules/core-js/internals/to-length.js"),a=r("./node_modules/core-js/internals/to-absolute-index.js");t.exports=function(l){return function(c,d,u){var _=s(c),f=o(_.length),E=a(u,f),b;if(l&&d!=d){for(;f>E;)if(b=_[E++],b!=b)return!0}else for(;f>E;E++)if((l||E in _)&&_[E]===d)return l||E||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(t,i,r){var s=r("./node_modules/core-js/internals/a-function.js");t.exports=function(o,a,l){if(s(o),a===void 0)return o;switch(l){case 0:return function(){return o.call(a)};case 1:return function(c){return o.call(a,c)};case 2:return function(c,d){return o.call(a,c,d)};case 3:return function(c,d,u){return o.call(a,c,d,u)}}return function(){return o.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(t,i,r){var s=r("./node_modules/core-js/internals/an-object.js");t.exports=function(o,a,l,c){try{return c?a(s(l)[0],l[1]):a(l)}catch(u){var d=o.return;throw d!==void 0&&s(d.call(o)),u}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(t,i,r){var s=r("./node_modules/core-js/internals/well-known-symbol.js"),o=s("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[o]=function(){return this},Array.from(c,function(){throw 2})}catch{}t.exports=function(d,u){if(!u&&!a)return!1;var _=!1;try{var f={};f[o]=function(){return{next:function(){return{done:_=!0}}}},d(f)}catch{}return _}},"./node_modules/core-js/internals/classof-raw.js":function(t,i){var r={}.toString;t.exports=function(s){return r.call(s).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(t,i,r){var s=r("./node_modules/core-js/internals/classof-raw.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag"),l=s(function(){return arguments}())=="Arguments",c=function(d,u){try{return d[u]}catch{}};t.exports=function(d){var u,_,f;return d===void 0?"Undefined":d===null?"Null":typeof(_=c(u=Object(d),a))=="string"?_:l?s(u):(f=s(u))=="Object"&&typeof u.callee=="function"?"Arguments":f}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(t,i,r){var s=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/own-keys.js"),a=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=r("./node_modules/core-js/internals/object-define-property.js");t.exports=function(c,d){for(var u=o(d),_=l.f,f=a.f,E=0;E<u.length;E++){var b=u[E];s(c,b)||_(c,b,f(d,b))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(t,i,r){var s=r("./node_modules/core-js/internals/fails.js");t.exports=!s(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},"./node_modules/core-js/internals/create-iterator-constructor.js":function(t,i,r){var s=r("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=r("./node_modules/core-js/internals/object-create.js"),a=r("./node_modules/core-js/internals/create-property-descriptor.js"),l=r("./node_modules/core-js/internals/set-to-string-tag.js"),c=r("./node_modules/core-js/internals/iterators.js"),d=function(){return this};t.exports=function(u,_,f){var E=_+" Iterator";return u.prototype=o(s,{next:a(1,f)}),l(u,E,!1,!0),c[E]=d,u}},"./node_modules/core-js/internals/create-property-descriptor.js":function(t,i){t.exports=function(r,s){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:s}}},"./node_modules/core-js/internals/create-property.js":function(t,i,r){var s=r("./node_modules/core-js/internals/to-primitive.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),a=r("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=function(l,c,d){var u=s(c);u in l?o.f(l,u,a(0,d)):l[u]=d}},"./node_modules/core-js/internals/define-iterator.js":function(t,i,r){var s=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/create-iterator-constructor.js"),a=r("./node_modules/core-js/internals/object-get-prototype-of.js"),l=r("./node_modules/core-js/internals/object-set-prototype-of.js"),c=r("./node_modules/core-js/internals/set-to-string-tag.js"),d=r("./node_modules/core-js/internals/hide.js"),u=r("./node_modules/core-js/internals/redefine.js"),_=r("./node_modules/core-js/internals/well-known-symbol.js"),f=r("./node_modules/core-js/internals/is-pure.js"),E=r("./node_modules/core-js/internals/iterators.js"),b=r("./node_modules/core-js/internals/iterators-core.js"),g=b.IteratorPrototype,h=b.BUGGY_SAFARI_ITERATORS,m=_("iterator"),S="keys",v="values",T="entries",C=function(){return this};t.exports=function(N,x,y,R,P,k,W){o(y,x,R);var M=function(_e){if(_e===P&&K)return K;if(!h&&_e in I)return I[_e];switch(_e){case S:return function(){return new y(this,_e)};case v:return function(){return new y(this,_e)};case T:return function(){return new y(this,_e)}}return function(){return new y(this)}},H=x+" Iterator",z=!1,I=N.prototype,Y=I[m]||I["@@iterator"]||P&&I[P],K=!h&&Y||M(P),q=x=="Array"&&I.entries||Y,le,X,Z;if(q&&(le=a(q.call(new N)),g!==Object.prototype&&le.next&&(!f&&a(le)!==g&&(l?l(le,g):typeof le[m]!="function"&&d(le,m,C)),c(le,H,!0,!0),f&&(E[H]=C))),P==v&&Y&&Y.name!==v&&(z=!0,K=function(){return Y.call(this)}),(!f||W)&&I[m]!==K&&d(I,m,K),E[x]=K,P)if(X={values:M(v),keys:k?K:M(S),entries:M(T)},W)for(Z in X)(h||z||!(Z in I))&&u(I,Z,X[Z]);else s({target:x,proto:!0,forced:h||z},X);return X}},"./node_modules/core-js/internals/descriptors.js":function(t,i,r){var s=r("./node_modules/core-js/internals/fails.js");t.exports=!s(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/document-create-element.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/is-object.js"),a=s.document,l=o(a)&&o(a.createElement);t.exports=function(c){return l?a.createElement(c):{}}},"./node_modules/core-js/internals/enum-bug-keys.js":function(t,i){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=r("./node_modules/core-js/internals/hide.js"),l=r("./node_modules/core-js/internals/redefine.js"),c=r("./node_modules/core-js/internals/set-global.js"),d=r("./node_modules/core-js/internals/copy-constructor-properties.js"),u=r("./node_modules/core-js/internals/is-forced.js");t.exports=function(_,f){var E=_.target,b=_.global,g=_.stat,h,m,S,v,T,C;if(b?m=s:g?m=s[E]||c(E,{}):m=(s[E]||{}).prototype,m)for(S in f){if(T=f[S],_.noTargetGet?(C=o(m,S),v=C&&C.value):v=m[S],h=u(b?S:E+(g?".":"#")+S,_.forced),!h&&v!==void 0){if(typeof T==typeof v)continue;d(T,v)}(_.sham||v&&v.sham)&&a(T,"sham",!0),l(m,S,T,_)}}},"./node_modules/core-js/internals/fails.js":function(t,i){t.exports=function(r){try{return!!r()}catch{return!0}}},"./node_modules/core-js/internals/function-to-string.js":function(t,i,r){var s=r("./node_modules/core-js/internals/shared.js");t.exports=s("native-function-to-string",Function.toString)},"./node_modules/core-js/internals/get-iterator-method.js":function(t,i,r){var s=r("./node_modules/core-js/internals/classof.js"),o=r("./node_modules/core-js/internals/iterators.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js"),l=a("iterator");t.exports=function(c){if(c!=null)return c[l]||c["@@iterator"]||o[s(c)]}},"./node_modules/core-js/internals/global.js":function(t,i,r){(function(s){var o="object",a=function(l){return l&&l.Math==Math&&l};t.exports=a(typeof globalThis==o&&globalThis)||a(typeof window==o&&window)||a(typeof self==o&&self)||a(typeof s==o&&s)||Function("return this")()}).call(this,r("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/internals/has.js":function(t,i){var r={}.hasOwnProperty;t.exports=function(s,o){return r.call(s,o)}},"./node_modules/core-js/internals/hidden-keys.js":function(t,i){t.exports={}},"./node_modules/core-js/internals/hide.js":function(t,i,r){var s=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),a=r("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=s?function(l,c,d){return o.f(l,c,a(1,d))}:function(l,c,d){return l[c]=d,l}},"./node_modules/core-js/internals/html.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=s.document;t.exports=o&&o.documentElement},"./node_modules/core-js/internals/ie8-dom-define.js":function(t,i,r){var s=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/fails.js"),a=r("./node_modules/core-js/internals/document-create-element.js");t.exports=!s&&!o(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(t,i,r){var s=r("./node_modules/core-js/internals/fails.js"),o=r("./node_modules/core-js/internals/classof-raw.js"),a="".split;t.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return o(l)=="String"?a.call(l,""):Object(l)}:Object},"./node_modules/core-js/internals/internal-state.js":function(t,i,r){var s=r("./node_modules/core-js/internals/native-weak-map.js"),o=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/is-object.js"),l=r("./node_modules/core-js/internals/hide.js"),c=r("./node_modules/core-js/internals/has.js"),d=r("./node_modules/core-js/internals/shared-key.js"),u=r("./node_modules/core-js/internals/hidden-keys.js"),_=o.WeakMap,f,E,b,g=function(N){return b(N)?E(N):f(N,{})},h=function(N){return function(x){var y;if(!a(x)||(y=E(x)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return y}};if(s){var m=new _,S=m.get,v=m.has,T=m.set;f=function(N,x){return T.call(m,N,x),x},E=function(N){return S.call(m,N)||{}},b=function(N){return v.call(m,N)}}else{var C=d("state");u[C]=!0,f=function(N,x){return l(N,C,x),x},E=function(N){return c(N,C)?N[C]:{}},b=function(N){return c(N,C)}}t.exports={set:f,get:E,has:b,enforce:g,getterFor:h}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(t,i,r){var s=r("./node_modules/core-js/internals/well-known-symbol.js"),o=r("./node_modules/core-js/internals/iterators.js"),a=s("iterator"),l=Array.prototype;t.exports=function(c){return c!==void 0&&(o.Array===c||l[a]===c)}},"./node_modules/core-js/internals/is-forced.js":function(t,i,r){var s=r("./node_modules/core-js/internals/fails.js"),o=/#|\.prototype\./,a=function(_,f){var E=c[l(_)];return E==u?!0:E==d?!1:typeof f=="function"?s(f):!!f},l=a.normalize=function(_){return String(_).replace(o,".").toLowerCase()},c=a.data={},d=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},"./node_modules/core-js/internals/is-object.js":function(t,i){t.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},"./node_modules/core-js/internals/is-pure.js":function(t,i){t.exports=!1},"./node_modules/core-js/internals/iterators-core.js":function(t,i,r){var s=r("./node_modules/core-js/internals/object-get-prototype-of.js"),o=r("./node_modules/core-js/internals/hide.js"),a=r("./node_modules/core-js/internals/has.js"),l=r("./node_modules/core-js/internals/well-known-symbol.js"),c=r("./node_modules/core-js/internals/is-pure.js"),d=l("iterator"),u=!1,_=function(){return this},f,E,b;[].keys&&(b=[].keys(),"next"in b?(E=s(s(b)),E!==Object.prototype&&(f=E)):u=!0),f==null&&(f={}),!c&&!a(f,d)&&o(f,d,_),t.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:u}},"./node_modules/core-js/internals/iterators.js":function(t,i){t.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(t,i,r){var s=r("./node_modules/core-js/internals/fails.js");t.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/function-to-string.js"),a=s.WeakMap;t.exports=typeof a=="function"&&/native code/.test(o.call(a))},"./node_modules/core-js/internals/object-create.js":function(t,i,r){var s=r("./node_modules/core-js/internals/an-object.js"),o=r("./node_modules/core-js/internals/object-define-properties.js"),a=r("./node_modules/core-js/internals/enum-bug-keys.js"),l=r("./node_modules/core-js/internals/hidden-keys.js"),c=r("./node_modules/core-js/internals/html.js"),d=r("./node_modules/core-js/internals/document-create-element.js"),u=r("./node_modules/core-js/internals/shared-key.js"),_=u("IE_PROTO"),f="prototype",E=function(){},b=function(){var g=d("iframe"),h=a.length,m="<",S="script",v=">",T="java"+S+":",C;for(g.style.display="none",c.appendChild(g),g.src=String(T),C=g.contentWindow.document,C.open(),C.write(m+S+v+"document.F=Object"+m+"/"+S+v),C.close(),b=C.F;h--;)delete b[f][a[h]];return b()};t.exports=Object.create||function(h,m){var S;return h!==null?(E[f]=s(h),S=new E,E[f]=null,S[_]=h):S=b(),m===void 0?S:o(S,m)},l[_]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(t,i,r){var s=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),a=r("./node_modules/core-js/internals/an-object.js"),l=r("./node_modules/core-js/internals/object-keys.js");t.exports=s?Object.defineProperties:function(d,u){a(d);for(var _=l(u),f=_.length,E=0,b;f>E;)o.f(d,b=_[E++],u[b]);return d}},"./node_modules/core-js/internals/object-define-property.js":function(t,i,r){var s=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/ie8-dom-define.js"),a=r("./node_modules/core-js/internals/an-object.js"),l=r("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;i.f=s?c:function(u,_,f){if(a(u),_=l(_,!0),a(f),o)try{return c(u,_,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported");return"value"in f&&(u[_]=f.value),u}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(t,i,r){var s=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=r("./node_modules/core-js/internals/create-property-descriptor.js"),l=r("./node_modules/core-js/internals/to-indexed-object.js"),c=r("./node_modules/core-js/internals/to-primitive.js"),d=r("./node_modules/core-js/internals/has.js"),u=r("./node_modules/core-js/internals/ie8-dom-define.js"),_=Object.getOwnPropertyDescriptor;i.f=s?_:function(E,b){if(E=l(E),b=c(b,!0),u)try{return _(E,b)}catch{}if(d(E,b))return a(!o.f.call(E,b),E[b])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(t,i,r){var s=r("./node_modules/core-js/internals/object-keys-internal.js"),o=r("./node_modules/core-js/internals/enum-bug-keys.js"),a=o.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(c){return s(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(t,i){i.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(t,i,r){var s=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/to-object.js"),a=r("./node_modules/core-js/internals/shared-key.js"),l=r("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),d=Object.prototype;t.exports=l?Object.getPrototypeOf:function(u){return u=o(u),s(u,c)?u[c]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?d:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(t,i,r){var s=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/to-indexed-object.js"),a=r("./node_modules/core-js/internals/array-includes.js"),l=r("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);t.exports=function(d,u){var _=o(d),f=0,E=[],b;for(b in _)!s(l,b)&&s(_,b)&&E.push(b);for(;u.length>f;)s(_,b=u[f++])&&(~c(E,b)||E.push(b));return E}},"./node_modules/core-js/internals/object-keys.js":function(t,i,r){var s=r("./node_modules/core-js/internals/object-keys-internal.js"),o=r("./node_modules/core-js/internals/enum-bug-keys.js");t.exports=Object.keys||function(l){return s(l,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(t,i,r){var s={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!s.call({1:2},1);i.f=a?function(c){var d=o(this,c);return!!d&&d.enumerable}:s},"./node_modules/core-js/internals/object-set-prototype-of.js":function(t,i,r){var s=r("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),o=a instanceof Array}catch{}return function(d,u){return s(d,u),o?l.call(d,u):d.__proto__=u,d}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/object-get-own-property-names.js"),a=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=r("./node_modules/core-js/internals/an-object.js"),c=s.Reflect;t.exports=c&&c.ownKeys||function(u){var _=o.f(l(u)),f=a.f;return f?_.concat(f(u)):_}},"./node_modules/core-js/internals/path.js":function(t,i,r){t.exports=r("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/shared.js"),a=r("./node_modules/core-js/internals/hide.js"),l=r("./node_modules/core-js/internals/has.js"),c=r("./node_modules/core-js/internals/set-global.js"),d=r("./node_modules/core-js/internals/function-to-string.js"),u=r("./node_modules/core-js/internals/internal-state.js"),_=u.get,f=u.enforce,E=String(d).split("toString");o("inspectSource",function(b){return d.call(b)}),(t.exports=function(b,g,h,m){var S=m?!!m.unsafe:!1,v=m?!!m.enumerable:!1,T=m?!!m.noTargetGet:!1;if(typeof h=="function"&&(typeof g=="string"&&!l(h,"name")&&a(h,"name",g),f(h).source=E.join(typeof g=="string"?g:"")),b===s){v?b[g]=h:c(g,h);return}else S?!T&&b[g]&&(v=!0):delete b[g];v?b[g]=h:a(b,g,h)})(Function.prototype,"toString",function(){return typeof this=="function"&&_(this).source||d.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(t,i){t.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},"./node_modules/core-js/internals/set-global.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/hide.js");t.exports=function(a,l){try{o(s,a,l)}catch{s[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(t,i,r){var s=r("./node_modules/core-js/internals/object-define-property.js").f,o=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");t.exports=function(c,d,u){c&&!o(c=u?c:c.prototype,l)&&s(c,l,{configurable:!0,value:d})}},"./node_modules/core-js/internals/shared-key.js":function(t,i,r){var s=r("./node_modules/core-js/internals/shared.js"),o=r("./node_modules/core-js/internals/uid.js"),a=s("keys");t.exports=function(l){return a[l]||(a[l]=o(l))}},"./node_modules/core-js/internals/shared.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/set-global.js"),a=r("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=s[l]||o(l,{});(t.exports=function(d,u){return c[d]||(c[d]=u!==void 0?u:{})})("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(t,i,r){var s=r("./node_modules/core-js/internals/to-integer.js"),o=r("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a,l,c){var d=String(o(a)),u=s(l),_=d.length,f,E;return u<0||u>=_?c?"":void 0:(f=d.charCodeAt(u),f<55296||f>56319||u+1===_||(E=d.charCodeAt(u+1))<56320||E>57343?c?d.charAt(u):f:c?d.slice(u,u+2):(f-55296<<10)+(E-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(t,i,r){var s=r("./node_modules/core-js/internals/to-integer.js"),o=Math.max,a=Math.min;t.exports=function(l,c){var d=s(l);return d<0?o(d+c,0):a(d,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(t,i,r){var s=r("./node_modules/core-js/internals/indexed-object.js"),o=r("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a){return s(o(a))}},"./node_modules/core-js/internals/to-integer.js":function(t,i){var r=Math.ceil,s=Math.floor;t.exports=function(o){return isNaN(o=+o)?0:(o>0?s:r)(o)}},"./node_modules/core-js/internals/to-length.js":function(t,i,r){var s=r("./node_modules/core-js/internals/to-integer.js"),o=Math.min;t.exports=function(a){return a>0?o(s(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(t,i,r){var s=r("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(o){return Object(s(o))}},"./node_modules/core-js/internals/to-primitive.js":function(t,i,r){var s=r("./node_modules/core-js/internals/is-object.js");t.exports=function(o,a){if(!s(o))return o;var l,c;if(a&&typeof(l=o.toString)=="function"&&!s(c=l.call(o))||typeof(l=o.valueOf)=="function"&&!s(c=l.call(o))||!a&&typeof(l=o.toString)=="function"&&!s(c=l.call(o)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(t,i){var r=0,s=Math.random();t.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++r+s).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(t,i,r){var s=r("./node_modules/core-js/internals/is-object.js"),o=r("./node_modules/core-js/internals/an-object.js");t.exports=function(a,l){if(o(a),!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(t,i,r){var s=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/shared.js"),a=r("./node_modules/core-js/internals/uid.js"),l=r("./node_modules/core-js/internals/native-symbol.js"),c=s.Symbol,d=o("wks");t.exports=function(u){return d[u]||(d[u]=l&&c[u]||(l?c:a)("Symbol."+u))}},"./node_modules/core-js/modules/es.array.from.js":function(t,i,r){var s=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/array-from.js"),a=r("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});s({target:"Array",stat:!0,forced:l},{from:o})},"./node_modules/core-js/modules/es.string.iterator.js":function(t,i,r){var s=r("./node_modules/core-js/internals/string-at.js"),o=r("./node_modules/core-js/internals/internal-state.js"),a=r("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=o.set,d=o.getterFor(l);a(String,"String",function(u){c(this,{type:l,string:String(u),index:0})},function(){var _=d(this),f=_.string,E=_.index,b;return E>=f.length?{value:void 0,done:!0}:(b=s(f,E,!0),_.index+=b.length,{value:b,done:!1})})},"./node_modules/webpack/buildin/global.js":function(t,i){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(r=window)}t.exports=r},"./src/default-attrs.json":function(t){t.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(t,i,r){Object.defineProperty(i,"__esModule",{value:!0});var s=Object.assign||function(b){for(var g=1;g<arguments.length;g++){var h=arguments[g];for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(b[m]=h[m])}return b},o=function(){function b(g,h){for(var m=0;m<h.length;m++){var S=h[m];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,h,m){return h&&b(g.prototype,h),m&&b(g,m),g}}(),a=r("./node_modules/classnames/dedupe.js"),l=u(a),c=r("./src/default-attrs.json"),d=u(c);function u(b){return b&&b.__esModule?b:{default:b}}function _(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}var f=function(){function b(g,h){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];_(this,b),this.name=g,this.contents=h,this.tags=m,this.attrs=s({},d.default,{class:"feather feather-"+g})}return o(b,[{key:"toSvg",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=s({},this.attrs,h,{class:(0,l.default)(this.attrs.class,h.class)});return"<svg "+E(m)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),b}();function E(b){return Object.keys(b).map(function(g){return g+'="'+b[g]+'"'}).join(" ")}i.default=f},"./src/icons.js":function(t,i,r){Object.defineProperty(i,"__esModule",{value:!0});var s=r("./src/icon.js"),o=u(s),a=r("./dist/icons.json"),l=u(a),c=r("./src/tags.json"),d=u(c);function u(_){return _&&_.__esModule?_:{default:_}}i.default=Object.keys(l.default).map(function(_){return new o.default(_,l.default[_],d.default[_])}).reduce(function(_,f){return _[f.name]=f,_},{})},"./src/index.js":function(t,i,r){var s=r("./src/icons.js"),o=u(s),a=r("./src/to-svg.js"),l=u(a),c=r("./src/replace.js"),d=u(c);function u(_){return _&&_.__esModule?_:{default:_}}t.exports={icons:o.default,toSvg:l.default,replace:d.default}},"./src/replace.js":function(t,i,r){Object.defineProperty(i,"__esModule",{value:!0});var s=Object.assign||function(E){for(var b=1;b<arguments.length;b++){var g=arguments[b];for(var h in g)Object.prototype.hasOwnProperty.call(g,h)&&(E[h]=g[h])}return E},o=r("./node_modules/classnames/dedupe.js"),a=d(o),l=r("./src/icons.js"),c=d(l);function d(E){return E&&E.__esModule?E:{default:E}}function u(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var b=document.querySelectorAll("[data-feather]");Array.from(b).forEach(function(g){return _(g,E)})}function _(E){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=f(E),h=g["data-feather"];delete g["data-feather"];var m=c.default[h].toSvg(s({},b,g,{class:(0,a.default)(b.class,g.class)})),S=new DOMParser().parseFromString(m,"image/svg+xml"),v=S.querySelector("svg");E.parentNode.replaceChild(v,E)}function f(E){return Array.from(E.attributes).reduce(function(b,g){return b[g.name]=g.value,b},{})}i.default=u},"./src/tags.json":function(t){t.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-buoy":["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(t,i,r){Object.defineProperty(i,"__esModule",{value:!0});var s=r("./src/icons.js"),o=a(s);function a(c){return c&&c.__esModule?c:{default:c}}function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!o.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return o.default[c].toSvg(d)}i.default=l},0:function(t,i,r){r("./node_modules/core-js/es/array/from.js"),t.exports=r("./src/index.js")}})})})(p1);var cL=p1.exports;const ze=_r(cL);const dL={key:0,class:"container flex flex-col sm:flex-row items-center"},uL={class:"w-full"},_L={class:"flex flex-row font-medium nav-ul"},f1={__name:"Navigation",setup(n){return(e,t)=>e.$store.state.ready?(D(),L("div",dL,[p("div",uL,[p("div",_L,[De(nn(Ei),{to:{name:"discussions"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Discussions ")]),_:1}),De(nn(Ei),{to:{name:"interactive"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Interactive ")]),_:1}),De(nn(Ei),{to:{name:"playground"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Playground ")]),_:1}),De(nn(Ei),{to:{name:"extensions"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Extensions ")]),_:1}),De(nn(Ei),{to:{name:"training"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Training ")]),_:1}),De(nn(Ei),{to:{name:"quantizing"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Quantizing ")]),_:1}),De(nn(Ei),{to:{name:"settings"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Settings ")]),_:1}),De(nn(Ei),{to:{name:"help"},class:"link-item dark:link-item-dark"},{default:ot(()=>[Ye(" Help ")]),_:1})])])])):se("",!0)}};const pL={class:"top-0 shadow-lg"},fL={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},hL=p("div",{class:"flex items-center gap-3 flex-1"},[p("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:gl,alt:"Logo"}),p("div",{class:"flex flex-col"},[p("p",{class:"text-2xl"},"Lord of Large Language Models"),p("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),mL={class:"flex gap-3 flex-1 items-center justify-end"},gL={key:0,title:"Model is ok",class:"text-green-500"},EL={key:1,title:"Model is not ok",class:"text-red-500"},bL={key:2,title:"Text is not being generated. Ready to generate",class:"text-green-500"},SL=p("i",{"data-feather":"flag"},null,-1),yL=[SL],vL={key:3,title:"Generation in progress...",class:"text-red-500"},TL=p("i",{"data-feather":"flag"},null,-1),xL=[TL],CL={key:4,title:"Connection status: Connected",class:"text-green-500"},RL=p("i",{"data-feather":"zap"},null,-1),AL=[RL],wL={key:5,title:"Connection status: Not connected",class:"text-red-500"},OL=p("i",{"data-feather":"zap-off"},null,-1),NL=[OL],ML=Ng('<a href="https://github.com/ParisNeo/lollms-webui" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit repository page"><i data-feather="github"></i></div></a><a href="https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit my youtube channel"><i data-feather="youtube"></i></div></a>',2),IL={href:"https://twitter.com/SpaceNerduino",target:"_blank"},DL={class:"text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150",title:"Follow me on my twitter acount"},LL={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"},kL=p("g",{id:"layer1",transform:"translate(52.390088,-25.058597)"},[p("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),PL=[kL],UL=p("i",{"data-feather":"sun"},null,-1),FL=[UL],BL=p("i",{"data-feather":"moon"},null,-1),GL=[BL],zL=p("body",null,null,-1),HL={name:"TopBar",computed:{isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected}},watch:{isConnected(){Fe(()=>{ze.replace()})}},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(),Fe(()=>{ze.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"),Fe(()=>{Mu(()=>Promise.resolve({}),["assets/stackoverflow-dark-57af98f5.css"])});return}Fe(()=>{Mu(()=>Promise.resolve({}),["assets/stackoverflow-light-077a2b3c.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}Mu(()=>Promise.resolve({}),["assets/tokyo-night-dark-f9656fc4.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:f1}},VL=Object.assign(HL,{setup(n){return(e,t)=>(D(),L(Xe,null,[p("header",pL,[p("nav",fL,[De(nn(Ei),{to:{name:"discussions"}},{default:ot(()=>[hL]),_:1}),p("div",mL,[e.isModelOK?(D(),L("div",gL," M ")):se("",!0),e.isModelOK?se("",!0):(D(),L("div",EL," M ")),e.isGenerating?se("",!0):(D(),L("div",bL,yL)),e.isGenerating?(D(),L("div",vL,xL)):se("",!0),e.isConnected?(D(),L("div",CL,AL)):se("",!0),e.isConnected?se("",!0):(D(),L("div",wL,NL)),ML,p("a",IL,[p("div",DL,[(D(),L("svg",LL,PL))])]),p("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:t[0]||(t[0]=i=>e.themeSwitch())},FL),p("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:t[1]||(t[1]=i=>e.themeSwitch())},GL)])]),De(f1)]),zL],64))}}),qL={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"},YL={class:"flex overflow-hidden flex-grow"},$L={__name:"App",setup(n){return(e,t)=>(D(),L("div",qL,[De(VL),p("div",YL,[De(nn(u1),null,{default:ot(({Component:i})=>[(D(),jt(KN,null,[(D(),jt(rM(i)))],1024))]),_:1})])]))}},Ii=Object.create(null);Ii.open="0";Ii.close="1";Ii.ping="2";Ii.pong="3";Ii.message="4";Ii.upgrade="5";Ii.noop="6";const Hc=Object.create(null);Object.keys(Ii).forEach(n=>{Hc[Ii[n]]=n});const Lm={type:"error",data:"parser error"},h1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",m1=typeof ArrayBuffer=="function",g1=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,$g=({type:n,data:e},t,i)=>h1&&e instanceof Blob?t?i(e):yS(e,i):m1&&(e instanceof ArrayBuffer||g1(e))?t?i(e):yS(new Blob([e]),i):i(Ii[n]+(e||"")),yS=(n,e)=>{const t=new FileReader;return t.onload=function(){const i=t.result.split(",")[1];e("b"+(i||""))},t.readAsDataURL(n)};function vS(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Iu;function WL(n,e){if(h1&&n.data instanceof Blob)return n.data.arrayBuffer().then(vS).then(e);if(m1&&(n.data instanceof ArrayBuffer||g1(n.data)))return e(vS(n.data));$g(n,!1,t=>{Iu||(Iu=new TextEncoder),e(Iu.encode(t))})}const TS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$a=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<TS.length;n++)$a[TS.charCodeAt(n)]=n;const KL=n=>{let e=n.length*.75,t=n.length,i,r=0,s,o,a,l;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const c=new ArrayBuffer(e),d=new Uint8Array(c);for(i=0;i<t;i+=4)s=$a[n.charCodeAt(i)],o=$a[n.charCodeAt(i+1)],a=$a[n.charCodeAt(i+2)],l=$a[n.charCodeAt(i+3)],d[r++]=s<<2|o>>4,d[r++]=(o&15)<<4|a>>2,d[r++]=(a&3)<<6|l&63;return c},jL=typeof ArrayBuffer=="function",Wg=(n,e)=>{if(typeof n!="string")return{type:"message",data:E1(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:QL(n.substring(1),e)}:Hc[t]?n.length>1?{type:Hc[t],data:n.substring(1)}:{type:Hc[t]}:Lm},QL=(n,e)=>{if(jL){const t=KL(n);return E1(t,e)}else return{base64:!0,data:n}},E1=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},b1=String.fromCharCode(30),XL=(n,e)=>{const t=n.length,i=new Array(t);let r=0;n.forEach((s,o)=>{$g(s,!1,a=>{i[o]=a,++r===t&&e(i.join(b1))})})},ZL=(n,e)=>{const t=n.split(b1),i=[];for(let r=0;r<t.length;r++){const s=Wg(t[r],e);if(i.push(s),s.type==="error")break}return i};function JL(){return new TransformStream({transform(n,e){WL(n,t=>{const i=t.length;let r;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);const s=new DataView(r.buffer);s.setUint8(0,126),s.setUint16(1,i)}else{r=new Uint8Array(9);const s=new DataView(r.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(i))}n.data&&typeof n.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let Du;function Wl(n){return n.reduce((e,t)=>e+t.length,0)}function Kl(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let i=0;for(let r=0;r<e;r++)t[r]=n[0][i++],i===n[0].length&&(n.shift(),i=0);return n.length&&i<n[0].length&&(n[0]=n[0].slice(i)),t}function ek(n,e){Du||(Du=new TextDecoder);const t=[];let i=0,r=-1,s=!1;return new TransformStream({transform(o,a){for(t.push(o);;){if(i===0){if(Wl(t)<1)break;const l=Kl(t,1);s=(l[0]&128)===128,r=l[0]&127,r<126?i=3:r===126?i=1:i=2}else if(i===1){if(Wl(t)<2)break;const l=Kl(t,2);r=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),i=3}else if(i===2){if(Wl(t)<8)break;const l=Kl(t,8),c=new DataView(l.buffer,l.byteOffset,l.length),d=c.getUint32(0);if(d>Math.pow(2,53-32)-1){a.enqueue(Lm);break}r=d*Math.pow(2,32)+c.getUint32(4),i=3}else{if(Wl(t)<r)break;const l=Kl(t,r);a.enqueue(Wg(s?l:Du.decode(l),e)),i=0}if(r===0||r>n){a.enqueue(Lm);break}}}})}const S1=4;function Jt(n){if(n)return tk(n)}function tk(n){for(var e in Jt.prototype)n[e]=Jt.prototype[e];return n}Jt.prototype.on=Jt.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};Jt.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};Jt.prototype.off=Jt.prototype.removeListener=Jt.prototype.removeAllListeners=Jt.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var i,r=0;r<t.length;r++)if(i=t[r],i===e||i.fn===e){t.splice(r,1);break}return t.length===0&&delete this._callbacks["$"+n],this};Jt.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+n],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(t){t=t.slice(0);for(var i=0,r=t.length;i<r;++i)t[i].apply(this,e)}return this};Jt.prototype.emitReserved=Jt.prototype.emit;Jt.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};Jt.prototype.hasListeners=function(n){return!!this.listeners(n).length};const Yn=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function y1(n,...e){return e.reduce((t,i)=>(n.hasOwnProperty(i)&&(t[i]=n[i]),t),{})}const nk=Yn.setTimeout,ik=Yn.clearTimeout;function Yd(n,e){e.useNativeTimers?(n.setTimeoutFn=nk.bind(Yn),n.clearTimeoutFn=ik.bind(Yn)):(n.setTimeoutFn=Yn.setTimeout.bind(Yn),n.clearTimeoutFn=Yn.clearTimeout.bind(Yn))}const rk=1.33;function sk(n){return typeof n=="string"?ok(n):Math.ceil((n.byteLength||n.size)*rk)}function ok(n){let e=0,t=0;for(let i=0,r=n.length;i<r;i++)e=n.charCodeAt(i),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(i++,t+=4);return t}function ak(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function lk(n){let e={},t=n.split("&");for(let i=0,r=t.length;i<r;i++){let s=t[i].split("=");e[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return e}class ck extends Error{constructor(e,t,i){super(e),this.description=t,this.context=i,this.type="TransportError"}}class Kg extends Jt{constructor(e){super(),this.writable=!1,Yd(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,i){return super.emitReserved("error",new ck(e,t,i)),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 t=Wg(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=ak(e);return t.length?"?"+t:""}}const v1="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),km=64,dk={};let xS=0,jl=0,CS;function RS(n){let e="";do e=v1[n%km]+e,n=Math.floor(n/km);while(n>0);return e}function T1(){const n=RS(+new Date);return n!==CS?(xS=0,CS=n):n+"."+RS(xS++)}for(;jl<km;jl++)dk[v1[jl]]=jl;let x1=!1;try{x1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const uk=x1;function C1(n){const e=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||uk))return new XMLHttpRequest}catch{}if(!e)try{return new Yn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function _k(){}const pk=function(){return new C1({xdomain:!1}).responseType!=null}();class fk extends Kg{constructor(e){if(super(e),this.polling=!1,typeof location<"u"){const i=location.protocol==="https:";let r=location.port;r||(r=i?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}const t=e&&e.forceBase64;this.supportsBinary=pk&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let i=0;this.polling&&(i++,this.once("pollComplete",function(){--i||t()})),this.writable||(i++,this.once("drain",function(){--i||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};ZL(e,this.socket.binaryType).forEach(t),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,XL(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=T1()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Oo(this.uri(),e)}doWrite(e,t){const i=this.request({method:"POST",data:e});i.on("success",t),i.on("error",(r,s)=>{this.onError("xhr post error",r,s)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,i)=>{this.onError("xhr poll error",t,i)}),this.pollXhr=e}}let Oo=class Vc extends Jt{constructor(e,t){super(),Yd(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=t.data!==void 0?t.data:null,this.create()}create(){var e;const t=y1(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const i=this.xhr=new C1(t);try{i.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&i.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(i.timeout=this.opts.requestTimeout),i.onreadystatechange=()=>{var r;i.readyState===3&&((r=this.opts.cookieJar)===null||r===void 0||r.parseCookies(i)),i.readyState===4&&(i.status===200||i.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof i.status=="number"?i.status:0)},0))},i.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=Vc.requestsCount++,Vc.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=_k,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Vc.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()}};Oo.requestsCount=0;Oo.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",AS);else if(typeof addEventListener=="function"){const n="onpagehide"in Yn?"pagehide":"unload";addEventListener(n,AS,!1)}}function AS(){for(let n in Oo.requests)Oo.requests.hasOwnProperty(n)&&Oo.requests[n].abort()}const jg=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),Ql=Yn.WebSocket||Yn.MozWebSocket,wS=!0,hk="arraybuffer",OS=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class mk extends Kg{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,i=OS?{}:y1(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=wS&&!OS?t?new Ql(e,t):new Ql(e):new Ql(e,t,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,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 t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;$g(i,this.supportsBinary,s=>{const o={};try{wS&&this.ws.send(s)}catch{}r&&jg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=T1()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!Ql}}class gk extends Kg{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const t=ek(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(t).getReader(),r=JL();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const s=()=>{i.read().then(({done:a,value:l})=>{a||(this.onPacket(l),s())}).catch(a=>{})};s();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;this.writer.write(i).then(()=>{r&&jg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const Ek={websocket:mk,webtransport:gk,polling:fk},bk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Sk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Pm(n){const e=n,t=n.indexOf("["),i=n.indexOf("]");t!=-1&&i!=-1&&(n=n.substring(0,t)+n.substring(t,i).replace(/:/g,";")+n.substring(i,n.length));let r=bk.exec(n||""),s={},o=14;for(;o--;)s[Sk[o]]=r[o]||"";return t!=-1&&i!=-1&&(s.source=e,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=yk(s,s.path),s.queryKey=vk(s,s.query),s}function yk(n,e){const t=/\/{2,9}/g,i=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function vk(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,s){r&&(t[r]=s)}),t}let R1=class bo extends Jt{constructor(e,t={}){super(),this.binaryType=hk,this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=Pm(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=Pm(t.host).host),Yd(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],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:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=lk(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 t=Object.assign({},this.opts.query);t.EIO=S1,t.transport=e,this.id&&(t.sid=this.id);const i=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new Ek[e](i)}open(){let e;if(this.opts.rememberUpgrade&&bo.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",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),i=!1;bo.priorWebsocketSuccess=!1;const r=()=>{i||(t.send([{type:"ping",data:"probe"}]),t.once("packet",u=>{if(!i)if(u.type==="pong"&&u.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;bo.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(d(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const _=new Error("probe error");_.transport=t.name,this.emitReserved("upgradeError",_)}}))};function s(){i||(i=!0,d(),t.close(),t=null)}const o=u=>{const _=new Error("probe error: "+u);_.transport=t.name,s(),this.emitReserved("upgradeError",_)};function a(){o("transport closed")}function l(){o("socket closed")}function c(u){t&&u.name!==t.name&&s()}const d=()=>{t.removeListener("open",r),t.removeListener("error",o),t.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};t.once("open",r),t.once("error",o),t.once("close",a),this.once("close",l),this.once("upgrading",c),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||t.open()},200):t.open()}onOpen(){if(this.readyState="open",bo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{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 t=1;for(let i=0;i<this.writeBuffer.length;i++){const r=this.writeBuffer[i].data;if(r&&(t+=sk(r)),i>0&&t>this.maxPayload)return this.writeBuffer.slice(0,i);t+=2}return this.writeBuffer}write(e,t,i){return this.sendPacket("message",e,t,i),this}send(e,t,i){return this.sendPacket("message",e,t,i),this}sendPacket(e,t,i,r){if(typeof t=="function"&&(r=t,t=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const s={type:e,data:t,options:i};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},i=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}onError(e){bo.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(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,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let i=0;const r=e.length;for(;i<r;i++)~this.transports.indexOf(e[i])&&t.push(e[i]);return t}};R1.protocol=S1;function Tk(n,e="",t){let i=n;t=t||typeof location<"u"&&location,n==null&&(n=t.protocol+"//"+t.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=t.protocol+n:n=t.host+n),/^(https?|wss?):\/\//.test(n)||(typeof t<"u"?n=t.protocol+"//"+n:n="https://"+n),i=Pm(n)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const s=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+s+":"+i.port+e,i.href=i.protocol+"://"+s+(t&&t.port===i.port?"":":"+i.port),i}const xk=typeof ArrayBuffer=="function",Ck=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,A1=Object.prototype.toString,Rk=typeof Blob=="function"||typeof Blob<"u"&&A1.call(Blob)==="[object BlobConstructor]",Ak=typeof File=="function"||typeof File<"u"&&A1.call(File)==="[object FileConstructor]";function Qg(n){return xk&&(n instanceof ArrayBuffer||Ck(n))||Rk&&n instanceof Blob||Ak&&n instanceof File}function qc(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,i=n.length;t<i;t++)if(qc(n[t]))return!0;return!1}if(Qg(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return qc(n.toJSON(),!0);for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&qc(n[t]))return!0;return!1}function wk(n){const e=[],t=n.data,i=n;return i.data=Um(t,e),i.attachments=e.length,{packet:i,buffers:e}}function Um(n,e){if(!n)return n;if(Qg(n)){const t={_placeholder:!0,num:e.length};return e.push(n),t}else if(Array.isArray(n)){const t=new Array(n.length);for(let i=0;i<n.length;i++)t[i]=Um(n[i],e);return t}else if(typeof n=="object"&&!(n instanceof Date)){const t={};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=Um(n[i],e));return t}return n}function Ok(n,e){return n.data=Fm(n.data,e),delete n.attachments,n}function Fm(n,e){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<e.length)return e[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let t=0;t<n.length;t++)n[t]=Fm(n[t],e);else if(typeof n=="object")for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Fm(n[t],e));return n}const Nk=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Mk=5;var Tt;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(Tt||(Tt={}));class Ik{constructor(e){this.replacer=e}encode(e){return(e.type===Tt.EVENT||e.type===Tt.ACK)&&qc(e)?this.encodeAsBinary({type:e.type===Tt.EVENT?Tt.BINARY_EVENT:Tt.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===Tt.BINARY_EVENT||e.type===Tt.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=wk(e),i=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(i),r}}function NS(n){return Object.prototype.toString.call(n)==="[object Object]"}class Xg extends Jt{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const i=t.type===Tt.BINARY_EVENT;i||t.type===Tt.BINARY_ACK?(t.type=i?Tt.EVENT:Tt.ACK,this.reconstructor=new Dk(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(Qg(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const i={type:Number(e.charAt(0))};if(Tt[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Tt.BINARY_EVENT||i.type===Tt.BINARY_ACK){const s=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const o=e.substring(s,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");i.attachments=Number(o)}if(e.charAt(t+1)==="/"){const s=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););i.nsp=e.substring(s,t)}else i.nsp="/";const r=e.charAt(t+1);if(r!==""&&Number(r)==r){const s=t+1;for(;++t;){const o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}i.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(Xg.isPayloadValid(i.type,s))i.data=s;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case Tt.CONNECT:return NS(t);case Tt.DISCONNECT:return t===void 0;case Tt.CONNECT_ERROR:return typeof t=="string"||NS(t);case Tt.EVENT:case Tt.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&Nk.indexOf(t[0])===-1);case Tt.ACK:case Tt.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Dk{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=Ok(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Lk=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Xg,Encoder:Ik,get PacketType(){return Tt},protocol:Mk},Symbol.toStringTag,{value:"Module"}));function li(n,e,t){return n.on(e,t),function(){n.off(e,t)}}const kk=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class w1 extends Jt{constructor(e,t,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[li(e,"open",this.onopen.bind(this)),li(e,"packet",this.onpacket.bind(this)),li(e,"error",this.onerror.bind(this)),li(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(kk.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const i={type:Tt.EVENT,data:t};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const o=this.ids++,a=t.pop();this._registerAckCallback(o,a),i.id=o}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,t){var i;const r=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(r===void 0){this.acks[e]=t;return}const s=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===e&&this.sendBuffer.splice(o,1);t.call(this,new Error("operation has timed out"))},r);this.acks[e]=(...o)=>{this.io.clearTimeoutFn(s),t.apply(this,[null,...o])}}emitWithAck(e,...t){const i=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((r,s)=>{t.push((o,a)=>i?o?s(o):r(a):r(o)),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...s)=>i!==this._queue[0]?void 0:(r!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...s)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.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:Tt.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,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Tt.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 Tt.EVENT:case Tt.BINARY_EVENT:this.onevent(e);break;case Tt.ACK:case Tt.BINARY_ACK:this.onack(e);break;case Tt.DISCONNECT:this.ondisconnect();break;case Tt.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const i of t)i.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 t=this;let i=!1;return function(...r){i||(i=!0,t.packet({type:Tt.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,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:Tt.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 t=this._anyListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const i of t)i.apply(this,e.data)}}}function ua(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}ua.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};ua.prototype.reset=function(){this.attempts=0};ua.prototype.setMin=function(n){this.ms=n};ua.prototype.setMax=function(n){this.max=n};ua.prototype.setJitter=function(n){this.jitter=n};class Bm extends Jt{constructor(e,t){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,Yd(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((i=t.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new ua({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||Lk;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.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 t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.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 R1(this.uri,this.opts);const t=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=li(t,"open",function(){i.onopen(),e&&e()}),s=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=li(t,"error",s);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{r(),s(new Error("timeout")),t.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(r),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(li(e,"ping",this.onping.bind(this)),li(e,"data",this.ondata.bind(this)),li(e,"error",this.onerror.bind(this)),li(e,"close",this.onclose.bind(this)),li(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){jg(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new w1(this,e,t),this.nsps[e]=i),i}_destroy(e){const t=Object.keys(this.nsps);for(const i of t)if(this.nsps[i].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let i=0;i<t.length;i++)this.engine.write(t[i],e.options)}cleanup(){this.subs.forEach(e=>e()),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,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),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 t=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Ma={};function Yc(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=Tk(n,e.path||"/socket.io"),i=t.source,r=t.id,s=t.path,o=Ma[r]&&s in Ma[r].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let l;return a?l=new Bm(i,e):(Ma[r]||(Ma[r]=new Bm(i,e)),l=Ma[r]),t.query&&!e.query&&(e.query=t.queryKey),l.socket(t.path,e)}Object.assign(Yc,{Manager:Bm,Socket:w1,io:Yc,connect:Yc});const Pk=void 0,We=new Yc(Pk,{reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3});const bt=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},Uk={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(n){this.toastArr=this.toastArr.filter(e=>e.id!=n)},copyToClipBoard(n){navigator.clipboard.writeText(n),Fe(()=>{ze.replace()})},showToast(n,e=3,t=!0){const i=parseInt((new Date().getTime()*Math.random()).toString()).toString(),r={id:i,success:t,message:n,show:!0};this.toastArr.push(r),Fe(()=>{ze.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(s=>s.id!=i)},e*1e3)}},watch:{}},jr=n=>(Gs("data-v-3ffdabf3"),n=n(),zs(),n),Fk={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},Bk={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"},Gk={class:"flex flex-row flex-grow items-center"},zk={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"},Hk=jr(()=>p("i",{"data-feather":"check"},null,-1)),Vk=jr(()=>p("span",{class:"sr-only"},"Check icon",-1)),qk=[Hk,Vk],Yk={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"},$k=jr(()=>p("i",{"data-feather":"x"},null,-1)),Wk=jr(()=>p("span",{class:"sr-only"},"Cross icon",-1)),Kk=[$k,Wk],jk=["title"],Qk={class:"flex"},Xk=["onClick"],Zk=jr(()=>p("span",{class:"sr-only"},"Copy message",-1)),Jk=jr(()=>p("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),eP=[Zk,Jk],tP=["onClick"],nP=jr(()=>p("span",{class:"sr-only"},"Close",-1)),iP=jr(()=>p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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)),rP=[nP,iP];function sP(n,e,t,i,r,s){return D(),L("div",Fk,[De(tr,{name:"toastItem",tag:"div"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.toastArr,o=>(D(),L("div",{key:o.id,class:"relative"},[p("div",Bk,[p("div",Gk,[mm(n.$slots,"default",{},()=>[o.success?(D(),L("div",zk,qk)):se("",!0),o.success?se("",!0):(D(),L("div",Yk,Kk)),p("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:o.message},ge(o.message),9,jk)],!0)]),p("div",Qk,[p("button",{type:"button",onClick:Ie(a=>s.copyToClipBoard(o.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"},eP,8,Xk),p("button",{type:"button",onClick:a=>s.close(o.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"},rP,8,tP)])])]))),128))]),_:3})])}const Vs=bt(Uk,[["render",sP],["__scopeId","data-v-3ffdabf3"]]);var At={};const oP="Á",aP="á",lP="Ă",cP="ă",dP="∾",uP="∿",_P="∾̳",pP="Â",fP="â",hP="´",mP="А",gP="а",EP="Æ",bP="æ",SP="⁡",yP="𝔄",vP="𝔞",TP="À",xP="à",CP="ℵ",RP="ℵ",AP="Α",wP="α",OP="Ā",NP="ā",MP="⨿",IP="&",DP="&",LP="⩕",kP="⩓",PP="∧",UP="⩜",FP="⩘",BP="⩚",GP="∠",zP="⦤",HP="∠",VP="⦨",qP="⦩",YP="⦪",$P="⦫",WP="⦬",KP="⦭",jP="⦮",QP="⦯",XP="∡",ZP="∟",JP="⊾",eU="⦝",tU="∢",nU="Å",iU="⍼",rU="Ą",sU="ą",oU="𝔸",aU="𝕒",lU="⩯",cU="≈",dU="⩰",uU="≊",_U="≋",pU="'",fU="⁡",hU="≈",mU="≊",gU="Å",EU="å",bU="𝒜",SU="𝒶",yU="≔",vU="*",TU="≈",xU="≍",CU="Ã",RU="ã",AU="Ä",wU="ä",OU="∳",NU="⨑",MU="≌",IU="϶",DU="‵",LU="∽",kU="⋍",PU="∖",UU="⫧",FU="⊽",BU="⌅",GU="⌆",zU="⌅",HU="⎵",VU="⎶",qU="≌",YU="Б",$U="б",WU="„",KU="∵",jU="∵",QU="∵",XU="⦰",ZU="϶",JU="ℬ",eF="ℬ",tF="Β",nF="β",iF="ℶ",rF="≬",sF="𝔅",oF="𝔟",aF="⋂",lF="◯",cF="⋃",dF="⨀",uF="⨁",_F="⨂",pF="⨆",fF="★",hF="▽",mF="△",gF="⨄",EF="⋁",bF="⋀",SF="⤍",yF="⧫",vF="▪",TF="▴",xF="▾",CF="◂",RF="▸",AF="␣",wF="▒",OF="░",NF="▓",MF="█",IF="=⃥",DF="≡⃥",LF="⫭",kF="⌐",PF="𝔹",UF="𝕓",FF="⊥",BF="⊥",GF="⋈",zF="⧉",HF="┐",VF="╕",qF="╖",YF="╗",$F="┌",WF="╒",KF="╓",jF="╔",QF="─",XF="═",ZF="┬",JF="╤",eB="╥",tB="╦",nB="┴",iB="╧",rB="╨",sB="╩",oB="⊟",aB="⊞",lB="⊠",cB="┘",dB="╛",uB="╜",_B="╝",pB="└",fB="╘",hB="╙",mB="╚",gB="│",EB="║",bB="┼",SB="╪",yB="╫",vB="╬",TB="┤",xB="╡",CB="╢",RB="╣",AB="├",wB="╞",OB="╟",NB="╠",MB="‵",IB="˘",DB="˘",LB="¦",kB="𝒷",PB="ℬ",UB="⁏",FB="∽",BB="⋍",GB="⧅",zB="\\",HB="⟈",VB="•",qB="•",YB="≎",$B="⪮",WB="≏",KB="≎",jB="≏",QB="Ć",XB="ć",ZB="⩄",JB="⩉",e3="⩋",t3="∩",n3="⋒",i3="⩇",r3="⩀",s3="ⅅ",o3="∩︀",a3="⁁",l3="ˇ",c3="ℭ",d3="⩍",u3="Č",_3="č",p3="Ç",f3="ç",h3="Ĉ",m3="ĉ",g3="∰",E3="⩌",b3="⩐",S3="Ċ",y3="ċ",v3="¸",T3="¸",x3="⦲",C3="¢",R3="·",A3="·",w3="𝔠",O3="ℭ",N3="Ч",M3="ч",I3="✓",D3="✓",L3="Χ",k3="χ",P3="ˆ",U3="≗",F3="↺",B3="↻",G3="⊛",z3="⊚",H3="⊝",V3="⊙",q3="®",Y3="Ⓢ",$3="⊖",W3="⊕",K3="⊗",j3="○",Q3="⧃",X3="≗",Z3="⨐",J3="⫯",e4="⧂",t4="∲",n4="”",i4="’",r4="♣",s4="♣",o4=":",a4="∷",l4="⩴",c4="≔",d4="≔",u4=",",_4="@",p4="∁",f4="∘",h4="∁",m4="ℂ",g4="≅",E4="⩭",b4="≡",S4="∮",y4="∯",v4="∮",T4="𝕔",x4="ℂ",C4="∐",R4="∐",A4="©",w4="©",O4="℗",N4="∳",M4="↵",I4="✗",D4="⨯",L4="𝒞",k4="𝒸",P4="⫏",U4="⫑",F4="⫐",B4="⫒",G4="⋯",z4="⤸",H4="⤵",V4="⋞",q4="⋟",Y4="↶",$4="⤽",W4="⩈",K4="⩆",j4="≍",Q4="∪",X4="⋓",Z4="⩊",J4="⊍",e5="⩅",t5="∪︀",n5="↷",i5="⤼",r5="⋞",s5="⋟",o5="⋎",a5="⋏",l5="¤",c5="↶",d5="↷",u5="⋎",_5="⋏",p5="∲",f5="∱",h5="⌭",m5="†",g5="‡",E5="ℸ",b5="↓",S5="↡",y5="⇓",v5="‐",T5="⫤",x5="⊣",C5="⤏",R5="˝",A5="Ď",w5="ď",O5="Д",N5="д",M5="‡",I5="⇊",D5="ⅅ",L5="ⅆ",k5="⤑",P5="⩷",U5="°",F5="∇",B5="Δ",G5="δ",z5="⦱",H5="⥿",V5="𝔇",q5="𝔡",Y5="⥥",$5="⇃",W5="⇂",K5="´",j5="˙",Q5="˝",X5="`",Z5="˜",J5="⋄",eG="⋄",tG="⋄",nG="♦",iG="♦",rG="¨",sG="ⅆ",oG="ϝ",aG="⋲",lG="÷",cG="÷",dG="⋇",uG="⋇",_G="Ђ",pG="ђ",fG="⌞",hG="⌍",mG="$",gG="𝔻",EG="𝕕",bG="¨",SG="˙",yG="⃜",vG="≐",TG="≑",xG="≐",CG="∸",RG="∔",AG="⊡",wG="⌆",OG="∯",NG="¨",MG="⇓",IG="⇐",DG="⇔",LG="⫤",kG="⟸",PG="⟺",UG="⟹",FG="⇒",BG="⊨",GG="⇑",zG="⇕",HG="∥",VG="⤓",qG="↓",YG="↓",$G="⇓",WG="⇵",KG="̑",jG="⇊",QG="⇃",XG="⇂",ZG="⥐",JG="⥞",e9="⥖",t9="↽",n9="⥟",i9="⥗",r9="⇁",s9="↧",o9="⊤",a9="⤐",l9="⌟",c9="⌌",d9="𝒟",u9="𝒹",_9="Ѕ",p9="ѕ",f9="⧶",h9="Đ",m9="đ",g9="⋱",E9="▿",b9="▾",S9="⇵",y9="⥯",v9="⦦",T9="Џ",x9="џ",C9="⟿",R9="É",A9="é",w9="⩮",O9="Ě",N9="ě",M9="Ê",I9="ê",D9="≖",L9="≕",k9="Э",P9="э",U9="⩷",F9="Ė",B9="ė",G9="≑",z9="ⅇ",H9="≒",V9="𝔈",q9="𝔢",Y9="⪚",$9="È",W9="è",K9="⪖",j9="⪘",Q9="⪙",X9="∈",Z9="⏧",J9="ℓ",ez="⪕",tz="⪗",nz="Ē",iz="ē",rz="∅",sz="∅",oz="◻",az="∅",lz="▫",cz=" ",dz=" ",uz=" ",_z="Ŋ",pz="ŋ",fz=" ",hz="Ę",mz="ę",gz="𝔼",Ez="𝕖",bz="⋕",Sz="⧣",yz="⩱",vz="ε",Tz="Ε",xz="ε",Cz="ϵ",Rz="≖",Az="≕",wz="≂",Oz="⪖",Nz="⪕",Mz="⩵",Iz="=",Dz="≂",Lz="≟",kz="⇌",Pz="≡",Uz="⩸",Fz="⧥",Bz="⥱",Gz="≓",zz="ℯ",Hz="ℰ",Vz="≐",qz="⩳",Yz="≂",$z="Η",Wz="η",Kz="Ð",jz="ð",Qz="Ë",Xz="ë",Zz="€",Jz="!",eH="∃",tH="∃",nH="ℰ",iH="ⅇ",rH="ⅇ",sH="≒",oH="Ф",aH="ф",lH="♀",cH="ffi",dH="ff",uH="ffl",_H="𝔉",pH="𝔣",fH="fi",hH="◼",mH="▪",gH="fj",EH="♭",bH="fl",SH="▱",yH="ƒ",vH="𝔽",TH="𝕗",xH="∀",CH="∀",RH="⋔",AH="⫙",wH="ℱ",OH="⨍",NH="½",MH="⅓",IH="¼",DH="⅕",LH="⅙",kH="⅛",PH="⅔",UH="⅖",FH="¾",BH="⅗",GH="⅜",zH="⅘",HH="⅚",VH="⅝",qH="⅞",YH="⁄",$H="⌢",WH="𝒻",KH="ℱ",jH="ǵ",QH="Γ",XH="γ",ZH="Ϝ",JH="ϝ",eV="⪆",tV="Ğ",nV="ğ",iV="Ģ",rV="Ĝ",sV="ĝ",oV="Г",aV="г",lV="Ġ",cV="ġ",dV="≥",uV="≧",_V="⪌",pV="⋛",fV="≥",hV="≧",mV="⩾",gV="⪩",EV="⩾",bV="⪀",SV="⪂",yV="⪄",vV="⋛︀",TV="⪔",xV="𝔊",CV="𝔤",RV="≫",AV="⋙",wV="⋙",OV="ℷ",NV="Ѓ",MV="ѓ",IV="⪥",DV="≷",LV="⪒",kV="⪤",PV="⪊",UV="⪊",FV="⪈",BV="≩",GV="⪈",zV="≩",HV="⋧",VV="𝔾",qV="𝕘",YV="`",$V="≥",WV="⋛",KV="≧",jV="⪢",QV="≷",XV="⩾",ZV="≳",JV="𝒢",e8="ℊ",t8="≳",n8="⪎",i8="⪐",r8="⪧",s8="⩺",o8=">",a8=">",l8="≫",c8="⋗",d8="⦕",u8="⩼",_8="⪆",p8="⥸",f8="⋗",h8="⋛",m8="⪌",g8="≷",E8="≳",b8="≩︀",S8="≩︀",y8="ˇ",v8=" ",T8="½",x8="ℋ",C8="Ъ",R8="ъ",A8="⥈",w8="↔",O8="⇔",N8="↭",M8="^",I8="ℏ",D8="Ĥ",L8="ĥ",k8="♥",P8="♥",U8="…",F8="⊹",B8="𝔥",G8="ℌ",z8="ℋ",H8="⤥",V8="⤦",q8="⇿",Y8="∻",$8="↩",W8="↪",K8="𝕙",j8="ℍ",Q8="―",X8="─",Z8="𝒽",J8="ℋ",e6="ℏ",t6="Ħ",n6="ħ",i6="≎",r6="≏",s6="⁃",o6="‐",a6="Í",l6="í",c6="⁣",d6="Î",u6="î",_6="И",p6="и",f6="İ",h6="Е",m6="е",g6="¡",E6="⇔",b6="𝔦",S6="ℑ",y6="Ì",v6="ì",T6="ⅈ",x6="⨌",C6="∭",R6="⧜",A6="℩",w6="IJ",O6="ij",N6="Ī",M6="ī",I6="ℑ",D6="ⅈ",L6="ℐ",k6="ℑ",P6="ı",U6="ℑ",F6="⊷",B6="Ƶ",G6="⇒",z6="℅",H6="∞",V6="⧝",q6="ı",Y6="⊺",$6="∫",W6="∬",K6="ℤ",j6="∫",Q6="⊺",X6="⋂",Z6="⨗",J6="⨼",eq="⁣",tq="⁢",nq="Ё",iq="ё",rq="Į",sq="į",oq="𝕀",aq="𝕚",lq="Ι",cq="ι",dq="⨼",uq="¿",_q="𝒾",pq="ℐ",fq="∈",hq="⋵",mq="⋹",gq="⋴",Eq="⋳",bq="∈",Sq="⁢",yq="Ĩ",vq="ĩ",Tq="І",xq="і",Cq="Ï",Rq="ï",Aq="Ĵ",wq="ĵ",Oq="Й",Nq="й",Mq="𝔍",Iq="𝔧",Dq="ȷ",Lq="𝕁",kq="𝕛",Pq="𝒥",Uq="𝒿",Fq="Ј",Bq="ј",Gq="Є",zq="є",Hq="Κ",Vq="κ",qq="ϰ",Yq="Ķ",$q="ķ",Wq="К",Kq="к",jq="𝔎",Qq="𝔨",Xq="ĸ",Zq="Х",Jq="х",e7="Ќ",t7="ќ",n7="𝕂",i7="𝕜",r7="𝒦",s7="𝓀",o7="⇚",a7="Ĺ",l7="ĺ",c7="⦴",d7="ℒ",u7="Λ",_7="λ",p7="⟨",f7="⟪",h7="⦑",m7="⟨",g7="⪅",E7="ℒ",b7="«",S7="⇤",y7="⤟",v7="←",T7="↞",x7="⇐",C7="⤝",R7="↩",A7="↫",w7="⤹",O7="⥳",N7="↢",M7="⤙",I7="⤛",D7="⪫",L7="⪭",k7="⪭︀",P7="⤌",U7="⤎",F7="❲",B7="{",G7="[",z7="⦋",H7="⦏",V7="⦍",q7="Ľ",Y7="ľ",$7="Ļ",W7="ļ",K7="⌈",j7="{",Q7="Л",X7="л",Z7="⤶",J7="“",eY="„",tY="⥧",nY="⥋",iY="↲",rY="≤",sY="≦",oY="⟨",aY="⇤",lY="←",cY="←",dY="⇐",uY="⇆",_Y="↢",pY="⌈",fY="⟦",hY="⥡",mY="⥙",gY="⇃",EY="⌊",bY="↽",SY="↼",yY="⇇",vY="↔",TY="↔",xY="⇔",CY="⇆",RY="⇋",AY="↭",wY="⥎",OY="↤",NY="⊣",MY="⥚",IY="⋋",DY="⧏",LY="⊲",kY="⊴",PY="⥑",UY="⥠",FY="⥘",BY="↿",GY="⥒",zY="↼",HY="⪋",VY="⋚",qY="≤",YY="≦",$Y="⩽",WY="⪨",KY="⩽",jY="⩿",QY="⪁",XY="⪃",ZY="⋚︀",JY="⪓",e$="⪅",t$="⋖",n$="⋚",i$="⪋",r$="⋚",s$="≦",o$="≶",a$="≶",l$="⪡",c$="≲",d$="⩽",u$="≲",_$="⥼",p$="⌊",f$="𝔏",h$="𝔩",m$="≶",g$="⪑",E$="⥢",b$="↽",S$="↼",y$="⥪",v$="▄",T$="Љ",x$="љ",C$="⇇",R$="≪",A$="⋘",w$="⌞",O$="⇚",N$="⥫",M$="◺",I$="Ŀ",D$="ŀ",L$="⎰",k$="⎰",P$="⪉",U$="⪉",F$="⪇",B$="≨",G$="⪇",z$="≨",H$="⋦",V$="⟬",q$="⇽",Y$="⟦",$$="⟵",W$="⟵",K$="⟸",j$="⟷",Q$="⟷",X$="⟺",Z$="⟼",J$="⟶",eW="⟶",tW="⟹",nW="↫",iW="↬",rW="⦅",sW="𝕃",oW="𝕝",aW="⨭",lW="⨴",cW="∗",dW="_",uW="↙",_W="↘",pW="◊",fW="◊",hW="⧫",mW="(",gW="⦓",EW="⇆",bW="⌟",SW="⇋",yW="⥭",vW="‎",TW="⊿",xW="‹",CW="𝓁",RW="ℒ",AW="↰",wW="↰",OW="≲",NW="⪍",MW="⪏",IW="[",DW="‘",LW="‚",kW="Ł",PW="ł",UW="⪦",FW="⩹",BW="<",GW="<",zW="≪",HW="⋖",VW="⋋",qW="⋉",YW="⥶",$W="⩻",WW="◃",KW="⊴",jW="◂",QW="⦖",XW="⥊",ZW="⥦",JW="≨︀",eK="≨︀",tK="¯",nK="♂",iK="✠",rK="✠",sK="↦",oK="↦",aK="↧",lK="↤",cK="↥",dK="▮",uK="⨩",_K="М",pK="м",fK="—",hK="∺",mK="∡",gK=" ",EK="ℳ",bK="𝔐",SK="𝔪",yK="℧",vK="µ",TK="*",xK="⫰",CK="∣",RK="·",AK="⊟",wK="−",OK="∸",NK="⨪",MK="∓",IK="⫛",DK="…",LK="∓",kK="⊧",PK="𝕄",UK="𝕞",FK="∓",BK="𝓂",GK="ℳ",zK="∾",HK="Μ",VK="μ",qK="⊸",YK="⊸",$K="∇",WK="Ń",KK="ń",jK="∠⃒",QK="≉",XK="⩰̸",ZK="≋̸",JK="ʼn",ej="≉",tj="♮",nj="ℕ",ij="♮",rj=" ",sj="≎̸",oj="≏̸",aj="⩃",lj="Ň",cj="ň",dj="Ņ",uj="ņ",_j="≇",pj="⩭̸",fj="⩂",hj="Н",mj="н",gj="–",Ej="⤤",bj="↗",Sj="⇗",yj="↗",vj="≠",Tj="≐̸",xj="​",Cj="​",Rj="​",Aj="​",wj="≢",Oj="⤨",Nj="≂̸",Mj="≫",Ij="≪",Dj=`
+                                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),PL=[kL],UL=p("i",{"data-feather":"sun"},null,-1),FL=[UL],BL=p("i",{"data-feather":"moon"},null,-1),GL=[BL],zL=p("body",null,null,-1),HL={name:"TopBar",computed:{isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected}},watch:{isConnected(){Fe(()=>{ze.replace()})}},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(),Fe(()=>{ze.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"),Fe(()=>{Mu(()=>Promise.resolve({}),["assets/stackoverflow-dark-57af98f5.css"])});return}Fe(()=>{Mu(()=>Promise.resolve({}),["assets/stackoverflow-light-077a2b3c.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}Mu(()=>Promise.resolve({}),["assets/tokyo-night-dark-f9656fc4.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:f1}},VL=Object.assign(HL,{setup(n){return(e,t)=>(D(),L(Xe,null,[p("header",pL,[p("nav",fL,[De(nn(Ei),{to:{name:"discussions"}},{default:ot(()=>[hL]),_:1}),p("div",mL,[e.isModelOK?(D(),L("div",gL," M ")):se("",!0),e.isModelOK?se("",!0):(D(),L("div",EL," M ")),e.isGenerating?se("",!0):(D(),L("div",bL,yL)),e.isGenerating?(D(),L("div",vL,xL)):se("",!0),e.isConnected?(D(),L("div",CL,AL)):se("",!0),e.isConnected?se("",!0):(D(),L("div",wL,NL)),ML,p("a",IL,[p("div",DL,[(D(),L("svg",LL,PL))])]),p("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:t[0]||(t[0]=i=>e.themeSwitch())},FL),p("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:t[1]||(t[1]=i=>e.themeSwitch())},GL)])]),De(f1)]),zL],64))}}),qL={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"},YL={class:"flex overflow-hidden flex-grow"},$L={__name:"App",setup(n){return(e,t)=>(D(),L("div",qL,[De(VL),p("div",YL,[De(nn(u1),null,{default:ot(({Component:i})=>[(D(),jt(KN,null,[(D(),jt(rM(i)))],1024))]),_:1})])]))}},Ii=Object.create(null);Ii.open="0";Ii.close="1";Ii.ping="2";Ii.pong="3";Ii.message="4";Ii.upgrade="5";Ii.noop="6";const Hc=Object.create(null);Object.keys(Ii).forEach(n=>{Hc[Ii[n]]=n});const Lm={type:"error",data:"parser error"},h1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",m1=typeof ArrayBuffer=="function",g1=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,$g=({type:n,data:e},t,i)=>h1&&e instanceof Blob?t?i(e):yS(e,i):m1&&(e instanceof ArrayBuffer||g1(e))?t?i(e):yS(new Blob([e]),i):i(Ii[n]+(e||"")),yS=(n,e)=>{const t=new FileReader;return t.onload=function(){const i=t.result.split(",")[1];e("b"+(i||""))},t.readAsDataURL(n)};function vS(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Iu;function WL(n,e){if(h1&&n.data instanceof Blob)return n.data.arrayBuffer().then(vS).then(e);if(m1&&(n.data instanceof ArrayBuffer||g1(n.data)))return e(vS(n.data));$g(n,!1,t=>{Iu||(Iu=new TextEncoder),e(Iu.encode(t))})}const TS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$a=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<TS.length;n++)$a[TS.charCodeAt(n)]=n;const KL=n=>{let e=n.length*.75,t=n.length,i,r=0,s,o,a,l;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const c=new ArrayBuffer(e),d=new Uint8Array(c);for(i=0;i<t;i+=4)s=$a[n.charCodeAt(i)],o=$a[n.charCodeAt(i+1)],a=$a[n.charCodeAt(i+2)],l=$a[n.charCodeAt(i+3)],d[r++]=s<<2|o>>4,d[r++]=(o&15)<<4|a>>2,d[r++]=(a&3)<<6|l&63;return c},jL=typeof ArrayBuffer=="function",Wg=(n,e)=>{if(typeof n!="string")return{type:"message",data:E1(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:QL(n.substring(1),e)}:Hc[t]?n.length>1?{type:Hc[t],data:n.substring(1)}:{type:Hc[t]}:Lm},QL=(n,e)=>{if(jL){const t=KL(n);return E1(t,e)}else return{base64:!0,data:n}},E1=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},b1=String.fromCharCode(30),XL=(n,e)=>{const t=n.length,i=new Array(t);let r=0;n.forEach((s,o)=>{$g(s,!1,a=>{i[o]=a,++r===t&&e(i.join(b1))})})},ZL=(n,e)=>{const t=n.split(b1),i=[];for(let r=0;r<t.length;r++){const s=Wg(t[r],e);if(i.push(s),s.type==="error")break}return i};function JL(){return new TransformStream({transform(n,e){WL(n,t=>{const i=t.length;let r;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);const s=new DataView(r.buffer);s.setUint8(0,126),s.setUint16(1,i)}else{r=new Uint8Array(9);const s=new DataView(r.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(i))}n.data&&typeof n.data!="string"&&(r[0]|=128),e.enqueue(r),e.enqueue(t)})}})}let Du;function Wl(n){return n.reduce((e,t)=>e+t.length,0)}function Kl(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let i=0;for(let r=0;r<e;r++)t[r]=n[0][i++],i===n[0].length&&(n.shift(),i=0);return n.length&&i<n[0].length&&(n[0]=n[0].slice(i)),t}function ek(n,e){Du||(Du=new TextDecoder);const t=[];let i=0,r=-1,s=!1;return new TransformStream({transform(o,a){for(t.push(o);;){if(i===0){if(Wl(t)<1)break;const l=Kl(t,1);s=(l[0]&128)===128,r=l[0]&127,r<126?i=3:r===126?i=1:i=2}else if(i===1){if(Wl(t)<2)break;const l=Kl(t,2);r=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),i=3}else if(i===2){if(Wl(t)<8)break;const l=Kl(t,8),c=new DataView(l.buffer,l.byteOffset,l.length),d=c.getUint32(0);if(d>Math.pow(2,53-32)-1){a.enqueue(Lm);break}r=d*Math.pow(2,32)+c.getUint32(4),i=3}else{if(Wl(t)<r)break;const l=Kl(t,r);a.enqueue(Wg(s?l:Du.decode(l),e)),i=0}if(r===0||r>n){a.enqueue(Lm);break}}}})}const S1=4;function Jt(n){if(n)return tk(n)}function tk(n){for(var e in Jt.prototype)n[e]=Jt.prototype[e];return n}Jt.prototype.on=Jt.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};Jt.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};Jt.prototype.off=Jt.prototype.removeListener=Jt.prototype.removeAllListeners=Jt.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var i,r=0;r<t.length;r++)if(i=t[r],i===e||i.fn===e){t.splice(r,1);break}return t.length===0&&delete this._callbacks["$"+n],this};Jt.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+n],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(t){t=t.slice(0);for(var i=0,r=t.length;i<r;++i)t[i].apply(this,e)}return this};Jt.prototype.emitReserved=Jt.prototype.emit;Jt.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};Jt.prototype.hasListeners=function(n){return!!this.listeners(n).length};const Yn=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function y1(n,...e){return e.reduce((t,i)=>(n.hasOwnProperty(i)&&(t[i]=n[i]),t),{})}const nk=Yn.setTimeout,ik=Yn.clearTimeout;function Yd(n,e){e.useNativeTimers?(n.setTimeoutFn=nk.bind(Yn),n.clearTimeoutFn=ik.bind(Yn)):(n.setTimeoutFn=Yn.setTimeout.bind(Yn),n.clearTimeoutFn=Yn.clearTimeout.bind(Yn))}const rk=1.33;function sk(n){return typeof n=="string"?ok(n):Math.ceil((n.byteLength||n.size)*rk)}function ok(n){let e=0,t=0;for(let i=0,r=n.length;i<r;i++)e=n.charCodeAt(i),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(i++,t+=4);return t}function ak(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function lk(n){let e={},t=n.split("&");for(let i=0,r=t.length;i<r;i++){let s=t[i].split("=");e[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return e}class ck extends Error{constructor(e,t,i){super(e),this.description=t,this.context=i,this.type="TransportError"}}class Kg extends Jt{constructor(e){super(),this.writable=!1,Yd(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,i){return super.emitReserved("error",new ck(e,t,i)),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 t=Wg(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=ak(e);return t.length?"?"+t:""}}const v1="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),km=64,dk={};let xS=0,jl=0,CS;function RS(n){let e="";do e=v1[n%km]+e,n=Math.floor(n/km);while(n>0);return e}function T1(){const n=RS(+new Date);return n!==CS?(xS=0,CS=n):n+"."+RS(xS++)}for(;jl<km;jl++)dk[v1[jl]]=jl;let x1=!1;try{x1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const uk=x1;function C1(n){const e=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||uk))return new XMLHttpRequest}catch{}if(!e)try{return new Yn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function _k(){}const pk=function(){return new C1({xdomain:!1}).responseType!=null}();class fk extends Kg{constructor(e){if(super(e),this.polling=!1,typeof location<"u"){const i=location.protocol==="https:";let r=location.port;r||(r=i?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}const t=e&&e.forceBase64;this.supportsBinary=pk&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let i=0;this.polling&&(i++,this.once("pollComplete",function(){--i||t()})),this.writable||(i++,this.once("drain",function(){--i||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};ZL(e,this.socket.binaryType).forEach(t),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,XL(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=T1()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Oo(this.uri(),e)}doWrite(e,t){const i=this.request({method:"POST",data:e});i.on("success",t),i.on("error",(r,s)=>{this.onError("xhr post error",r,s)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,i)=>{this.onError("xhr poll error",t,i)}),this.pollXhr=e}}let Oo=class Vc extends Jt{constructor(e,t){super(),Yd(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=t.data!==void 0?t.data:null,this.create()}create(){var e;const t=y1(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const i=this.xhr=new C1(t);try{i.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&i.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(i.timeout=this.opts.requestTimeout),i.onreadystatechange=()=>{var r;i.readyState===3&&((r=this.opts.cookieJar)===null||r===void 0||r.parseCookies(i)),i.readyState===4&&(i.status===200||i.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof i.status=="number"?i.status:0)},0))},i.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=Vc.requestsCount++,Vc.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=_k,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Vc.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()}};Oo.requestsCount=0;Oo.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",AS);else if(typeof addEventListener=="function"){const n="onpagehide"in Yn?"pagehide":"unload";addEventListener(n,AS,!1)}}function AS(){for(let n in Oo.requests)Oo.requests.hasOwnProperty(n)&&Oo.requests[n].abort()}const jg=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),Ql=Yn.WebSocket||Yn.MozWebSocket,wS=!0,hk="arraybuffer",OS=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class mk extends Kg{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,i=OS?{}:y1(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=wS&&!OS?t?new Ql(e,t):new Ql(e):new Ql(e,t,i)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,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 t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;$g(i,this.supportsBinary,s=>{const o={};try{wS&&this.ws.send(s)}catch{}r&&jg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=T1()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!Ql}}class gk extends Kg{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const t=ek(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(t).getReader(),r=JL();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const s=()=>{i.read().then(({done:a,value:l})=>{a||(this.onPacket(l),s())}).catch(a=>{})};s();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const i=e[t],r=t===e.length-1;this.writer.write(i).then(()=>{r&&jg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const Ek={websocket:mk,webtransport:gk,polling:fk},bk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Sk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Pm(n){const e=n,t=n.indexOf("["),i=n.indexOf("]");t!=-1&&i!=-1&&(n=n.substring(0,t)+n.substring(t,i).replace(/:/g,";")+n.substring(i,n.length));let r=bk.exec(n||""),s={},o=14;for(;o--;)s[Sk[o]]=r[o]||"";return t!=-1&&i!=-1&&(s.source=e,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=yk(s,s.path),s.queryKey=vk(s,s.query),s}function yk(n,e){const t=/\/{2,9}/g,i=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function vk(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,r,s){r&&(t[r]=s)}),t}let R1=class bo extends Jt{constructor(e,t={}){super(),this.binaryType=hk,this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=Pm(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=Pm(t.host).host),Yd(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],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:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=lk(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 t=Object.assign({},this.opts.query);t.EIO=S1,t.transport=e,this.id&&(t.sid=this.id);const i=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new Ek[e](i)}open(){let e;if(this.opts.rememberUpgrade&&bo.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",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),i=!1;bo.priorWebsocketSuccess=!1;const r=()=>{i||(t.send([{type:"ping",data:"probe"}]),t.once("packet",u=>{if(!i)if(u.type==="pong"&&u.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;bo.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(d(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const _=new Error("probe error");_.transport=t.name,this.emitReserved("upgradeError",_)}}))};function s(){i||(i=!0,d(),t.close(),t=null)}const o=u=>{const _=new Error("probe error: "+u);_.transport=t.name,s(),this.emitReserved("upgradeError",_)};function a(){o("transport closed")}function l(){o("socket closed")}function c(u){t&&u.name!==t.name&&s()}const d=()=>{t.removeListener("open",r),t.removeListener("error",o),t.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};t.once("open",r),t.once("error",o),t.once("close",a),this.once("close",l),this.once("upgrading",c),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||t.open()},200):t.open()}onOpen(){if(this.readyState="open",bo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{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 t=1;for(let i=0;i<this.writeBuffer.length;i++){const r=this.writeBuffer[i].data;if(r&&(t+=sk(r)),i>0&&t>this.maxPayload)return this.writeBuffer.slice(0,i);t+=2}return this.writeBuffer}write(e,t,i){return this.sendPacket("message",e,t,i),this}send(e,t,i){return this.sendPacket("message",e,t,i),this}sendPacket(e,t,i,r){if(typeof t=="function"&&(r=t,t=void 0),typeof i=="function"&&(r=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const s={type:e,data:t,options:i};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},i=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}onError(e){bo.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(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,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let i=0;const r=e.length;for(;i<r;i++)~this.transports.indexOf(e[i])&&t.push(e[i]);return t}};R1.protocol=S1;function Tk(n,e="",t){let i=n;t=t||typeof location<"u"&&location,n==null&&(n=t.protocol+"//"+t.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=t.protocol+n:n=t.host+n),/^(https?|wss?):\/\//.test(n)||(typeof t<"u"?n=t.protocol+"//"+n:n="https://"+n),i=Pm(n)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const s=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+s+":"+i.port+e,i.href=i.protocol+"://"+s+(t&&t.port===i.port?"":":"+i.port),i}const xk=typeof ArrayBuffer=="function",Ck=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,A1=Object.prototype.toString,Rk=typeof Blob=="function"||typeof Blob<"u"&&A1.call(Blob)==="[object BlobConstructor]",Ak=typeof File=="function"||typeof File<"u"&&A1.call(File)==="[object FileConstructor]";function Qg(n){return xk&&(n instanceof ArrayBuffer||Ck(n))||Rk&&n instanceof Blob||Ak&&n instanceof File}function qc(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,i=n.length;t<i;t++)if(qc(n[t]))return!0;return!1}if(Qg(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return qc(n.toJSON(),!0);for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&qc(n[t]))return!0;return!1}function wk(n){const e=[],t=n.data,i=n;return i.data=Um(t,e),i.attachments=e.length,{packet:i,buffers:e}}function Um(n,e){if(!n)return n;if(Qg(n)){const t={_placeholder:!0,num:e.length};return e.push(n),t}else if(Array.isArray(n)){const t=new Array(n.length);for(let i=0;i<n.length;i++)t[i]=Um(n[i],e);return t}else if(typeof n=="object"&&!(n instanceof Date)){const t={};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=Um(n[i],e));return t}return n}function Ok(n,e){return n.data=Fm(n.data,e),delete n.attachments,n}function Fm(n,e){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<e.length)return e[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let t=0;t<n.length;t++)n[t]=Fm(n[t],e);else if(typeof n=="object")for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Fm(n[t],e));return n}const Nk=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Mk=5;var Tt;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(Tt||(Tt={}));class Ik{constructor(e){this.replacer=e}encode(e){return(e.type===Tt.EVENT||e.type===Tt.ACK)&&qc(e)?this.encodeAsBinary({type:e.type===Tt.EVENT?Tt.BINARY_EVENT:Tt.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===Tt.BINARY_EVENT||e.type===Tt.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=wk(e),i=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(i),r}}function NS(n){return Object.prototype.toString.call(n)==="[object Object]"}class Xg extends Jt{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const i=t.type===Tt.BINARY_EVENT;i||t.type===Tt.BINARY_ACK?(t.type=i?Tt.EVENT:Tt.ACK,this.reconstructor=new Dk(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(Qg(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const i={type:Number(e.charAt(0))};if(Tt[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Tt.BINARY_EVENT||i.type===Tt.BINARY_ACK){const s=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const o=e.substring(s,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");i.attachments=Number(o)}if(e.charAt(t+1)==="/"){const s=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););i.nsp=e.substring(s,t)}else i.nsp="/";const r=e.charAt(t+1);if(r!==""&&Number(r)==r){const s=t+1;for(;++t;){const o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}i.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(Xg.isPayloadValid(i.type,s))i.data=s;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case Tt.CONNECT:return NS(t);case Tt.DISCONNECT:return t===void 0;case Tt.CONNECT_ERROR:return typeof t=="string"||NS(t);case Tt.EVENT:case Tt.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&Nk.indexOf(t[0])===-1);case Tt.ACK:case Tt.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Dk{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=Ok(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Lk=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Xg,Encoder:Ik,get PacketType(){return Tt},protocol:Mk},Symbol.toStringTag,{value:"Module"}));function li(n,e,t){return n.on(e,t),function(){n.off(e,t)}}const kk=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class w1 extends Jt{constructor(e,t,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[li(e,"open",this.onopen.bind(this)),li(e,"packet",this.onpacket.bind(this)),li(e,"error",this.onerror.bind(this)),li(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(kk.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const i={type:Tt.EVENT,data:t};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const o=this.ids++,a=t.pop();this._registerAckCallback(o,a),i.id=o}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,t){var i;const r=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(r===void 0){this.acks[e]=t;return}const s=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===e&&this.sendBuffer.splice(o,1);t.call(this,new Error("operation has timed out"))},r);this.acks[e]=(...o)=>{this.io.clearTimeoutFn(s),t.apply(this,[null,...o])}}emitWithAck(e,...t){const i=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((r,s)=>{t.push((o,a)=>i?o?s(o):r(a):r(o)),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((r,...s)=>i!==this._queue[0]?void 0:(r!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(r)):(this._queue.shift(),t&&t(null,...s)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.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:Tt.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,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Tt.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 Tt.EVENT:case Tt.BINARY_EVENT:this.onevent(e);break;case Tt.ACK:case Tt.BINARY_ACK:this.onack(e);break;case Tt.DISCONNECT:this.ondisconnect();break;case Tt.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const i of t)i.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 t=this;let i=!1;return function(...r){i||(i=!0,t.packet({type:Tt.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,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:Tt.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 t=this._anyListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let i=0;i<t.length;i++)if(e===t[i])return t.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const i of t)i.apply(this,e.data)}}}function ua(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}ua.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};ua.prototype.reset=function(){this.attempts=0};ua.prototype.setMin=function(n){this.ms=n};ua.prototype.setMax=function(n){this.max=n};ua.prototype.setJitter=function(n){this.jitter=n};class Bm extends Jt{constructor(e,t){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,Yd(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((i=t.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new ua({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||Lk;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=t.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 t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.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 R1(this.uri,this.opts);const t=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const r=li(t,"open",function(){i.onopen(),e&&e()}),s=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=li(t,"error",s);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{r(),s(new Error("timeout")),t.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(r),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(li(e,"ping",this.onping.bind(this)),li(e,"data",this.ondata.bind(this)),li(e,"error",this.onerror.bind(this)),li(e,"close",this.onclose.bind(this)),li(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){jg(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new w1(this,e,t),this.nsps[e]=i),i}_destroy(e){const t=Object.keys(this.nsps);for(const i of t)if(this.nsps[i].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let i=0;i<t.length;i++)this.engine.write(t[i],e.options)}cleanup(){this.subs.forEach(e=>e()),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,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),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 t=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(r=>{r?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",r)):e.onreconnect()}))},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Ma={};function Yc(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=Tk(n,e.path||"/socket.io"),i=t.source,r=t.id,s=t.path,o=Ma[r]&&s in Ma[r].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let l;return a?l=new Bm(i,e):(Ma[r]||(Ma[r]=new Bm(i,e)),l=Ma[r]),t.query&&!e.query&&(e.query=t.queryKey),l.socket(t.path,e)}Object.assign(Yc,{Manager:Bm,Socket:w1,io:Yc,connect:Yc});const Pk=void 0,We=new Yc(Pk,{reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3});const Et=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},Uk={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(n){this.toastArr=this.toastArr.filter(e=>e.id!=n)},copyToClipBoard(n){navigator.clipboard.writeText(n),Fe(()=>{ze.replace()})},showToast(n,e=3,t=!0){const i=parseInt((new Date().getTime()*Math.random()).toString()).toString(),r={id:i,success:t,message:n,show:!0};this.toastArr.push(r),Fe(()=>{ze.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(s=>s.id!=i)},e*1e3)}},watch:{}},jr=n=>(Gs("data-v-3ffdabf3"),n=n(),zs(),n),Fk={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},Bk={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"},Gk={class:"flex flex-row flex-grow items-center"},zk={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"},Hk=jr(()=>p("i",{"data-feather":"check"},null,-1)),Vk=jr(()=>p("span",{class:"sr-only"},"Check icon",-1)),qk=[Hk,Vk],Yk={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"},$k=jr(()=>p("i",{"data-feather":"x"},null,-1)),Wk=jr(()=>p("span",{class:"sr-only"},"Cross icon",-1)),Kk=[$k,Wk],jk=["title"],Qk={class:"flex"},Xk=["onClick"],Zk=jr(()=>p("span",{class:"sr-only"},"Copy message",-1)),Jk=jr(()=>p("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),eP=[Zk,Jk],tP=["onClick"],nP=jr(()=>p("span",{class:"sr-only"},"Close",-1)),iP=jr(()=>p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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)),rP=[nP,iP];function sP(n,e,t,i,r,s){return D(),L("div",Fk,[De(tr,{name:"toastItem",tag:"div"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.toastArr,o=>(D(),L("div",{key:o.id,class:"relative"},[p("div",Bk,[p("div",Gk,[mm(n.$slots,"default",{},()=>[o.success?(D(),L("div",zk,qk)):se("",!0),o.success?se("",!0):(D(),L("div",Yk,Kk)),p("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:o.message},ge(o.message),9,jk)],!0)]),p("div",Qk,[p("button",{type:"button",onClick:Ie(a=>s.copyToClipBoard(o.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"},eP,8,Xk),p("button",{type:"button",onClick:a=>s.close(o.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"},rP,8,tP)])])]))),128))]),_:3})])}const Vs=Et(Uk,[["render",sP],["__scopeId","data-v-3ffdabf3"]]);var At={};const oP="Á",aP="á",lP="Ă",cP="ă",dP="∾",uP="∿",_P="∾̳",pP="Â",fP="â",hP="´",mP="А",gP="а",EP="Æ",bP="æ",SP="⁡",yP="𝔄",vP="𝔞",TP="À",xP="à",CP="ℵ",RP="ℵ",AP="Α",wP="α",OP="Ā",NP="ā",MP="⨿",IP="&",DP="&",LP="⩕",kP="⩓",PP="∧",UP="⩜",FP="⩘",BP="⩚",GP="∠",zP="⦤",HP="∠",VP="⦨",qP="⦩",YP="⦪",$P="⦫",WP="⦬",KP="⦭",jP="⦮",QP="⦯",XP="∡",ZP="∟",JP="⊾",eU="⦝",tU="∢",nU="Å",iU="⍼",rU="Ą",sU="ą",oU="𝔸",aU="𝕒",lU="⩯",cU="≈",dU="⩰",uU="≊",_U="≋",pU="'",fU="⁡",hU="≈",mU="≊",gU="Å",EU="å",bU="𝒜",SU="𝒶",yU="≔",vU="*",TU="≈",xU="≍",CU="Ã",RU="ã",AU="Ä",wU="ä",OU="∳",NU="⨑",MU="≌",IU="϶",DU="‵",LU="∽",kU="⋍",PU="∖",UU="⫧",FU="⊽",BU="⌅",GU="⌆",zU="⌅",HU="⎵",VU="⎶",qU="≌",YU="Б",$U="б",WU="„",KU="∵",jU="∵",QU="∵",XU="⦰",ZU="϶",JU="ℬ",eF="ℬ",tF="Β",nF="β",iF="ℶ",rF="≬",sF="𝔅",oF="𝔟",aF="⋂",lF="◯",cF="⋃",dF="⨀",uF="⨁",_F="⨂",pF="⨆",fF="★",hF="▽",mF="△",gF="⨄",EF="⋁",bF="⋀",SF="⤍",yF="⧫",vF="▪",TF="▴",xF="▾",CF="◂",RF="▸",AF="␣",wF="▒",OF="░",NF="▓",MF="█",IF="=⃥",DF="≡⃥",LF="⫭",kF="⌐",PF="𝔹",UF="𝕓",FF="⊥",BF="⊥",GF="⋈",zF="⧉",HF="┐",VF="╕",qF="╖",YF="╗",$F="┌",WF="╒",KF="╓",jF="╔",QF="─",XF="═",ZF="┬",JF="╤",eB="╥",tB="╦",nB="┴",iB="╧",rB="╨",sB="╩",oB="⊟",aB="⊞",lB="⊠",cB="┘",dB="╛",uB="╜",_B="╝",pB="└",fB="╘",hB="╙",mB="╚",gB="│",EB="║",bB="┼",SB="╪",yB="╫",vB="╬",TB="┤",xB="╡",CB="╢",RB="╣",AB="├",wB="╞",OB="╟",NB="╠",MB="‵",IB="˘",DB="˘",LB="¦",kB="𝒷",PB="ℬ",UB="⁏",FB="∽",BB="⋍",GB="⧅",zB="\\",HB="⟈",VB="•",qB="•",YB="≎",$B="⪮",WB="≏",KB="≎",jB="≏",QB="Ć",XB="ć",ZB="⩄",JB="⩉",e3="⩋",t3="∩",n3="⋒",i3="⩇",r3="⩀",s3="ⅅ",o3="∩︀",a3="⁁",l3="ˇ",c3="ℭ",d3="⩍",u3="Č",_3="č",p3="Ç",f3="ç",h3="Ĉ",m3="ĉ",g3="∰",E3="⩌",b3="⩐",S3="Ċ",y3="ċ",v3="¸",T3="¸",x3="⦲",C3="¢",R3="·",A3="·",w3="𝔠",O3="ℭ",N3="Ч",M3="ч",I3="✓",D3="✓",L3="Χ",k3="χ",P3="ˆ",U3="≗",F3="↺",B3="↻",G3="⊛",z3="⊚",H3="⊝",V3="⊙",q3="®",Y3="Ⓢ",$3="⊖",W3="⊕",K3="⊗",j3="○",Q3="⧃",X3="≗",Z3="⨐",J3="⫯",e4="⧂",t4="∲",n4="”",i4="’",r4="♣",s4="♣",o4=":",a4="∷",l4="⩴",c4="≔",d4="≔",u4=",",_4="@",p4="∁",f4="∘",h4="∁",m4="ℂ",g4="≅",E4="⩭",b4="≡",S4="∮",y4="∯",v4="∮",T4="𝕔",x4="ℂ",C4="∐",R4="∐",A4="©",w4="©",O4="℗",N4="∳",M4="↵",I4="✗",D4="⨯",L4="𝒞",k4="𝒸",P4="⫏",U4="⫑",F4="⫐",B4="⫒",G4="⋯",z4="⤸",H4="⤵",V4="⋞",q4="⋟",Y4="↶",$4="⤽",W4="⩈",K4="⩆",j4="≍",Q4="∪",X4="⋓",Z4="⩊",J4="⊍",e5="⩅",t5="∪︀",n5="↷",i5="⤼",r5="⋞",s5="⋟",o5="⋎",a5="⋏",l5="¤",c5="↶",d5="↷",u5="⋎",_5="⋏",p5="∲",f5="∱",h5="⌭",m5="†",g5="‡",E5="ℸ",b5="↓",S5="↡",y5="⇓",v5="‐",T5="⫤",x5="⊣",C5="⤏",R5="˝",A5="Ď",w5="ď",O5="Д",N5="д",M5="‡",I5="⇊",D5="ⅅ",L5="ⅆ",k5="⤑",P5="⩷",U5="°",F5="∇",B5="Δ",G5="δ",z5="⦱",H5="⥿",V5="𝔇",q5="𝔡",Y5="⥥",$5="⇃",W5="⇂",K5="´",j5="˙",Q5="˝",X5="`",Z5="˜",J5="⋄",eG="⋄",tG="⋄",nG="♦",iG="♦",rG="¨",sG="ⅆ",oG="ϝ",aG="⋲",lG="÷",cG="÷",dG="⋇",uG="⋇",_G="Ђ",pG="ђ",fG="⌞",hG="⌍",mG="$",gG="𝔻",EG="𝕕",bG="¨",SG="˙",yG="⃜",vG="≐",TG="≑",xG="≐",CG="∸",RG="∔",AG="⊡",wG="⌆",OG="∯",NG="¨",MG="⇓",IG="⇐",DG="⇔",LG="⫤",kG="⟸",PG="⟺",UG="⟹",FG="⇒",BG="⊨",GG="⇑",zG="⇕",HG="∥",VG="⤓",qG="↓",YG="↓",$G="⇓",WG="⇵",KG="̑",jG="⇊",QG="⇃",XG="⇂",ZG="⥐",JG="⥞",e9="⥖",t9="↽",n9="⥟",i9="⥗",r9="⇁",s9="↧",o9="⊤",a9="⤐",l9="⌟",c9="⌌",d9="𝒟",u9="𝒹",_9="Ѕ",p9="ѕ",f9="⧶",h9="Đ",m9="đ",g9="⋱",E9="▿",b9="▾",S9="⇵",y9="⥯",v9="⦦",T9="Џ",x9="џ",C9="⟿",R9="É",A9="é",w9="⩮",O9="Ě",N9="ě",M9="Ê",I9="ê",D9="≖",L9="≕",k9="Э",P9="э",U9="⩷",F9="Ė",B9="ė",G9="≑",z9="ⅇ",H9="≒",V9="𝔈",q9="𝔢",Y9="⪚",$9="È",W9="è",K9="⪖",j9="⪘",Q9="⪙",X9="∈",Z9="⏧",J9="ℓ",ez="⪕",tz="⪗",nz="Ē",iz="ē",rz="∅",sz="∅",oz="◻",az="∅",lz="▫",cz=" ",dz=" ",uz=" ",_z="Ŋ",pz="ŋ",fz=" ",hz="Ę",mz="ę",gz="𝔼",Ez="𝕖",bz="⋕",Sz="⧣",yz="⩱",vz="ε",Tz="Ε",xz="ε",Cz="ϵ",Rz="≖",Az="≕",wz="≂",Oz="⪖",Nz="⪕",Mz="⩵",Iz="=",Dz="≂",Lz="≟",kz="⇌",Pz="≡",Uz="⩸",Fz="⧥",Bz="⥱",Gz="≓",zz="ℯ",Hz="ℰ",Vz="≐",qz="⩳",Yz="≂",$z="Η",Wz="η",Kz="Ð",jz="ð",Qz="Ë",Xz="ë",Zz="€",Jz="!",eH="∃",tH="∃",nH="ℰ",iH="ⅇ",rH="ⅇ",sH="≒",oH="Ф",aH="ф",lH="♀",cH="ffi",dH="ff",uH="ffl",_H="𝔉",pH="𝔣",fH="fi",hH="◼",mH="▪",gH="fj",EH="♭",bH="fl",SH="▱",yH="ƒ",vH="𝔽",TH="𝕗",xH="∀",CH="∀",RH="⋔",AH="⫙",wH="ℱ",OH="⨍",NH="½",MH="⅓",IH="¼",DH="⅕",LH="⅙",kH="⅛",PH="⅔",UH="⅖",FH="¾",BH="⅗",GH="⅜",zH="⅘",HH="⅚",VH="⅝",qH="⅞",YH="⁄",$H="⌢",WH="𝒻",KH="ℱ",jH="ǵ",QH="Γ",XH="γ",ZH="Ϝ",JH="ϝ",eV="⪆",tV="Ğ",nV="ğ",iV="Ģ",rV="Ĝ",sV="ĝ",oV="Г",aV="г",lV="Ġ",cV="ġ",dV="≥",uV="≧",_V="⪌",pV="⋛",fV="≥",hV="≧",mV="⩾",gV="⪩",EV="⩾",bV="⪀",SV="⪂",yV="⪄",vV="⋛︀",TV="⪔",xV="𝔊",CV="𝔤",RV="≫",AV="⋙",wV="⋙",OV="ℷ",NV="Ѓ",MV="ѓ",IV="⪥",DV="≷",LV="⪒",kV="⪤",PV="⪊",UV="⪊",FV="⪈",BV="≩",GV="⪈",zV="≩",HV="⋧",VV="𝔾",qV="𝕘",YV="`",$V="≥",WV="⋛",KV="≧",jV="⪢",QV="≷",XV="⩾",ZV="≳",JV="𝒢",e8="ℊ",t8="≳",n8="⪎",i8="⪐",r8="⪧",s8="⩺",o8=">",a8=">",l8="≫",c8="⋗",d8="⦕",u8="⩼",_8="⪆",p8="⥸",f8="⋗",h8="⋛",m8="⪌",g8="≷",E8="≳",b8="≩︀",S8="≩︀",y8="ˇ",v8=" ",T8="½",x8="ℋ",C8="Ъ",R8="ъ",A8="⥈",w8="↔",O8="⇔",N8="↭",M8="^",I8="ℏ",D8="Ĥ",L8="ĥ",k8="♥",P8="♥",U8="…",F8="⊹",B8="𝔥",G8="ℌ",z8="ℋ",H8="⤥",V8="⤦",q8="⇿",Y8="∻",$8="↩",W8="↪",K8="𝕙",j8="ℍ",Q8="―",X8="─",Z8="𝒽",J8="ℋ",e6="ℏ",t6="Ħ",n6="ħ",i6="≎",r6="≏",s6="⁃",o6="‐",a6="Í",l6="í",c6="⁣",d6="Î",u6="î",_6="И",p6="и",f6="İ",h6="Е",m6="е",g6="¡",E6="⇔",b6="𝔦",S6="ℑ",y6="Ì",v6="ì",T6="ⅈ",x6="⨌",C6="∭",R6="⧜",A6="℩",w6="IJ",O6="ij",N6="Ī",M6="ī",I6="ℑ",D6="ⅈ",L6="ℐ",k6="ℑ",P6="ı",U6="ℑ",F6="⊷",B6="Ƶ",G6="⇒",z6="℅",H6="∞",V6="⧝",q6="ı",Y6="⊺",$6="∫",W6="∬",K6="ℤ",j6="∫",Q6="⊺",X6="⋂",Z6="⨗",J6="⨼",eq="⁣",tq="⁢",nq="Ё",iq="ё",rq="Į",sq="į",oq="𝕀",aq="𝕚",lq="Ι",cq="ι",dq="⨼",uq="¿",_q="𝒾",pq="ℐ",fq="∈",hq="⋵",mq="⋹",gq="⋴",Eq="⋳",bq="∈",Sq="⁢",yq="Ĩ",vq="ĩ",Tq="І",xq="і",Cq="Ï",Rq="ï",Aq="Ĵ",wq="ĵ",Oq="Й",Nq="й",Mq="𝔍",Iq="𝔧",Dq="ȷ",Lq="𝕁",kq="𝕛",Pq="𝒥",Uq="𝒿",Fq="Ј",Bq="ј",Gq="Є",zq="є",Hq="Κ",Vq="κ",qq="ϰ",Yq="Ķ",$q="ķ",Wq="К",Kq="к",jq="𝔎",Qq="𝔨",Xq="ĸ",Zq="Х",Jq="х",e7="Ќ",t7="ќ",n7="𝕂",i7="𝕜",r7="𝒦",s7="𝓀",o7="⇚",a7="Ĺ",l7="ĺ",c7="⦴",d7="ℒ",u7="Λ",_7="λ",p7="⟨",f7="⟪",h7="⦑",m7="⟨",g7="⪅",E7="ℒ",b7="«",S7="⇤",y7="⤟",v7="←",T7="↞",x7="⇐",C7="⤝",R7="↩",A7="↫",w7="⤹",O7="⥳",N7="↢",M7="⤙",I7="⤛",D7="⪫",L7="⪭",k7="⪭︀",P7="⤌",U7="⤎",F7="❲",B7="{",G7="[",z7="⦋",H7="⦏",V7="⦍",q7="Ľ",Y7="ľ",$7="Ļ",W7="ļ",K7="⌈",j7="{",Q7="Л",X7="л",Z7="⤶",J7="“",eY="„",tY="⥧",nY="⥋",iY="↲",rY="≤",sY="≦",oY="⟨",aY="⇤",lY="←",cY="←",dY="⇐",uY="⇆",_Y="↢",pY="⌈",fY="⟦",hY="⥡",mY="⥙",gY="⇃",EY="⌊",bY="↽",SY="↼",yY="⇇",vY="↔",TY="↔",xY="⇔",CY="⇆",RY="⇋",AY="↭",wY="⥎",OY="↤",NY="⊣",MY="⥚",IY="⋋",DY="⧏",LY="⊲",kY="⊴",PY="⥑",UY="⥠",FY="⥘",BY="↿",GY="⥒",zY="↼",HY="⪋",VY="⋚",qY="≤",YY="≦",$Y="⩽",WY="⪨",KY="⩽",jY="⩿",QY="⪁",XY="⪃",ZY="⋚︀",JY="⪓",e$="⪅",t$="⋖",n$="⋚",i$="⪋",r$="⋚",s$="≦",o$="≶",a$="≶",l$="⪡",c$="≲",d$="⩽",u$="≲",_$="⥼",p$="⌊",f$="𝔏",h$="𝔩",m$="≶",g$="⪑",E$="⥢",b$="↽",S$="↼",y$="⥪",v$="▄",T$="Љ",x$="љ",C$="⇇",R$="≪",A$="⋘",w$="⌞",O$="⇚",N$="⥫",M$="◺",I$="Ŀ",D$="ŀ",L$="⎰",k$="⎰",P$="⪉",U$="⪉",F$="⪇",B$="≨",G$="⪇",z$="≨",H$="⋦",V$="⟬",q$="⇽",Y$="⟦",$$="⟵",W$="⟵",K$="⟸",j$="⟷",Q$="⟷",X$="⟺",Z$="⟼",J$="⟶",eW="⟶",tW="⟹",nW="↫",iW="↬",rW="⦅",sW="𝕃",oW="𝕝",aW="⨭",lW="⨴",cW="∗",dW="_",uW="↙",_W="↘",pW="◊",fW="◊",hW="⧫",mW="(",gW="⦓",EW="⇆",bW="⌟",SW="⇋",yW="⥭",vW="‎",TW="⊿",xW="‹",CW="𝓁",RW="ℒ",AW="↰",wW="↰",OW="≲",NW="⪍",MW="⪏",IW="[",DW="‘",LW="‚",kW="Ł",PW="ł",UW="⪦",FW="⩹",BW="<",GW="<",zW="≪",HW="⋖",VW="⋋",qW="⋉",YW="⥶",$W="⩻",WW="◃",KW="⊴",jW="◂",QW="⦖",XW="⥊",ZW="⥦",JW="≨︀",eK="≨︀",tK="¯",nK="♂",iK="✠",rK="✠",sK="↦",oK="↦",aK="↧",lK="↤",cK="↥",dK="▮",uK="⨩",_K="М",pK="м",fK="—",hK="∺",mK="∡",gK=" ",EK="ℳ",bK="𝔐",SK="𝔪",yK="℧",vK="µ",TK="*",xK="⫰",CK="∣",RK="·",AK="⊟",wK="−",OK="∸",NK="⨪",MK="∓",IK="⫛",DK="…",LK="∓",kK="⊧",PK="𝕄",UK="𝕞",FK="∓",BK="𝓂",GK="ℳ",zK="∾",HK="Μ",VK="μ",qK="⊸",YK="⊸",$K="∇",WK="Ń",KK="ń",jK="∠⃒",QK="≉",XK="⩰̸",ZK="≋̸",JK="ʼn",ej="≉",tj="♮",nj="ℕ",ij="♮",rj=" ",sj="≎̸",oj="≏̸",aj="⩃",lj="Ň",cj="ň",dj="Ņ",uj="ņ",_j="≇",pj="⩭̸",fj="⩂",hj="Н",mj="н",gj="–",Ej="⤤",bj="↗",Sj="⇗",yj="↗",vj="≠",Tj="≐̸",xj="​",Cj="​",Rj="​",Aj="​",wj="≢",Oj="⤨",Nj="≂̸",Mj="≫",Ij="≪",Dj=`
 `,Lj="∄",kj="∄",Pj="𝔑",Uj="𝔫",Fj="≧̸",Bj="≱",Gj="≱",zj="≧̸",Hj="⩾̸",Vj="⩾̸",qj="⋙̸",Yj="≵",$j="≫⃒",Wj="≯",Kj="≯",jj="≫̸",Qj="↮",Xj="⇎",Zj="⫲",Jj="∋",eQ="⋼",tQ="⋺",nQ="∋",iQ="Њ",rQ="њ",sQ="↚",oQ="⇍",aQ="‥",lQ="≦̸",cQ="≰",dQ="↚",uQ="⇍",_Q="↮",pQ="⇎",fQ="≰",hQ="≦̸",mQ="⩽̸",gQ="⩽̸",EQ="≮",bQ="⋘̸",SQ="≴",yQ="≪⃒",vQ="≮",TQ="⋪",xQ="⋬",CQ="≪̸",RQ="∤",AQ="⁠",wQ=" ",OQ="𝕟",NQ="ℕ",MQ="⫬",IQ="¬",DQ="≢",LQ="≭",kQ="∦",PQ="∉",UQ="≠",FQ="≂̸",BQ="∄",GQ="≯",zQ="≱",HQ="≧̸",VQ="≫̸",qQ="≹",YQ="⩾̸",$Q="≵",WQ="≎̸",KQ="≏̸",jQ="∉",QQ="⋵̸",XQ="⋹̸",ZQ="∉",JQ="⋷",eX="⋶",tX="⧏̸",nX="⋪",iX="⋬",rX="≮",sX="≰",oX="≸",aX="≪̸",lX="⩽̸",cX="≴",dX="⪢̸",uX="⪡̸",_X="∌",pX="∌",fX="⋾",hX="⋽",mX="⊀",gX="⪯̸",EX="⋠",bX="∌",SX="⧐̸",yX="⋫",vX="⋭",TX="⊏̸",xX="⋢",CX="⊐̸",RX="⋣",AX="⊂⃒",wX="⊈",OX="⊁",NX="⪰̸",MX="⋡",IX="≿̸",DX="⊃⃒",LX="⊉",kX="≁",PX="≄",UX="≇",FX="≉",BX="∤",GX="∦",zX="∦",HX="⫽⃥",VX="∂̸",qX="⨔",YX="⊀",$X="⋠",WX="⊀",KX="⪯̸",jX="⪯̸",QX="⤳̸",XX="↛",ZX="⇏",JX="↝̸",eZ="↛",tZ="⇏",nZ="⋫",iZ="⋭",rZ="⊁",sZ="⋡",oZ="⪰̸",aZ="𝒩",lZ="𝓃",cZ="∤",dZ="∦",uZ="≁",_Z="≄",pZ="≄",fZ="∤",hZ="∦",mZ="⋢",gZ="⋣",EZ="⊄",bZ="⫅̸",SZ="⊈",yZ="⊂⃒",vZ="⊈",TZ="⫅̸",xZ="⊁",CZ="⪰̸",RZ="⊅",AZ="⫆̸",wZ="⊉",OZ="⊃⃒",NZ="⊉",MZ="⫆̸",IZ="≹",DZ="Ñ",LZ="ñ",kZ="≸",PZ="⋪",UZ="⋬",FZ="⋫",BZ="⋭",GZ="Ν",zZ="ν",HZ="#",VZ="№",qZ=" ",YZ="≍⃒",$Z="⊬",WZ="⊭",KZ="⊮",jZ="⊯",QZ="≥⃒",XZ=">⃒",ZZ="⤄",JZ="⧞",eJ="⤂",tJ="≤⃒",nJ="<⃒",iJ="⊴⃒",rJ="⤃",sJ="⊵⃒",oJ="∼⃒",aJ="⤣",lJ="↖",cJ="⇖",dJ="↖",uJ="⤧",_J="Ó",pJ="ó",fJ="⊛",hJ="Ô",mJ="ô",gJ="⊚",EJ="О",bJ="о",SJ="⊝",yJ="Ő",vJ="ő",TJ="⨸",xJ="⊙",CJ="⦼",RJ="Œ",AJ="œ",wJ="⦿",OJ="𝔒",NJ="𝔬",MJ="˛",IJ="Ò",DJ="ò",LJ="⧁",kJ="⦵",PJ="Ω",UJ="∮",FJ="↺",BJ="⦾",GJ="⦻",zJ="‾",HJ="⧀",VJ="Ō",qJ="ō",YJ="Ω",$J="ω",WJ="Ο",KJ="ο",jJ="⦶",QJ="⊖",XJ="𝕆",ZJ="𝕠",JJ="⦷",eee="“",tee="‘",nee="⦹",iee="⊕",ree="↻",see="⩔",oee="∨",aee="⩝",lee="ℴ",cee="ℴ",dee="ª",uee="º",_ee="⊶",pee="⩖",fee="⩗",hee="⩛",mee="Ⓢ",gee="𝒪",Eee="ℴ",bee="Ø",See="ø",yee="⊘",vee="Õ",Tee="õ",xee="⨶",Cee="⨷",Ree="⊗",Aee="Ö",wee="ö",Oee="⌽",Nee="‾",Mee="⏞",Iee="⎴",Dee="⏜",Lee="¶",kee="∥",Pee="∥",Uee="⫳",Fee="⫽",Bee="∂",Gee="∂",zee="П",Hee="п",Vee="%",qee=".",Yee="‰",$ee="⊥",Wee="‱",Kee="𝔓",jee="𝔭",Qee="Φ",Xee="φ",Zee="ϕ",Jee="ℳ",ete="☎",tte="Π",nte="π",ite="⋔",rte="ϖ",ste="ℏ",ote="ℎ",ate="ℏ",lte="⨣",cte="⊞",dte="⨢",ute="+",_te="∔",pte="⨥",fte="⩲",hte="±",mte="±",gte="⨦",Ete="⨧",bte="±",Ste="ℌ",yte="⨕",vte="𝕡",Tte="ℙ",xte="£",Cte="⪷",Rte="⪻",Ate="≺",wte="≼",Ote="⪷",Nte="≺",Mte="≼",Ite="≺",Dte="⪯",Lte="≼",kte="≾",Pte="⪯",Ute="⪹",Fte="⪵",Bte="⋨",Gte="⪯",zte="⪳",Hte="≾",Vte="′",qte="″",Yte="ℙ",$te="⪹",Wte="⪵",Kte="⋨",jte="∏",Qte="∏",Xte="⌮",Zte="⌒",Jte="⌓",ene="∝",tne="∝",nne="∷",ine="∝",rne="≾",sne="⊰",one="𝒫",ane="𝓅",lne="Ψ",cne="ψ",dne=" ",une="𝔔",_ne="𝔮",pne="⨌",fne="𝕢",hne="ℚ",mne="⁗",gne="𝒬",Ene="𝓆",bne="ℍ",Sne="⨖",yne="?",vne="≟",Tne='"',xne='"',Cne="⇛",Rne="∽̱",Ane="Ŕ",wne="ŕ",One="√",Nne="⦳",Mne="⟩",Ine="⟫",Dne="⦒",Lne="⦥",kne="⟩",Pne="»",Une="⥵",Fne="⇥",Bne="⤠",Gne="⤳",zne="→",Hne="↠",Vne="⇒",qne="⤞",Yne="↪",$ne="↬",Wne="⥅",Kne="⥴",jne="⤖",Qne="↣",Xne="↝",Zne="⤚",Jne="⤜",eie="∶",tie="ℚ",nie="⤍",iie="⤏",rie="⤐",sie="❳",oie="}",aie="]",lie="⦌",cie="⦎",die="⦐",uie="Ř",_ie="ř",pie="Ŗ",fie="ŗ",hie="⌉",mie="}",gie="Р",Eie="р",bie="⤷",Sie="⥩",yie="”",vie="”",Tie="↳",xie="ℜ",Cie="ℛ",Rie="ℜ",Aie="ℝ",wie="ℜ",Oie="▭",Nie="®",Mie="®",Iie="∋",Die="⇋",Lie="⥯",kie="⥽",Pie="⌋",Uie="𝔯",Fie="ℜ",Bie="⥤",Gie="⇁",zie="⇀",Hie="⥬",Vie="Ρ",qie="ρ",Yie="ϱ",$ie="⟩",Wie="⇥",Kie="→",jie="→",Qie="⇒",Xie="⇄",Zie="↣",Jie="⌉",ere="⟧",tre="⥝",nre="⥕",ire="⇂",rre="⌋",sre="⇁",ore="⇀",are="⇄",lre="⇌",cre="⇉",dre="↝",ure="↦",_re="⊢",pre="⥛",fre="⋌",hre="⧐",mre="⊳",gre="⊵",Ere="⥏",bre="⥜",Sre="⥔",yre="↾",vre="⥓",Tre="⇀",xre="˚",Cre="≓",Rre="⇄",Are="⇌",wre="‏",Ore="⎱",Nre="⎱",Mre="⫮",Ire="⟭",Dre="⇾",Lre="⟧",kre="⦆",Pre="𝕣",Ure="ℝ",Fre="⨮",Bre="⨵",Gre="⥰",zre=")",Hre="⦔",Vre="⨒",qre="⇉",Yre="⇛",$re="›",Wre="𝓇",Kre="ℛ",jre="↱",Qre="↱",Xre="]",Zre="’",Jre="’",ese="⋌",tse="⋊",nse="▹",ise="⊵",rse="▸",sse="⧎",ose="⧴",ase="⥨",lse="℞",cse="Ś",dse="ś",use="‚",_se="⪸",pse="Š",fse="š",hse="⪼",mse="≻",gse="≽",Ese="⪰",bse="⪴",Sse="Ş",yse="ş",vse="Ŝ",Tse="ŝ",xse="⪺",Cse="⪶",Rse="⋩",Ase="⨓",wse="≿",Ose="С",Nse="с",Mse="⊡",Ise="⋅",Dse="⩦",Lse="⤥",kse="↘",Pse="⇘",Use="↘",Fse="§",Bse=";",Gse="⤩",zse="∖",Hse="∖",Vse="✶",qse="𝔖",Yse="𝔰",$se="⌢",Wse="♯",Kse="Щ",jse="щ",Qse="Ш",Xse="ш",Zse="↓",Jse="←",eoe="∣",toe="∥",noe="→",ioe="↑",roe="­",soe="Σ",ooe="σ",aoe="ς",loe="ς",coe="∼",doe="⩪",uoe="≃",_oe="≃",poe="⪞",foe="⪠",hoe="⪝",moe="⪟",goe="≆",Eoe="⨤",boe="⥲",Soe="←",yoe="∘",voe="∖",Toe="⨳",xoe="⧤",Coe="∣",Roe="⌣",Aoe="⪪",woe="⪬",Ooe="⪬︀",Noe="Ь",Moe="ь",Ioe="⌿",Doe="⧄",Loe="/",koe="𝕊",Poe="𝕤",Uoe="♠",Foe="♠",Boe="∥",Goe="⊓",zoe="⊓︀",Hoe="⊔",Voe="⊔︀",qoe="√",Yoe="⊏",$oe="⊑",Woe="⊏",Koe="⊑",joe="⊐",Qoe="⊒",Xoe="⊐",Zoe="⊒",Joe="□",eae="□",tae="⊓",nae="⊏",iae="⊑",rae="⊐",sae="⊒",oae="⊔",aae="▪",lae="□",cae="▪",dae="→",uae="𝒮",_ae="𝓈",pae="∖",fae="⌣",hae="⋆",mae="⋆",gae="☆",Eae="★",bae="ϵ",Sae="ϕ",yae="¯",vae="⊂",Tae="⋐",xae="⪽",Cae="⫅",Rae="⊆",Aae="⫃",wae="⫁",Oae="⫋",Nae="⊊",Mae="⪿",Iae="⥹",Dae="⊂",Lae="⋐",kae="⊆",Pae="⫅",Uae="⊆",Fae="⊊",Bae="⫋",Gae="⫇",zae="⫕",Hae="⫓",Vae="⪸",qae="≻",Yae="≽",$ae="≻",Wae="⪰",Kae="≽",jae="≿",Qae="⪰",Xae="⪺",Zae="⪶",Jae="⋩",ele="≿",tle="∋",nle="∑",ile="∑",rle="♪",sle="¹",ole="²",ale="³",lle="⊃",cle="⋑",dle="⪾",ule="⫘",_le="⫆",ple="⊇",fle="⫄",hle="⊃",mle="⊇",gle="⟉",Ele="⫗",ble="⥻",Sle="⫂",yle="⫌",vle="⊋",Tle="⫀",xle="⊃",Cle="⋑",Rle="⊇",Ale="⫆",wle="⊋",Ole="⫌",Nle="⫈",Mle="⫔",Ile="⫖",Dle="⤦",Lle="↙",kle="⇙",Ple="↙",Ule="⤪",Fle="ß",Ble="	",Gle="⌖",zle="Τ",Hle="τ",Vle="⎴",qle="Ť",Yle="ť",$le="Ţ",Wle="ţ",Kle="Т",jle="т",Qle="⃛",Xle="⌕",Zle="𝔗",Jle="𝔱",ece="∴",tce="∴",nce="∴",ice="Θ",rce="θ",sce="ϑ",oce="ϑ",ace="≈",lce="∼",cce="  ",dce=" ",uce=" ",_ce="≈",pce="∼",fce="Þ",hce="þ",mce="˜",gce="∼",Ece="≃",bce="≅",Sce="≈",yce="⨱",vce="⊠",Tce="×",xce="⨰",Cce="∭",Rce="⤨",Ace="⌶",wce="⫱",Oce="⊤",Nce="𝕋",Mce="𝕥",Ice="⫚",Dce="⤩",Lce="‴",kce="™",Pce="™",Uce="▵",Fce="▿",Bce="◃",Gce="⊴",zce="≜",Hce="▹",Vce="⊵",qce="◬",Yce="≜",$ce="⨺",Wce="⃛",Kce="⨹",jce="⧍",Qce="⨻",Xce="⏢",Zce="𝒯",Jce="𝓉",ede="Ц",tde="ц",nde="Ћ",ide="ћ",rde="Ŧ",sde="ŧ",ode="≬",ade="↞",lde="↠",cde="Ú",dde="ú",ude="↑",_de="↟",pde="⇑",fde="⥉",hde="Ў",mde="ў",gde="Ŭ",Ede="ŭ",bde="Û",Sde="û",yde="У",vde="у",Tde="⇅",xde="Ű",Cde="ű",Rde="⥮",Ade="⥾",wde="𝔘",Ode="𝔲",Nde="Ù",Mde="ù",Ide="⥣",Dde="↿",Lde="↾",kde="▀",Pde="⌜",Ude="⌜",Fde="⌏",Bde="◸",Gde="Ū",zde="ū",Hde="¨",Vde="_",qde="⏟",Yde="⎵",$de="⏝",Wde="⋃",Kde="⊎",jde="Ų",Qde="ų",Xde="𝕌",Zde="𝕦",Jde="⤒",eue="↑",tue="↑",nue="⇑",iue="⇅",rue="↕",sue="↕",oue="⇕",aue="⥮",lue="↿",cue="↾",due="⊎",uue="↖",_ue="↗",pue="υ",fue="ϒ",hue="ϒ",mue="Υ",gue="υ",Eue="↥",bue="⊥",Sue="⇈",yue="⌝",vue="⌝",Tue="⌎",xue="Ů",Cue="ů",Rue="◹",Aue="𝒰",wue="𝓊",Oue="⋰",Nue="Ũ",Mue="ũ",Iue="▵",Due="▴",Lue="⇈",kue="Ü",Pue="ü",Uue="⦧",Fue="⦜",Bue="ϵ",Gue="ϰ",zue="∅",Hue="ϕ",Vue="ϖ",que="∝",Yue="↕",$ue="⇕",Wue="ϱ",Kue="ς",jue="⊊︀",Que="⫋︀",Xue="⊋︀",Zue="⫌︀",Jue="ϑ",e_e="⊲",t_e="⊳",n_e="⫨",i_e="⫫",r_e="⫩",s_e="В",o_e="в",a_e="⊢",l_e="⊨",c_e="⊩",d_e="⊫",u_e="⫦",__e="⊻",p_e="∨",f_e="⋁",h_e="≚",m_e="⋮",g_e="|",E_e="‖",b_e="|",S_e="‖",y_e="∣",v_e="|",T_e="❘",x_e="≀",C_e=" ",R_e="𝔙",A_e="𝔳",w_e="⊲",O_e="⊂⃒",N_e="⊃⃒",M_e="𝕍",I_e="𝕧",D_e="∝",L_e="⊳",k_e="𝒱",P_e="𝓋",U_e="⫋︀",F_e="⊊︀",B_e="⫌︀",G_e="⊋︀",z_e="⊪",H_e="⦚",V_e="Ŵ",q_e="ŵ",Y_e="⩟",$_e="∧",W_e="⋀",K_e="≙",j_e="℘",Q_e="𝔚",X_e="𝔴",Z_e="𝕎",J_e="𝕨",epe="℘",tpe="≀",npe="≀",ipe="𝒲",rpe="𝓌",spe="⋂",ope="◯",ape="⋃",lpe="▽",cpe="𝔛",dpe="𝔵",upe="⟷",_pe="⟺",ppe="Ξ",fpe="ξ",hpe="⟵",mpe="⟸",gpe="⟼",Epe="⋻",bpe="⨀",Spe="𝕏",ype="𝕩",vpe="⨁",Tpe="⨂",xpe="⟶",Cpe="⟹",Rpe="𝒳",Ape="𝓍",wpe="⨆",Ope="⨄",Npe="△",Mpe="⋁",Ipe="⋀",Dpe="Ý",Lpe="ý",kpe="Я",Ppe="я",Upe="Ŷ",Fpe="ŷ",Bpe="Ы",Gpe="ы",zpe="¥",Hpe="𝔜",Vpe="𝔶",qpe="Ї",Ype="ї",$pe="𝕐",Wpe="𝕪",Kpe="𝒴",jpe="𝓎",Qpe="Ю",Xpe="ю",Zpe="ÿ",Jpe="Ÿ",efe="Ź",tfe="ź",nfe="Ž",ife="ž",rfe="З",sfe="з",ofe="Ż",afe="ż",lfe="ℨ",cfe="​",dfe="Ζ",ufe="ζ",_fe="𝔷",pfe="ℨ",ffe="Ж",hfe="ж",mfe="⇝",gfe="𝕫",Efe="ℤ",bfe="𝒵",Sfe="𝓏",yfe="‍",vfe="‌",Tfe={Aacute:oP,aacute:aP,Abreve:lP,abreve:cP,ac:dP,acd:uP,acE:_P,Acirc:pP,acirc:fP,acute:hP,Acy:mP,acy:gP,AElig:EP,aelig:bP,af:SP,Afr:yP,afr:vP,Agrave:TP,agrave:xP,alefsym:CP,aleph:RP,Alpha:AP,alpha:wP,Amacr:OP,amacr:NP,amalg:MP,amp:IP,AMP:DP,andand:LP,And:kP,and:PP,andd:UP,andslope:FP,andv:BP,ang:GP,ange:zP,angle:HP,angmsdaa:VP,angmsdab:qP,angmsdac:YP,angmsdad:$P,angmsdae:WP,angmsdaf:KP,angmsdag:jP,angmsdah:QP,angmsd:XP,angrt:ZP,angrtvb:JP,angrtvbd:eU,angsph:tU,angst:nU,angzarr:iU,Aogon:rU,aogon:sU,Aopf:oU,aopf:aU,apacir:lU,ap:cU,apE:dU,ape:uU,apid:_U,apos:pU,ApplyFunction:fU,approx:hU,approxeq:mU,Aring:gU,aring:EU,Ascr:bU,ascr:SU,Assign:yU,ast:vU,asymp:TU,asympeq:xU,Atilde:CU,atilde:RU,Auml:AU,auml:wU,awconint:OU,awint:NU,backcong:MU,backepsilon:IU,backprime:DU,backsim:LU,backsimeq:kU,Backslash:PU,Barv:UU,barvee:FU,barwed:BU,Barwed:GU,barwedge:zU,bbrk:HU,bbrktbrk:VU,bcong:qU,Bcy:YU,bcy:$U,bdquo:WU,becaus:KU,because:jU,Because:QU,bemptyv:XU,bepsi:ZU,bernou:JU,Bernoullis:eF,Beta:tF,beta:nF,beth:iF,between:rF,Bfr:sF,bfr:oF,bigcap:aF,bigcirc:lF,bigcup:cF,bigodot:dF,bigoplus:uF,bigotimes:_F,bigsqcup:pF,bigstar:fF,bigtriangledown:hF,bigtriangleup:mF,biguplus:gF,bigvee:EF,bigwedge:bF,bkarow:SF,blacklozenge:yF,blacksquare:vF,blacktriangle:TF,blacktriangledown:xF,blacktriangleleft:CF,blacktriangleright:RF,blank:AF,blk12:wF,blk14:OF,blk34:NF,block:MF,bne:IF,bnequiv:DF,bNot:LF,bnot:kF,Bopf:PF,bopf:UF,bot:FF,bottom:BF,bowtie:GF,boxbox:zF,boxdl:HF,boxdL:VF,boxDl:qF,boxDL:YF,boxdr:$F,boxdR:WF,boxDr:KF,boxDR:jF,boxh:QF,boxH:XF,boxhd:ZF,boxHd:JF,boxhD:eB,boxHD:tB,boxhu:nB,boxHu:iB,boxhU:rB,boxHU:sB,boxminus:oB,boxplus:aB,boxtimes:lB,boxul:cB,boxuL:dB,boxUl:uB,boxUL:_B,boxur:pB,boxuR:fB,boxUr:hB,boxUR:mB,boxv:gB,boxV:EB,boxvh:bB,boxvH:SB,boxVh:yB,boxVH:vB,boxvl:TB,boxvL:xB,boxVl:CB,boxVL:RB,boxvr:AB,boxvR:wB,boxVr:OB,boxVR:NB,bprime:MB,breve:IB,Breve:DB,brvbar:LB,bscr:kB,Bscr:PB,bsemi:UB,bsim:FB,bsime:BB,bsolb:GB,bsol:zB,bsolhsub:HB,bull:VB,bullet:qB,bump:YB,bumpE:$B,bumpe:WB,Bumpeq:KB,bumpeq:jB,Cacute:QB,cacute:XB,capand:ZB,capbrcup:JB,capcap:e3,cap:t3,Cap:n3,capcup:i3,capdot:r3,CapitalDifferentialD:s3,caps:o3,caret:a3,caron:l3,Cayleys:c3,ccaps:d3,Ccaron:u3,ccaron:_3,Ccedil:p3,ccedil:f3,Ccirc:h3,ccirc:m3,Cconint:g3,ccups:E3,ccupssm:b3,Cdot:S3,cdot:y3,cedil:v3,Cedilla:T3,cemptyv:x3,cent:C3,centerdot:R3,CenterDot:A3,cfr:w3,Cfr:O3,CHcy:N3,chcy:M3,check:I3,checkmark:D3,Chi:L3,chi:k3,circ:P3,circeq:U3,circlearrowleft:F3,circlearrowright:B3,circledast:G3,circledcirc:z3,circleddash:H3,CircleDot:V3,circledR:q3,circledS:Y3,CircleMinus:$3,CirclePlus:W3,CircleTimes:K3,cir:j3,cirE:Q3,cire:X3,cirfnint:Z3,cirmid:J3,cirscir:e4,ClockwiseContourIntegral:t4,CloseCurlyDoubleQuote:n4,CloseCurlyQuote:i4,clubs:r4,clubsuit:s4,colon:o4,Colon:a4,Colone:l4,colone:c4,coloneq:d4,comma:u4,commat:_4,comp:p4,compfn:f4,complement:h4,complexes:m4,cong:g4,congdot:E4,Congruent:b4,conint:S4,Conint:y4,ContourIntegral:v4,copf:T4,Copf:x4,coprod:C4,Coproduct:R4,copy:A4,COPY:w4,copysr:O4,CounterClockwiseContourIntegral:N4,crarr:M4,cross:I4,Cross:D4,Cscr:L4,cscr:k4,csub:P4,csube:U4,csup:F4,csupe:B4,ctdot:G4,cudarrl:z4,cudarrr:H4,cuepr:V4,cuesc:q4,cularr:Y4,cularrp:$4,cupbrcap:W4,cupcap:K4,CupCap:j4,cup:Q4,Cup:X4,cupcup:Z4,cupdot:J4,cupor:e5,cups:t5,curarr:n5,curarrm:i5,curlyeqprec:r5,curlyeqsucc:s5,curlyvee:o5,curlywedge:a5,curren:l5,curvearrowleft:c5,curvearrowright:d5,cuvee:u5,cuwed:_5,cwconint:p5,cwint:f5,cylcty:h5,dagger:m5,Dagger:g5,daleth:E5,darr:b5,Darr:S5,dArr:y5,dash:v5,Dashv:T5,dashv:x5,dbkarow:C5,dblac:R5,Dcaron:A5,dcaron:w5,Dcy:O5,dcy:N5,ddagger:M5,ddarr:I5,DD:D5,dd:L5,DDotrahd:k5,ddotseq:P5,deg:U5,Del:F5,Delta:B5,delta:G5,demptyv:z5,dfisht:H5,Dfr:V5,dfr:q5,dHar:Y5,dharl:$5,dharr:W5,DiacriticalAcute:K5,DiacriticalDot:j5,DiacriticalDoubleAcute:Q5,DiacriticalGrave:X5,DiacriticalTilde:Z5,diam:J5,diamond:eG,Diamond:tG,diamondsuit:nG,diams:iG,die:rG,DifferentialD:sG,digamma:oG,disin:aG,div:lG,divide:cG,divideontimes:dG,divonx:uG,DJcy:_G,djcy:pG,dlcorn:fG,dlcrop:hG,dollar:mG,Dopf:gG,dopf:EG,Dot:bG,dot:SG,DotDot:yG,doteq:vG,doteqdot:TG,DotEqual:xG,dotminus:CG,dotplus:RG,dotsquare:AG,doublebarwedge:wG,DoubleContourIntegral:OG,DoubleDot:NG,DoubleDownArrow:MG,DoubleLeftArrow:IG,DoubleLeftRightArrow:DG,DoubleLeftTee:LG,DoubleLongLeftArrow:kG,DoubleLongLeftRightArrow:PG,DoubleLongRightArrow:UG,DoubleRightArrow:FG,DoubleRightTee:BG,DoubleUpArrow:GG,DoubleUpDownArrow:zG,DoubleVerticalBar:HG,DownArrowBar:VG,downarrow:qG,DownArrow:YG,Downarrow:$G,DownArrowUpArrow:WG,DownBreve:KG,downdownarrows:jG,downharpoonleft:QG,downharpoonright:XG,DownLeftRightVector:ZG,DownLeftTeeVector:JG,DownLeftVectorBar:e9,DownLeftVector:t9,DownRightTeeVector:n9,DownRightVectorBar:i9,DownRightVector:r9,DownTeeArrow:s9,DownTee:o9,drbkarow:a9,drcorn:l9,drcrop:c9,Dscr:d9,dscr:u9,DScy:_9,dscy:p9,dsol:f9,Dstrok:h9,dstrok:m9,dtdot:g9,dtri:E9,dtrif:b9,duarr:S9,duhar:y9,dwangle:v9,DZcy:T9,dzcy:x9,dzigrarr:C9,Eacute:R9,eacute:A9,easter:w9,Ecaron:O9,ecaron:N9,Ecirc:M9,ecirc:I9,ecir:D9,ecolon:L9,Ecy:k9,ecy:P9,eDDot:U9,Edot:F9,edot:B9,eDot:G9,ee:z9,efDot:H9,Efr:V9,efr:q9,eg:Y9,Egrave:$9,egrave:W9,egs:K9,egsdot:j9,el:Q9,Element:X9,elinters:Z9,ell:J9,els:ez,elsdot:tz,Emacr:nz,emacr:iz,empty:rz,emptyset:sz,EmptySmallSquare:oz,emptyv:az,EmptyVerySmallSquare:lz,emsp13:cz,emsp14:dz,emsp:uz,ENG:_z,eng:pz,ensp:fz,Eogon:hz,eogon:mz,Eopf:gz,eopf:Ez,epar:bz,eparsl:Sz,eplus:yz,epsi:vz,Epsilon:Tz,epsilon:xz,epsiv:Cz,eqcirc:Rz,eqcolon:Az,eqsim:wz,eqslantgtr:Oz,eqslantless:Nz,Equal:Mz,equals:Iz,EqualTilde:Dz,equest:Lz,Equilibrium:kz,equiv:Pz,equivDD:Uz,eqvparsl:Fz,erarr:Bz,erDot:Gz,escr:zz,Escr:Hz,esdot:Vz,Esim:qz,esim:Yz,Eta:$z,eta:Wz,ETH:Kz,eth:jz,Euml:Qz,euml:Xz,euro:Zz,excl:Jz,exist:eH,Exists:tH,expectation:nH,exponentiale:iH,ExponentialE:rH,fallingdotseq:sH,Fcy:oH,fcy:aH,female:lH,ffilig:cH,fflig:dH,ffllig:uH,Ffr:_H,ffr:pH,filig:fH,FilledSmallSquare:hH,FilledVerySmallSquare:mH,fjlig:gH,flat:EH,fllig:bH,fltns:SH,fnof:yH,Fopf:vH,fopf:TH,forall:xH,ForAll:CH,fork:RH,forkv:AH,Fouriertrf:wH,fpartint:OH,frac12:NH,frac13:MH,frac14:IH,frac15:DH,frac16:LH,frac18:kH,frac23:PH,frac25:UH,frac34:FH,frac35:BH,frac38:GH,frac45:zH,frac56:HH,frac58:VH,frac78:qH,frasl:YH,frown:$H,fscr:WH,Fscr:KH,gacute:jH,Gamma:QH,gamma:XH,Gammad:ZH,gammad:JH,gap:eV,Gbreve:tV,gbreve:nV,Gcedil:iV,Gcirc:rV,gcirc:sV,Gcy:oV,gcy:aV,Gdot:lV,gdot:cV,ge:dV,gE:uV,gEl:_V,gel:pV,geq:fV,geqq:hV,geqslant:mV,gescc:gV,ges:EV,gesdot:bV,gesdoto:SV,gesdotol:yV,gesl:vV,gesles:TV,Gfr:xV,gfr:CV,gg:RV,Gg:AV,ggg:wV,gimel:OV,GJcy:NV,gjcy:MV,gla:IV,gl:DV,glE:LV,glj:kV,gnap:PV,gnapprox:UV,gne:FV,gnE:BV,gneq:GV,gneqq:zV,gnsim:HV,Gopf:VV,gopf:qV,grave:YV,GreaterEqual:$V,GreaterEqualLess:WV,GreaterFullEqual:KV,GreaterGreater:jV,GreaterLess:QV,GreaterSlantEqual:XV,GreaterTilde:ZV,Gscr:JV,gscr:e8,gsim:t8,gsime:n8,gsiml:i8,gtcc:r8,gtcir:s8,gt:o8,GT:a8,Gt:l8,gtdot:c8,gtlPar:d8,gtquest:u8,gtrapprox:_8,gtrarr:p8,gtrdot:f8,gtreqless:h8,gtreqqless:m8,gtrless:g8,gtrsim:E8,gvertneqq:b8,gvnE:S8,Hacek:y8,hairsp:v8,half:T8,hamilt:x8,HARDcy:C8,hardcy:R8,harrcir:A8,harr:w8,hArr:O8,harrw:N8,Hat:M8,hbar:I8,Hcirc:D8,hcirc:L8,hearts:k8,heartsuit:P8,hellip:U8,hercon:F8,hfr:B8,Hfr:G8,HilbertSpace:z8,hksearow:H8,hkswarow:V8,hoarr:q8,homtht:Y8,hookleftarrow:$8,hookrightarrow:W8,hopf:K8,Hopf:j8,horbar:Q8,HorizontalLine:X8,hscr:Z8,Hscr:J8,hslash:e6,Hstrok:t6,hstrok:n6,HumpDownHump:i6,HumpEqual:r6,hybull:s6,hyphen:o6,Iacute:a6,iacute:l6,ic:c6,Icirc:d6,icirc:u6,Icy:_6,icy:p6,Idot:f6,IEcy:h6,iecy:m6,iexcl:g6,iff:E6,ifr:b6,Ifr:S6,Igrave:y6,igrave:v6,ii:T6,iiiint:x6,iiint:C6,iinfin:R6,iiota:A6,IJlig:w6,ijlig:O6,Imacr:N6,imacr:M6,image:I6,ImaginaryI:D6,imagline:L6,imagpart:k6,imath:P6,Im:U6,imof:F6,imped:B6,Implies:G6,incare:z6,in:"∈",infin:H6,infintie:V6,inodot:q6,intcal:Y6,int:$6,Int:W6,integers:K6,Integral:j6,intercal:Q6,Intersection:X6,intlarhk:Z6,intprod:J6,InvisibleComma:eq,InvisibleTimes:tq,IOcy:nq,iocy:iq,Iogon:rq,iogon:sq,Iopf:oq,iopf:aq,Iota:lq,iota:cq,iprod:dq,iquest:uq,iscr:_q,Iscr:pq,isin:fq,isindot:hq,isinE:mq,isins:gq,isinsv:Eq,isinv:bq,it:Sq,Itilde:yq,itilde:vq,Iukcy:Tq,iukcy:xq,Iuml:Cq,iuml:Rq,Jcirc:Aq,jcirc:wq,Jcy:Oq,jcy:Nq,Jfr:Mq,jfr:Iq,jmath:Dq,Jopf:Lq,jopf:kq,Jscr:Pq,jscr:Uq,Jsercy:Fq,jsercy:Bq,Jukcy:Gq,jukcy:zq,Kappa:Hq,kappa:Vq,kappav:qq,Kcedil:Yq,kcedil:$q,Kcy:Wq,kcy:Kq,Kfr:jq,kfr:Qq,kgreen:Xq,KHcy:Zq,khcy:Jq,KJcy:e7,kjcy:t7,Kopf:n7,kopf:i7,Kscr:r7,kscr:s7,lAarr:o7,Lacute:a7,lacute:l7,laemptyv:c7,lagran:d7,Lambda:u7,lambda:_7,lang:p7,Lang:f7,langd:h7,langle:m7,lap:g7,Laplacetrf:E7,laquo:b7,larrb:S7,larrbfs:y7,larr:v7,Larr:T7,lArr:x7,larrfs:C7,larrhk:R7,larrlp:A7,larrpl:w7,larrsim:O7,larrtl:N7,latail:M7,lAtail:I7,lat:D7,late:L7,lates:k7,lbarr:P7,lBarr:U7,lbbrk:F7,lbrace:B7,lbrack:G7,lbrke:z7,lbrksld:H7,lbrkslu:V7,Lcaron:q7,lcaron:Y7,Lcedil:$7,lcedil:W7,lceil:K7,lcub:j7,Lcy:Q7,lcy:X7,ldca:Z7,ldquo:J7,ldquor:eY,ldrdhar:tY,ldrushar:nY,ldsh:iY,le:rY,lE:sY,LeftAngleBracket:oY,LeftArrowBar:aY,leftarrow:lY,LeftArrow:cY,Leftarrow:dY,LeftArrowRightArrow:uY,leftarrowtail:_Y,LeftCeiling:pY,LeftDoubleBracket:fY,LeftDownTeeVector:hY,LeftDownVectorBar:mY,LeftDownVector:gY,LeftFloor:EY,leftharpoondown:bY,leftharpoonup:SY,leftleftarrows:yY,leftrightarrow:vY,LeftRightArrow:TY,Leftrightarrow:xY,leftrightarrows:CY,leftrightharpoons:RY,leftrightsquigarrow:AY,LeftRightVector:wY,LeftTeeArrow:OY,LeftTee:NY,LeftTeeVector:MY,leftthreetimes:IY,LeftTriangleBar:DY,LeftTriangle:LY,LeftTriangleEqual:kY,LeftUpDownVector:PY,LeftUpTeeVector:UY,LeftUpVectorBar:FY,LeftUpVector:BY,LeftVectorBar:GY,LeftVector:zY,lEg:HY,leg:VY,leq:qY,leqq:YY,leqslant:$Y,lescc:WY,les:KY,lesdot:jY,lesdoto:QY,lesdotor:XY,lesg:ZY,lesges:JY,lessapprox:e$,lessdot:t$,lesseqgtr:n$,lesseqqgtr:i$,LessEqualGreater:r$,LessFullEqual:s$,LessGreater:o$,lessgtr:a$,LessLess:l$,lesssim:c$,LessSlantEqual:d$,LessTilde:u$,lfisht:_$,lfloor:p$,Lfr:f$,lfr:h$,lg:m$,lgE:g$,lHar:E$,lhard:b$,lharu:S$,lharul:y$,lhblk:v$,LJcy:T$,ljcy:x$,llarr:C$,ll:R$,Ll:A$,llcorner:w$,Lleftarrow:O$,llhard:N$,lltri:M$,Lmidot:I$,lmidot:D$,lmoustache:L$,lmoust:k$,lnap:P$,lnapprox:U$,lne:F$,lnE:B$,lneq:G$,lneqq:z$,lnsim:H$,loang:V$,loarr:q$,lobrk:Y$,longleftarrow:$$,LongLeftArrow:W$,Longleftarrow:K$,longleftrightarrow:j$,LongLeftRightArrow:Q$,Longleftrightarrow:X$,longmapsto:Z$,longrightarrow:J$,LongRightArrow:eW,Longrightarrow:tW,looparrowleft:nW,looparrowright:iW,lopar:rW,Lopf:sW,lopf:oW,loplus:aW,lotimes:lW,lowast:cW,lowbar:dW,LowerLeftArrow:uW,LowerRightArrow:_W,loz:pW,lozenge:fW,lozf:hW,lpar:mW,lparlt:gW,lrarr:EW,lrcorner:bW,lrhar:SW,lrhard:yW,lrm:vW,lrtri:TW,lsaquo:xW,lscr:CW,Lscr:RW,lsh:AW,Lsh:wW,lsim:OW,lsime:NW,lsimg:MW,lsqb:IW,lsquo:DW,lsquor:LW,Lstrok:kW,lstrok:PW,ltcc:UW,ltcir:FW,lt:BW,LT:GW,Lt:zW,ltdot:HW,lthree:VW,ltimes:qW,ltlarr:YW,ltquest:$W,ltri:WW,ltrie:KW,ltrif:jW,ltrPar:QW,lurdshar:XW,luruhar:ZW,lvertneqq:JW,lvnE:eK,macr:tK,male:nK,malt:iK,maltese:rK,Map:"⤅",map:sK,mapsto:oK,mapstodown:aK,mapstoleft:lK,mapstoup:cK,marker:dK,mcomma:uK,Mcy:_K,mcy:pK,mdash:fK,mDDot:hK,measuredangle:mK,MediumSpace:gK,Mellintrf:EK,Mfr:bK,mfr:SK,mho:yK,micro:vK,midast:TK,midcir:xK,mid:CK,middot:RK,minusb:AK,minus:wK,minusd:OK,minusdu:NK,MinusPlus:MK,mlcp:IK,mldr:DK,mnplus:LK,models:kK,Mopf:PK,mopf:UK,mp:FK,mscr:BK,Mscr:GK,mstpos:zK,Mu:HK,mu:VK,multimap:qK,mumap:YK,nabla:$K,Nacute:WK,nacute:KK,nang:jK,nap:QK,napE:XK,napid:ZK,napos:JK,napprox:ej,natural:tj,naturals:nj,natur:ij,nbsp:rj,nbump:sj,nbumpe:oj,ncap:aj,Ncaron:lj,ncaron:cj,Ncedil:dj,ncedil:uj,ncong:_j,ncongdot:pj,ncup:fj,Ncy:hj,ncy:mj,ndash:gj,nearhk:Ej,nearr:bj,neArr:Sj,nearrow:yj,ne:vj,nedot:Tj,NegativeMediumSpace:xj,NegativeThickSpace:Cj,NegativeThinSpace:Rj,NegativeVeryThinSpace:Aj,nequiv:wj,nesear:Oj,nesim:Nj,NestedGreaterGreater:Mj,NestedLessLess:Ij,NewLine:Dj,nexist:Lj,nexists:kj,Nfr:Pj,nfr:Uj,ngE:Fj,nge:Bj,ngeq:Gj,ngeqq:zj,ngeqslant:Hj,nges:Vj,nGg:qj,ngsim:Yj,nGt:$j,ngt:Wj,ngtr:Kj,nGtv:jj,nharr:Qj,nhArr:Xj,nhpar:Zj,ni:Jj,nis:eQ,nisd:tQ,niv:nQ,NJcy:iQ,njcy:rQ,nlarr:sQ,nlArr:oQ,nldr:aQ,nlE:lQ,nle:cQ,nleftarrow:dQ,nLeftarrow:uQ,nleftrightarrow:_Q,nLeftrightarrow:pQ,nleq:fQ,nleqq:hQ,nleqslant:mQ,nles:gQ,nless:EQ,nLl:bQ,nlsim:SQ,nLt:yQ,nlt:vQ,nltri:TQ,nltrie:xQ,nLtv:CQ,nmid:RQ,NoBreak:AQ,NonBreakingSpace:wQ,nopf:OQ,Nopf:NQ,Not:MQ,not:IQ,NotCongruent:DQ,NotCupCap:LQ,NotDoubleVerticalBar:kQ,NotElement:PQ,NotEqual:UQ,NotEqualTilde:FQ,NotExists:BQ,NotGreater:GQ,NotGreaterEqual:zQ,NotGreaterFullEqual:HQ,NotGreaterGreater:VQ,NotGreaterLess:qQ,NotGreaterSlantEqual:YQ,NotGreaterTilde:$Q,NotHumpDownHump:WQ,NotHumpEqual:KQ,notin:jQ,notindot:QQ,notinE:XQ,notinva:ZQ,notinvb:JQ,notinvc:eX,NotLeftTriangleBar:tX,NotLeftTriangle:nX,NotLeftTriangleEqual:iX,NotLess:rX,NotLessEqual:sX,NotLessGreater:oX,NotLessLess:aX,NotLessSlantEqual:lX,NotLessTilde:cX,NotNestedGreaterGreater:dX,NotNestedLessLess:uX,notni:_X,notniva:pX,notnivb:fX,notnivc:hX,NotPrecedes:mX,NotPrecedesEqual:gX,NotPrecedesSlantEqual:EX,NotReverseElement:bX,NotRightTriangleBar:SX,NotRightTriangle:yX,NotRightTriangleEqual:vX,NotSquareSubset:TX,NotSquareSubsetEqual:xX,NotSquareSuperset:CX,NotSquareSupersetEqual:RX,NotSubset:AX,NotSubsetEqual:wX,NotSucceeds:OX,NotSucceedsEqual:NX,NotSucceedsSlantEqual:MX,NotSucceedsTilde:IX,NotSuperset:DX,NotSupersetEqual:LX,NotTilde:kX,NotTildeEqual:PX,NotTildeFullEqual:UX,NotTildeTilde:FX,NotVerticalBar:BX,nparallel:GX,npar:zX,nparsl:HX,npart:VX,npolint:qX,npr:YX,nprcue:$X,nprec:WX,npreceq:KX,npre:jX,nrarrc:QX,nrarr:XX,nrArr:ZX,nrarrw:JX,nrightarrow:eZ,nRightarrow:tZ,nrtri:nZ,nrtrie:iZ,nsc:rZ,nsccue:sZ,nsce:oZ,Nscr:aZ,nscr:lZ,nshortmid:cZ,nshortparallel:dZ,nsim:uZ,nsime:_Z,nsimeq:pZ,nsmid:fZ,nspar:hZ,nsqsube:mZ,nsqsupe:gZ,nsub:EZ,nsubE:bZ,nsube:SZ,nsubset:yZ,nsubseteq:vZ,nsubseteqq:TZ,nsucc:xZ,nsucceq:CZ,nsup:RZ,nsupE:AZ,nsupe:wZ,nsupset:OZ,nsupseteq:NZ,nsupseteqq:MZ,ntgl:IZ,Ntilde:DZ,ntilde:LZ,ntlg:kZ,ntriangleleft:PZ,ntrianglelefteq:UZ,ntriangleright:FZ,ntrianglerighteq:BZ,Nu:GZ,nu:zZ,num:HZ,numero:VZ,numsp:qZ,nvap:YZ,nvdash:$Z,nvDash:WZ,nVdash:KZ,nVDash:jZ,nvge:QZ,nvgt:XZ,nvHarr:ZZ,nvinfin:JZ,nvlArr:eJ,nvle:tJ,nvlt:nJ,nvltrie:iJ,nvrArr:rJ,nvrtrie:sJ,nvsim:oJ,nwarhk:aJ,nwarr:lJ,nwArr:cJ,nwarrow:dJ,nwnear:uJ,Oacute:_J,oacute:pJ,oast:fJ,Ocirc:hJ,ocirc:mJ,ocir:gJ,Ocy:EJ,ocy:bJ,odash:SJ,Odblac:yJ,odblac:vJ,odiv:TJ,odot:xJ,odsold:CJ,OElig:RJ,oelig:AJ,ofcir:wJ,Ofr:OJ,ofr:NJ,ogon:MJ,Ograve:IJ,ograve:DJ,ogt:LJ,ohbar:kJ,ohm:PJ,oint:UJ,olarr:FJ,olcir:BJ,olcross:GJ,oline:zJ,olt:HJ,Omacr:VJ,omacr:qJ,Omega:YJ,omega:$J,Omicron:WJ,omicron:KJ,omid:jJ,ominus:QJ,Oopf:XJ,oopf:ZJ,opar:JJ,OpenCurlyDoubleQuote:eee,OpenCurlyQuote:tee,operp:nee,oplus:iee,orarr:ree,Or:see,or:oee,ord:aee,order:lee,orderof:cee,ordf:dee,ordm:uee,origof:_ee,oror:pee,orslope:fee,orv:hee,oS:mee,Oscr:gee,oscr:Eee,Oslash:bee,oslash:See,osol:yee,Otilde:vee,otilde:Tee,otimesas:xee,Otimes:Cee,otimes:Ree,Ouml:Aee,ouml:wee,ovbar:Oee,OverBar:Nee,OverBrace:Mee,OverBracket:Iee,OverParenthesis:Dee,para:Lee,parallel:kee,par:Pee,parsim:Uee,parsl:Fee,part:Bee,PartialD:Gee,Pcy:zee,pcy:Hee,percnt:Vee,period:qee,permil:Yee,perp:$ee,pertenk:Wee,Pfr:Kee,pfr:jee,Phi:Qee,phi:Xee,phiv:Zee,phmmat:Jee,phone:ete,Pi:tte,pi:nte,pitchfork:ite,piv:rte,planck:ste,planckh:ote,plankv:ate,plusacir:lte,plusb:cte,pluscir:dte,plus:ute,plusdo:_te,plusdu:pte,pluse:fte,PlusMinus:hte,plusmn:mte,plussim:gte,plustwo:Ete,pm:bte,Poincareplane:Ste,pointint:yte,popf:vte,Popf:Tte,pound:xte,prap:Cte,Pr:Rte,pr:Ate,prcue:wte,precapprox:Ote,prec:Nte,preccurlyeq:Mte,Precedes:Ite,PrecedesEqual:Dte,PrecedesSlantEqual:Lte,PrecedesTilde:kte,preceq:Pte,precnapprox:Ute,precneqq:Fte,precnsim:Bte,pre:Gte,prE:zte,precsim:Hte,prime:Vte,Prime:qte,primes:Yte,prnap:$te,prnE:Wte,prnsim:Kte,prod:jte,Product:Qte,profalar:Xte,profline:Zte,profsurf:Jte,prop:ene,Proportional:tne,Proportion:nne,propto:ine,prsim:rne,prurel:sne,Pscr:one,pscr:ane,Psi:lne,psi:cne,puncsp:dne,Qfr:une,qfr:_ne,qint:pne,qopf:fne,Qopf:hne,qprime:mne,Qscr:gne,qscr:Ene,quaternions:bne,quatint:Sne,quest:yne,questeq:vne,quot:Tne,QUOT:xne,rAarr:Cne,race:Rne,Racute:Ane,racute:wne,radic:One,raemptyv:Nne,rang:Mne,Rang:Ine,rangd:Dne,range:Lne,rangle:kne,raquo:Pne,rarrap:Une,rarrb:Fne,rarrbfs:Bne,rarrc:Gne,rarr:zne,Rarr:Hne,rArr:Vne,rarrfs:qne,rarrhk:Yne,rarrlp:$ne,rarrpl:Wne,rarrsim:Kne,Rarrtl:jne,rarrtl:Qne,rarrw:Xne,ratail:Zne,rAtail:Jne,ratio:eie,rationals:tie,rbarr:nie,rBarr:iie,RBarr:rie,rbbrk:sie,rbrace:oie,rbrack:aie,rbrke:lie,rbrksld:cie,rbrkslu:die,Rcaron:uie,rcaron:_ie,Rcedil:pie,rcedil:fie,rceil:hie,rcub:mie,Rcy:gie,rcy:Eie,rdca:bie,rdldhar:Sie,rdquo:yie,rdquor:vie,rdsh:Tie,real:xie,realine:Cie,realpart:Rie,reals:Aie,Re:wie,rect:Oie,reg:Nie,REG:Mie,ReverseElement:Iie,ReverseEquilibrium:Die,ReverseUpEquilibrium:Lie,rfisht:kie,rfloor:Pie,rfr:Uie,Rfr:Fie,rHar:Bie,rhard:Gie,rharu:zie,rharul:Hie,Rho:Vie,rho:qie,rhov:Yie,RightAngleBracket:$ie,RightArrowBar:Wie,rightarrow:Kie,RightArrow:jie,Rightarrow:Qie,RightArrowLeftArrow:Xie,rightarrowtail:Zie,RightCeiling:Jie,RightDoubleBracket:ere,RightDownTeeVector:tre,RightDownVectorBar:nre,RightDownVector:ire,RightFloor:rre,rightharpoondown:sre,rightharpoonup:ore,rightleftarrows:are,rightleftharpoons:lre,rightrightarrows:cre,rightsquigarrow:dre,RightTeeArrow:ure,RightTee:_re,RightTeeVector:pre,rightthreetimes:fre,RightTriangleBar:hre,RightTriangle:mre,RightTriangleEqual:gre,RightUpDownVector:Ere,RightUpTeeVector:bre,RightUpVectorBar:Sre,RightUpVector:yre,RightVectorBar:vre,RightVector:Tre,ring:xre,risingdotseq:Cre,rlarr:Rre,rlhar:Are,rlm:wre,rmoustache:Ore,rmoust:Nre,rnmid:Mre,roang:Ire,roarr:Dre,robrk:Lre,ropar:kre,ropf:Pre,Ropf:Ure,roplus:Fre,rotimes:Bre,RoundImplies:Gre,rpar:zre,rpargt:Hre,rppolint:Vre,rrarr:qre,Rrightarrow:Yre,rsaquo:$re,rscr:Wre,Rscr:Kre,rsh:jre,Rsh:Qre,rsqb:Xre,rsquo:Zre,rsquor:Jre,rthree:ese,rtimes:tse,rtri:nse,rtrie:ise,rtrif:rse,rtriltri:sse,RuleDelayed:ose,ruluhar:ase,rx:lse,Sacute:cse,sacute:dse,sbquo:use,scap:_se,Scaron:pse,scaron:fse,Sc:hse,sc:mse,sccue:gse,sce:Ese,scE:bse,Scedil:Sse,scedil:yse,Scirc:vse,scirc:Tse,scnap:xse,scnE:Cse,scnsim:Rse,scpolint:Ase,scsim:wse,Scy:Ose,scy:Nse,sdotb:Mse,sdot:Ise,sdote:Dse,searhk:Lse,searr:kse,seArr:Pse,searrow:Use,sect:Fse,semi:Bse,seswar:Gse,setminus:zse,setmn:Hse,sext:Vse,Sfr:qse,sfr:Yse,sfrown:$se,sharp:Wse,SHCHcy:Kse,shchcy:jse,SHcy:Qse,shcy:Xse,ShortDownArrow:Zse,ShortLeftArrow:Jse,shortmid:eoe,shortparallel:toe,ShortRightArrow:noe,ShortUpArrow:ioe,shy:roe,Sigma:soe,sigma:ooe,sigmaf:aoe,sigmav:loe,sim:coe,simdot:doe,sime:uoe,simeq:_oe,simg:poe,simgE:foe,siml:hoe,simlE:moe,simne:goe,simplus:Eoe,simrarr:boe,slarr:Soe,SmallCircle:yoe,smallsetminus:voe,smashp:Toe,smeparsl:xoe,smid:Coe,smile:Roe,smt:Aoe,smte:woe,smtes:Ooe,SOFTcy:Noe,softcy:Moe,solbar:Ioe,solb:Doe,sol:Loe,Sopf:koe,sopf:Poe,spades:Uoe,spadesuit:Foe,spar:Boe,sqcap:Goe,sqcaps:zoe,sqcup:Hoe,sqcups:Voe,Sqrt:qoe,sqsub:Yoe,sqsube:$oe,sqsubset:Woe,sqsubseteq:Koe,sqsup:joe,sqsupe:Qoe,sqsupset:Xoe,sqsupseteq:Zoe,square:Joe,Square:eae,SquareIntersection:tae,SquareSubset:nae,SquareSubsetEqual:iae,SquareSuperset:rae,SquareSupersetEqual:sae,SquareUnion:oae,squarf:aae,squ:lae,squf:cae,srarr:dae,Sscr:uae,sscr:_ae,ssetmn:pae,ssmile:fae,sstarf:hae,Star:mae,star:gae,starf:Eae,straightepsilon:bae,straightphi:Sae,strns:yae,sub:vae,Sub:Tae,subdot:xae,subE:Cae,sube:Rae,subedot:Aae,submult:wae,subnE:Oae,subne:Nae,subplus:Mae,subrarr:Iae,subset:Dae,Subset:Lae,subseteq:kae,subseteqq:Pae,SubsetEqual:Uae,subsetneq:Fae,subsetneqq:Bae,subsim:Gae,subsub:zae,subsup:Hae,succapprox:Vae,succ:qae,succcurlyeq:Yae,Succeeds:$ae,SucceedsEqual:Wae,SucceedsSlantEqual:Kae,SucceedsTilde:jae,succeq:Qae,succnapprox:Xae,succneqq:Zae,succnsim:Jae,succsim:ele,SuchThat:tle,sum:nle,Sum:ile,sung:rle,sup1:sle,sup2:ole,sup3:ale,sup:lle,Sup:cle,supdot:dle,supdsub:ule,supE:_le,supe:ple,supedot:fle,Superset:hle,SupersetEqual:mle,suphsol:gle,suphsub:Ele,suplarr:ble,supmult:Sle,supnE:yle,supne:vle,supplus:Tle,supset:xle,Supset:Cle,supseteq:Rle,supseteqq:Ale,supsetneq:wle,supsetneqq:Ole,supsim:Nle,supsub:Mle,supsup:Ile,swarhk:Dle,swarr:Lle,swArr:kle,swarrow:Ple,swnwar:Ule,szlig:Fle,Tab:Ble,target:Gle,Tau:zle,tau:Hle,tbrk:Vle,Tcaron:qle,tcaron:Yle,Tcedil:$le,tcedil:Wle,Tcy:Kle,tcy:jle,tdot:Qle,telrec:Xle,Tfr:Zle,tfr:Jle,there4:ece,therefore:tce,Therefore:nce,Theta:ice,theta:rce,thetasym:sce,thetav:oce,thickapprox:ace,thicksim:lce,ThickSpace:cce,ThinSpace:dce,thinsp:uce,thkap:_ce,thksim:pce,THORN:fce,thorn:hce,tilde:mce,Tilde:gce,TildeEqual:Ece,TildeFullEqual:bce,TildeTilde:Sce,timesbar:yce,timesb:vce,times:Tce,timesd:xce,tint:Cce,toea:Rce,topbot:Ace,topcir:wce,top:Oce,Topf:Nce,topf:Mce,topfork:Ice,tosa:Dce,tprime:Lce,trade:kce,TRADE:Pce,triangle:Uce,triangledown:Fce,triangleleft:Bce,trianglelefteq:Gce,triangleq:zce,triangleright:Hce,trianglerighteq:Vce,tridot:qce,trie:Yce,triminus:$ce,TripleDot:Wce,triplus:Kce,trisb:jce,tritime:Qce,trpezium:Xce,Tscr:Zce,tscr:Jce,TScy:ede,tscy:tde,TSHcy:nde,tshcy:ide,Tstrok:rde,tstrok:sde,twixt:ode,twoheadleftarrow:ade,twoheadrightarrow:lde,Uacute:cde,uacute:dde,uarr:ude,Uarr:_de,uArr:pde,Uarrocir:fde,Ubrcy:hde,ubrcy:mde,Ubreve:gde,ubreve:Ede,Ucirc:bde,ucirc:Sde,Ucy:yde,ucy:vde,udarr:Tde,Udblac:xde,udblac:Cde,udhar:Rde,ufisht:Ade,Ufr:wde,ufr:Ode,Ugrave:Nde,ugrave:Mde,uHar:Ide,uharl:Dde,uharr:Lde,uhblk:kde,ulcorn:Pde,ulcorner:Ude,ulcrop:Fde,ultri:Bde,Umacr:Gde,umacr:zde,uml:Hde,UnderBar:Vde,UnderBrace:qde,UnderBracket:Yde,UnderParenthesis:$de,Union:Wde,UnionPlus:Kde,Uogon:jde,uogon:Qde,Uopf:Xde,uopf:Zde,UpArrowBar:Jde,uparrow:eue,UpArrow:tue,Uparrow:nue,UpArrowDownArrow:iue,updownarrow:rue,UpDownArrow:sue,Updownarrow:oue,UpEquilibrium:aue,upharpoonleft:lue,upharpoonright:cue,uplus:due,UpperLeftArrow:uue,UpperRightArrow:_ue,upsi:pue,Upsi:fue,upsih:hue,Upsilon:mue,upsilon:gue,UpTeeArrow:Eue,UpTee:bue,upuparrows:Sue,urcorn:yue,urcorner:vue,urcrop:Tue,Uring:xue,uring:Cue,urtri:Rue,Uscr:Aue,uscr:wue,utdot:Oue,Utilde:Nue,utilde:Mue,utri:Iue,utrif:Due,uuarr:Lue,Uuml:kue,uuml:Pue,uwangle:Uue,vangrt:Fue,varepsilon:Bue,varkappa:Gue,varnothing:zue,varphi:Hue,varpi:Vue,varpropto:que,varr:Yue,vArr:$ue,varrho:Wue,varsigma:Kue,varsubsetneq:jue,varsubsetneqq:Que,varsupsetneq:Xue,varsupsetneqq:Zue,vartheta:Jue,vartriangleleft:e_e,vartriangleright:t_e,vBar:n_e,Vbar:i_e,vBarv:r_e,Vcy:s_e,vcy:o_e,vdash:a_e,vDash:l_e,Vdash:c_e,VDash:d_e,Vdashl:u_e,veebar:__e,vee:p_e,Vee:f_e,veeeq:h_e,vellip:m_e,verbar:g_e,Verbar:E_e,vert:b_e,Vert:S_e,VerticalBar:y_e,VerticalLine:v_e,VerticalSeparator:T_e,VerticalTilde:x_e,VeryThinSpace:C_e,Vfr:R_e,vfr:A_e,vltri:w_e,vnsub:O_e,vnsup:N_e,Vopf:M_e,vopf:I_e,vprop:D_e,vrtri:L_e,Vscr:k_e,vscr:P_e,vsubnE:U_e,vsubne:F_e,vsupnE:B_e,vsupne:G_e,Vvdash:z_e,vzigzag:H_e,Wcirc:V_e,wcirc:q_e,wedbar:Y_e,wedge:$_e,Wedge:W_e,wedgeq:K_e,weierp:j_e,Wfr:Q_e,wfr:X_e,Wopf:Z_e,wopf:J_e,wp:epe,wr:tpe,wreath:npe,Wscr:ipe,wscr:rpe,xcap:spe,xcirc:ope,xcup:ape,xdtri:lpe,Xfr:cpe,xfr:dpe,xharr:upe,xhArr:_pe,Xi:ppe,xi:fpe,xlarr:hpe,xlArr:mpe,xmap:gpe,xnis:Epe,xodot:bpe,Xopf:Spe,xopf:ype,xoplus:vpe,xotime:Tpe,xrarr:xpe,xrArr:Cpe,Xscr:Rpe,xscr:Ape,xsqcup:wpe,xuplus:Ope,xutri:Npe,xvee:Mpe,xwedge:Ipe,Yacute:Dpe,yacute:Lpe,YAcy:kpe,yacy:Ppe,Ycirc:Upe,ycirc:Fpe,Ycy:Bpe,ycy:Gpe,yen:zpe,Yfr:Hpe,yfr:Vpe,YIcy:qpe,yicy:Ype,Yopf:$pe,yopf:Wpe,Yscr:Kpe,yscr:jpe,YUcy:Qpe,yucy:Xpe,yuml:Zpe,Yuml:Jpe,Zacute:efe,zacute:tfe,Zcaron:nfe,zcaron:ife,Zcy:rfe,zcy:sfe,Zdot:ofe,zdot:afe,zeetrf:lfe,ZeroWidthSpace:cfe,Zeta:dfe,zeta:ufe,zfr:_fe,Zfr:pfe,ZHcy:ffe,zhcy:hfe,zigrarr:mfe,zopf:gfe,Zopf:Efe,Zscr:bfe,zscr:Sfe,zwj:yfe,zwnj:vfe};var O1=Tfe,Zg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,_a={},MS={};function xfe(n){var e,t,i=MS[n];if(i)return i;for(i=MS[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?i.push(t):i.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<n.length;e++)i[n.charCodeAt(e)]=n[e];return i}function $d(n,e,t){var i,r,s,o,a,l="";for(typeof e!="string"&&(t=e,e=$d.defaultChars),typeof t>"u"&&(t=!0),a=xfe(e),i=0,r=n.length;i<r;i++){if(s=n.charCodeAt(i),t&&s===37&&i+2<r&&/^[0-9a-f]{2}$/i.test(n.slice(i+1,i+3))){l+=n.slice(i,i+3),i+=2;continue}if(s<128){l+=a[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<r&&(o=n.charCodeAt(i+1),o>=56320&&o<=57343)){l+=encodeURIComponent(n[i]+n[i+1]),i++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(n[i])}return l}$d.defaultChars=";/?:@&=+$,-_.!~*'()#";$d.componentChars="-_.!~*'()";var Cfe=$d,IS={};function Rfe(n){var e,t,i=IS[n];if(i)return i;for(i=IS[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),i.push(t);for(e=0;e<n.length;e++)t=n.charCodeAt(e),i[t]="%"+("0"+t.toString(16).toUpperCase()).slice(-2);return i}function Wd(n,e){var t;return typeof e!="string"&&(e=Wd.defaultChars),t=Rfe(e),n.replace(/(%[a-f0-9]{2})+/gi,function(i){var r,s,o,a,l,c,d,u="";for(r=0,s=i.length;r<s;r+=3){if(o=parseInt(i.slice(r+1,r+3),16),o<128){u+=t[o];continue}if((o&224)===192&&r+3<s&&(a=parseInt(i.slice(r+4,r+6),16),(a&192)===128)){d=o<<6&1984|a&63,d<128?u+="��":u+=String.fromCharCode(d),r+=3;continue}if((o&240)===224&&r+6<s&&(a=parseInt(i.slice(r+4,r+6),16),l=parseInt(i.slice(r+7,r+9),16),(a&192)===128&&(l&192)===128)){d=o<<12&61440|a<<6&4032|l&63,d<2048||d>=55296&&d<=57343?u+="���":u+=String.fromCharCode(d),r+=6;continue}if((o&248)===240&&r+9<s&&(a=parseInt(i.slice(r+4,r+6),16),l=parseInt(i.slice(r+7,r+9),16),c=parseInt(i.slice(r+10,r+12),16),(a&192)===128&&(l&192)===128&&(c&192)===128)){d=o<<18&1835008|a<<12&258048|l<<6&4032|c&63,d<65536||d>1114111?u+="����":(d-=65536,u+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),r+=9;continue}u+="�"}return u})}Wd.defaultChars=";/?:@&=+$,#";Wd.componentChars="";var Afe=Wd,wfe=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t};function sd(){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 Ofe=/^([a-z0-9.+-]+:)/i,Nfe=/:[0-9]*$/,Mfe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ife=["<",">",'"',"`"," ","\r",`
 `,"	"],Dfe=["{","}","|","\\","^","`"].concat(Ife),Lfe=["'"].concat(Dfe),DS=["%","/","?",";","#"].concat(Lfe),LS=["/","?","#"],kfe=255,kS=/^[+a-z0-9A-Z_-]{0,63}$/,Pfe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,PS={javascript:!0,"javascript:":!0},US={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ufe(n,e){if(n&&n instanceof sd)return n;var t=new sd;return t.parse(n,e),t}sd.prototype.parse=function(n,e){var t,i,r,s,o,a=n;if(a=a.trim(),!e&&n.split("#").length===1){var l=Mfe.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Ofe.exec(a);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=a.substr(0,2)==="//",o&&!(c&&PS[c])&&(a=a.substr(2),this.slashes=!0)),!PS[c]&&(o||c&&!US[c])){var d=-1;for(t=0;t<LS.length;t++)s=a.indexOf(LS[t]),s!==-1&&(d===-1||s<d)&&(d=s);var u,_;for(d===-1?_=a.lastIndexOf("@"):_=a.lastIndexOf("@",d),_!==-1&&(u=a.slice(0,_),a=a.slice(_+1),this.auth=u),d=-1,t=0;t<DS.length;t++)s=a.indexOf(DS[t]),s!==-1&&(d===-1||s<d)&&(d=s);d===-1&&(d=a.length),a[d-1]===":"&&d--;var f=a.slice(0,d);a=a.slice(d),this.parseHost(f),this.hostname=this.hostname||"";var E=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!E){var b=this.hostname.split(/\./);for(t=0,i=b.length;t<i;t++){var g=b[t];if(g&&!g.match(kS)){for(var h="",m=0,S=g.length;m<S;m++)g.charCodeAt(m)>127?h+="x":h+=g[m];if(!h.match(kS)){var v=b.slice(0,t),T=b.slice(t+1),C=g.match(Pfe);C&&(v.push(C[1]),T.unshift(C[2])),T.length&&(a=T.join(".")+a),this.hostname=v.join(".");break}}}}this.hostname.length>kfe&&(this.hostname=""),E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var N=a.indexOf("#");N!==-1&&(this.hash=a.substr(N),a=a.slice(0,N));var x=a.indexOf("?");return x!==-1&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),US[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};sd.prototype.parseHost=function(n){var e=Nfe.exec(n);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),n=n.substr(0,n.length-e.length)),n&&(this.hostname=n)};var Ffe=Ufe;_a.encode=Cfe;_a.decode=Afe;_a.format=wfe;_a.parse=Ffe;var os={},Lu,FS;function N1(){return FS||(FS=1,Lu=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Lu}var ku,BS;function M1(){return BS||(BS=1,ku=/[\0-\x1F\x7F-\x9F]/),ku}var Pu,GS;function Bfe(){return GS||(GS=1,Pu=/[\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]/),Pu}var Uu,zS;function I1(){return zS||(zS=1,Uu=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Uu}var HS;function Gfe(){return HS||(HS=1,os.Any=N1(),os.Cc=M1(),os.Cf=Bfe(),os.P=Zg,os.Z=I1()),os}(function(n){function e(M){return Object.prototype.toString.call(M)}function t(M){return e(M)==="[object String]"}var i=Object.prototype.hasOwnProperty;function r(M,H){return i.call(M,H)}function s(M){var H=Array.prototype.slice.call(arguments,1);return H.forEach(function(z){if(z){if(typeof z!="object")throw new TypeError(z+"must be object");Object.keys(z).forEach(function(I){M[I]=z[I]})}}),M}function o(M,H,z){return[].concat(M.slice(0,H),z,M.slice(H+1))}function a(M){return!(M>=55296&&M<=57343||M>=64976&&M<=65007||(M&65535)===65535||(M&65535)===65534||M>=0&&M<=8||M===11||M>=14&&M<=31||M>=127&&M<=159||M>1114111)}function l(M){if(M>65535){M-=65536;var H=55296+(M>>10),z=56320+(M&1023);return String.fromCharCode(H,z)}return String.fromCharCode(M)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,u=new RegExp(c.source+"|"+d.source,"gi"),_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,f=O1;function E(M,H){var z;return r(f,H)?f[H]:H.charCodeAt(0)===35&&_.test(H)&&(z=H[1].toLowerCase()==="x"?parseInt(H.slice(2),16):parseInt(H.slice(1),10),a(z))?l(z):M}function b(M){return M.indexOf("\\")<0?M:M.replace(c,"$1")}function g(M){return M.indexOf("\\")<0&&M.indexOf("&")<0?M:M.replace(u,function(H,z,I){return z||E(H,I)})}var h=/[&<>"]/,m=/[&<>"]/g,S={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function v(M){return S[M]}function T(M){return h.test(M)?M.replace(m,v):M}var C=/[.?*+^$[\]\\(){}|-]/g;function N(M){return M.replace(C,"\\$&")}function x(M){switch(M){case 9:case 32:return!0}return!1}function y(M){if(M>=8192&&M<=8202)return!0;switch(M){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 R=Zg;function P(M){return R.test(M)}function k(M){switch(M){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 W(M){return M=M.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(M=M.replace(/ẞ/g,"ß")),M.toLowerCase().toUpperCase()}n.lib={},n.lib.mdurl=_a,n.lib.ucmicro=Gfe(),n.assign=s,n.isString=t,n.has=r,n.unescapeMd=b,n.unescapeAll=g,n.isValidEntityCode=a,n.fromCodePoint=l,n.escapeHtml=T,n.arrayReplaceAt=o,n.isSpace=x,n.isWhiteSpace=y,n.isMdAsciiPunct=k,n.isPunctChar=P,n.escapeRE=N,n.normalizeReference=W})(At);var Kd={},zfe=function(e,t,i){var r,s,o,a,l=-1,c=e.posMax,d=e.pos;for(e.pos=t+1,r=1;e.pos<c;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){s=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)r++;else if(i)return e.pos=d,-1}}return s&&(l=e.pos),e.pos=d,l},VS=At.unescapeAll,Hfe=function(e,t,i){var r,s,o=t,a={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<i;){if(r=e.charCodeAt(o),r===10||r===60)return a;if(r===62)return a.pos=o+1,a.str=VS(e.slice(t+1,o)),a.ok=!0,a;if(r===92&&o+1<i){o+=2;continue}o++}return a}for(s=0;o<i&&(r=e.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<i){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(s++,s>32))return a;if(r===41){if(s===0)break;s--}o++}return t===o||s!==0||(a.str=VS(e.slice(t,o)),a.pos=o,a.ok=!0),a},Vfe=At.unescapeAll,qfe=function(e,t,i){var r,s,o=0,a=t,l={ok:!1,pos:0,lines:0,str:""};if(a>=i||(s=e.charCodeAt(a),s!==34&&s!==39&&s!==40))return l;for(a++,s===40&&(s=41);a<i;){if(r=e.charCodeAt(a),r===s)return l.pos=a+1,l.lines=o,l.str=Vfe(e.slice(t+1,a)),l.ok=!0,l;if(r===40&&s===41)return l;r===10?o++:r===92&&a+1<i&&(a++,e.charCodeAt(a)===10&&o++),a++}return l};Kd.parseLinkLabel=zfe;Kd.parseLinkDestination=Hfe;Kd.parseLinkTitle=qfe;var Yfe=At.assign,$fe=At.unescapeAll,Is=At.escapeHtml,ki={};ki.code_inline=function(n,e,t,i,r){var s=n[e];return"<code"+r.renderAttrs(s)+">"+Is(s.content)+"</code>"};ki.code_block=function(n,e,t,i,r){var s=n[e];return"<pre"+r.renderAttrs(s)+"><code>"+Is(n[e].content)+`</code></pre>
 `};ki.fence=function(n,e,t,i,r){var s=n[e],o=s.info?$fe(s.info).trim():"",a="",l="",c,d,u,_,f;return o&&(u=o.split(/(\s+)/g),a=u[0],l=u.slice(2).join("")),t.highlight?c=t.highlight(s.content,a,l)||Is(s.content):c=Is(s.content),c.indexOf("<pre")===0?c+`
@@ -34,13 +34,13 @@
 `,o.map=[t,e.line],!0},She=function(e,t,i,r){var s,o,a,l,c,d,u,_=!1,f=e.bMarks[t]+e.tShift[t],E=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||f+3>E||(s=e.src.charCodeAt(f),s!==126&&s!==96)||(c=f,f=e.skipChars(f,s),o=f-c,o<3)||(u=e.src.slice(c,f),a=e.src.slice(f,E),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(r)return!0;for(l=t;l++,!(l>=i||(f=c=e.bMarks[l]+e.tShift[l],E=e.eMarks[l],f<E&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(f)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(f=e.skipChars(f,s),!(f-c<o)&&(f=e.skipSpaces(f),!(f<E)))){_=!0;break}return o=e.sCount[t],e.line=l+(_?1:0),d=e.push("fence","code",0),d.info=a,d.content=e.getLines(t+1,l,o,!0),d.markup=u,d.map=[t,e.line],!0},yhe=At.isSpace,vhe=function(e,t,i,r){var s,o,a,l,c,d,u,_,f,E,b,g,h,m,S,v,T,C,N,x,y=e.lineMax,R=e.bMarks[t]+e.tShift[t],P=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(R)!==62)return!1;if(r)return!0;for(E=[],b=[],m=[],S=[],C=e.md.block.ruler.getRules("blockquote"),h=e.parentType,e.parentType="blockquote",_=t;_<i&&(x=e.sCount[_]<e.blkIndent,R=e.bMarks[_]+e.tShift[_],P=e.eMarks[_],!(R>=P));_++){if(e.src.charCodeAt(R++)===62&&!x){for(l=e.sCount[_]+1,e.src.charCodeAt(R)===32?(R++,l++,s=!1,v=!0):e.src.charCodeAt(R)===9?(v=!0,(e.bsCount[_]+l)%4===3?(R++,l++,s=!1):s=!0):v=!1,f=l,E.push(e.bMarks[_]),e.bMarks[_]=R;R<P&&(o=e.src.charCodeAt(R),yhe(o));){o===9?f+=4-(f+e.bsCount[_]+(s?1:0))%4:f++;R++}d=R>=P,b.push(e.bsCount[_]),e.bsCount[_]=e.sCount[_]+1+(v?1:0),m.push(e.sCount[_]),e.sCount[_]=f-l,S.push(e.tShift[_]),e.tShift[_]=R-e.bMarks[_];continue}if(d)break;for(T=!1,a=0,c=C.length;a<c;a++)if(C[a](e,_,i,!0)){T=!0;break}if(T){e.lineMax=_,e.blkIndent!==0&&(E.push(e.bMarks[_]),b.push(e.bsCount[_]),S.push(e.tShift[_]),m.push(e.sCount[_]),e.sCount[_]-=e.blkIndent);break}E.push(e.bMarks[_]),b.push(e.bsCount[_]),S.push(e.tShift[_]),m.push(e.sCount[_]),e.sCount[_]=-1}for(g=e.blkIndent,e.blkIndent=0,N=e.push("blockquote_open","blockquote",1),N.markup=">",N.map=u=[t,0],e.md.block.tokenize(e,t,_),N=e.push("blockquote_close","blockquote",-1),N.markup=">",e.lineMax=y,e.parentType=h,u[1]=e.line,a=0;a<S.length;a++)e.bMarks[a+t]=E[a],e.tShift[a+t]=S[a],e.sCount[a+t]=m[a],e.bsCount[a+t]=b[a];return e.blkIndent=g,!0},The=At.isSpace,xhe=function(e,t,i,r){var s,o,a,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(c++),s!==42&&s!==45&&s!==95))return!1;for(o=1;c<d;){if(a=e.src.charCodeAt(c++),a!==s&&!The(a))return!1;a===s&&o++}return o<3?!1:(r||(e.line=t+1,l=e.push("hr","hr",0),l.map=[t,e.line],l.markup=Array(o+1).join(String.fromCharCode(s))),!0)},k1=At.isSpace;function QS(n,e){var t,i,r,s;return i=n.bMarks[e]+n.tShift[e],r=n.eMarks[e],t=n.src.charCodeAt(i++),t!==42&&t!==45&&t!==43||i<r&&(s=n.src.charCodeAt(i),!k1(s))?-1:i}function XS(n,e){var t,i=n.bMarks[e]+n.tShift[e],r=i,s=n.eMarks[e];if(r+1>=s||(t=n.src.charCodeAt(r++),t<48||t>57))return-1;for(;;){if(r>=s)return-1;if(t=n.src.charCodeAt(r++),t>=48&&t<=57){if(r-i>=10)return-1;continue}if(t===41||t===46)break;return-1}return r<s&&(t=n.src.charCodeAt(r),!k1(t))?-1:r}function Che(n,e){var t,i,r=n.level+2;for(t=e+2,i=n.tokens.length-2;t<i;t++)n.tokens[t].level===r&&n.tokens[t].type==="paragraph_open"&&(n.tokens[t+2].hidden=!0,n.tokens[t].hidden=!0,t+=2)}var Rhe=function(e,t,i,r){var s,o,a,l,c,d,u,_,f,E,b,g,h,m,S,v,T,C,N,x,y,R,P,k,W,M,H,z=t,I=!1,Y=!0;if(e.sCount[z]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[z]-e.listIndent>=4&&e.sCount[z]<e.blkIndent)return!1;if(r&&e.parentType==="paragraph"&&e.sCount[z]>=e.blkIndent&&(I=!0),(R=XS(e,z))>=0){if(u=!0,k=e.bMarks[z]+e.tShift[z],h=Number(e.src.slice(k,R-1)),I&&h!==1)return!1}else if((R=QS(e,z))>=0)u=!1;else return!1;if(I&&e.skipSpaces(R)>=e.eMarks[z])return!1;if(r)return!0;for(g=e.src.charCodeAt(R-1),b=e.tokens.length,u?(H=e.push("ordered_list_open","ol",1),h!==1&&(H.attrs=[["start",h]])):H=e.push("bullet_list_open","ul",1),H.map=E=[z,0],H.markup=String.fromCharCode(g),P=!1,M=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";z<i;){for(y=R,m=e.eMarks[z],d=S=e.sCount[z]+R-(e.bMarks[z]+e.tShift[z]);y<m;){if(s=e.src.charCodeAt(y),s===9)S+=4-(S+e.bsCount[z])%4;else if(s===32)S++;else break;y++}if(o=y,o>=m?c=1:c=S-d,c>4&&(c=1),l=d+c,H=e.push("list_item_open","li",1),H.markup=String.fromCharCode(g),H.map=_=[z,0],u&&(H.info=e.src.slice(k,R-1)),x=e.tight,N=e.tShift[z],C=e.sCount[z],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[z]=o-e.bMarks[z],e.sCount[z]=S,o>=m&&e.isEmpty(z+1)?e.line=Math.min(e.line+2,i):e.md.block.tokenize(e,z,i,!0),(!e.tight||P)&&(Y=!1),P=e.line-z>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[z]=N,e.sCount[z]=C,e.tight=x,H=e.push("list_item_close","li",-1),H.markup=String.fromCharCode(g),z=e.line,_[1]=z,z>=i||e.sCount[z]<e.blkIndent||e.sCount[z]-e.blkIndent>=4)break;for(W=!1,a=0,f=M.length;a<f;a++)if(M[a](e,z,i,!0)){W=!0;break}if(W)break;if(u){if(R=XS(e,z),R<0)break;k=e.bMarks[z]+e.tShift[z]}else if(R=QS(e,z),R<0)break;if(g!==e.src.charCodeAt(R-1))break}return u?H=e.push("ordered_list_close","ol",-1):H=e.push("bullet_list_close","ul",-1),H.markup=String.fromCharCode(g),E[1]=z,e.line=z,e.parentType=T,Y&&Che(e,b),!0},Ahe=At.normalizeReference,Zl=At.isSpace,whe=function(e,t,i,r){var s,o,a,l,c,d,u,_,f,E,b,g,h,m,S,v,T=0,C=e.bMarks[t]+e.tShift[t],N=e.eMarks[t],x=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(C)!==91)return!1;for(;++C<N;)if(e.src.charCodeAt(C)===93&&e.src.charCodeAt(C-1)!==92){if(C+1===N||e.src.charCodeAt(C+1)!==58)return!1;break}for(l=e.lineMax,S=e.md.block.ruler.getRules("reference"),E=e.parentType,e.parentType="reference";x<l&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3)&&!(e.sCount[x]<0)){for(m=!1,d=0,u=S.length;d<u;d++)if(S[d](e,x,l,!0)){m=!0;break}if(m)break}for(h=e.getLines(t,x,e.blkIndent,!1).trim(),N=h.length,C=1;C<N;C++){if(s=h.charCodeAt(C),s===91)return!1;if(s===93){f=C;break}else s===10?T++:s===92&&(C++,C<N&&h.charCodeAt(C)===10&&T++)}if(f<0||h.charCodeAt(f+1)!==58)return!1;for(C=f+2;C<N;C++)if(s=h.charCodeAt(C),s===10)T++;else if(!Zl(s))break;if(b=e.md.helpers.parseLinkDestination(h,C,N),!b.ok||(c=e.md.normalizeLink(b.str),!e.md.validateLink(c)))return!1;for(C=b.pos,T+=b.lines,o=C,a=T,g=C;C<N;C++)if(s=h.charCodeAt(C),s===10)T++;else if(!Zl(s))break;for(b=e.md.helpers.parseLinkTitle(h,C,N),C<N&&g!==C&&b.ok?(v=b.str,C=b.pos,T+=b.lines):(v="",C=o,T=a);C<N&&(s=h.charCodeAt(C),!!Zl(s));)C++;if(C<N&&h.charCodeAt(C)!==10&&v)for(v="",C=o,T=a;C<N&&(s=h.charCodeAt(C),!!Zl(s));)C++;return C<N&&h.charCodeAt(C)!==10||(_=Ahe(h.slice(1,f)),!_)?!1:(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[_]>"u"&&(e.env.references[_]={title:v,href:c}),e.parentType=E,e.line=t+T+1),!0)},Ohe=["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"],jd={},Nhe="[a-zA-Z_:][a-zA-Z0-9:._-]*",Mhe="[^\"'=<>`\\x00-\\x20]+",Ihe="'[^']*'",Dhe='"[^"]*"',Lhe="(?:"+Mhe+"|"+Ihe+"|"+Dhe+")",khe="(?:\\s+"+Nhe+"(?:\\s*=\\s*"+Lhe+")?)",P1="<[A-Za-z][A-Za-z0-9\\-]*"+khe+"*\\s*\\/?>",U1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Phe="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Uhe="<[?][\\s\\S]*?[?]>",Fhe="<![A-Z]+\\s+[^>]*>",Bhe="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Ghe=new RegExp("^(?:"+P1+"|"+U1+"|"+Phe+"|"+Uhe+"|"+Fhe+"|"+Bhe+")"),zhe=new RegExp("^(?:"+P1+"|"+U1+")");jd.HTML_TAG_RE=Ghe;jd.HTML_OPEN_CLOSE_TAG_RE=zhe;var Hhe=Ohe,Vhe=jd.HTML_OPEN_CLOSE_TAG_RE,Xs=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Hhe.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Vhe.source+"\\s*$"),/^$/,!1]],qhe=function(e,t,i,r){var s,o,a,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,d),s=0;s<Xs.length&&!Xs[s][0].test(l);s++);if(s===Xs.length)return!1;if(r)return Xs[s][2];if(o=t+1,!Xs[s][1].test(l)){for(;o<i&&!(e.sCount[o]<e.blkIndent);o++)if(c=e.bMarks[o]+e.tShift[o],d=e.eMarks[o],l=e.src.slice(c,d),Xs[s][1].test(l)){l.length!==0&&o++;break}}return e.line=o,a=e.push("html_block","",0),a.map=[t,o],a.content=e.getLines(t,o,e.blkIndent,!0),!0},ZS=At.isSpace,Yhe=function(e,t,i,r){var s,o,a,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(c),s!==35||c>=d))return!1;for(o=1,s=e.src.charCodeAt(++c);s===35&&c<d&&o<=6;)o++,s=e.src.charCodeAt(++c);return o>6||c<d&&!ZS(s)?!1:(r||(d=e.skipSpacesBack(d,c),a=e.skipCharsBack(d,35,c),a>c&&ZS(e.src.charCodeAt(a-1))&&(d=a),e.line=t+1,l=e.push("heading_open","h"+String(o),1),l.markup="########".slice(0,o),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,d).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(o),-1),l.markup="########".slice(0,o)),!0)},$he=function(e,t,i){var r,s,o,a,l,c,d,u,_,f=t+1,E,b=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(E=e.parentType,e.parentType="paragraph";f<i&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f],d=e.eMarks[f],c<d&&(_=e.src.charCodeAt(c),(_===45||_===61)&&(c=e.skipChars(c,_),c=e.skipSpaces(c),c>=d)))){u=_===61?1:2;break}if(!(e.sCount[f]<0)){for(s=!1,o=0,a=b.length;o<a;o++)if(b[o](e,f,i,!0)){s=!0;break}if(s)break}}return u?(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,l=e.push("heading_open","h"+String(u),1),l.markup=String.fromCharCode(_),l.map=[t,e.line],l=e.push("inline","",0),l.content=r,l.map=[t,e.line-1],l.children=[],l=e.push("heading_close","h"+String(u),-1),l.markup=String.fromCharCode(_),e.parentType=E,!0):!1},Whe=function(e,t,i){var r,s,o,a,l,c,d=t+1,u=e.md.block.ruler.getRules("paragraph");for(c=e.parentType,e.parentType="paragraph";d<i&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)&&!(e.sCount[d]<0)){for(s=!1,o=0,a=u.length;o<a;o++)if(u[o](e,d,i,!0)){s=!0;break}if(s)break}return r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d,l=e.push("paragraph_open","p",1),l.map=[t,e.line],l=e.push("inline","",0),l.content=r,l.map=[t,e.line],l.children=[],l=e.push("paragraph_close","p",-1),e.parentType=c,!0},F1=eE,Qd=At.isSpace;function Pi(n,e,t,i){var r,s,o,a,l,c,d,u;for(this.src=n,this.md=e,this.env=t,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,u=!1,o=a=c=d=0,l=s.length;a<l;a++){if(r=s.charCodeAt(a),!u)if(Qd(r)){c++,r===9?d+=4-d%4:d++;continue}else u=!0;(r===10||a===l-1)&&(r!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(c),this.sCount.push(d),this.bsCount.push(0),u=!1,c=0,d=0,o=a+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Pi.prototype.push=function(n,e,t){var i=new F1(n,e,t);return i.block=!0,t<0&&this.level--,i.level=this.level,t>0&&this.level++,this.tokens.push(i),i};Pi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Pi.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Pi.prototype.skipSpaces=function(e){for(var t,i=this.src.length;e<i&&(t=this.src.charCodeAt(e),!!Qd(t));e++);return e};Pi.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Qd(this.src.charCodeAt(--e)))return e+1;return e};Pi.prototype.skipChars=function(e,t){for(var i=this.src.length;e<i&&this.src.charCodeAt(e)===t;e++);return e};Pi.prototype.skipCharsBack=function(e,t,i){if(e<=i)return e;for(;e>i;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Pi.prototype.getLines=function(e,t,i,r){var s,o,a,l,c,d,u,_=e;if(e>=t)return"";for(d=new Array(t-e),s=0;_<t;_++,s++){for(o=0,u=l=this.bMarks[_],_+1<t||r?c=this.eMarks[_]+1:c=this.eMarks[_];l<c&&o<i;){if(a=this.src.charCodeAt(l),Qd(a))a===9?o+=4-(o+this.bsCount[_])%4:o++;else if(l-u<this.tShift[_])o++;else break;l++}o>i?d[s]=new Array(o-i+1).join(" ")+this.src.slice(l,c):d[s]=this.src.slice(l,c)}return d.join("")};Pi.prototype.Token=F1;var Khe=Pi,jhe=Jg,Jl=[["table",Ehe,["paragraph","reference"]],["code",bhe],["fence",She,["paragraph","reference","blockquote","list"]],["blockquote",vhe,["paragraph","reference","blockquote","list"]],["hr",xhe,["paragraph","reference","blockquote","list"]],["list",Rhe,["paragraph","reference","blockquote"]],["reference",whe],["html_block",qhe,["paragraph","reference","blockquote"]],["heading",Yhe,["paragraph","reference","blockquote"]],["lheading",$he],["paragraph",Whe]];function Xd(){this.ruler=new jhe;for(var n=0;n<Jl.length;n++)this.ruler.push(Jl[n][0],Jl[n][1],{alt:(Jl[n][2]||[]).slice()})}Xd.prototype.tokenize=function(n,e,t){for(var i,r,s,o=this.ruler.getRules(""),a=o.length,l=e,c=!1,d=n.md.options.maxNesting;l<t&&(n.line=l=n.skipEmptyLines(l),!(l>=t||n.sCount[l]<n.blkIndent));){if(n.level>=d){n.line=t;break}for(s=n.line,r=0;r<a;r++)if(i=o[r](n,l,t,!1),i){if(s>=n.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");n.tight=!c,n.isEmpty(n.line-1)&&(c=!0),l=n.line,l<t&&n.isEmpty(l)&&(c=!0,l++,n.line=l)}};Xd.prototype.parse=function(n,e,t,i){var r;n&&(r=new this.State(n,e,t,i),this.tokenize(r,r.line,r.lineMax))};Xd.prototype.State=Khe;var Qhe=Xd;function Xhe(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var Zhe=function(e,t){for(var i=e.pos;i<e.posMax&&!Xhe(e.src.charCodeAt(i));)i++;return i===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,i)),e.pos=i,!0)},Jhe=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,eme=function(e,t){var i,r,s,o,a,l,c,d;return!e.md.options.linkify||e.linkLevel>0||(i=e.pos,r=e.posMax,i+3>r)||e.src.charCodeAt(i)!==58||e.src.charCodeAt(i+1)!==47||e.src.charCodeAt(i+2)!==47||(s=e.pending.match(Jhe),!s)||(o=s[1],a=e.md.linkify.matchAtStart(e.src.slice(i-o.length)),!a)||(l=a.url,l.length<=o.length)||(l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(t||(e.pending=e.pending.slice(0,-o.length),d=e.push("link_open","a",1),d.attrs=[["href",c]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(l),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=l.length-o.length,!0)},tme=At.isSpace,nme=function(e,t){var i,r,s,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(i=e.pending.length-1,r=e.posMax,!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){for(s=i-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),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(o++;o<r&&tme(e.src.charCodeAt(o));)o++;return e.pos=o,!0},ime=At.isSpace,nE=[];for(var JS=0;JS<256;JS++)nE.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){nE[n.charCodeAt(0)]=1});var rme=function(e,t){var i,r,s,o,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(i=e.src.charCodeAt(l),i===10){for(t||e.push("hardbreak","br",0),l++;l<c&&(i=e.src.charCodeAt(l),!!ime(i));)l++;return e.pos=l,!0}return o=e.src[l],i>=55296&&i<=56319&&l+1<c&&(r=e.src.charCodeAt(l+1),r>=56320&&r<=57343&&(o+=e.src[l+1],l++)),s="\\"+o,t||(a=e.push("text_special","",0),i<256&&nE[i]!==0?a.content=o:a.content=s,a.markup=s,a.info="escape"),e.pos=l+1,!0},sme=function(e,t){var i,r,s,o,a,l,c,d,u=e.pos,_=e.src.charCodeAt(u);if(_!==96)return!1;for(i=u,u++,r=e.posMax;u<r&&e.src.charCodeAt(u)===96;)u++;if(s=e.src.slice(i,u),c=s.length,e.backticksScanned&&(e.backticks[c]||0)<=i)return t||(e.pending+=s),e.pos+=c,!0;for(l=u;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<r&&e.src.charCodeAt(l)===96;)l++;if(d=l-a,d===c)return t||(o=e.push("code_inline","code",0),o.markup=s,o.content=e.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[d]=a}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=c,!0},Zd={};Zd.tokenize=function(e,t){var i,r,s,o,a,l=e.pos,c=e.src.charCodeAt(l);if(t||c!==126||(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(c),o<2))return!1;for(o%2&&(s=e.push("text","",0),s.content=a,o--),i=0;i<o;i+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:c,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0};function ey(n,e){var t,i,r,s,o,a=[],l=e.length;for(t=0;t<l;t++)r=e[t],r.marker===126&&r.end!==-1&&(s=e[r.end],o=n.tokens[r.token],o.type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",o=n.tokens[s.token],o.type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="",n.tokens[s.token-1].type==="text"&&n.tokens[s.token-1].content==="~"&&a.push(s.token-1));for(;a.length;){for(t=a.pop(),i=t+1;i<n.tokens.length&&n.tokens[i].type==="s_close";)i++;i--,t!==i&&(o=n.tokens[i],n.tokens[i]=n.tokens[t],n.tokens[t]=o)}}Zd.postProcess=function(e){var t,i=e.tokens_meta,r=e.tokens_meta.length;for(ey(e,e.delimiters),t=0;t<r;t++)i[t]&&i[t].delimiters&&ey(e,i[t].delimiters)};var Jd={};Jd.tokenize=function(e,t){var i,r,s,o=e.pos,a=e.src.charCodeAt(o);if(t||a!==95&&a!==42)return!1;for(r=e.scanDelims(e.pos,a===42),i=0;i<r.length;i++)s=e.push("text","",0),s.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0};function ty(n,e){var t,i,r,s,o,a,l=e.length;for(t=l-1;t>=0;t--)i=e[t],!(i.marker!==95&&i.marker!==42)&&i.end!==-1&&(r=e[i.end],a=t>0&&e[t-1].end===i.end+1&&e[t-1].marker===i.marker&&e[t-1].token===i.token-1&&e[i.end+1].token===r.token+1,o=String.fromCharCode(i.marker),s=n.tokens[i.token],s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="",s=n.tokens[r.token],s.type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?o+o:o,s.content="",a&&(n.tokens[e[t-1].token].content="",n.tokens[e[i.end+1].token].content="",t--))}Jd.postProcess=function(e){var t,i=e.tokens_meta,r=e.tokens_meta.length;for(ty(e,e.delimiters),t=0;t<r;t++)i[t]&&i[t].delimiters&&ty(e,i[t].delimiters)};var ome=At.normalizeReference,zu=At.isSpace,ame=function(e,t){var i,r,s,o,a,l,c,d,u,_="",f="",E=e.pos,b=e.posMax,g=e.pos,h=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,o=e.md.helpers.parseLinkLabel(e,e.pos,!0),o<0))return!1;if(l=o+1,l<b&&e.src.charCodeAt(l)===40){for(h=!1,l++;l<b&&(r=e.src.charCodeAt(l),!(!zu(r)&&r!==10));l++);if(l>=b)return!1;if(g=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(_=e.md.normalizeLink(c.str),e.md.validateLink(_)?l=c.pos:_="",g=l;l<b&&(r=e.src.charCodeAt(l),!(!zu(r)&&r!==10));l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&g!==l&&c.ok)for(f=c.str,l=c.pos;l<b&&(r=e.src.charCodeAt(l),!(!zu(r)&&r!==10));l++);}(l>=b||e.src.charCodeAt(l)!==41)&&(h=!0),l++}if(h){if(typeof e.env.references>"u")return!1;if(l<b&&e.src.charCodeAt(l)===91?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?s=e.src.slice(g,l++):l=o+1):l=o+1,s||(s=e.src.slice(a,o)),d=e.env.references[ome(s)],!d)return e.pos=E,!1;_=d.href,f=d.title}return t||(e.pos=a,e.posMax=o,u=e.push("link_open","a",1),u.attrs=i=[["href",_]],f&&i.push(["title",f]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,u=e.push("link_close","a",-1)),e.pos=l,e.posMax=b,!0},lme=At.normalizeReference,Hu=At.isSpace,cme=function(e,t){var i,r,s,o,a,l,c,d,u,_,f,E,b,g="",h=e.pos,m=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(c=a+1,c<m&&e.src.charCodeAt(c)===40){for(c++;c<m&&(r=e.src.charCodeAt(c),!(!Hu(r)&&r!==10));c++);if(c>=m)return!1;for(b=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(g=e.md.normalizeLink(u.str),e.md.validateLink(g)?c=u.pos:g=""),b=c;c<m&&(r=e.src.charCodeAt(c),!(!Hu(r)&&r!==10));c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&b!==c&&u.ok)for(_=u.str,c=u.pos;c<m&&(r=e.src.charCodeAt(c),!(!Hu(r)&&r!==10));c++);else _="";if(c>=m||e.src.charCodeAt(c)!==41)return e.pos=h,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<m&&e.src.charCodeAt(c)===91?(b=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?o=e.src.slice(b,c++):c=a+1):c=a+1,o||(o=e.src.slice(l,a)),d=e.env.references[lme(o)],!d)return e.pos=h,!1;g=d.href,_=d.title}return t||(s=e.src.slice(l,a),e.md.inline.parse(s,e.md,e.env,E=[]),f=e.push("image","img",0),f.attrs=i=[["src",g],["alt",""]],f.children=E,f.content=s,_&&i.push(["title",_])),e.pos=c,e.posMax=m,!0},dme=/^([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])?)*)$/,ume=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,_me=function(e,t){var i,r,s,o,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(o=e.src.charCodeAt(c),o===60))return!1;if(o===62)break}return i=e.src.slice(a+1,c),ume.test(i)?(r=e.md.normalizeLink(i),e.md.validateLink(r)?(t||(s=e.push("link_open","a",1),s.attrs=[["href",r]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(i),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=i.length+2,!0):!1):dme.test(i)?(r=e.md.normalizeLink("mailto:"+i),e.md.validateLink(r)?(t||(s=e.push("link_open","a",1),s.attrs=[["href",r]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(i),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=i.length+2,!0):!1):!1},pme=jd.HTML_TAG_RE;function fme(n){return/^<a[>\s]/i.test(n)}function hme(n){return/^<\/a\s*>/i.test(n)}function mme(n){var e=n|32;return e>=97&&e<=122}var gme=function(e,t){var i,r,s,o,a=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(a)!==60||a+2>=s)||(i=e.src.charCodeAt(a+1),i!==33&&i!==63&&i!==47&&!mme(i))||(r=e.src.slice(a).match(pme),!r)?!1:(t||(o=e.push("html_inline","",0),o.content=r[0],fme(o.content)&&e.linkLevel++,hme(o.content)&&e.linkLevel--),e.pos+=r[0].length,!0)},ny=O1,Eme=At.has,bme=At.isValidEntityCode,iy=At.fromCodePoint,Sme=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,yme=/^&([a-z][a-z0-9]{1,31});/i,vme=function(e,t){var i,r,s,o,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(i=e.src.charCodeAt(a+1),i===35){if(s=e.src.slice(a).match(Sme),s)return t||(r=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),o=e.push("text_special","",0),o.content=bme(r)?iy(r):iy(65533),o.markup=s[0],o.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(a).match(yme),s&&Eme(ny,s[1]))return t||(o=e.push("text_special","",0),o.content=ny[s[1]],o.markup=s[0],o.info="entity"),e.pos+=s[0].length,!0;return!1};function ry(n){var e,t,i,r,s,o,a,l,c={},d=n.length;if(d){var u=0,_=-2,f=[];for(e=0;e<d;e++)if(i=n[e],f.push(0),(n[u].marker!==i.marker||_!==i.token-1)&&(u=e),_=i.token,i.length=i.length||0,!!i.close){for(c.hasOwnProperty(i.marker)||(c[i.marker]=[-1,-1,-1,-1,-1,-1]),s=c[i.marker][(i.open?3:0)+i.length%3],t=u-f[u]-1,o=t;t>s;t-=f[t]+1)if(r=n[t],r.marker===i.marker&&r.open&&r.end<0&&(a=!1,(r.close||i.open)&&(r.length+i.length)%3===0&&(r.length%3!==0||i.length%3!==0)&&(a=!0),!a)){l=t>0&&!n[t-1].open?f[t-1]+1:0,f[e]=e-t+l,f[t]=l,i.open=!1,r.end=e,r.close=!1,o=-1,_=-2;break}o!==-1&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=o)}}}var Tme=function(e){var t,i=e.tokens_meta,r=e.tokens_meta.length;for(ry(e.delimiters),t=0;t<r;t++)i[t]&&i[t].delimiters&&ry(i[t].delimiters)},xme=function(e){var t,i,r=0,s=e.tokens,o=e.tokens.length;for(t=i=0;t<o;t++)s[t].nesting<0&&r--,s[t].level=r,s[t].nesting>0&&r++,s[t].type==="text"&&t+1<o&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==i&&(s[i]=s[t]),i++);t!==i&&(s.length=i)},iE=eE,sy=At.isWhiteSpace,oy=At.isPunctChar,ay=At.isMdAsciiPunct;function Nl(n,e,t,i){this.src=n,this.env=t,this.md=e,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Nl.prototype.pushPending=function(){var n=new iE("text","",0);return n.content=this.pending,n.level=this.pendingLevel,this.tokens.push(n),this.pending="",n};Nl.prototype.push=function(n,e,t){this.pending&&this.pushPending();var i=new iE(n,e,t),r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i};Nl.prototype.scanDelims=function(n,e){var t=n,i,r,s,o,a,l,c,d,u,_=!0,f=!0,E=this.posMax,b=this.src.charCodeAt(n);for(i=n>0?this.src.charCodeAt(n-1):32;t<E&&this.src.charCodeAt(t)===b;)t++;return s=t-n,r=t<E?this.src.charCodeAt(t):32,c=ay(i)||oy(String.fromCharCode(i)),u=ay(r)||oy(String.fromCharCode(r)),l=sy(i),d=sy(r),d?_=!1:u&&(l||c||(_=!1)),l?f=!1:c&&(d||u||(f=!1)),e?(o=_,a=f):(o=_&&(!f||c),a=f&&(!_||u)),{can_open:o,can_close:a,length:s}};Nl.prototype.Token=iE;var Cme=Nl,ly=Jg,Vu=[["text",Zhe],["linkify",eme],["newline",nme],["escape",rme],["backticks",sme],["strikethrough",Zd.tokenize],["emphasis",Jd.tokenize],["link",ame],["image",cme],["autolink",_me],["html_inline",gme],["entity",vme]],qu=[["balance_pairs",Tme],["strikethrough",Zd.postProcess],["emphasis",Jd.postProcess],["fragments_join",xme]];function Ml(){var n;for(this.ruler=new ly,n=0;n<Vu.length;n++)this.ruler.push(Vu[n][0],Vu[n][1]);for(this.ruler2=new ly,n=0;n<qu.length;n++)this.ruler2.push(qu[n][0],qu[n][1])}Ml.prototype.skipToken=function(n){var e,t,i=n.pos,r=this.ruler.getRules(""),s=r.length,o=n.md.options.maxNesting,a=n.cache;if(typeof a[i]<"u"){n.pos=a[i];return}if(n.level<o){for(t=0;t<s;t++)if(n.level++,e=r[t](n,!0),n.level--,e){if(i>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;e||n.pos++,a[i]=n.pos};Ml.prototype.tokenize=function(n){for(var e,t,i,r=this.ruler.getRules(""),s=r.length,o=n.posMax,a=n.md.options.maxNesting;n.pos<o;){if(i=n.pos,n.level<a){for(t=0;t<s;t++)if(e=r[t](n,!1),e){if(i>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(n.pos>=o)break;continue}n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()};Ml.prototype.parse=function(n,e,t,i){var r,s,o,a=new this.State(n,e,t,i);for(this.tokenize(a),s=this.ruler2.getRules(""),o=s.length,r=0;r<o;r++)s[r](a)};Ml.prototype.State=Cme;var Rme=Ml,Yu,cy;function Ame(){return cy||(cy=1,Yu=function(n){var e={};n=n||{},e.src_Any=N1().source,e.src_Cc=M1().source,e.src_Z=I1().source,e.src_P=Zg.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var t="[><|]";return e.src_pseudo_letter="(?:(?!"+t+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+t+"|"+e.src_ZPCc+")(?!"+(n["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(n["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+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}),Yu}function Gm(n){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){t&&Object.keys(t).forEach(function(i){n[i]=t[i]})}),n}function eu(n){return Object.prototype.toString.call(n)}function wme(n){return eu(n)==="[object String]"}function Ome(n){return eu(n)==="[object Object]"}function Nme(n){return eu(n)==="[object RegExp]"}function dy(n){return eu(n)==="[object Function]"}function Mme(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var B1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Ime(n){return Object.keys(n||{}).reduce(function(e,t){return e||B1.hasOwnProperty(t)},!1)}var Dme={"http:":{validate:function(n,e,t){var i=n.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(i)?i.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(n,e,t){var i=n.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(i)?e>=3&&n[e-3]===":"||e>=3&&n[e-3]==="/"?0:i.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(n,e,t){var i=n.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(i)?i.match(t.re.mailto)[0].length:0}}},Lme="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]",kme="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Pme(n){n.__index__=-1,n.__text_cache__=""}function Ume(n){return function(e,t){var i=e.slice(t);return n.test(i)?i.match(n)[0].length:0}}function uy(){return function(n,e){e.normalize(n)}}function od(n){var e=n.re=Ame()(n.__opts__),t=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||t.push(Lme),t.push(e.src_xn),e.src_tlds=t.join("|");function i(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i");var r=[];n.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(n.__schemas__).forEach(function(a){var l=n.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(n.__compiled__[a]=c,Ome(l)){Nme(l.validate)?c.validate=Ume(l.validate):dy(l.validate)?c.validate=l.validate:s(a,l),dy(l.normalize)?c.normalize=l.normalize:l.normalize?s(a,l):c.normalize=uy();return}if(wme(l)){r.push(a);return}s(a,l)}}),r.forEach(function(a){n.__compiled__[n.__schemas__[a]]&&(n.__compiled__[a].validate=n.__compiled__[n.__schemas__[a]].validate,n.__compiled__[a].normalize=n.__compiled__[n.__schemas__[a]].normalize)}),n.__compiled__[""]={validate:null,normalize:uy()};var o=Object.keys(n.__compiled__).filter(function(a){return a.length>0&&n.__compiled__[a]}).map(Mme).join("|");n.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),n.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),n.re.schema_at_start=RegExp("^"+n.re.schema_search.source,"i"),n.re.pretest=RegExp("("+n.re.schema_test.source+")|("+n.re.host_fuzzy_test.source+")|@","i"),Pme(n)}function Fme(n,e){var t=n.__index__,i=n.__last_index__,r=n.__text_cache__.slice(t,i);this.schema=n.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function zm(n,e){var t=new Fme(n,e);return n.__compiled__[t.schema].normalize(t,n),t}function Bn(n,e){if(!(this instanceof Bn))return new Bn(n,e);e||Ime(n)&&(e=n,n={}),this.__opts__=Gm({},B1,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Gm({},Dme,n),this.__compiled__={},this.__tlds__=kme,this.__tlds_replaced__=!1,this.re={},od(this)}Bn.prototype.add=function(e,t){return this.__schemas__[e]=t,od(this),this};Bn.prototype.set=function(e){return this.__opts__=Gm(this.__opts__,e),this};Bn.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,i,r,s,o,a,l,c,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(t=l.exec(e))!==null;)if(s=this.testSchemaAt(e,t[2],l.lastIndex),s){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(i=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=i.index+i[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=i.index+i[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};Bn.prototype.pretest=function(e){return this.re.pretest.test(e)};Bn.prototype.testSchemaAt=function(e,t,i){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,i,this):0};Bn.prototype.match=function(e){var t=0,i=[];this.__index__>=0&&this.__text_cache__===e&&(i.push(zm(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)i.push(zm(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return i.length?i:null};Bn.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var i=this.testSchemaAt(e,t[2],t[0].length);return i?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i,zm(this,0)):null};Bn.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(i,r,s){return i!==s[r-1]}).reverse(),od(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,od(this),this)};Bn.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Bn.prototype.onCompile=function(){};var Bme=Bn;const No=2147483647,Ai=36,rE=1,El=26,Gme=38,zme=700,G1=72,z1=128,H1="-",Hme=/^xn--/,Vme=/[^\0-\x7F]/,qme=/[\x2E\u3002\uFF0E\uFF61]/g,Yme={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},$u=Ai-rE,wi=Math.floor,Wu=String.fromCharCode;function Nr(n){throw new RangeError(Yme[n])}function $me(n,e){const t=[];let i=n.length;for(;i--;)t[i]=e(n[i]);return t}function V1(n,e){const t=n.split("@");let i="";t.length>1&&(i=t[0]+"@",n=t[1]),n=n.replace(qme,".");const r=n.split("."),s=$me(r,e).join(".");return i+s}function sE(n){const e=[];let t=0;const i=n.length;for(;t<i;){const r=n.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){const s=n.charCodeAt(t++);(s&64512)==56320?e.push(((r&1023)<<10)+(s&1023)+65536):(e.push(r),t--)}else e.push(r)}return e}const q1=n=>String.fromCodePoint(...n),Wme=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:Ai},_y=function(n,e){return n+22+75*(n<26)-((e!=0)<<5)},Y1=function(n,e,t){let i=0;for(n=t?wi(n/zme):n>>1,n+=wi(n/e);n>$u*El>>1;i+=Ai)n=wi(n/$u);return wi(i+($u+1)*n/(n+Gme))},oE=function(n){const e=[],t=n.length;let i=0,r=z1,s=G1,o=n.lastIndexOf(H1);o<0&&(o=0);for(let a=0;a<o;++a)n.charCodeAt(a)>=128&&Nr("not-basic"),e.push(n.charCodeAt(a));for(let a=o>0?o+1:0;a<t;){const l=i;for(let d=1,u=Ai;;u+=Ai){a>=t&&Nr("invalid-input");const _=Wme(n.charCodeAt(a++));_>=Ai&&Nr("invalid-input"),_>wi((No-i)/d)&&Nr("overflow"),i+=_*d;const f=u<=s?rE:u>=s+El?El:u-s;if(_<f)break;const E=Ai-f;d>wi(No/E)&&Nr("overflow"),d*=E}const c=e.length+1;s=Y1(i-l,c,l==0),wi(i/c)>No-r&&Nr("overflow"),r+=wi(i/c),i%=c,e.splice(i++,0,r)}return String.fromCodePoint(...e)},aE=function(n){const e=[];n=sE(n);const t=n.length;let i=z1,r=0,s=G1;for(const l of n)l<128&&e.push(Wu(l));const o=e.length;let a=o;for(o&&e.push(H1);a<t;){let l=No;for(const d of n)d>=i&&d<l&&(l=d);const c=a+1;l-i>wi((No-r)/c)&&Nr("overflow"),r+=(l-i)*c,i=l;for(const d of n)if(d<i&&++r>No&&Nr("overflow"),d===i){let u=r;for(let _=Ai;;_+=Ai){const f=_<=s?rE:_>=s+El?El:_-s;if(u<f)break;const E=u-f,b=Ai-f;e.push(Wu(_y(f+E%b,0))),u=wi(E/b)}e.push(Wu(_y(u,0))),s=Y1(r,c,a===o),r=0,++a}++r,++i}return e.join("")},$1=function(n){return V1(n,function(e){return Hme.test(e)?oE(e.slice(4).toLowerCase()):e})},W1=function(n){return V1(n,function(e){return Vme.test(e)?"xn--"+aE(e):e})},Kme={version:"2.1.0",ucs2:{decode:sE,encode:q1},decode:oE,encode:aE,toASCII:W1,toUnicode:$1},jme=Object.freeze(Object.defineProperty({__proto__:null,decode:oE,default:Kme,encode:aE,toASCII:W1,toUnicode:$1,ucs2decode:sE,ucs2encode:q1},Symbol.toStringTag,{value:"Module"})),Qme=lL(jme);var Xme={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Zme={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},Jme={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Za=At,ege=Kd,tge=Wfe,nge=ghe,ige=Qhe,rge=Rme,sge=Bme,vs=_a,K1=Qme,oge={default:Xme,zero:Zme,commonmark:Jme},age=/^(vbscript|javascript|file|data):/,lge=/^data:image\/(gif|png|jpeg|webp);/;function cge(n){var e=n.trim().toLowerCase();return age.test(e)?!!lge.test(e):!0}var j1=["http:","https:","mailto:"];function dge(n){var e=vs.parse(n,!0);if(e.hostname&&(!e.protocol||j1.indexOf(e.protocol)>=0))try{e.hostname=K1.toASCII(e.hostname)}catch{}return vs.encode(vs.format(e))}function uge(n){var e=vs.parse(n,!0);if(e.hostname&&(!e.protocol||j1.indexOf(e.protocol)>=0))try{e.hostname=K1.toUnicode(e.hostname)}catch{}return vs.decode(vs.format(e),vs.decode.defaultChars+"%")}function ei(n,e){if(!(this instanceof ei))return new ei(n,e);e||Za.isString(n)||(e=n||{},n="default"),this.inline=new rge,this.block=new ige,this.core=new nge,this.renderer=new tge,this.linkify=new sge,this.validateLink=cge,this.normalizeLink=dge,this.normalizeLinkText=uge,this.utils=Za,this.helpers=Za.assign({},ege),this.options={},this.configure(n),e&&this.set(e)}ei.prototype.set=function(n){return Za.assign(this.options,n),this};ei.prototype.configure=function(n){var e=this,t;if(Za.isString(n)&&(t=n,n=oge[t],!n))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");return n.options&&e.set(n.options),n.components&&Object.keys(n.components).forEach(function(i){n.components[i].rules&&e[i].ruler.enableOnly(n.components[i].rules),n.components[i].rules2&&e[i].ruler2.enableOnly(n.components[i].rules2)}),this};ei.prototype.enable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(n,!0))},this),t=t.concat(this.inline.ruler2.enable(n,!0));var i=n.filter(function(r){return t.indexOf(r)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this};ei.prototype.disable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(n,!0))},this),t=t.concat(this.inline.ruler2.disable(n,!0));var i=n.filter(function(r){return t.indexOf(r)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this};ei.prototype.use=function(n){var e=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,e),this};ei.prototype.parse=function(n,e){if(typeof n!="string")throw new Error("Input data should be a String");var t=new this.core.State(n,this,e);return this.core.process(t),t.tokens};ei.prototype.render=function(n,e){return e=e||{},this.renderer.render(this.parse(n,e),this.options,e)};ei.prototype.parseInline=function(n,e){var t=new this.core.State(n,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens};ei.prototype.renderInline=function(n,e){return e=e||{},this.renderer.render(this.parseInline(n,e),this.options,e)};var _ge=ei,pge=_ge;const fge=_r(pge),hge="😀",mge="😃",gge="😄",Ege="😁",bge="😆",Sge="😆",yge="😅",vge="🤣",Tge="😂",xge="🙂",Cge="🙃",Rge="😉",Age="😊",wge="😇",Oge="🥰",Nge="😍",Mge="🤩",Ige="😘",Dge="😗",Lge="☺️",kge="😚",Pge="😙",Uge="🥲",Fge="😋",Bge="😛",Gge="😜",zge="🤪",Hge="😝",Vge="🤑",qge="🤗",Yge="🤭",$ge="🤫",Wge="🤔",Kge="🤐",jge="🤨",Qge="😐",Xge="😑",Zge="😶",Jge="😏",eEe="😒",tEe="🙄",nEe="😬",iEe="🤥",rEe="😌",sEe="😔",oEe="😪",aEe="🤤",lEe="😴",cEe="😷",dEe="🤒",uEe="🤕",_Ee="🤢",pEe="🤮",fEe="🤧",hEe="🥵",mEe="🥶",gEe="🥴",EEe="😵",bEe="🤯",SEe="🤠",yEe="🥳",vEe="🥸",TEe="😎",xEe="🤓",CEe="🧐",REe="😕",AEe="😟",wEe="🙁",OEe="☹️",NEe="😮",MEe="😯",IEe="😲",DEe="😳",LEe="🥺",kEe="😦",PEe="😧",UEe="😨",FEe="😰",BEe="😥",GEe="😢",zEe="😭",HEe="😱",VEe="😖",qEe="😣",YEe="😞",$Ee="😓",WEe="😩",KEe="😫",jEe="🥱",QEe="😤",XEe="😡",ZEe="😡",JEe="😠",ebe="🤬",tbe="😈",nbe="👿",ibe="💀",rbe="☠️",sbe="💩",obe="💩",abe="💩",lbe="🤡",cbe="👹",dbe="👺",ube="👻",_be="👽",pbe="👾",fbe="🤖",hbe="😺",mbe="😸",gbe="😹",Ebe="😻",bbe="😼",Sbe="😽",ybe="🙀",vbe="😿",Tbe="😾",xbe="🙈",Cbe="🙉",Rbe="🙊",Abe="💋",wbe="💌",Obe="💘",Nbe="💝",Mbe="💖",Ibe="💗",Dbe="💓",Lbe="💞",kbe="💕",Pbe="💟",Ube="❣️",Fbe="💔",Bbe="❤️",Gbe="🧡",zbe="💛",Hbe="💚",Vbe="💙",qbe="💜",Ybe="🤎",$be="🖤",Wbe="🤍",Kbe="💢",jbe="💥",Qbe="💥",Xbe="💫",Zbe="💦",Jbe="💨",eSe="🕳️",tSe="💣",nSe="💬",iSe="👁️‍🗨️",rSe="🗨️",sSe="🗯️",oSe="💭",aSe="💤",lSe="👋",cSe="🤚",dSe="🖐️",uSe="✋",_Se="✋",pSe="🖖",fSe="👌",hSe="🤌",mSe="🤏",gSe="✌️",ESe="🤞",bSe="🤟",SSe="🤘",ySe="🤙",vSe="👈",TSe="👉",xSe="👆",CSe="🖕",RSe="🖕",ASe="👇",wSe="☝️",OSe="👍",NSe="👎",MSe="✊",ISe="✊",DSe="👊",LSe="👊",kSe="👊",PSe="🤛",USe="🤜",FSe="👏",BSe="🙌",GSe="👐",zSe="🤲",HSe="🤝",VSe="🙏",qSe="✍️",YSe="💅",$Se="🤳",WSe="💪",KSe="🦾",jSe="🦿",QSe="🦵",XSe="🦶",ZSe="👂",JSe="🦻",eye="👃",tye="🧠",nye="🫀",iye="🫁",rye="🦷",sye="🦴",oye="👀",aye="👁️",lye="👅",cye="👄",dye="👶",uye="🧒",_ye="👦",pye="👧",fye="🧑",hye="👱",mye="👨",gye="🧔",Eye="👨‍🦰",bye="👨‍🦱",Sye="👨‍🦳",yye="👨‍🦲",vye="👩",Tye="👩‍🦰",xye="🧑‍🦰",Cye="👩‍🦱",Rye="🧑‍🦱",Aye="👩‍🦳",wye="🧑‍🦳",Oye="👩‍🦲",Nye="🧑‍🦲",Mye="👱‍♀️",Iye="👱‍♀️",Dye="👱‍♂️",Lye="🧓",kye="👴",Pye="👵",Uye="🙍",Fye="🙍‍♂️",Bye="🙍‍♀️",Gye="🙎",zye="🙎‍♂️",Hye="🙎‍♀️",Vye="🙅",qye="🙅‍♂️",Yye="🙅‍♂️",$ye="🙅‍♀️",Wye="🙅‍♀️",Kye="🙆",jye="🙆‍♂️",Qye="🙆‍♀️",Xye="💁",Zye="💁",Jye="💁‍♂️",eve="💁‍♂️",tve="💁‍♀️",nve="💁‍♀️",ive="🙋",rve="🙋‍♂️",sve="🙋‍♀️",ove="🧏",ave="🧏‍♂️",lve="🧏‍♀️",cve="🙇",dve="🙇‍♂️",uve="🙇‍♀️",_ve="🤦",pve="🤦‍♂️",fve="🤦‍♀️",hve="🤷",mve="🤷‍♂️",gve="🤷‍♀️",Eve="🧑‍⚕️",bve="👨‍⚕️",Sve="👩‍⚕️",yve="🧑‍🎓",vve="👨‍🎓",Tve="👩‍🎓",xve="🧑‍🏫",Cve="👨‍🏫",Rve="👩‍🏫",Ave="🧑‍⚖️",wve="👨‍⚖️",Ove="👩‍⚖️",Nve="🧑‍🌾",Mve="👨‍🌾",Ive="👩‍🌾",Dve="🧑‍🍳",Lve="👨‍🍳",kve="👩‍🍳",Pve="🧑‍🔧",Uve="👨‍🔧",Fve="👩‍🔧",Bve="🧑‍🏭",Gve="👨‍🏭",zve="👩‍🏭",Hve="🧑‍💼",Vve="👨‍💼",qve="👩‍💼",Yve="🧑‍🔬",$ve="👨‍🔬",Wve="👩‍🔬",Kve="🧑‍💻",jve="👨‍💻",Qve="👩‍💻",Xve="🧑‍🎤",Zve="👨‍🎤",Jve="👩‍🎤",eTe="🧑‍🎨",tTe="👨‍🎨",nTe="👩‍🎨",iTe="🧑‍✈️",rTe="👨‍✈️",sTe="👩‍✈️",oTe="🧑‍🚀",aTe="👨‍🚀",lTe="👩‍🚀",cTe="🧑‍🚒",dTe="👨‍🚒",uTe="👩‍🚒",_Te="👮",pTe="👮",fTe="👮‍♂️",hTe="👮‍♀️",mTe="🕵️",gTe="🕵️‍♂️",ETe="🕵️‍♀️",bTe="💂",STe="💂‍♂️",yTe="💂‍♀️",vTe="🥷",TTe="👷",xTe="👷‍♂️",CTe="👷‍♀️",RTe="🤴",ATe="👸",wTe="👳",OTe="👳‍♂️",NTe="👳‍♀️",MTe="👲",ITe="🧕",DTe="🤵",LTe="🤵‍♂️",kTe="🤵‍♀️",PTe="👰",UTe="👰‍♂️",FTe="👰‍♀️",BTe="👰‍♀️",GTe="🤰",zTe="🤱",HTe="👩‍🍼",VTe="👨‍🍼",qTe="🧑‍🍼",YTe="👼",$Te="🎅",WTe="🤶",KTe="🧑‍🎄",jTe="🦸",QTe="🦸‍♂️",XTe="🦸‍♀️",ZTe="🦹",JTe="🦹‍♂️",e0e="🦹‍♀️",t0e="🧙",n0e="🧙‍♂️",i0e="🧙‍♀️",r0e="🧚",s0e="🧚‍♂️",o0e="🧚‍♀️",a0e="🧛",l0e="🧛‍♂️",c0e="🧛‍♀️",d0e="🧜",u0e="🧜‍♂️",_0e="🧜‍♀️",p0e="🧝",f0e="🧝‍♂️",h0e="🧝‍♀️",m0e="🧞",g0e="🧞‍♂️",E0e="🧞‍♀️",b0e="🧟",S0e="🧟‍♂️",y0e="🧟‍♀️",v0e="💆",T0e="💆‍♂️",x0e="💆‍♀️",C0e="💇",R0e="💇‍♂️",A0e="💇‍♀️",w0e="🚶",O0e="🚶‍♂️",N0e="🚶‍♀️",M0e="🧍",I0e="🧍‍♂️",D0e="🧍‍♀️",L0e="🧎",k0e="🧎‍♂️",P0e="🧎‍♀️",U0e="🧑‍🦯",F0e="👨‍🦯",B0e="👩‍🦯",G0e="🧑‍🦼",z0e="👨‍🦼",H0e="👩‍🦼",V0e="🧑‍🦽",q0e="👨‍🦽",Y0e="👩‍🦽",$0e="🏃",W0e="🏃",K0e="🏃‍♂️",j0e="🏃‍♀️",Q0e="💃",X0e="💃",Z0e="🕺",J0e="🕴️",exe="👯",txe="👯‍♂️",nxe="👯‍♀️",ixe="🧖",rxe="🧖‍♂️",sxe="🧖‍♀️",oxe="🧗",axe="🧗‍♂️",lxe="🧗‍♀️",cxe="🤺",dxe="🏇",uxe="⛷️",_xe="🏂",pxe="🏌️",fxe="🏌️‍♂️",hxe="🏌️‍♀️",mxe="🏄",gxe="🏄‍♂️",Exe="🏄‍♀️",bxe="🚣",Sxe="🚣‍♂️",yxe="🚣‍♀️",vxe="🏊",Txe="🏊‍♂️",xxe="🏊‍♀️",Cxe="⛹️",Rxe="⛹️‍♂️",Axe="⛹️‍♂️",wxe="⛹️‍♀️",Oxe="⛹️‍♀️",Nxe="🏋️",Mxe="🏋️‍♂️",Ixe="🏋️‍♀️",Dxe="🚴",Lxe="🚴‍♂️",kxe="🚴‍♀️",Pxe="🚵",Uxe="🚵‍♂️",Fxe="🚵‍♀️",Bxe="🤸",Gxe="🤸‍♂️",zxe="🤸‍♀️",Hxe="🤼",Vxe="🤼‍♂️",qxe="🤼‍♀️",Yxe="🤽",$xe="🤽‍♂️",Wxe="🤽‍♀️",Kxe="🤾",jxe="🤾‍♂️",Qxe="🤾‍♀️",Xxe="🤹",Zxe="🤹‍♂️",Jxe="🤹‍♀️",eCe="🧘",tCe="🧘‍♂️",nCe="🧘‍♀️",iCe="🛀",rCe="🛌",sCe="🧑‍🤝‍🧑",oCe="👭",aCe="👫",lCe="👬",cCe="💏",dCe="👩‍❤️‍💋‍👨",uCe="👨‍❤️‍💋‍👨",_Ce="👩‍❤️‍💋‍👩",pCe="💑",fCe="👩‍❤️‍👨",hCe="👨‍❤️‍👨",mCe="👩‍❤️‍👩",gCe="👪",ECe="👨‍👩‍👦",bCe="👨‍👩‍👧",SCe="👨‍👩‍👧‍👦",yCe="👨‍👩‍👦‍👦",vCe="👨‍👩‍👧‍👧",TCe="👨‍👨‍👦",xCe="👨‍👨‍👧",CCe="👨‍👨‍👧‍👦",RCe="👨‍👨‍👦‍👦",ACe="👨‍👨‍👧‍👧",wCe="👩‍👩‍👦",OCe="👩‍👩‍👧",NCe="👩‍👩‍👧‍👦",MCe="👩‍👩‍👦‍👦",ICe="👩‍👩‍👧‍👧",DCe="👨‍👦",LCe="👨‍👦‍👦",kCe="👨‍👧",PCe="👨‍👧‍👦",UCe="👨‍👧‍👧",FCe="👩‍👦",BCe="👩‍👦‍👦",GCe="👩‍👧",zCe="👩‍👧‍👦",HCe="👩‍👧‍👧",VCe="🗣️",qCe="👤",YCe="👥",$Ce="🫂",WCe="👣",KCe="🐵",jCe="🐒",QCe="🦍",XCe="🦧",ZCe="🐶",JCe="🐕",eRe="🦮",tRe="🐕‍🦺",nRe="🐩",iRe="🐺",rRe="🦊",sRe="🦝",oRe="🐱",aRe="🐈",lRe="🐈‍⬛",cRe="🦁",dRe="🐯",uRe="🐅",_Re="🐆",pRe="🐴",fRe="🐎",hRe="🦄",mRe="🦓",gRe="🦌",ERe="🦬",bRe="🐮",SRe="🐂",yRe="🐃",vRe="🐄",TRe="🐷",xRe="🐖",CRe="🐗",RRe="🐽",ARe="🐏",wRe="🐑",ORe="🐐",NRe="🐪",MRe="🐫",IRe="🦙",DRe="🦒",LRe="🐘",kRe="🦣",PRe="🦏",URe="🦛",FRe="🐭",BRe="🐁",GRe="🐀",zRe="🐹",HRe="🐰",VRe="🐇",qRe="🐿️",YRe="🦫",$Re="🦔",WRe="🦇",KRe="🐻",jRe="🐻‍❄️",QRe="🐨",XRe="🐼",ZRe="🦥",JRe="🦦",eAe="🦨",tAe="🦘",nAe="🦡",iAe="🐾",rAe="🐾",sAe="🦃",oAe="🐔",aAe="🐓",lAe="🐣",cAe="🐤",dAe="🐥",uAe="🐦",_Ae="🐧",pAe="🕊️",fAe="🦅",hAe="🦆",mAe="🦢",gAe="🦉",EAe="🦤",bAe="🪶",SAe="🦩",yAe="🦚",vAe="🦜",TAe="🐸",xAe="🐊",CAe="🐢",RAe="🦎",AAe="🐍",wAe="🐲",OAe="🐉",NAe="🦕",MAe="🐳",IAe="🐋",DAe="🐬",LAe="🐬",kAe="🦭",PAe="🐟",UAe="🐠",FAe="🐡",BAe="🦈",GAe="🐙",zAe="🐚",HAe="🐌",VAe="🦋",qAe="🐛",YAe="🐜",$Ae="🐝",WAe="🐝",KAe="🪲",jAe="🐞",QAe="🦗",XAe="🪳",ZAe="🕷️",JAe="🕸️",e1e="🦂",t1e="🦟",n1e="🪰",i1e="🪱",r1e="🦠",s1e="💐",o1e="🌸",a1e="💮",l1e="🏵️",c1e="🌹",d1e="🥀",u1e="🌺",_1e="🌻",p1e="🌼",f1e="🌷",h1e="🌱",m1e="🪴",g1e="🌲",E1e="🌳",b1e="🌴",S1e="🌵",y1e="🌾",v1e="🌿",T1e="☘️",x1e="🍀",C1e="🍁",R1e="🍂",A1e="🍃",w1e="🍇",O1e="🍈",N1e="🍉",M1e="🍊",I1e="🍊",D1e="🍊",L1e="🍋",k1e="🍌",P1e="🍍",U1e="🥭",F1e="🍎",B1e="🍏",G1e="🍐",z1e="🍑",H1e="🍒",V1e="🍓",q1e="🫐",Y1e="🥝",$1e="🍅",W1e="🫒",K1e="🥥",j1e="🥑",Q1e="🍆",X1e="🥔",Z1e="🥕",J1e="🌽",ewe="🌶️",twe="🫑",nwe="🥒",iwe="🥬",rwe="🥦",swe="🧄",owe="🧅",awe="🍄",lwe="🥜",cwe="🌰",dwe="🍞",uwe="🥐",_we="🥖",pwe="🫓",fwe="🥨",hwe="🥯",mwe="🥞",gwe="🧇",Ewe="🧀",bwe="🍖",Swe="🍗",ywe="🥩",vwe="🥓",Twe="🍔",xwe="🍟",Cwe="🍕",Rwe="🌭",Awe="🥪",wwe="🌮",Owe="🌯",Nwe="🫔",Mwe="🥙",Iwe="🧆",Dwe="🥚",Lwe="🍳",kwe="🥘",Pwe="🍲",Uwe="🫕",Fwe="🥣",Bwe="🥗",Gwe="🍿",zwe="🧈",Hwe="🧂",Vwe="🥫",qwe="🍱",Ywe="🍘",$we="🍙",Wwe="🍚",Kwe="🍛",jwe="🍜",Qwe="🍝",Xwe="🍠",Zwe="🍢",Jwe="🍣",eOe="🍤",tOe="🍥",nOe="🥮",iOe="🍡",rOe="🥟",sOe="🥠",oOe="🥡",aOe="🦀",lOe="🦞",cOe="🦐",dOe="🦑",uOe="🦪",_Oe="🍦",pOe="🍧",fOe="🍨",hOe="🍩",mOe="🍪",gOe="🎂",EOe="🍰",bOe="🧁",SOe="🥧",yOe="🍫",vOe="🍬",TOe="🍭",xOe="🍮",COe="🍯",ROe="🍼",AOe="🥛",wOe="☕",OOe="🫖",NOe="🍵",MOe="🍶",IOe="🍾",DOe="🍷",LOe="🍸",kOe="🍹",POe="🍺",UOe="🍻",FOe="🥂",BOe="🥃",GOe="🥤",zOe="🧋",HOe="🧃",VOe="🧉",qOe="🧊",YOe="🥢",$Oe="🍽️",WOe="🍴",KOe="🥄",jOe="🔪",QOe="🔪",XOe="🏺",ZOe="🌍",JOe="🌎",eNe="🌏",tNe="🌐",nNe="🗺️",iNe="🗾",rNe="🧭",sNe="🏔️",oNe="⛰️",aNe="🌋",lNe="🗻",cNe="🏕️",dNe="🏖️",uNe="🏜️",_Ne="🏝️",pNe="🏞️",fNe="🏟️",hNe="🏛️",mNe="🏗️",gNe="🧱",ENe="🪨",bNe="🪵",SNe="🛖",yNe="🏘️",vNe="🏚️",TNe="🏠",xNe="🏡",CNe="🏢",RNe="🏣",ANe="🏤",wNe="🏥",ONe="🏦",NNe="🏨",MNe="🏩",INe="🏪",DNe="🏫",LNe="🏬",kNe="🏭",PNe="🏯",UNe="🏰",FNe="💒",BNe="🗼",GNe="🗽",zNe="⛪",HNe="🕌",VNe="🛕",qNe="🕍",YNe="⛩️",$Ne="🕋",WNe="⛲",KNe="⛺",jNe="🌁",QNe="🌃",XNe="🏙️",ZNe="🌄",JNe="🌅",eMe="🌆",tMe="🌇",nMe="🌉",iMe="♨️",rMe="🎠",sMe="🎡",oMe="🎢",aMe="💈",lMe="🎪",cMe="🚂",dMe="🚃",uMe="🚄",_Me="🚅",pMe="🚆",fMe="🚇",hMe="🚈",mMe="🚉",gMe="🚊",EMe="🚝",bMe="🚞",SMe="🚋",yMe="🚌",vMe="🚍",TMe="🚎",xMe="🚐",CMe="🚑",RMe="🚒",AMe="🚓",wMe="🚔",OMe="🚕",NMe="🚖",MMe="🚗",IMe="🚗",DMe="🚘",LMe="🚙",kMe="🛻",PMe="🚚",UMe="🚛",FMe="🚜",BMe="🏎️",GMe="🏍️",zMe="🛵",HMe="🦽",VMe="🦼",qMe="🛺",YMe="🚲",$Me="🛴",WMe="🛹",KMe="🛼",jMe="🚏",QMe="🛣️",XMe="🛤️",ZMe="🛢️",JMe="⛽",eIe="🚨",tIe="🚥",nIe="🚦",iIe="🛑",rIe="🚧",sIe="⚓",oIe="⛵",aIe="⛵",lIe="🛶",cIe="🚤",dIe="🛳️",uIe="⛴️",_Ie="🛥️",pIe="🚢",fIe="✈️",hIe="🛩️",mIe="🛫",gIe="🛬",EIe="🪂",bIe="💺",SIe="🚁",yIe="🚟",vIe="🚠",TIe="🚡",xIe="🛰️",CIe="🚀",RIe="🛸",AIe="🛎️",wIe="🧳",OIe="⌛",NIe="⏳",MIe="⌚",IIe="⏰",DIe="⏱️",LIe="⏲️",kIe="🕰️",PIe="🕛",UIe="🕧",FIe="🕐",BIe="🕜",GIe="🕑",zIe="🕝",HIe="🕒",VIe="🕞",qIe="🕓",YIe="🕟",$Ie="🕔",WIe="🕠",KIe="🕕",jIe="🕡",QIe="🕖",XIe="🕢",ZIe="🕗",JIe="🕣",eDe="🕘",tDe="🕤",nDe="🕙",iDe="🕥",rDe="🕚",sDe="🕦",oDe="🌑",aDe="🌒",lDe="🌓",cDe="🌔",dDe="🌔",uDe="🌕",_De="🌖",pDe="🌗",fDe="🌘",hDe="🌙",mDe="🌚",gDe="🌛",EDe="🌜",bDe="🌡️",SDe="☀️",yDe="🌝",vDe="🌞",TDe="🪐",xDe="⭐",CDe="🌟",RDe="🌠",ADe="🌌",wDe="☁️",ODe="⛅",NDe="⛈️",MDe="🌤️",IDe="🌥️",DDe="🌦️",LDe="🌧️",kDe="🌨️",PDe="🌩️",UDe="🌪️",FDe="🌫️",BDe="🌬️",GDe="🌀",zDe="🌈",HDe="🌂",VDe="☂️",qDe="☔",YDe="⛱️",$De="⚡",WDe="❄️",KDe="☃️",jDe="⛄",QDe="☄️",XDe="🔥",ZDe="💧",JDe="🌊",e2e="🎃",t2e="🎄",n2e="🎆",i2e="🎇",r2e="🧨",s2e="✨",o2e="🎈",a2e="🎉",l2e="🎊",c2e="🎋",d2e="🎍",u2e="🎎",_2e="🎏",p2e="🎐",f2e="🎑",h2e="🧧",m2e="🎀",g2e="🎁",E2e="🎗️",b2e="🎟️",S2e="🎫",y2e="🎖️",v2e="🏆",T2e="🏅",x2e="⚽",C2e="⚾",R2e="🥎",A2e="🏀",w2e="🏐",O2e="🏈",N2e="🏉",M2e="🎾",I2e="🥏",D2e="🎳",L2e="🏏",k2e="🏑",P2e="🏒",U2e="🥍",F2e="🏓",B2e="🏸",G2e="🥊",z2e="🥋",H2e="🥅",V2e="⛳",q2e="⛸️",Y2e="🎣",$2e="🤿",W2e="🎽",K2e="🎿",j2e="🛷",Q2e="🥌",X2e="🎯",Z2e="🪀",J2e="🪁",eLe="🔮",tLe="🪄",nLe="🧿",iLe="🎮",rLe="🕹️",sLe="🎰",oLe="🎲",aLe="🧩",lLe="🧸",cLe="🪅",dLe="🪆",uLe="♠️",_Le="♥️",pLe="♦️",fLe="♣️",hLe="♟️",mLe="🃏",gLe="🀄",ELe="🎴",bLe="🎭",SLe="🖼️",yLe="🎨",vLe="🧵",TLe="🪡",xLe="🧶",CLe="🪢",RLe="👓",ALe="🕶️",wLe="🥽",OLe="🥼",NLe="🦺",MLe="👔",ILe="👕",DLe="👕",LLe="👖",kLe="🧣",PLe="🧤",ULe="🧥",FLe="🧦",BLe="👗",GLe="👘",zLe="🥻",HLe="🩱",VLe="🩲",qLe="🩳",YLe="👙",$Le="👚",WLe="👛",KLe="👜",jLe="👝",QLe="🛍️",XLe="🎒",ZLe="🩴",JLe="👞",eke="👞",tke="👟",nke="🥾",ike="🥿",rke="👠",ske="👡",oke="🩰",ake="👢",lke="👑",cke="👒",dke="🎩",uke="🎓",_ke="🧢",pke="🪖",fke="⛑️",hke="📿",mke="💄",gke="💍",Eke="💎",bke="🔇",Ske="🔈",yke="🔉",vke="🔊",Tke="📢",xke="📣",Cke="📯",Rke="🔔",Ake="🔕",wke="🎼",Oke="🎵",Nke="🎶",Mke="🎙️",Ike="🎚️",Dke="🎛️",Lke="🎤",kke="🎧",Pke="📻",Uke="🎷",Fke="🪗",Bke="🎸",Gke="🎹",zke="🎺",Hke="🎻",Vke="🪕",qke="🥁",Yke="🪘",$ke="📱",Wke="📲",Kke="☎️",jke="☎️",Qke="📞",Xke="📟",Zke="📠",Jke="🔋",ePe="🔌",tPe="💻",nPe="🖥️",iPe="🖨️",rPe="⌨️",sPe="🖱️",oPe="🖲️",aPe="💽",lPe="💾",cPe="💿",dPe="📀",uPe="🧮",_Pe="🎥",pPe="🎞️",fPe="📽️",hPe="🎬",mPe="📺",gPe="📷",EPe="📸",bPe="📹",SPe="📼",yPe="🔍",vPe="🔎",TPe="🕯️",xPe="💡",CPe="🔦",RPe="🏮",APe="🏮",wPe="🪔",OPe="📔",NPe="📕",MPe="📖",IPe="📖",DPe="📗",LPe="📘",kPe="📙",PPe="📚",UPe="📓",FPe="📒",BPe="📃",GPe="📜",zPe="📄",HPe="📰",VPe="🗞️",qPe="📑",YPe="🔖",$Pe="🏷️",WPe="💰",KPe="🪙",jPe="💴",QPe="💵",XPe="💶",ZPe="💷",JPe="💸",eUe="💳",tUe="🧾",nUe="💹",iUe="✉️",rUe="📧",sUe="📨",oUe="📩",aUe="📤",lUe="📥",cUe="📫",dUe="📪",uUe="📬",_Ue="📭",pUe="📮",fUe="🗳️",hUe="✏️",mUe="✒️",gUe="🖋️",EUe="🖊️",bUe="🖌️",SUe="🖍️",yUe="📝",vUe="📝",TUe="💼",xUe="📁",CUe="📂",RUe="🗂️",AUe="📅",wUe="📆",OUe="🗒️",NUe="🗓️",MUe="📇",IUe="📈",DUe="📉",LUe="📊",kUe="📋",PUe="📌",UUe="📍",FUe="📎",BUe="🖇️",GUe="📏",zUe="📐",HUe="✂️",VUe="🗃️",qUe="🗄️",YUe="🗑️",$Ue="🔒",WUe="🔓",KUe="🔏",jUe="🔐",QUe="🔑",XUe="🗝️",ZUe="🔨",JUe="🪓",eFe="⛏️",tFe="⚒️",nFe="🛠️",iFe="🗡️",rFe="⚔️",sFe="🔫",oFe="🪃",aFe="🏹",lFe="🛡️",cFe="🪚",dFe="🔧",uFe="🪛",_Fe="🔩",pFe="⚙️",fFe="🗜️",hFe="⚖️",mFe="🦯",gFe="🔗",EFe="⛓️",bFe="🪝",SFe="🧰",yFe="🧲",vFe="🪜",TFe="⚗️",xFe="🧪",CFe="🧫",RFe="🧬",AFe="🔬",wFe="🔭",OFe="📡",NFe="💉",MFe="🩸",IFe="💊",DFe="🩹",LFe="🩺",kFe="🚪",PFe="🛗",UFe="🪞",FFe="🪟",BFe="🛏️",GFe="🛋️",zFe="🪑",HFe="🚽",VFe="🪠",qFe="🚿",YFe="🛁",$Fe="🪤",WFe="🪒",KFe="🧴",jFe="🧷",QFe="🧹",XFe="🧺",ZFe="🧻",JFe="🪣",eBe="🧼",tBe="🪥",nBe="🧽",iBe="🧯",rBe="🛒",sBe="🚬",oBe="⚰️",aBe="🪦",lBe="⚱️",cBe="🗿",dBe="🪧",uBe="🏧",_Be="🚮",pBe="🚰",fBe="♿",hBe="🚹",mBe="🚺",gBe="🚻",EBe="🚼",bBe="🚾",SBe="🛂",yBe="🛃",vBe="🛄",TBe="🛅",xBe="⚠️",CBe="🚸",RBe="⛔",ABe="🚫",wBe="🚳",OBe="🚭",NBe="🚯",MBe="🚷",IBe="📵",DBe="🔞",LBe="☢️",kBe="☣️",PBe="⬆️",UBe="↗️",FBe="➡️",BBe="↘️",GBe="⬇️",zBe="↙️",HBe="⬅️",VBe="↖️",qBe="↕️",YBe="↔️",$Be="↩️",WBe="↪️",KBe="⤴️",jBe="⤵️",QBe="🔃",XBe="🔄",ZBe="🔙",JBe="🔚",e3e="🔛",t3e="🔜",n3e="🔝",i3e="🛐",r3e="⚛️",s3e="🕉️",o3e="✡️",a3e="☸️",l3e="☯️",c3e="✝️",d3e="☦️",u3e="☪️",_3e="☮️",p3e="🕎",f3e="🔯",h3e="♈",m3e="♉",g3e="♊",E3e="♋",b3e="♌",S3e="♍",y3e="♎",v3e="♏",T3e="♐",x3e="♑",C3e="♒",R3e="♓",A3e="⛎",w3e="🔀",O3e="🔁",N3e="🔂",M3e="▶️",I3e="⏩",D3e="⏭️",L3e="⏯️",k3e="◀️",P3e="⏪",U3e="⏮️",F3e="🔼",B3e="⏫",G3e="🔽",z3e="⏬",H3e="⏸️",V3e="⏹️",q3e="⏺️",Y3e="⏏️",$3e="🎦",W3e="🔅",K3e="🔆",j3e="📶",Q3e="📳",X3e="📴",Z3e="♀️",J3e="♂️",e4e="⚧️",t4e="✖️",n4e="➕",i4e="➖",r4e="➗",s4e="♾️",o4e="‼️",a4e="⁉️",l4e="❓",c4e="❔",d4e="❕",u4e="❗",_4e="❗",p4e="〰️",f4e="💱",h4e="💲",m4e="⚕️",g4e="♻️",E4e="⚜️",b4e="🔱",S4e="📛",y4e="🔰",v4e="⭕",T4e="✅",x4e="☑️",C4e="✔️",R4e="❌",A4e="❎",w4e="➰",O4e="➿",N4e="〽️",M4e="✳️",I4e="✴️",D4e="❇️",L4e="©️",k4e="®️",P4e="™️",U4e="#️⃣",F4e="*️⃣",B4e="0️⃣",G4e="1️⃣",z4e="2️⃣",H4e="3️⃣",V4e="4️⃣",q4e="5️⃣",Y4e="6️⃣",$4e="7️⃣",W4e="8️⃣",K4e="9️⃣",j4e="🔟",Q4e="🔠",X4e="🔡",Z4e="🔣",J4e="🔤",e5e="🅰️",t5e="🆎",n5e="🅱️",i5e="🆑",r5e="🆒",s5e="🆓",o5e="ℹ️",a5e="🆔",l5e="Ⓜ️",c5e="🆖",d5e="🅾️",u5e="🆗",_5e="🅿️",p5e="🆘",f5e="🆙",h5e="🆚",m5e="🈁",g5e="🈂️",E5e="🉐",b5e="🉑",S5e="㊗️",y5e="㊙️",v5e="🈵",T5e="🔴",x5e="🟠",C5e="🟡",R5e="🟢",A5e="🔵",w5e="🟣",O5e="🟤",N5e="⚫",M5e="⚪",I5e="🟥",D5e="🟧",L5e="🟨",k5e="🟩",P5e="🟦",U5e="🟪",F5e="🟫",B5e="⬛",G5e="⬜",z5e="◼️",H5e="◻️",V5e="◾",q5e="◽",Y5e="▪️",$5e="▫️",W5e="🔶",K5e="🔷",j5e="🔸",Q5e="🔹",X5e="🔺",Z5e="🔻",J5e="💠",eGe="🔘",tGe="🔳",nGe="🔲",iGe="🏁",rGe="🚩",sGe="🎌",oGe="🏴",aGe="🏳️",lGe="🏳️‍🌈",cGe="🏳️‍⚧️",dGe="🏴‍☠️",uGe="🇦🇨",_Ge="🇦🇩",pGe="🇦🇪",fGe="🇦🇫",hGe="🇦🇬",mGe="🇦🇮",gGe="🇦🇱",EGe="🇦🇲",bGe="🇦🇴",SGe="🇦🇶",yGe="🇦🇷",vGe="🇦🇸",TGe="🇦🇹",xGe="🇦🇺",CGe="🇦🇼",RGe="🇦🇽",AGe="🇦🇿",wGe="🇧🇦",OGe="🇧🇧",NGe="🇧🇩",MGe="🇧🇪",IGe="🇧🇫",DGe="🇧🇬",LGe="🇧🇭",kGe="🇧🇮",PGe="🇧🇯",UGe="🇧🇱",FGe="🇧🇲",BGe="🇧🇳",GGe="🇧🇴",zGe="🇧🇶",HGe="🇧🇷",VGe="🇧🇸",qGe="🇧🇹",YGe="🇧🇻",$Ge="🇧🇼",WGe="🇧🇾",KGe="🇧🇿",jGe="🇨🇦",QGe="🇨🇨",XGe="🇨🇩",ZGe="🇨🇫",JGe="🇨🇬",e9e="🇨🇭",t9e="🇨🇮",n9e="🇨🇰",i9e="🇨🇱",r9e="🇨🇲",s9e="🇨🇳",o9e="🇨🇴",a9e="🇨🇵",l9e="🇨🇷",c9e="🇨🇺",d9e="🇨🇻",u9e="🇨🇼",_9e="🇨🇽",p9e="🇨🇾",f9e="🇨🇿",h9e="🇩🇪",m9e="🇩🇬",g9e="🇩🇯",E9e="🇩🇰",b9e="🇩🇲",S9e="🇩🇴",y9e="🇩🇿",v9e="🇪🇦",T9e="🇪🇨",x9e="🇪🇪",C9e="🇪🇬",R9e="🇪🇭",A9e="🇪🇷",w9e="🇪🇸",O9e="🇪🇹",N9e="🇪🇺",M9e="🇪🇺",I9e="🇫🇮",D9e="🇫🇯",L9e="🇫🇰",k9e="🇫🇲",P9e="🇫🇴",U9e="🇫🇷",F9e="🇬🇦",B9e="🇬🇧",G9e="🇬🇧",z9e="🇬🇩",H9e="🇬🇪",V9e="🇬🇫",q9e="🇬🇬",Y9e="🇬🇭",$9e="🇬🇮",W9e="🇬🇱",K9e="🇬🇲",j9e="🇬🇳",Q9e="🇬🇵",X9e="🇬🇶",Z9e="🇬🇷",J9e="🇬🇸",eze="🇬🇹",tze="🇬🇺",nze="🇬🇼",ize="🇬🇾",rze="🇭🇰",sze="🇭🇲",oze="🇭🇳",aze="🇭🇷",lze="🇭🇹",cze="🇭🇺",dze="🇮🇨",uze="🇮🇩",_ze="🇮🇪",pze="🇮🇱",fze="🇮🇲",hze="🇮🇳",mze="🇮🇴",gze="🇮🇶",Eze="🇮🇷",bze="🇮🇸",Sze="🇮🇹",yze="🇯🇪",vze="🇯🇲",Tze="🇯🇴",xze="🇯🇵",Cze="🇰🇪",Rze="🇰🇬",Aze="🇰🇭",wze="🇰🇮",Oze="🇰🇲",Nze="🇰🇳",Mze="🇰🇵",Ize="🇰🇷",Dze="🇰🇼",Lze="🇰🇾",kze="🇰🇿",Pze="🇱🇦",Uze="🇱🇧",Fze="🇱🇨",Bze="🇱🇮",Gze="🇱🇰",zze="🇱🇷",Hze="🇱🇸",Vze="🇱🇹",qze="🇱🇺",Yze="🇱🇻",$ze="🇱🇾",Wze="🇲🇦",Kze="🇲🇨",jze="🇲🇩",Qze="🇲🇪",Xze="🇲🇫",Zze="🇲🇬",Jze="🇲🇭",eHe="🇲🇰",tHe="🇲🇱",nHe="🇲🇲",iHe="🇲🇳",rHe="🇲🇴",sHe="🇲🇵",oHe="🇲🇶",aHe="🇲🇷",lHe="🇲🇸",cHe="🇲🇹",dHe="🇲🇺",uHe="🇲🇻",_He="🇲🇼",pHe="🇲🇽",fHe="🇲🇾",hHe="🇲🇿",mHe="🇳🇦",gHe="🇳🇨",EHe="🇳🇪",bHe="🇳🇫",SHe="🇳🇬",yHe="🇳🇮",vHe="🇳🇱",THe="🇳🇴",xHe="🇳🇵",CHe="🇳🇷",RHe="🇳🇺",AHe="🇳🇿",wHe="🇴🇲",OHe="🇵🇦",NHe="🇵🇪",MHe="🇵🇫",IHe="🇵🇬",DHe="🇵🇭",LHe="🇵🇰",kHe="🇵🇱",PHe="🇵🇲",UHe="🇵🇳",FHe="🇵🇷",BHe="🇵🇸",GHe="🇵🇹",zHe="🇵🇼",HHe="🇵🇾",VHe="🇶🇦",qHe="🇷🇪",YHe="🇷🇴",$He="🇷🇸",WHe="🇷🇺",KHe="🇷🇼",jHe="🇸🇦",QHe="🇸🇧",XHe="🇸🇨",ZHe="🇸🇩",JHe="🇸🇪",eVe="🇸🇬",tVe="🇸🇭",nVe="🇸🇮",iVe="🇸🇯",rVe="🇸🇰",sVe="🇸🇱",oVe="🇸🇲",aVe="🇸🇳",lVe="🇸🇴",cVe="🇸🇷",dVe="🇸🇸",uVe="🇸🇹",_Ve="🇸🇻",pVe="🇸🇽",fVe="🇸🇾",hVe="🇸🇿",mVe="🇹🇦",gVe="🇹🇨",EVe="🇹🇩",bVe="🇹🇫",SVe="🇹🇬",yVe="🇹🇭",vVe="🇹🇯",TVe="🇹🇰",xVe="🇹🇱",CVe="🇹🇲",RVe="🇹🇳",AVe="🇹🇴",wVe="🇹🇷",OVe="🇹🇹",NVe="🇹🇻",MVe="🇹🇼",IVe="🇹🇿",DVe="🇺🇦",LVe="🇺🇬",kVe="🇺🇲",PVe="🇺🇳",UVe="🇺🇸",FVe="🇺🇾",BVe="🇺🇿",GVe="🇻🇦",zVe="🇻🇨",HVe="🇻🇪",VVe="🇻🇬",qVe="🇻🇮",YVe="🇻🇳",$Ve="🇻🇺",WVe="🇼🇫",KVe="🇼🇸",jVe="🇽🇰",QVe="🇾🇪",XVe="🇾🇹",ZVe="🇿🇦",JVe="🇿🇲",e8e="🇿🇼",t8e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",n8e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",i8e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",r8e={100:"💯",1234:"🔢",grinning:hge,smiley:mge,smile:gge,grin:Ege,laughing:bge,satisfied:Sge,sweat_smile:yge,rofl:vge,joy:Tge,slightly_smiling_face:xge,upside_down_face:Cge,wink:Rge,blush:Age,innocent:wge,smiling_face_with_three_hearts:Oge,heart_eyes:Nge,star_struck:Mge,kissing_heart:Ige,kissing:Dge,relaxed:Lge,kissing_closed_eyes:kge,kissing_smiling_eyes:Pge,smiling_face_with_tear:Uge,yum:Fge,stuck_out_tongue:Bge,stuck_out_tongue_winking_eye:Gge,zany_face:zge,stuck_out_tongue_closed_eyes:Hge,money_mouth_face:Vge,hugs:qge,hand_over_mouth:Yge,shushing_face:$ge,thinking:Wge,zipper_mouth_face:Kge,raised_eyebrow:jge,neutral_face:Qge,expressionless:Xge,no_mouth:Zge,smirk:Jge,unamused:eEe,roll_eyes:tEe,grimacing:nEe,lying_face:iEe,relieved:rEe,pensive:sEe,sleepy:oEe,drooling_face:aEe,sleeping:lEe,mask:cEe,face_with_thermometer:dEe,face_with_head_bandage:uEe,nauseated_face:_Ee,vomiting_face:pEe,sneezing_face:fEe,hot_face:hEe,cold_face:mEe,woozy_face:gEe,dizzy_face:EEe,exploding_head:bEe,cowboy_hat_face:SEe,partying_face:yEe,disguised_face:vEe,sunglasses:TEe,nerd_face:xEe,monocle_face:CEe,confused:REe,worried:AEe,slightly_frowning_face:wEe,frowning_face:OEe,open_mouth:NEe,hushed:MEe,astonished:IEe,flushed:DEe,pleading_face:LEe,frowning:kEe,anguished:PEe,fearful:UEe,cold_sweat:FEe,disappointed_relieved:BEe,cry:GEe,sob:zEe,scream:HEe,confounded:VEe,persevere:qEe,disappointed:YEe,sweat:$Ee,weary:WEe,tired_face:KEe,yawning_face:jEe,triumph:QEe,rage:XEe,pout:ZEe,angry:JEe,cursing_face:ebe,smiling_imp:tbe,imp:nbe,skull:ibe,skull_and_crossbones:rbe,hankey:sbe,poop:obe,shit:abe,clown_face:lbe,japanese_ogre:cbe,japanese_goblin:dbe,ghost:ube,alien:_be,space_invader:pbe,robot:fbe,smiley_cat:hbe,smile_cat:mbe,joy_cat:gbe,heart_eyes_cat:Ebe,smirk_cat:bbe,kissing_cat:Sbe,scream_cat:ybe,crying_cat_face:vbe,pouting_cat:Tbe,see_no_evil:xbe,hear_no_evil:Cbe,speak_no_evil:Rbe,kiss:Abe,love_letter:wbe,cupid:Obe,gift_heart:Nbe,sparkling_heart:Mbe,heartpulse:Ibe,heartbeat:Dbe,revolving_hearts:Lbe,two_hearts:kbe,heart_decoration:Pbe,heavy_heart_exclamation:Ube,broken_heart:Fbe,heart:Bbe,orange_heart:Gbe,yellow_heart:zbe,green_heart:Hbe,blue_heart:Vbe,purple_heart:qbe,brown_heart:Ybe,black_heart:$be,white_heart:Wbe,anger:Kbe,boom:jbe,collision:Qbe,dizzy:Xbe,sweat_drops:Zbe,dash:Jbe,hole:eSe,bomb:tSe,speech_balloon:nSe,eye_speech_bubble:iSe,left_speech_bubble:rSe,right_anger_bubble:sSe,thought_balloon:oSe,zzz:aSe,wave:lSe,raised_back_of_hand:cSe,raised_hand_with_fingers_splayed:dSe,hand:uSe,raised_hand:_Se,vulcan_salute:pSe,ok_hand:fSe,pinched_fingers:hSe,pinching_hand:mSe,v:gSe,crossed_fingers:ESe,love_you_gesture:bSe,metal:SSe,call_me_hand:ySe,point_left:vSe,point_right:TSe,point_up_2:xSe,middle_finger:CSe,fu:RSe,point_down:ASe,point_up:wSe,"+1":"👍",thumbsup:OSe,"-1":"👎",thumbsdown:NSe,fist_raised:MSe,fist:ISe,fist_oncoming:DSe,facepunch:LSe,punch:kSe,fist_left:PSe,fist_right:USe,clap:FSe,raised_hands:BSe,open_hands:GSe,palms_up_together:zSe,handshake:HSe,pray:VSe,writing_hand:qSe,nail_care:YSe,selfie:$Se,muscle:WSe,mechanical_arm:KSe,mechanical_leg:jSe,leg:QSe,foot:XSe,ear:ZSe,ear_with_hearing_aid:JSe,nose:eye,brain:tye,anatomical_heart:nye,lungs:iye,tooth:rye,bone:sye,eyes:oye,eye:aye,tongue:lye,lips:cye,baby:dye,child:uye,boy:_ye,girl:pye,adult:fye,blond_haired_person:hye,man:mye,bearded_person:gye,red_haired_man:Eye,curly_haired_man:bye,white_haired_man:Sye,bald_man:yye,woman:vye,red_haired_woman:Tye,person_red_hair:xye,curly_haired_woman:Cye,person_curly_hair:Rye,white_haired_woman:Aye,person_white_hair:wye,bald_woman:Oye,person_bald:Nye,blond_haired_woman:Mye,blonde_woman:Iye,blond_haired_man:Dye,older_adult:Lye,older_man:kye,older_woman:Pye,frowning_person:Uye,frowning_man:Fye,frowning_woman:Bye,pouting_face:Gye,pouting_man:zye,pouting_woman:Hye,no_good:Vye,no_good_man:qye,ng_man:Yye,no_good_woman:$ye,ng_woman:Wye,ok_person:Kye,ok_man:jye,ok_woman:Qye,tipping_hand_person:Xye,information_desk_person:Zye,tipping_hand_man:Jye,sassy_man:eve,tipping_hand_woman:tve,sassy_woman:nve,raising_hand:ive,raising_hand_man:rve,raising_hand_woman:sve,deaf_person:ove,deaf_man:ave,deaf_woman:lve,bow:cve,bowing_man:dve,bowing_woman:uve,facepalm:_ve,man_facepalming:pve,woman_facepalming:fve,shrug:hve,man_shrugging:mve,woman_shrugging:gve,health_worker:Eve,man_health_worker:bve,woman_health_worker:Sve,student:yve,man_student:vve,woman_student:Tve,teacher:xve,man_teacher:Cve,woman_teacher:Rve,judge:Ave,man_judge:wve,woman_judge:Ove,farmer:Nve,man_farmer:Mve,woman_farmer:Ive,cook:Dve,man_cook:Lve,woman_cook:kve,mechanic:Pve,man_mechanic:Uve,woman_mechanic:Fve,factory_worker:Bve,man_factory_worker:Gve,woman_factory_worker:zve,office_worker:Hve,man_office_worker:Vve,woman_office_worker:qve,scientist:Yve,man_scientist:$ve,woman_scientist:Wve,technologist:Kve,man_technologist:jve,woman_technologist:Qve,singer:Xve,man_singer:Zve,woman_singer:Jve,artist:eTe,man_artist:tTe,woman_artist:nTe,pilot:iTe,man_pilot:rTe,woman_pilot:sTe,astronaut:oTe,man_astronaut:aTe,woman_astronaut:lTe,firefighter:cTe,man_firefighter:dTe,woman_firefighter:uTe,police_officer:_Te,cop:pTe,policeman:fTe,policewoman:hTe,detective:mTe,male_detective:gTe,female_detective:ETe,guard:bTe,guardsman:STe,guardswoman:yTe,ninja:vTe,construction_worker:TTe,construction_worker_man:xTe,construction_worker_woman:CTe,prince:RTe,princess:ATe,person_with_turban:wTe,man_with_turban:OTe,woman_with_turban:NTe,man_with_gua_pi_mao:MTe,woman_with_headscarf:ITe,person_in_tuxedo:DTe,man_in_tuxedo:LTe,woman_in_tuxedo:kTe,person_with_veil:PTe,man_with_veil:UTe,woman_with_veil:FTe,bride_with_veil:BTe,pregnant_woman:GTe,breast_feeding:zTe,woman_feeding_baby:HTe,man_feeding_baby:VTe,person_feeding_baby:qTe,angel:YTe,santa:$Te,mrs_claus:WTe,mx_claus:KTe,superhero:jTe,superhero_man:QTe,superhero_woman:XTe,supervillain:ZTe,supervillain_man:JTe,supervillain_woman:e0e,mage:t0e,mage_man:n0e,mage_woman:i0e,fairy:r0e,fairy_man:s0e,fairy_woman:o0e,vampire:a0e,vampire_man:l0e,vampire_woman:c0e,merperson:d0e,merman:u0e,mermaid:_0e,elf:p0e,elf_man:f0e,elf_woman:h0e,genie:m0e,genie_man:g0e,genie_woman:E0e,zombie:b0e,zombie_man:S0e,zombie_woman:y0e,massage:v0e,massage_man:T0e,massage_woman:x0e,haircut:C0e,haircut_man:R0e,haircut_woman:A0e,walking:w0e,walking_man:O0e,walking_woman:N0e,standing_person:M0e,standing_man:I0e,standing_woman:D0e,kneeling_person:L0e,kneeling_man:k0e,kneeling_woman:P0e,person_with_probing_cane:U0e,man_with_probing_cane:F0e,woman_with_probing_cane:B0e,person_in_motorized_wheelchair:G0e,man_in_motorized_wheelchair:z0e,woman_in_motorized_wheelchair:H0e,person_in_manual_wheelchair:V0e,man_in_manual_wheelchair:q0e,woman_in_manual_wheelchair:Y0e,runner:$0e,running:W0e,running_man:K0e,running_woman:j0e,woman_dancing:Q0e,dancer:X0e,man_dancing:Z0e,business_suit_levitating:J0e,dancers:exe,dancing_men:txe,dancing_women:nxe,sauna_person:ixe,sauna_man:rxe,sauna_woman:sxe,climbing:oxe,climbing_man:axe,climbing_woman:lxe,person_fencing:cxe,horse_racing:dxe,skier:uxe,snowboarder:_xe,golfing:pxe,golfing_man:fxe,golfing_woman:hxe,surfer:mxe,surfing_man:gxe,surfing_woman:Exe,rowboat:bxe,rowing_man:Sxe,rowing_woman:yxe,swimmer:vxe,swimming_man:Txe,swimming_woman:xxe,bouncing_ball_person:Cxe,bouncing_ball_man:Rxe,basketball_man:Axe,bouncing_ball_woman:wxe,basketball_woman:Oxe,weight_lifting:Nxe,weight_lifting_man:Mxe,weight_lifting_woman:Ixe,bicyclist:Dxe,biking_man:Lxe,biking_woman:kxe,mountain_bicyclist:Pxe,mountain_biking_man:Uxe,mountain_biking_woman:Fxe,cartwheeling:Bxe,man_cartwheeling:Gxe,woman_cartwheeling:zxe,wrestling:Hxe,men_wrestling:Vxe,women_wrestling:qxe,water_polo:Yxe,man_playing_water_polo:$xe,woman_playing_water_polo:Wxe,handball_person:Kxe,man_playing_handball:jxe,woman_playing_handball:Qxe,juggling_person:Xxe,man_juggling:Zxe,woman_juggling:Jxe,lotus_position:eCe,lotus_position_man:tCe,lotus_position_woman:nCe,bath:iCe,sleeping_bed:rCe,people_holding_hands:sCe,two_women_holding_hands:oCe,couple:aCe,two_men_holding_hands:lCe,couplekiss:cCe,couplekiss_man_woman:dCe,couplekiss_man_man:uCe,couplekiss_woman_woman:_Ce,couple_with_heart:pCe,couple_with_heart_woman_man:fCe,couple_with_heart_man_man:hCe,couple_with_heart_woman_woman:mCe,family:gCe,family_man_woman_boy:ECe,family_man_woman_girl:bCe,family_man_woman_girl_boy:SCe,family_man_woman_boy_boy:yCe,family_man_woman_girl_girl:vCe,family_man_man_boy:TCe,family_man_man_girl:xCe,family_man_man_girl_boy:CCe,family_man_man_boy_boy:RCe,family_man_man_girl_girl:ACe,family_woman_woman_boy:wCe,family_woman_woman_girl:OCe,family_woman_woman_girl_boy:NCe,family_woman_woman_boy_boy:MCe,family_woman_woman_girl_girl:ICe,family_man_boy:DCe,family_man_boy_boy:LCe,family_man_girl:kCe,family_man_girl_boy:PCe,family_man_girl_girl:UCe,family_woman_boy:FCe,family_woman_boy_boy:BCe,family_woman_girl:GCe,family_woman_girl_boy:zCe,family_woman_girl_girl:HCe,speaking_head:VCe,bust_in_silhouette:qCe,busts_in_silhouette:YCe,people_hugging:$Ce,footprints:WCe,monkey_face:KCe,monkey:jCe,gorilla:QCe,orangutan:XCe,dog:ZCe,dog2:JCe,guide_dog:eRe,service_dog:tRe,poodle:nRe,wolf:iRe,fox_face:rRe,raccoon:sRe,cat:oRe,cat2:aRe,black_cat:lRe,lion:cRe,tiger:dRe,tiger2:uRe,leopard:_Re,horse:pRe,racehorse:fRe,unicorn:hRe,zebra:mRe,deer:gRe,bison:ERe,cow:bRe,ox:SRe,water_buffalo:yRe,cow2:vRe,pig:TRe,pig2:xRe,boar:CRe,pig_nose:RRe,ram:ARe,sheep:wRe,goat:ORe,dromedary_camel:NRe,camel:MRe,llama:IRe,giraffe:DRe,elephant:LRe,mammoth:kRe,rhinoceros:PRe,hippopotamus:URe,mouse:FRe,mouse2:BRe,rat:GRe,hamster:zRe,rabbit:HRe,rabbit2:VRe,chipmunk:qRe,beaver:YRe,hedgehog:$Re,bat:WRe,bear:KRe,polar_bear:jRe,koala:QRe,panda_face:XRe,sloth:ZRe,otter:JRe,skunk:eAe,kangaroo:tAe,badger:nAe,feet:iAe,paw_prints:rAe,turkey:sAe,chicken:oAe,rooster:aAe,hatching_chick:lAe,baby_chick:cAe,hatched_chick:dAe,bird:uAe,penguin:_Ae,dove:pAe,eagle:fAe,duck:hAe,swan:mAe,owl:gAe,dodo:EAe,feather:bAe,flamingo:SAe,peacock:yAe,parrot:vAe,frog:TAe,crocodile:xAe,turtle:CAe,lizard:RAe,snake:AAe,dragon_face:wAe,dragon:OAe,sauropod:NAe,"t-rex":"🦖",whale:MAe,whale2:IAe,dolphin:DAe,flipper:LAe,seal:kAe,fish:PAe,tropical_fish:UAe,blowfish:FAe,shark:BAe,octopus:GAe,shell:zAe,snail:HAe,butterfly:VAe,bug:qAe,ant:YAe,bee:$Ae,honeybee:WAe,beetle:KAe,lady_beetle:jAe,cricket:QAe,cockroach:XAe,spider:ZAe,spider_web:JAe,scorpion:e1e,mosquito:t1e,fly:n1e,worm:i1e,microbe:r1e,bouquet:s1e,cherry_blossom:o1e,white_flower:a1e,rosette:l1e,rose:c1e,wilted_flower:d1e,hibiscus:u1e,sunflower:_1e,blossom:p1e,tulip:f1e,seedling:h1e,potted_plant:m1e,evergreen_tree:g1e,deciduous_tree:E1e,palm_tree:b1e,cactus:S1e,ear_of_rice:y1e,herb:v1e,shamrock:T1e,four_leaf_clover:x1e,maple_leaf:C1e,fallen_leaf:R1e,leaves:A1e,grapes:w1e,melon:O1e,watermelon:N1e,tangerine:M1e,orange:I1e,mandarin:D1e,lemon:L1e,banana:k1e,pineapple:P1e,mango:U1e,apple:F1e,green_apple:B1e,pear:G1e,peach:z1e,cherries:H1e,strawberry:V1e,blueberries:q1e,kiwi_fruit:Y1e,tomato:$1e,olive:W1e,coconut:K1e,avocado:j1e,eggplant:Q1e,potato:X1e,carrot:Z1e,corn:J1e,hot_pepper:ewe,bell_pepper:twe,cucumber:nwe,leafy_green:iwe,broccoli:rwe,garlic:swe,onion:owe,mushroom:awe,peanuts:lwe,chestnut:cwe,bread:dwe,croissant:uwe,baguette_bread:_we,flatbread:pwe,pretzel:fwe,bagel:hwe,pancakes:mwe,waffle:gwe,cheese:Ewe,meat_on_bone:bwe,poultry_leg:Swe,cut_of_meat:ywe,bacon:vwe,hamburger:Twe,fries:xwe,pizza:Cwe,hotdog:Rwe,sandwich:Awe,taco:wwe,burrito:Owe,tamale:Nwe,stuffed_flatbread:Mwe,falafel:Iwe,egg:Dwe,fried_egg:Lwe,shallow_pan_of_food:kwe,stew:Pwe,fondue:Uwe,bowl_with_spoon:Fwe,green_salad:Bwe,popcorn:Gwe,butter:zwe,salt:Hwe,canned_food:Vwe,bento:qwe,rice_cracker:Ywe,rice_ball:$we,rice:Wwe,curry:Kwe,ramen:jwe,spaghetti:Qwe,sweet_potato:Xwe,oden:Zwe,sushi:Jwe,fried_shrimp:eOe,fish_cake:tOe,moon_cake:nOe,dango:iOe,dumpling:rOe,fortune_cookie:sOe,takeout_box:oOe,crab:aOe,lobster:lOe,shrimp:cOe,squid:dOe,oyster:uOe,icecream:_Oe,shaved_ice:pOe,ice_cream:fOe,doughnut:hOe,cookie:mOe,birthday:gOe,cake:EOe,cupcake:bOe,pie:SOe,chocolate_bar:yOe,candy:vOe,lollipop:TOe,custard:xOe,honey_pot:COe,baby_bottle:ROe,milk_glass:AOe,coffee:wOe,teapot:OOe,tea:NOe,sake:MOe,champagne:IOe,wine_glass:DOe,cocktail:LOe,tropical_drink:kOe,beer:POe,beers:UOe,clinking_glasses:FOe,tumbler_glass:BOe,cup_with_straw:GOe,bubble_tea:zOe,beverage_box:HOe,mate:VOe,ice_cube:qOe,chopsticks:YOe,plate_with_cutlery:$Oe,fork_and_knife:WOe,spoon:KOe,hocho:jOe,knife:QOe,amphora:XOe,earth_africa:ZOe,earth_americas:JOe,earth_asia:eNe,globe_with_meridians:tNe,world_map:nNe,japan:iNe,compass:rNe,mountain_snow:sNe,mountain:oNe,volcano:aNe,mount_fuji:lNe,camping:cNe,beach_umbrella:dNe,desert:uNe,desert_island:_Ne,national_park:pNe,stadium:fNe,classical_building:hNe,building_construction:mNe,bricks:gNe,rock:ENe,wood:bNe,hut:SNe,houses:yNe,derelict_house:vNe,house:TNe,house_with_garden:xNe,office:CNe,post_office:RNe,european_post_office:ANe,hospital:wNe,bank:ONe,hotel:NNe,love_hotel:MNe,convenience_store:INe,school:DNe,department_store:LNe,factory:kNe,japanese_castle:PNe,european_castle:UNe,wedding:FNe,tokyo_tower:BNe,statue_of_liberty:GNe,church:zNe,mosque:HNe,hindu_temple:VNe,synagogue:qNe,shinto_shrine:YNe,kaaba:$Ne,fountain:WNe,tent:KNe,foggy:jNe,night_with_stars:QNe,cityscape:XNe,sunrise_over_mountains:ZNe,sunrise:JNe,city_sunset:eMe,city_sunrise:tMe,bridge_at_night:nMe,hotsprings:iMe,carousel_horse:rMe,ferris_wheel:sMe,roller_coaster:oMe,barber:aMe,circus_tent:lMe,steam_locomotive:cMe,railway_car:dMe,bullettrain_side:uMe,bullettrain_front:_Me,train2:pMe,metro:fMe,light_rail:hMe,station:mMe,tram:gMe,monorail:EMe,mountain_railway:bMe,train:SMe,bus:yMe,oncoming_bus:vMe,trolleybus:TMe,minibus:xMe,ambulance:CMe,fire_engine:RMe,police_car:AMe,oncoming_police_car:wMe,taxi:OMe,oncoming_taxi:NMe,car:MMe,red_car:IMe,oncoming_automobile:DMe,blue_car:LMe,pickup_truck:kMe,truck:PMe,articulated_lorry:UMe,tractor:FMe,racing_car:BMe,motorcycle:GMe,motor_scooter:zMe,manual_wheelchair:HMe,motorized_wheelchair:VMe,auto_rickshaw:qMe,bike:YMe,kick_scooter:$Me,skateboard:WMe,roller_skate:KMe,busstop:jMe,motorway:QMe,railway_track:XMe,oil_drum:ZMe,fuelpump:JMe,rotating_light:eIe,traffic_light:tIe,vertical_traffic_light:nIe,stop_sign:iIe,construction:rIe,anchor:sIe,boat:oIe,sailboat:aIe,canoe:lIe,speedboat:cIe,passenger_ship:dIe,ferry:uIe,motor_boat:_Ie,ship:pIe,airplane:fIe,small_airplane:hIe,flight_departure:mIe,flight_arrival:gIe,parachute:EIe,seat:bIe,helicopter:SIe,suspension_railway:yIe,mountain_cableway:vIe,aerial_tramway:TIe,artificial_satellite:xIe,rocket:CIe,flying_saucer:RIe,bellhop_bell:AIe,luggage:wIe,hourglass:OIe,hourglass_flowing_sand:NIe,watch:MIe,alarm_clock:IIe,stopwatch:DIe,timer_clock:LIe,mantelpiece_clock:kIe,clock12:PIe,clock1230:UIe,clock1:FIe,clock130:BIe,clock2:GIe,clock230:zIe,clock3:HIe,clock330:VIe,clock4:qIe,clock430:YIe,clock5:$Ie,clock530:WIe,clock6:KIe,clock630:jIe,clock7:QIe,clock730:XIe,clock8:ZIe,clock830:JIe,clock9:eDe,clock930:tDe,clock10:nDe,clock1030:iDe,clock11:rDe,clock1130:sDe,new_moon:oDe,waxing_crescent_moon:aDe,first_quarter_moon:lDe,moon:cDe,waxing_gibbous_moon:dDe,full_moon:uDe,waning_gibbous_moon:_De,last_quarter_moon:pDe,waning_crescent_moon:fDe,crescent_moon:hDe,new_moon_with_face:mDe,first_quarter_moon_with_face:gDe,last_quarter_moon_with_face:EDe,thermometer:bDe,sunny:SDe,full_moon_with_face:yDe,sun_with_face:vDe,ringed_planet:TDe,star:xDe,star2:CDe,stars:RDe,milky_way:ADe,cloud:wDe,partly_sunny:ODe,cloud_with_lightning_and_rain:NDe,sun_behind_small_cloud:MDe,sun_behind_large_cloud:IDe,sun_behind_rain_cloud:DDe,cloud_with_rain:LDe,cloud_with_snow:kDe,cloud_with_lightning:PDe,tornado:UDe,fog:FDe,wind_face:BDe,cyclone:GDe,rainbow:zDe,closed_umbrella:HDe,open_umbrella:VDe,umbrella:qDe,parasol_on_ground:YDe,zap:$De,snowflake:WDe,snowman_with_snow:KDe,snowman:jDe,comet:QDe,fire:XDe,droplet:ZDe,ocean:JDe,jack_o_lantern:e2e,christmas_tree:t2e,fireworks:n2e,sparkler:i2e,firecracker:r2e,sparkles:s2e,balloon:o2e,tada:a2e,confetti_ball:l2e,tanabata_tree:c2e,bamboo:d2e,dolls:u2e,flags:_2e,wind_chime:p2e,rice_scene:f2e,red_envelope:h2e,ribbon:m2e,gift:g2e,reminder_ribbon:E2e,tickets:b2e,ticket:S2e,medal_military:y2e,trophy:v2e,medal_sports:T2e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:x2e,baseball:C2e,softball:R2e,basketball:A2e,volleyball:w2e,football:O2e,rugby_football:N2e,tennis:M2e,flying_disc:I2e,bowling:D2e,cricket_game:L2e,field_hockey:k2e,ice_hockey:P2e,lacrosse:U2e,ping_pong:F2e,badminton:B2e,boxing_glove:G2e,martial_arts_uniform:z2e,goal_net:H2e,golf:V2e,ice_skate:q2e,fishing_pole_and_fish:Y2e,diving_mask:$2e,running_shirt_with_sash:W2e,ski:K2e,sled:j2e,curling_stone:Q2e,dart:X2e,yo_yo:Z2e,kite:J2e,"8ball":"🎱",crystal_ball:eLe,magic_wand:tLe,nazar_amulet:nLe,video_game:iLe,joystick:rLe,slot_machine:sLe,game_die:oLe,jigsaw:aLe,teddy_bear:lLe,pinata:cLe,nesting_dolls:dLe,spades:uLe,hearts:_Le,diamonds:pLe,clubs:fLe,chess_pawn:hLe,black_joker:mLe,mahjong:gLe,flower_playing_cards:ELe,performing_arts:bLe,framed_picture:SLe,art:yLe,thread:vLe,sewing_needle:TLe,yarn:xLe,knot:CLe,eyeglasses:RLe,dark_sunglasses:ALe,goggles:wLe,lab_coat:OLe,safety_vest:NLe,necktie:MLe,shirt:ILe,tshirt:DLe,jeans:LLe,scarf:kLe,gloves:PLe,coat:ULe,socks:FLe,dress:BLe,kimono:GLe,sari:zLe,one_piece_swimsuit:HLe,swim_brief:VLe,shorts:qLe,bikini:YLe,womans_clothes:$Le,purse:WLe,handbag:KLe,pouch:jLe,shopping:QLe,school_satchel:XLe,thong_sandal:ZLe,mans_shoe:JLe,shoe:eke,athletic_shoe:tke,hiking_boot:nke,flat_shoe:ike,high_heel:rke,sandal:ske,ballet_shoes:oke,boot:ake,crown:lke,womans_hat:cke,tophat:dke,mortar_board:uke,billed_cap:_ke,military_helmet:pke,rescue_worker_helmet:fke,prayer_beads:hke,lipstick:mke,ring:gke,gem:Eke,mute:bke,speaker:Ske,sound:yke,loud_sound:vke,loudspeaker:Tke,mega:xke,postal_horn:Cke,bell:Rke,no_bell:Ake,musical_score:wke,musical_note:Oke,notes:Nke,studio_microphone:Mke,level_slider:Ike,control_knobs:Dke,microphone:Lke,headphones:kke,radio:Pke,saxophone:Uke,accordion:Fke,guitar:Bke,musical_keyboard:Gke,trumpet:zke,violin:Hke,banjo:Vke,drum:qke,long_drum:Yke,iphone:$ke,calling:Wke,phone:Kke,telephone:jke,telephone_receiver:Qke,pager:Xke,fax:Zke,battery:Jke,electric_plug:ePe,computer:tPe,desktop_computer:nPe,printer:iPe,keyboard:rPe,computer_mouse:sPe,trackball:oPe,minidisc:aPe,floppy_disk:lPe,cd:cPe,dvd:dPe,abacus:uPe,movie_camera:_Pe,film_strip:pPe,film_projector:fPe,clapper:hPe,tv:mPe,camera:gPe,camera_flash:EPe,video_camera:bPe,vhs:SPe,mag:yPe,mag_right:vPe,candle:TPe,bulb:xPe,flashlight:CPe,izakaya_lantern:RPe,lantern:APe,diya_lamp:wPe,notebook_with_decorative_cover:OPe,closed_book:NPe,book:MPe,open_book:IPe,green_book:DPe,blue_book:LPe,orange_book:kPe,books:PPe,notebook:UPe,ledger:FPe,page_with_curl:BPe,scroll:GPe,page_facing_up:zPe,newspaper:HPe,newspaper_roll:VPe,bookmark_tabs:qPe,bookmark:YPe,label:$Pe,moneybag:WPe,coin:KPe,yen:jPe,dollar:QPe,euro:XPe,pound:ZPe,money_with_wings:JPe,credit_card:eUe,receipt:tUe,chart:nUe,envelope:iUe,email:rUe,"e-mail":"📧",incoming_envelope:sUe,envelope_with_arrow:oUe,outbox_tray:aUe,inbox_tray:lUe,package:"📦",mailbox:cUe,mailbox_closed:dUe,mailbox_with_mail:uUe,mailbox_with_no_mail:_Ue,postbox:pUe,ballot_box:fUe,pencil2:hUe,black_nib:mUe,fountain_pen:gUe,pen:EUe,paintbrush:bUe,crayon:SUe,memo:yUe,pencil:vUe,briefcase:TUe,file_folder:xUe,open_file_folder:CUe,card_index_dividers:RUe,date:AUe,calendar:wUe,spiral_notepad:OUe,spiral_calendar:NUe,card_index:MUe,chart_with_upwards_trend:IUe,chart_with_downwards_trend:DUe,bar_chart:LUe,clipboard:kUe,pushpin:PUe,round_pushpin:UUe,paperclip:FUe,paperclips:BUe,straight_ruler:GUe,triangular_ruler:zUe,scissors:HUe,card_file_box:VUe,file_cabinet:qUe,wastebasket:YUe,lock:$Ue,unlock:WUe,lock_with_ink_pen:KUe,closed_lock_with_key:jUe,key:QUe,old_key:XUe,hammer:ZUe,axe:JUe,pick:eFe,hammer_and_pick:tFe,hammer_and_wrench:nFe,dagger:iFe,crossed_swords:rFe,gun:sFe,boomerang:oFe,bow_and_arrow:aFe,shield:lFe,carpentry_saw:cFe,wrench:dFe,screwdriver:uFe,nut_and_bolt:_Fe,gear:pFe,clamp:fFe,balance_scale:hFe,probing_cane:mFe,link:gFe,chains:EFe,hook:bFe,toolbox:SFe,magnet:yFe,ladder:vFe,alembic:TFe,test_tube:xFe,petri_dish:CFe,dna:RFe,microscope:AFe,telescope:wFe,satellite:OFe,syringe:NFe,drop_of_blood:MFe,pill:IFe,adhesive_bandage:DFe,stethoscope:LFe,door:kFe,elevator:PFe,mirror:UFe,window:FFe,bed:BFe,couch_and_lamp:GFe,chair:zFe,toilet:HFe,plunger:VFe,shower:qFe,bathtub:YFe,mouse_trap:$Fe,razor:WFe,lotion_bottle:KFe,safety_pin:jFe,broom:QFe,basket:XFe,roll_of_paper:ZFe,bucket:JFe,soap:eBe,toothbrush:tBe,sponge:nBe,fire_extinguisher:iBe,shopping_cart:rBe,smoking:sBe,coffin:oBe,headstone:aBe,funeral_urn:lBe,moyai:cBe,placard:dBe,atm:uBe,put_litter_in_its_place:_Be,potable_water:pBe,wheelchair:fBe,mens:hBe,womens:mBe,restroom:gBe,baby_symbol:EBe,wc:bBe,passport_control:SBe,customs:yBe,baggage_claim:vBe,left_luggage:TBe,warning:xBe,children_crossing:CBe,no_entry:RBe,no_entry_sign:ABe,no_bicycles:wBe,no_smoking:OBe,do_not_litter:NBe,"non-potable_water":"🚱",no_pedestrians:MBe,no_mobile_phones:IBe,underage:DBe,radioactive:LBe,biohazard:kBe,arrow_up:PBe,arrow_upper_right:UBe,arrow_right:FBe,arrow_lower_right:BBe,arrow_down:GBe,arrow_lower_left:zBe,arrow_left:HBe,arrow_upper_left:VBe,arrow_up_down:qBe,left_right_arrow:YBe,leftwards_arrow_with_hook:$Be,arrow_right_hook:WBe,arrow_heading_up:KBe,arrow_heading_down:jBe,arrows_clockwise:QBe,arrows_counterclockwise:XBe,back:ZBe,end:JBe,on:e3e,soon:t3e,top:n3e,place_of_worship:i3e,atom_symbol:r3e,om:s3e,star_of_david:o3e,wheel_of_dharma:a3e,yin_yang:l3e,latin_cross:c3e,orthodox_cross:d3e,star_and_crescent:u3e,peace_symbol:_3e,menorah:p3e,six_pointed_star:f3e,aries:h3e,taurus:m3e,gemini:g3e,cancer:E3e,leo:b3e,virgo:S3e,libra:y3e,scorpius:v3e,sagittarius:T3e,capricorn:x3e,aquarius:C3e,pisces:R3e,ophiuchus:A3e,twisted_rightwards_arrows:w3e,repeat:O3e,repeat_one:N3e,arrow_forward:M3e,fast_forward:I3e,next_track_button:D3e,play_or_pause_button:L3e,arrow_backward:k3e,rewind:P3e,previous_track_button:U3e,arrow_up_small:F3e,arrow_double_up:B3e,arrow_down_small:G3e,arrow_double_down:z3e,pause_button:H3e,stop_button:V3e,record_button:q3e,eject_button:Y3e,cinema:$3e,low_brightness:W3e,high_brightness:K3e,signal_strength:j3e,vibration_mode:Q3e,mobile_phone_off:X3e,female_sign:Z3e,male_sign:J3e,transgender_symbol:e4e,heavy_multiplication_x:t4e,heavy_plus_sign:n4e,heavy_minus_sign:i4e,heavy_division_sign:r4e,infinity:s4e,bangbang:o4e,interrobang:a4e,question:l4e,grey_question:c4e,grey_exclamation:d4e,exclamation:u4e,heavy_exclamation_mark:_4e,wavy_dash:p4e,currency_exchange:f4e,heavy_dollar_sign:h4e,medical_symbol:m4e,recycle:g4e,fleur_de_lis:E4e,trident:b4e,name_badge:S4e,beginner:y4e,o:v4e,white_check_mark:T4e,ballot_box_with_check:x4e,heavy_check_mark:C4e,x:R4e,negative_squared_cross_mark:A4e,curly_loop:w4e,loop:O4e,part_alternation_mark:N4e,eight_spoked_asterisk:M4e,eight_pointed_black_star:I4e,sparkle:D4e,copyright:L4e,registered:k4e,tm:P4e,hash:U4e,asterisk:F4e,zero:B4e,one:G4e,two:z4e,three:H4e,four:V4e,five:q4e,six:Y4e,seven:$4e,eight:W4e,nine:K4e,keycap_ten:j4e,capital_abcd:Q4e,abcd:X4e,symbols:Z4e,abc:J4e,a:e5e,ab:t5e,b:n5e,cl:i5e,cool:r5e,free:s5e,information_source:o5e,id:a5e,m:l5e,new:"🆕",ng:c5e,o2:d5e,ok:u5e,parking:_5e,sos:p5e,up:f5e,vs:h5e,koko:m5e,sa:g5e,ideograph_advantage:E5e,accept:b5e,congratulations:S5e,secret:y5e,u6e80:v5e,red_circle:T5e,orange_circle:x5e,yellow_circle:C5e,green_circle:R5e,large_blue_circle:A5e,purple_circle:w5e,brown_circle:O5e,black_circle:N5e,white_circle:M5e,red_square:I5e,orange_square:D5e,yellow_square:L5e,green_square:k5e,blue_square:P5e,purple_square:U5e,brown_square:F5e,black_large_square:B5e,white_large_square:G5e,black_medium_square:z5e,white_medium_square:H5e,black_medium_small_square:V5e,white_medium_small_square:q5e,black_small_square:Y5e,white_small_square:$5e,large_orange_diamond:W5e,large_blue_diamond:K5e,small_orange_diamond:j5e,small_blue_diamond:Q5e,small_red_triangle:X5e,small_red_triangle_down:Z5e,diamond_shape_with_a_dot_inside:J5e,radio_button:eGe,white_square_button:tGe,black_square_button:nGe,checkered_flag:iGe,triangular_flag_on_post:rGe,crossed_flags:sGe,black_flag:oGe,white_flag:aGe,rainbow_flag:lGe,transgender_flag:cGe,pirate_flag:dGe,ascension_island:uGe,andorra:_Ge,united_arab_emirates:pGe,afghanistan:fGe,antigua_barbuda:hGe,anguilla:mGe,albania:gGe,armenia:EGe,angola:bGe,antarctica:SGe,argentina:yGe,american_samoa:vGe,austria:TGe,australia:xGe,aruba:CGe,aland_islands:RGe,azerbaijan:AGe,bosnia_herzegovina:wGe,barbados:OGe,bangladesh:NGe,belgium:MGe,burkina_faso:IGe,bulgaria:DGe,bahrain:LGe,burundi:kGe,benin:PGe,st_barthelemy:UGe,bermuda:FGe,brunei:BGe,bolivia:GGe,caribbean_netherlands:zGe,brazil:HGe,bahamas:VGe,bhutan:qGe,bouvet_island:YGe,botswana:$Ge,belarus:WGe,belize:KGe,canada:jGe,cocos_islands:QGe,congo_kinshasa:XGe,central_african_republic:ZGe,congo_brazzaville:JGe,switzerland:e9e,cote_divoire:t9e,cook_islands:n9e,chile:i9e,cameroon:r9e,cn:s9e,colombia:o9e,clipperton_island:a9e,costa_rica:l9e,cuba:c9e,cape_verde:d9e,curacao:u9e,christmas_island:_9e,cyprus:p9e,czech_republic:f9e,de:h9e,diego_garcia:m9e,djibouti:g9e,denmark:E9e,dominica:b9e,dominican_republic:S9e,algeria:y9e,ceuta_melilla:v9e,ecuador:T9e,estonia:x9e,egypt:C9e,western_sahara:R9e,eritrea:A9e,es:w9e,ethiopia:O9e,eu:N9e,european_union:M9e,finland:I9e,fiji:D9e,falkland_islands:L9e,micronesia:k9e,faroe_islands:P9e,fr:U9e,gabon:F9e,gb:B9e,uk:G9e,grenada:z9e,georgia:H9e,french_guiana:V9e,guernsey:q9e,ghana:Y9e,gibraltar:$9e,greenland:W9e,gambia:K9e,guinea:j9e,guadeloupe:Q9e,equatorial_guinea:X9e,greece:Z9e,south_georgia_south_sandwich_islands:J9e,guatemala:eze,guam:tze,guinea_bissau:nze,guyana:ize,hong_kong:rze,heard_mcdonald_islands:sze,honduras:oze,croatia:aze,haiti:lze,hungary:cze,canary_islands:dze,indonesia:uze,ireland:_ze,israel:pze,isle_of_man:fze,india:hze,british_indian_ocean_territory:mze,iraq:gze,iran:Eze,iceland:bze,it:Sze,jersey:yze,jamaica:vze,jordan:Tze,jp:xze,kenya:Cze,kyrgyzstan:Rze,cambodia:Aze,kiribati:wze,comoros:Oze,st_kitts_nevis:Nze,north_korea:Mze,kr:Ize,kuwait:Dze,cayman_islands:Lze,kazakhstan:kze,laos:Pze,lebanon:Uze,st_lucia:Fze,liechtenstein:Bze,sri_lanka:Gze,liberia:zze,lesotho:Hze,lithuania:Vze,luxembourg:qze,latvia:Yze,libya:$ze,morocco:Wze,monaco:Kze,moldova:jze,montenegro:Qze,st_martin:Xze,madagascar:Zze,marshall_islands:Jze,macedonia:eHe,mali:tHe,myanmar:nHe,mongolia:iHe,macau:rHe,northern_mariana_islands:sHe,martinique:oHe,mauritania:aHe,montserrat:lHe,malta:cHe,mauritius:dHe,maldives:uHe,malawi:_He,mexico:pHe,malaysia:fHe,mozambique:hHe,namibia:mHe,new_caledonia:gHe,niger:EHe,norfolk_island:bHe,nigeria:SHe,nicaragua:yHe,netherlands:vHe,norway:THe,nepal:xHe,nauru:CHe,niue:RHe,new_zealand:AHe,oman:wHe,panama:OHe,peru:NHe,french_polynesia:MHe,papua_new_guinea:IHe,philippines:DHe,pakistan:LHe,poland:kHe,st_pierre_miquelon:PHe,pitcairn_islands:UHe,puerto_rico:FHe,palestinian_territories:BHe,portugal:GHe,palau:zHe,paraguay:HHe,qatar:VHe,reunion:qHe,romania:YHe,serbia:$He,ru:WHe,rwanda:KHe,saudi_arabia:jHe,solomon_islands:QHe,seychelles:XHe,sudan:ZHe,sweden:JHe,singapore:eVe,st_helena:tVe,slovenia:nVe,svalbard_jan_mayen:iVe,slovakia:rVe,sierra_leone:sVe,san_marino:oVe,senegal:aVe,somalia:lVe,suriname:cVe,south_sudan:dVe,sao_tome_principe:uVe,el_salvador:_Ve,sint_maarten:pVe,syria:fVe,swaziland:hVe,tristan_da_cunha:mVe,turks_caicos_islands:gVe,chad:EVe,french_southern_territories:bVe,togo:SVe,thailand:yVe,tajikistan:vVe,tokelau:TVe,timor_leste:xVe,turkmenistan:CVe,tunisia:RVe,tonga:AVe,tr:wVe,trinidad_tobago:OVe,tuvalu:NVe,taiwan:MVe,tanzania:IVe,ukraine:DVe,uganda:LVe,us_outlying_islands:kVe,united_nations:PVe,us:UVe,uruguay:FVe,uzbekistan:BVe,vatican_city:GVe,st_vincent_grenadines:zVe,venezuela:HVe,british_virgin_islands:VVe,us_virgin_islands:qVe,vietnam:YVe,vanuatu:$Ve,wallis_futuna:WVe,samoa:KVe,kosovo:jVe,yemen:QVe,mayotte:XVe,south_africa:ZVe,zambia:JVe,zimbabwe:e8e,england:t8e,scotland:n8e,wales:i8e};var s8e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]},o8e=function(e,t){return e[t].content},a8e=function(e,t,i,r,s){var o=e.utils.arrayReplaceAt,a=e.utils.lib.ucmicro,l=new RegExp([a.Z.source,a.P.source,a.Cc.source].join("|"));function c(d,u,_){var f,E=0,b=[];return d.replace(s,function(g,h,m){var S;if(i.hasOwnProperty(g)){if(S=i[g],h>0&&!l.test(m[h-1])||h+g.length<m.length&&!l.test(m[h+g.length]))return}else S=g.slice(1,-1);h>E&&(f=new _("text","",0),f.content=d.slice(E,h),b.push(f)),f=new _("emoji","",0),f.markup=S,f.content=t[S],b.push(f),E=h+g.length}),E<d.length&&(f=new _("text","",0),f.content=d.slice(E),b.push(f)),b}return function(u){var _,f,E,b,g,h=u.tokens,m=0;for(f=0,E=h.length;f<E;f++)if(h[f].type==="inline")for(b=h[f].children,_=b.length-1;_>=0;_--)g=b[_],(g.type==="link_open"||g.type==="link_close")&&g.info==="auto"&&(m-=g.nesting),g.type==="text"&&m===0&&r.test(g.content)&&(h[f].children=b=o(b,_,c(g.content,g.level,u.Token)))}};function l8e(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c8e=function(e){var t=e.defs,i;e.enabled.length&&(t=Object.keys(t).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=t[c]),l},{})),i=Object.keys(e.shortcuts).reduce(function(l,c){return t[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(d){l[d]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var r=Object.keys(t),s;r.length===0?s="^$":s=r.map(function(l){return":"+l+":"}).concat(Object.keys(i)).sort().reverse().map(function(l){return l8e(l)}).join("|");var o=RegExp(s),a=RegExp(s,"g");return{defs:t,shortcuts:i,scanRE:o,replaceRE:a}},d8e=o8e,u8e=a8e,_8e=c8e,p8e=function(e,t){var i={defs:{},shortcuts:{},enabled:[]},r=_8e(e.utils.assign({},i,t||{}));e.renderer.rules.emoji=d8e,e.core.ruler.after("linkify","emoji",u8e(e,r.defs,r.shortcuts,r.scanRE,r.replaceRE))},f8e=r8e,h8e=s8e,m8e=p8e,g8e=function(e,t){var i={defs:f8e,shortcuts:h8e,enabled:[]},r=e.utils.assign({},i,t||{});m8e(e,r)};const E8e=_r(g8e);var py=!1,Vo={false:"push",true:"unshift",after:"push",before:"unshift"},ad={isPermalinkSymbol:!0};function Hm(n,e,t,i){var r;if(!py){var s="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(s):console.warn(s),py=!0}var o=[Object.assign(new t.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(n,t)]],Object.entries(e.permalinkAttrs(n,t)))}),Object.assign(new t.Token("html_block","",0),{content:e.permalinkSymbol,meta:ad}),new t.Token("link_close","a",-1)];e.permalinkSpace&&t.tokens[i+1].children[Vo[e.permalinkBefore]](Object.assign(new t.Token("text","",0),{content:" "})),(r=t.tokens[i+1].children)[Vo[e.permalinkBefore]].apply(r,o)}function Q1(n){return"#"+n}function X1(n){return{}}var b8e={class:"header-anchor",symbol:"#",renderHref:Q1,renderAttrs:X1};function Il(n){function e(t){return t=Object.assign({},e.defaults,t),function(i,r,s,o){return n(i,t,r,s,o)}}return e.defaults=Object.assign({},b8e),e.renderPermalinkImpl=n,e}var tu=Il(function(n,e,t,i,r){var s,o=[Object.assign(new i.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,i)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(n,i)))}),Object.assign(new i.Token("html_inline","",0),{content:e.symbol,meta:ad}),new i.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";i.tokens[r+1].children[Vo[e.placement]](Object.assign(new i.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(s=i.tokens[r+1].children)[Vo[e.placement]].apply(s,o)});Object.assign(tu.defaults,{space:!0,placement:"after",ariaHidden:!1});var _s=Il(tu.renderPermalinkImpl);_s.defaults=Object.assign({},tu.defaults,{ariaHidden:!0});var Z1=Il(function(n,e,t,i,r){var s=[Object.assign(new i.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,i)]],Object.entries(e.renderAttrs(n,i)))})].concat(e.safariReaderFix?[new i.Token("span_open","span",1)]:[],i.tokens[r+1].children,e.safariReaderFix?[new i.Token("span_close","span",-1)]:[],[new i.Token("link_close","a",-1)]);i.tokens[r+1]=Object.assign(new i.Token("inline","",0),{children:s})});Object.assign(Z1.defaults,{safariReaderFix:!1});var fy=Il(function(n,e,t,i,r){var s;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 o=i.tokens[r+1].children.filter(function(u){return u.type==="text"||u.type==="code_inline"}).reduce(function(u,_){return u+_.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(n,i)]),l.push.apply(l,Object.entries(e.renderAttrs(n,i))),e.style==="visually-hidden"){if(a.push(Object.assign(new i.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new i.Token("text","",0),{content:e.assistiveText(o)}),new i.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[Vo[e.placement]](Object.assign(new i.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Vo[e.placement]](Object.assign(new i.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new i.Token("html_inline","",0),{content:e.symbol,meta:ad}),new i.Token("span_close","span",-1))}else a.push(Object.assign(new i.Token("html_inline","",0),{content:e.symbol,meta:ad}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(o)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,n]);var d=[Object.assign(new i.Token("link_open","a",1),{attrs:l})].concat(a,[new i.Token("link_close","a",-1)]);(s=i.tokens).splice.apply(s,[r+3,0].concat(d)),e.wrapper&&(i.tokens.splice(r,0,Object.assign(new i.Token("html_block","",0),{content:e.wrapper[0]+`
 `})),i.tokens.splice(r+3+d.length+1,0,Object.assign(new i.Token("html_block","",0),{content:e.wrapper[1]+`
 `})))});function hy(n,e,t,i){var r=n,s=i;if(t&&Object.prototype.hasOwnProperty.call(e,r))throw new Error("User defined `id` attribute `"+n+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,r);)r=n+"-"+s,s+=1;return e[r]=!0,r}function So(n,e){e=Object.assign({},So.defaults,e),n.core.ruler.push("anchor",function(t){for(var i,r={},s=t.tokens,o=Array.isArray(e.level)?(i=e.level,function(u){return i.includes(u)}):function(u){return function(_){return _>=u}}(e.level),a=0;a<s.length;a++){var l=s[a];if(l.type==="heading_open"&&o(Number(l.tag.substr(1)))){var c=e.getTokensText(s[a+1].children),d=l.attrGet("id");d=d==null?hy(e.slugify(c),r,!1,e.uniqueSlugStartIndex):hy(d,r,!0,e.uniqueSlugStartIndex),l.attrSet("id",d),e.tabIndex!==!1&&l.attrSet("tabindex",""+e.tabIndex),typeof e.permalink=="function"?e.permalink(d,e,t,a):(e.permalink||e.renderPermalink&&e.renderPermalink!==Hm)&&e.renderPermalink(d,e,t,a),a=s.indexOf(l),e.callback&&e.callback(l,{slug:d,title:c})}}})}Object.assign(fy.defaults,{style:"visually-hidden",space:!0,placement:"after",wrapper:null}),So.permalink={__proto__:null,legacy:Hm,renderHref:Q1,renderAttrs:X1,makePermalink:Il,linkInsideHeader:tu,ariaHidden:_s,headerLink:Z1,linkAfterHeader:fy},So.defaults={level:1,slugify:function(n){return encodeURIComponent(String(n).trim().toLowerCase().replace(/\s+/g,"-"))},uniqueSlugStartIndex:1,tabIndex:"-1",getTokensText:function(n){return n.filter(function(e){return["text","code_inline"].includes(e.type)}).map(function(e){return e.content}).join("")},permalink:!1,renderPermalink:Hm,permalinkClass:_s.defaults.class,permalinkSpace:_s.defaults.space,permalinkSymbol:"¶",permalinkBefore:_s.defaults.placement==="before",permalinkHref:_s.defaults.renderHref,permalinkAttrs:_s.defaults.renderAttrs},So.default=So;Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(n){if(typeof n>"u"||n===null)throw new TypeError("Cannot convert first argument to object");for(var e=Object(n),t=1;t<arguments.length;t++){var i=arguments[t];if(!(typeof i>"u"||i===null))for(var r=Object.keys(Object(i)),s=0,o=r.length;s<o;s++){var a=r[s],l=Object.getOwnPropertyDescriptor(i,a);typeof l<"u"&&l.enumerable&&(e[a]=i[a])}}return e}});var Zs={},Ia={},Da={},yn={},my;function J1(){if(my)return yn;my=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.accents=yn.fonts=yn.groupings=yn.operators=yn.identifiers=yn.numbers=void 0;var n={};yn.numbers=n;var e="[0-9²³¹¼-¾٠-٩۰-۹߀-߉०-९০-৯৴-৹੦-੯૦-૯୦-୯୲-୷௦-௲౦-౯౸-౾೦-೯൦-൵๐-๙໐-໙༠-༳၀-၉႐-႙፩-፼ᛮ-ᛰ០-៩៰-៹᠐-᠙᥆-᥏᧐-᧚᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙⁰⁴-⁹₀-₉⅐-ↂↅ-↋①-⒛⓪-⓿❶-➓⳽〇〡-〩〸-〺㆒-㆕㈠-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿零一二三四五六七八九十百千万億兆京垓𥝱秭穣溝澗正載割分厘毛糸忽微繊沙塵埃꘠-꘩ꛦ-ꛯ꠰-꠵꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹0-9]",t=new RegExp(e);Object.defineProperties(n,{digitRange:{value:e},digitRE:{value:t},isdigit:{value:function(u){return u.match(t)}}});var i=["sin","cos","tan","csc","sec","cot","sinh","cosh","tanh","log","ln","det","dim","lim","mod","gcd","lcm","min","max"],r={Gamma:"Γ",Delta:"Δ",Theta:"Θ",Lambda:"Λ",Xi:"Ξ",Pi:"Π",Sigma:"Σ",Phi:"Φ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ɛ",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",pi:"π",rho:"ρ",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",oo:"∞","O/":"∅",CC:"ℂ",NN:"ℕ",QQ:"ℚ",RR:"ℝ",ZZ:"ℤ"};yn.identifiers=r,i.forEach(function(d){r[d]=d}),Object.defineProperty(r,"contains",{value:function(u){return typeof r[u]<"u"}}),Object.defineProperty(r,"funs",{value:i}),Object.defineProperty(r,"isfun",{value:function(u){return i.indexOf(u)>=0}});var s={"*":"·","**":"∗","***":"⋆","//":"/","|":"|",":":":","'":"′","''":"″","'''":"‴","''''":"⁗",xx:"×","-:":"÷","|><":"⋉","><|":"⋊","|><|":"⋈","@":"∘","o+":"⊕",ox:"⊗","o.":"⊙","!":"!",sum:"∑",prod:"∏","^^":"∧","^^^":"⋀",vv:"∨",vvv:"⋁",nn:"∩",nnn:"⋂",uu:"∪",uuu:"⋃",int:"∫",oint:"∮",dint:"∬","+-":"±",del:"∂",grad:"∇",aleph:"ℵ","/_":"∠",diamond:"⋄",square:"□","|__":"⌊","__|":"⌋","|~":"⌈","~|":"⌉","=":"=","!=":"≠","<":"&lt;",">":"&gt;","<=":"≤",">=":"≥","-<":"≺","-<=":"⪯",">-":"≻",">-=":"⪰",in:"∈","!in":"∉",sub:"⊂",sup:"⊃",sube:"⊆",supe:"⊇","-=":"≡","==":"≡","~=":"≅","~~":"≈",prop:"∝","<-":"←","->":"→","=>":"⇒","<=>":"⇔","|->":"↦",">->":"↣","->>":"↠",">->>":"⤖",uarr:"↑",darr:"↓",larr:"←",rarr:"→",harr:"↔",lArr:"⇐",rArr:"⇒",hArr:"⇔",iff:"⇔",",":",",":.":"∴","...":"…",cdots:"⋯",ddots:"⋱",vdots:"⋮",if:"if",otherwise:"otherwise",and:"and",or:"or",not:"¬",AA:"∀",EE:"∃","_|_":"⊥",TT:"⊤","|--":"⊢","|==":"⊨"};yn.operators=s,Object.defineProperty(s,"contains",{value:function(u){return typeof s[u]<"u"}}),Object.defineProperty(s,"get",{value:function(u){return s[u]||u}}),Object.defineProperty(s,"regexp",{value:new RegExp("("+Object.keys(s).sort(function(d,u){return u.length-d.length}).map(o).join("|")+"|[+-<=>|~¬±×÷ϐϑϒϕϰϱϴϵ϶؆؇؈‖′″‴⁀⁄⁒⁡-⁤⁺-⁾₊-₎★☆♠♡♢♣♭♮♯﬩。-ィ+<=>\^|~¬←↑→↓∀-⋿⨀-⫿⟀-⟥⦀-⦂⦙-⧿⌁-⏿■-◿⬀-⯿←-⇿⟰-⟿⤀-⥿⃐-⃯])")});function o(d){return d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var a={open:{"(:":"⟨","{:":""},close:{":)":"⟩",":}":""},complex:{abs:{open:"|",close:"|"},floor:{open:"⌊",close:"⌋"},ceil:{open:"⌈",close:"⌉"},norm:{open:"∥",close:"∥"}}};yn.groupings=a,Object.defineProperty(a.open,"regexp",{value:/([[⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗]|[({]:?)/}),Object.defineProperty(a.close,"regexp",{value:/([\]⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘]|:?[)}])/}),Object.defineProperty(a.open,"get",{value:function(u){var _=a.open[u];return typeof _=="string"?_:u}}),Object.defineProperty(a.close,"get",{value:function(u){var _=a.close[u];return typeof _=="string"?_:u}}),Object.defineProperty(a.complex,"contains",{value:function(u){return Object.keys(a.complex).indexOf(u)>=0}}),Object.defineProperty(a.complex,"get",{value:function(u){return a.complex[u]}}),Object.freeze(a.open),Object.freeze(a.close),Object.freeze(a.complex);var l={rm:"normal",bf:"bold",it:"italic",bb:"double-struck",cc:"script",tt:"monospace",fr:"fraktur",sf:"sans-serif"};yn.fonts=l,Object.defineProperty(l,"get",{value:function(u){return l[u]}}),Object.defineProperty(l,"regexp",{value:new RegExp("("+Object.keys(l).join("|")+")")});var c={hat:{type:"over",accent:"^"},bar:{type:"over",accent:"‾"},ul:{type:"under",accent:"_"},vec:{type:"over",accent:"→"},dot:{type:"over",accent:"⋅"},ddot:{type:"over",accent:"⋅⋅"},tilde:{type:"over",accent:"˜"},cancel:{type:"enclose",attrs:{notation:"updiagonalstrike"}}};return yn.accents=c,Object.defineProperty(c,"contains",{value:function(u){return Object.keys(c).indexOf(u)>=0}}),Object.defineProperty(c,"get",{value:function(u){return c[u]}}),Object.defineProperty(c,"regexp",{value:new RegExp("("+Object.keys(c).join("|")+")")}),yn}var gy;function S8e(){if(gy)return Da;gy=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.default=void 0;var n=J1();function e(T){var C=new RegExp("^"+n.operators.regexp.source),N=C.exec(T),x=N[0];return[n.operators.get(x),T.slice(x.length)]}function t(T){var C=new RegExp("^"+n.groupings.open.regexp.source);return T.match(C)}function i(T,C){var N=new RegExp("^[0-9A-Za-z+\\-!]{2,}(\\s|".concat(C.colSep,"|").concat(C.rowSep,")"));return T.match(N)}function r(T,C,N){if(!t(T))return!1;var x=a(T)[4];if(!(x.trim().startsWith(C)||x.match(/^\s*\n/)&&t(x.trim())))return!1;for(;x&&x.trim();)if(x=(a(x)||[])[4],x&&(x.startsWith(N)||x.match(/^\s*\n/)))return!1;return!0}var s=new RegExp("("+n.identifiers.funs.concat(Object.keys(n.accents)).concat(["sqrt"]).sort(function(T,C){return T.length-C.length}).join("|")+")$");function o(T){return T.match(s)}function a(T){for(var C=new RegExp("^"+n.groupings.open.regexp.source),N=new RegExp("^"+n.groupings.close.regexp.source),x,y,R,P,k=0,W=0;W<T.length;){var M=T.slice(W),H=M.match(C),z=M.match(N);if(H)typeof x!="number"&&(x=W,R=H[0]),k+=1,W+=H[0].length;else if(z){if(k-=1,k===0){P=z[0],y=W+(P.length-1);break}W+=z[0].length}else W+=1}return R?[x===0?"":T.slice(0,x),n.groupings.open.get(R),T.slice(x+R.length,P?y-(P.length-1):T.length),P?n.groupings.close.get(P):"",y?T.slice(y+1):""]:null}function l(T){if(!T.startsWith("|"))return!1;var C=c(T);return C&&C[0]===""}function c(T){function C(z,I,Y){return[z===0?"":T.slice(0,z),Y?"‖":"|",T.slice(z+(Y?2:1),I),Y?"‖":"|",T.slice(I+(Y?2:1))]}var N=T.indexOf("|"),x=N+1,y=T.slice(N+1),R=y.startsWith("|"),P=R?/\|\|/:/\|/;if(R&&(y=y.slice(1),x+=1),y.indexOf("|")===-1||y.match(/^\.?[_\^]/))return null;for(;y.length>0;){var k=a(y),W=k?k[0]:y,M=k?k[4]:"",H=P.exec(W);if(H)return C(N,x+H.index,R);x+=k.slice(0,-1).map(d("length")).reduce(u),k[1]===""?x+=2:k[1]==="〈"&&(x+=1),k[3]===""?x+=2:k[3]==="〉"&&(x+=1),y=M}return null}function d(T){return function(C){return C[T]}}function u(T,C){return T+C}function _(T){var C=new RegExp("^("+n.fonts.regexp.source+" ?)?"+T);return function(N){return C.exec(N)}}var f=_("(`)\\w+`"),E=_('(")');function b(T){return f(T)||E(T)}function g(T){var C=f(T)||E(T),N=C&&C[2],x=C&&C[3],y=x==='"'?"mtext":x==="`"?"mi":"",R=T.indexOf(x),P=R+1+T.slice(R+1).indexOf(x),k=R>0?n.fonts.get(N):"";return{tagname:y,text:T.slice(R+1,P),font:k,rest:T.slice(P+1)}}var h=["<mi>lim</mi>","<mo>∑</mo>","<mo>∏</mo>"];function m(T){return h.indexOf(T)>=0}var S={endsInFunc:o,isgroupStart:t,isgroupable:i,isvertGroupStart:l,splitNextGroup:a,splitNextVert:c,splitNextOperator:e,ismatrixInterior:r,isfontCommand:b,splitfont:g,shouldGoUnder:m},v=S;return Da.default=v,Da}var Ey;function y8e(){if(Ey)return Ia;Ey=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.default=void 0;var n=t(S8e()),e=J1();function t(q){return q&&q.__esModule?q:{default:q}}function i(q,le){return o(q)||s(q,le)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function s(q,le){var X=[],Z=!0,_e=!1,fe=void 0;try{for(var ye=q[Symbol.iterator](),j;!(Z=(j=ye.next()).done)&&(X.push(j.value),!(le&&X.length===le));Z=!0);}catch(de){_e=!0,fe=de}finally{try{!Z&&ye.return!=null&&ye.return()}finally{if(_e)throw fe}}return X}function o(q){if(Array.isArray(q))return q}function a(q){return function le(X,Z){if(typeof X=="object")return function(fe){return le(fe,X)};if(typeof Z!="object")return"<".concat(q,">").concat(X,"</").concat(q,">");var _e=Object.keys(Z).map(function(fe){return"".concat(fe,'="').concat(Z[fe],'"')}).join(" ");return"<".concat(q," ").concat(_e,">").concat(X,"</").concat(q,">")}}var l=a("mi"),c=a("mn"),d=a("mo"),u=a("mfrac"),_=a("msup"),f=a("msub"),E=a("msubsup"),b=a("munder"),g=a("mover"),h=a("munderover"),m=a("menclose"),S=a("mrow"),v=a("msqrt"),T=a("mroot"),C=a("mfenced"),N=a("mtable"),x=a("mtr"),y=a("mtd");function R(q){var le=q.decimalMark==="."?"\\.":q.decimalMark,X=new RegExp("^".concat(e.numbers.digitRange,"+(").concat(le).concat(e.numbers.digitRange,"+)?")),Z=ye(q.colSep),_e=ye(q.rowSep),fe=ye(`
-`);function ye(B){return function(ae){for(var te=[],ie=0,w=0,A=0;A<ae.length;A+=1){var G=ae.slice(A),ce=ae[A];G.startsWith(B)&&!ae.slice(0,A).match(/\\(\\{2})*$/)?ie===0&&(te.push(ae.slice(w,A)),w=A+B.length):ce.match(e.groupings.open.regexp)?ie+=1:ce.match(e.groupings.close.regexp)&&(ie-=1)}return te.push(ae.slice(w)),te}}var j=function B(ae,te,ie,w){if(!ae)return te;if(ae.match(/^\s/)){if(ae.match(/^\s+(\/[^\/]|^[^\^]|_[^_|])/))return B(ae.trim(),te);var A=ae.match(/^ +/),G=A?A[0].length:0;if(G>1){var ce='<mspace width="'.concat(G-1,'ex" />');return B(ae.trim(),te+ce)}return B(ae.trim(),te)}var $=Q(ae,w),J=i($,2),ve=J[0],Ee=J[1];if((Ee&&Ee.trimLeft().startsWith("/")||Ee.trimLeft().startsWith("./"))&&!Ee.trimLeft().match(/^\.?\/\//)){var Me=V(ve,Ee),Ue=i(Me,2);ve=Ue[0],Ee=Ue[1]}return B(Ee,te+ve)};function de(B){if(B.trim().length===0)return"";var ae=j(B,"",!1,!0);return ae===W(ae)?ae:S(ae)}function Q(B,ae,te){if(!B)return["",""];var ie,w,A=B[0],G=B.slice(1),ce=A+(G.match(/^[A-Za-z]+/)||"");if(B.startsWith("sqrt")){var $=Q(B.slice(4).trim(),ae);ie=v($[0]?k($[0]):S("")),w=$[1]}else if(B.startsWith("root")){var J=Q(B.slice(4).trimLeft(),ae),ve=J[0]?k(J[0]):S(""),Ee=Q(J[1].trimLeft(),ae),Me=Ee[0]?k(Ee[0]):S("");ie=T(Me+ve),w=Ee[1]}else if(A==="\\"&&B.length>1)if(B[1].match(/[(\[]/)){var Ue=M(G);ie=d(B.slice(2,Ue)),w=B.slice(Ue+1)}else ie=d(B[1]),w=B.slice(2);else if(e.accents.contains(ce)){var Je=e.accents.get(ce),Ne=B.slice(ce.length).trimLeft(),tt=Ne.match(/^\s*\(?([ij])\)?/),$e=Q(Ne);switch(Je.type){case"over":tt?(ie=g(l(tt[1]==="i"?"ı":"ȷ")+d(Je.accent,{accent:!0})),w=Ne.slice(tt[0].length)):(ie=g(k($e[0])+d(Je.accent,{accent:!0})),w=$e[1]);break;case"under":ie=b(k($e[0])+d(Je.accent)),w=$e[1];break;case"enclose":ie=m(k($e[0]),Je.attrs),w=$e[1];break;default:throw new Error("Invalid config for accent "+ce)}}else if(n.default.isfontCommand(B)){var Pe=n.default.splitfont(B);ie=a(Pe.tagname)(Pe.text,Pe.font&&{mathvariant:Pe.font}),w=Pe.rest}else if(e.groupings.complex.contains(ce)){var je=e.groupings.complex.get(ce),Ve=B.slice(ce.length).trimLeft(),ct=Q(Ve);ie=C(k(ct[0]),je),w=ct[1]}else if(n.default.isgroupStart(B)||n.default.isvertGroupStart(B)){var oe=n.default.isgroupStart(B)?n.default.splitNextGroup(B):n.default.splitNextVert(B),He=i(oe,5),Le=He[1],Ce=He[2],ke=He[3],it=He[4];w=e.groupings.open.get(it);var _t=function(){var hn=fe(Ce);return hn.length>1?hn:_e(Ce)}();if(n.default.ismatrixInterior(Ce.trim(),q.colSep,q.rowSep)){Ce.trim().endsWith(q.colSep)&&(Ce=Ce.trimRight().slice(0,-1));var $t=Le==="{"&&ke==="",tn=ee(Ce,$t&&{columnalign:"center left"});ie=C(tn,{open:Le,close:ke})}else if(_t.length>1)if(_t.length===2&&Le==="("&&ke===")"){var wt=u(_t.map(de).join(""),{linethickness:0});ie=C(wt,{open:Le,close:ke})}else{var Vt=_t.map(Z);I(Vt).length===1&&I(Vt)[0].match(/^\s*$/)&&(Vt=Vt.slice(0,-1));var On=Vt.map(function(hn){return x(hn.map(Y(y,de)).join(""))}).join("");ie=C(N(On),{open:Le,close:ke})}else{var Ys=Z(Ce),ya=Ys.map(de).join(""),Gi={open:Le,close:ke};q.colSep!==","&&(Gi.separators=q.colSep),ie=C(ya,Gi)}}else if(!ae&&n.default.isgroupable(B,q)){var Jr=re(B);ie=de(Jr[0]),w=Jr[1]}else if(e.numbers.isdigit(A)){var zi=B.match(X)[0];ie=c(zi),w=G.slice(zi.length-1)}else if(B.match(/^#`[^`]+`/)){var es=B.match(/^#`([^`]+)`/)[1];ie=c(es),w=B.slice(es.length+3)}else if(B.match(new RegExp("^"+e.operators.regexp.source))&&!e.identifiers.contains(ce)){var $s=n.default.splitNextOperator(B),Ws=i($s,2),ts=Ws[0],va=Ws[1],U=B.startsWith("'"),pe=z(["∂","∇"],ts),Se=z(["|"],ts),Te=B.startsWith("| "),me={};U&&(me.lspace=0,me.rspace=0),pe&&(me.rspace=0),Se&&(me.stretchy=!0),Te&&(me.lspace="veryverythickmathspace",me.rspace="veryverythickmathspace"),ie=d(ts,!H(me)&&me),w=va}else if(e.identifiers.contains(ce)){var qe=e.identifiers[ce],Qe=qe.match(/[\u0391-\u03A9\u2100-\u214F\u2200-\u22FF]/);ie=Qe?l(qe,{mathvariant:"normal"}):l(qe),w=G.slice(ce.length-1)}else A==="O"&&G[0]==="/"?(ie=l(e.identifiers["O/"],{mathvariant:"normal"}),w=G.slice(1)):(ie=l(A),w=G);if(w&&w.trimLeft().match(/\.?[\^_]/)){if((!te||!te.match(/m(sup|over)/))&&w.trim().startsWith("_")&&(w.trim().length<=1||!w.trim()[1].match(/[|_]/))){var nt=he(ie,w),rt=i(nt,2);ie=rt[0],w=rt[1]}else if(te!=="mover"&&w.trim().startsWith("._")&&(w.trim().length<=2||!w.trim()[2].match(/[|_]/))){var dt=O(ie,w),st=i(dt,2);ie=st[0],w=st[1]}else if((!te||!te.match(/m(sub|under)/))&&w.trim().startsWith("^")&&(w.trim().length<=1||w.trim()[1]!=="^")){var lt=Ae(ie,w),Ut=i(lt,2);ie=Ut[0],w=Ut[1]}else if(te!=="munder"&&w.trim().startsWith(".^")&&(w.trim().length<=2||w.trim()[2]!=="^")){var dn=F(ie,w),qt=i(dn,2);ie=qt[0],w=qt[1]}}return[ie,w]}function he(B,ae){var te=Q(ae.trim().slice(1).trim(),!0,"msub"),ie=te[0]?k(te[0]):S(""),w,A=te[1];if(A&&A.trim().startsWith("^")&&(A.trim().length<=1||!A.trim()[1]!=="^")){var G=Q(A.trim().slice(1).trim(),!0),ce=G[0]?k(G[0]):S(""),$=n.default.shouldGoUnder(B)?h:E;w=$(B+ie+ce),A=G[1]}else{var J=n.default.shouldGoUnder(B)?b:f;w=J(B+ie)}return[w,A]}function Ae(B,ae){var te=Q(ae.trim().slice(1).trim(),!0,"msup"),ie=te[0]?k(te[0]):S(""),w,A=te[1];if(A.trim().startsWith("_")&&(A.trim().length<=1||!A.trim()[1].match(/[|_]/))){var G=Q(A.trim().slice(1).trim(),!0),ce=G[0]?k(G[0]):S(""),$=n.default.shouldGoUnder(B)?h:E;w=$(B+ce+ie),A=G[1]}else{var J=n.default.shouldGoUnder(B)?g:_;w=J(B+ie)}return[w,A]}function O(B,ae){var te=Q(ae.trim().slice(2).trim(),!0,"munder"),ie=te[0]?k(te[0]):S(""),w,A=te[1],G=A.match(/^(\.?\^)[^\^]/);if(G){var ce=Q(A.trim().slice(G[1].length).trim(),!0),$=ce[0]?k(ce[0]):S("");w=h(B+ie+$),A=ce[1]}else w=b(B+ie);return[w,A]}function F(B,ae){var te=Q(ae.trim().slice(2).trim(),!0,"mover"),ie=te[0]?k(te[0]):S(""),w,A=te[1],G=A.match(/^(\.?_)[^_|]/);if(G){var ce=Q(A.trim().slice(G[1].length).trim(),!0),$=ce[0]?k(ce[0]):S("");w=h(B+$+ie),A=ce[1]}else w=g(B+ie);return[w,A]}function V(B,ae){var te=ae.trim().startsWith("./"),ie=ae.trim().slice(te?2:1),w,A,G;if(ie.startsWith(" ")){var ce=ie.trim().split(" ");w=de(ce[0]),G=ie.trimLeft().slice(ce[0].length+1)}else{var $=Q(ie),J=i($,2);w=J[0],G=J[1]}return w=w||S(""),A=u(k(B)+k(w),te&&{bevelled:!0}),G&&G.trim().startsWith("/")||G.trim().startsWith("./")?V(A,G):[A,G]}function re(B){var ae=new RegExp("(\\s|".concat(q.colSep,"|").concat(q.rowSep,"|$)")),te=B.match(ae),ie=B.slice(0,te.index),w=te[0],A=B.slice(te.index+1),G=ie,ce=w+A;if(!n.default.isgroupStart(A.trim())&&n.default.endsInFunc(ie)){var $=re(A);G+=w+$[0],ce=$[1]}else if(ie.match(/root$/)){var J=re(A),ve=re(J[1].trimLeft());G+=w+J[0]+" "+ve[0],ce=w+ve[1]}return[G,ce]}function ee(B,ae){var te=function(){var ie=Z(B);return ie.length>1?ie:fe(B)}().map(function(ie){return ie.trim().slice(1,-1)});return N(te.map(be).join(""),ae)}function be(B,ae){if(ae=typeof ae=="string"?ae:"",!B||B.length===0)return x(ae);var te=xe(B.trim(),""),ie=i(te,2),w=ie[0],A=ie[1];return be(A.trim(),ae+w)}function xe(B,ae){if(!B||B.length===0)return[y(ae),""];if(B[0]===q.colSep)return[y(ae),B.slice(1).trim()];var te=Q(B),ie=i(te,2),w=ie[0],A=ie[1];return xe(A.trim(),ae+w)}return j}function P(q){var le=W(q),X=q.slice(0,q.lastIndexOf(le));return[X,le]}function k(q){var le=q.replace(/^<mfenced[^>]*>/,"").replace(/<\/mfenced>$/,"");return P(le)[1]===le?le:S(le)}function W(q){var le=q.match(/<\/(m[a-z]+)>$/);if(!le){var X=q.match(/<mspace\s*([a-z]+="[a-z]")*\s*\?>/);if(X){var Z=X.match[0].length;return q.slice(Z)}else return""}var _e=le[1],fe=q.length-(_e.length+3),ye=0;for(fe;fe>=0;fe-=1){if(q.slice(fe).startsWith("<".concat(_e))){if(ye===0)break;ye-=1}q.slice(fe-2).startsWith("</".concat(_e))&&(ye+=1)}return q.slice(fe)}function M(q){for(var le=q[0],X=le==="("?")":le==="["?"]":q[0],Z=0,_e=0,fe=0;fe<q.length;fe+=1){var ye=q[fe];if(_e+=1,ye===X){if(Z-=1,Z===0)break}else ye===le&&(Z+=1)}return _e}function H(q){return Object.keys(q).length===0}function z(q,le){return q.indexOf(le)>=0}function I(q){return q.slice(-1)[0]}function Y(q,le){return function(X){return q(le(X))}}R.getlastel=W;var K=R;return Ia.default=K,Ia}var by;function v8e(){if(by)return Zs;by=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.ascii2mathml=t,Zs.default=void 0;var n=e(y8e());function e(r){return r&&r.__esModule?r:{default:r}}function t(r,s){if(typeof r=="object")return function(u,_){var f=Object.assign({},r,_);return t(u,f)};if(s=typeof s=="object"?s:{},s.annotate=s.annotate||!1,s.bare=s.bare||!1,s.display=s.display||"inline",s.standalone=s.standalone||!1,s.dir=s.dir||"ltr",s.decimalMark=s.decimalMark||".",s.colSep=s.colSep||",",s.rowSep=s.rowSep||";",s.decimalMark===","&&s.colSep===","&&(s.colSep=";"),s.colSep===";"&&s.rowSep===";"&&(s.rowSep=";;"),s.bare){if(s.standalone)throw new Error("Can't output a valid HTML without a root <math> element");if(s.display&&s.display.toLowerCase()!=="inline")throw new Error("Can't display block without root element.");if(s.dir&&s.dir.toLowerCase()!=="ltr")throw new Error("Can't have right-to-left direction without root element.")}var o=(0,n.default)(s),a,l=s.bare?function(u){return u}:function(u){return"<math".concat(s.display!=="inline"?' display="'.concat(s.display,'"'):"").concat(s.dir!=="ltr"?' dir="'.concat(s.dir,'"'):"",">").concat(u,"</math>")};if(s.annotate){var c=o(r.trim(),""),d=c===n.default.getlastel(c)?c:"<mrow>".concat(c,"</mrow>");a=l("<semantics>"+d+'<annotation encoding="application/AsciiMath">'+r+"</annotation></semantics>")}else a=l(o(r.trim(),""));return s.standalone&&(a="<!DOCTYPE html><html><head><title>"+r+"</title></head><body>"+a+"</body></html>"),a}var i=t;return Zs.default=i,Zs}var Ku=null;function Sy(n,e,t){var i=e,r,s,o,a,l,c,d,u=!0,_=!0,f=n.posMax,E=n.md.utils.isWhiteSpace;return r=e>0?n.src.charCodeAt(e-1):32,i>=f&&(a=!1),i+=t,o=i-e,s=i<f?n.src.charCodeAt(i):32,c=E(r),d=E(s),d&&(u=!1),c&&(_=!1),a=u,l=_,{can_open:a,can_close:l,delims:o}}function T8e(n,e){return function(i,r){var s,o,a,l,c,d=i.posMax,u=i.pos,_=i.src.slice(u,u+n.length);if(_!==n||r)return!1;if(a=Sy(i,u,_.length),s=a.delims,!a.can_open)return i.pos+=s,i.pending+=i.src.slice(u,i.pos),!0;for(i.pos=u+n.length;i.pos<d;){if(c=i.src.slice(i.pos,i.pos+e.length),c===e&&(a=Sy(i,i.pos,e.length),a.can_close)){o=!0;break}i.md.inline.skipToken(i)}return o?(i.posMax=i.pos,i.pos=u+e.length,l=i.push("math_inline","math",0),l.content=i.src.slice(i.pos,i.posMax),l.markup=n,i.pos=i.posMax+e.length,i.posMax=d,!0):(i.pos=u,!1)}}function x8e(n,e){return function(i,r,s,o){var a,l,c,d,u,_,f,E,b=!1,g=i.bMarks[r]+i.tShift[r],h=i.eMarks[r];if(g+n.length>h||(a=i.src.slice(g,g+n.length),a!==n))return!1;if(g+=n.length,_=i.src.slice(g,h),o)return!0;for(_.trim().slice(-e.length)===e&&(_=_.trim().slice(0,-e.length),b=!0),d=r;!(b||(d++,d>=s)||(g=i.bMarks[d]+i.tShift[d],h=i.eMarks[d],g<h&&i.tShift[d]<i.blkIndent));)i.src.slice(g,h).trim().slice(-e.length)===e&&(i.tShift[d]-i.blkIndent>=4||(E=i.src.slice(0,h).lastIndexOf(e),f=i.src.slice(g,E),g+=f.length+e.length,g=i.skipSpaces(g),!(g<h)&&(b=!0)));return l=i.tShift[r],i.line=d+(b?1:0),u=i.push("math_block","math",0),u.block=!0,u.content=(_&&_.trim()?_+`
+`);function ye(B){return function(ae){for(var te=[],ie=0,w=0,A=0;A<ae.length;A+=1){var G=ae.slice(A),ce=ae[A];G.startsWith(B)&&!ae.slice(0,A).match(/\\(\\{2})*$/)?ie===0&&(te.push(ae.slice(w,A)),w=A+B.length):ce.match(e.groupings.open.regexp)?ie+=1:ce.match(e.groupings.close.regexp)&&(ie-=1)}return te.push(ae.slice(w)),te}}var j=function B(ae,te,ie,w){if(!ae)return te;if(ae.match(/^\s/)){if(ae.match(/^\s+(\/[^\/]|^[^\^]|_[^_|])/))return B(ae.trim(),te);var A=ae.match(/^ +/),G=A?A[0].length:0;if(G>1){var ce='<mspace width="'.concat(G-1,'ex" />');return B(ae.trim(),te+ce)}return B(ae.trim(),te)}var $=Q(ae,w),J=i($,2),ve=J[0],Ee=J[1];if((Ee&&Ee.trimLeft().startsWith("/")||Ee.trimLeft().startsWith("./"))&&!Ee.trimLeft().match(/^\.?\/\//)){var Me=V(ve,Ee),Ue=i(Me,2);ve=Ue[0],Ee=Ue[1]}return B(Ee,te+ve)};function de(B){if(B.trim().length===0)return"";var ae=j(B,"",!1,!0);return ae===W(ae)?ae:S(ae)}function Q(B,ae,te){if(!B)return["",""];var ie,w,A=B[0],G=B.slice(1),ce=A+(G.match(/^[A-Za-z]+/)||"");if(B.startsWith("sqrt")){var $=Q(B.slice(4).trim(),ae);ie=v($[0]?k($[0]):S("")),w=$[1]}else if(B.startsWith("root")){var J=Q(B.slice(4).trimLeft(),ae),ve=J[0]?k(J[0]):S(""),Ee=Q(J[1].trimLeft(),ae),Me=Ee[0]?k(Ee[0]):S("");ie=T(Me+ve),w=Ee[1]}else if(A==="\\"&&B.length>1)if(B[1].match(/[(\[]/)){var Ue=M(G);ie=d(B.slice(2,Ue)),w=B.slice(Ue+1)}else ie=d(B[1]),w=B.slice(2);else if(e.accents.contains(ce)){var Je=e.accents.get(ce),Ne=B.slice(ce.length).trimLeft(),tt=Ne.match(/^\s*\(?([ij])\)?/),$e=Q(Ne);switch(Je.type){case"over":tt?(ie=g(l(tt[1]==="i"?"ı":"ȷ")+d(Je.accent,{accent:!0})),w=Ne.slice(tt[0].length)):(ie=g(k($e[0])+d(Je.accent,{accent:!0})),w=$e[1]);break;case"under":ie=b(k($e[0])+d(Je.accent)),w=$e[1];break;case"enclose":ie=m(k($e[0]),Je.attrs),w=$e[1];break;default:throw new Error("Invalid config for accent "+ce)}}else if(n.default.isfontCommand(B)){var Pe=n.default.splitfont(B);ie=a(Pe.tagname)(Pe.text,Pe.font&&{mathvariant:Pe.font}),w=Pe.rest}else if(e.groupings.complex.contains(ce)){var je=e.groupings.complex.get(ce),Ve=B.slice(ce.length).trimLeft(),ct=Q(Ve);ie=C(k(ct[0]),je),w=ct[1]}else if(n.default.isgroupStart(B)||n.default.isvertGroupStart(B)){var oe=n.default.isgroupStart(B)?n.default.splitNextGroup(B):n.default.splitNextVert(B),He=i(oe,5),Le=He[1],Ce=He[2],ke=He[3],it=He[4];w=e.groupings.open.get(it);var pt=function(){var hn=fe(Ce);return hn.length>1?hn:_e(Ce)}();if(n.default.ismatrixInterior(Ce.trim(),q.colSep,q.rowSep)){Ce.trim().endsWith(q.colSep)&&(Ce=Ce.trimRight().slice(0,-1));var $t=Le==="{"&&ke==="",tn=ee(Ce,$t&&{columnalign:"center left"});ie=C(tn,{open:Le,close:ke})}else if(pt.length>1)if(pt.length===2&&Le==="("&&ke===")"){var wt=u(pt.map(de).join(""),{linethickness:0});ie=C(wt,{open:Le,close:ke})}else{var Vt=pt.map(Z);I(Vt).length===1&&I(Vt)[0].match(/^\s*$/)&&(Vt=Vt.slice(0,-1));var On=Vt.map(function(hn){return x(hn.map(Y(y,de)).join(""))}).join("");ie=C(N(On),{open:Le,close:ke})}else{var Ys=Z(Ce),ya=Ys.map(de).join(""),Gi={open:Le,close:ke};q.colSep!==","&&(Gi.separators=q.colSep),ie=C(ya,Gi)}}else if(!ae&&n.default.isgroupable(B,q)){var Jr=re(B);ie=de(Jr[0]),w=Jr[1]}else if(e.numbers.isdigit(A)){var zi=B.match(X)[0];ie=c(zi),w=G.slice(zi.length-1)}else if(B.match(/^#`[^`]+`/)){var es=B.match(/^#`([^`]+)`/)[1];ie=c(es),w=B.slice(es.length+3)}else if(B.match(new RegExp("^"+e.operators.regexp.source))&&!e.identifiers.contains(ce)){var $s=n.default.splitNextOperator(B),Ws=i($s,2),ts=Ws[0],va=Ws[1],U=B.startsWith("'"),pe=z(["∂","∇"],ts),Se=z(["|"],ts),Te=B.startsWith("| "),me={};U&&(me.lspace=0,me.rspace=0),pe&&(me.rspace=0),Se&&(me.stretchy=!0),Te&&(me.lspace="veryverythickmathspace",me.rspace="veryverythickmathspace"),ie=d(ts,!H(me)&&me),w=va}else if(e.identifiers.contains(ce)){var qe=e.identifiers[ce],Qe=qe.match(/[\u0391-\u03A9\u2100-\u214F\u2200-\u22FF]/);ie=Qe?l(qe,{mathvariant:"normal"}):l(qe),w=G.slice(ce.length-1)}else A==="O"&&G[0]==="/"?(ie=l(e.identifiers["O/"],{mathvariant:"normal"}),w=G.slice(1)):(ie=l(A),w=G);if(w&&w.trimLeft().match(/\.?[\^_]/)){if((!te||!te.match(/m(sup|over)/))&&w.trim().startsWith("_")&&(w.trim().length<=1||!w.trim()[1].match(/[|_]/))){var nt=he(ie,w),rt=i(nt,2);ie=rt[0],w=rt[1]}else if(te!=="mover"&&w.trim().startsWith("._")&&(w.trim().length<=2||!w.trim()[2].match(/[|_]/))){var dt=O(ie,w),st=i(dt,2);ie=st[0],w=st[1]}else if((!te||!te.match(/m(sub|under)/))&&w.trim().startsWith("^")&&(w.trim().length<=1||w.trim()[1]!=="^")){var lt=Ae(ie,w),Ut=i(lt,2);ie=Ut[0],w=Ut[1]}else if(te!=="munder"&&w.trim().startsWith(".^")&&(w.trim().length<=2||w.trim()[2]!=="^")){var dn=F(ie,w),qt=i(dn,2);ie=qt[0],w=qt[1]}}return[ie,w]}function he(B,ae){var te=Q(ae.trim().slice(1).trim(),!0,"msub"),ie=te[0]?k(te[0]):S(""),w,A=te[1];if(A&&A.trim().startsWith("^")&&(A.trim().length<=1||!A.trim()[1]!=="^")){var G=Q(A.trim().slice(1).trim(),!0),ce=G[0]?k(G[0]):S(""),$=n.default.shouldGoUnder(B)?h:E;w=$(B+ie+ce),A=G[1]}else{var J=n.default.shouldGoUnder(B)?b:f;w=J(B+ie)}return[w,A]}function Ae(B,ae){var te=Q(ae.trim().slice(1).trim(),!0,"msup"),ie=te[0]?k(te[0]):S(""),w,A=te[1];if(A.trim().startsWith("_")&&(A.trim().length<=1||!A.trim()[1].match(/[|_]/))){var G=Q(A.trim().slice(1).trim(),!0),ce=G[0]?k(G[0]):S(""),$=n.default.shouldGoUnder(B)?h:E;w=$(B+ce+ie),A=G[1]}else{var J=n.default.shouldGoUnder(B)?g:_;w=J(B+ie)}return[w,A]}function O(B,ae){var te=Q(ae.trim().slice(2).trim(),!0,"munder"),ie=te[0]?k(te[0]):S(""),w,A=te[1],G=A.match(/^(\.?\^)[^\^]/);if(G){var ce=Q(A.trim().slice(G[1].length).trim(),!0),$=ce[0]?k(ce[0]):S("");w=h(B+ie+$),A=ce[1]}else w=b(B+ie);return[w,A]}function F(B,ae){var te=Q(ae.trim().slice(2).trim(),!0,"mover"),ie=te[0]?k(te[0]):S(""),w,A=te[1],G=A.match(/^(\.?_)[^_|]/);if(G){var ce=Q(A.trim().slice(G[1].length).trim(),!0),$=ce[0]?k(ce[0]):S("");w=h(B+$+ie),A=ce[1]}else w=g(B+ie);return[w,A]}function V(B,ae){var te=ae.trim().startsWith("./"),ie=ae.trim().slice(te?2:1),w,A,G;if(ie.startsWith(" ")){var ce=ie.trim().split(" ");w=de(ce[0]),G=ie.trimLeft().slice(ce[0].length+1)}else{var $=Q(ie),J=i($,2);w=J[0],G=J[1]}return w=w||S(""),A=u(k(B)+k(w),te&&{bevelled:!0}),G&&G.trim().startsWith("/")||G.trim().startsWith("./")?V(A,G):[A,G]}function re(B){var ae=new RegExp("(\\s|".concat(q.colSep,"|").concat(q.rowSep,"|$)")),te=B.match(ae),ie=B.slice(0,te.index),w=te[0],A=B.slice(te.index+1),G=ie,ce=w+A;if(!n.default.isgroupStart(A.trim())&&n.default.endsInFunc(ie)){var $=re(A);G+=w+$[0],ce=$[1]}else if(ie.match(/root$/)){var J=re(A),ve=re(J[1].trimLeft());G+=w+J[0]+" "+ve[0],ce=w+ve[1]}return[G,ce]}function ee(B,ae){var te=function(){var ie=Z(B);return ie.length>1?ie:fe(B)}().map(function(ie){return ie.trim().slice(1,-1)});return N(te.map(be).join(""),ae)}function be(B,ae){if(ae=typeof ae=="string"?ae:"",!B||B.length===0)return x(ae);var te=xe(B.trim(),""),ie=i(te,2),w=ie[0],A=ie[1];return be(A.trim(),ae+w)}function xe(B,ae){if(!B||B.length===0)return[y(ae),""];if(B[0]===q.colSep)return[y(ae),B.slice(1).trim()];var te=Q(B),ie=i(te,2),w=ie[0],A=ie[1];return xe(A.trim(),ae+w)}return j}function P(q){var le=W(q),X=q.slice(0,q.lastIndexOf(le));return[X,le]}function k(q){var le=q.replace(/^<mfenced[^>]*>/,"").replace(/<\/mfenced>$/,"");return P(le)[1]===le?le:S(le)}function W(q){var le=q.match(/<\/(m[a-z]+)>$/);if(!le){var X=q.match(/<mspace\s*([a-z]+="[a-z]")*\s*\?>/);if(X){var Z=X.match[0].length;return q.slice(Z)}else return""}var _e=le[1],fe=q.length-(_e.length+3),ye=0;for(fe;fe>=0;fe-=1){if(q.slice(fe).startsWith("<".concat(_e))){if(ye===0)break;ye-=1}q.slice(fe-2).startsWith("</".concat(_e))&&(ye+=1)}return q.slice(fe)}function M(q){for(var le=q[0],X=le==="("?")":le==="["?"]":q[0],Z=0,_e=0,fe=0;fe<q.length;fe+=1){var ye=q[fe];if(_e+=1,ye===X){if(Z-=1,Z===0)break}else ye===le&&(Z+=1)}return _e}function H(q){return Object.keys(q).length===0}function z(q,le){return q.indexOf(le)>=0}function I(q){return q.slice(-1)[0]}function Y(q,le){return function(X){return q(le(X))}}R.getlastel=W;var K=R;return Ia.default=K,Ia}var by;function v8e(){if(by)return Zs;by=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.ascii2mathml=t,Zs.default=void 0;var n=e(y8e());function e(r){return r&&r.__esModule?r:{default:r}}function t(r,s){if(typeof r=="object")return function(u,_){var f=Object.assign({},r,_);return t(u,f)};if(s=typeof s=="object"?s:{},s.annotate=s.annotate||!1,s.bare=s.bare||!1,s.display=s.display||"inline",s.standalone=s.standalone||!1,s.dir=s.dir||"ltr",s.decimalMark=s.decimalMark||".",s.colSep=s.colSep||",",s.rowSep=s.rowSep||";",s.decimalMark===","&&s.colSep===","&&(s.colSep=";"),s.colSep===";"&&s.rowSep===";"&&(s.rowSep=";;"),s.bare){if(s.standalone)throw new Error("Can't output a valid HTML without a root <math> element");if(s.display&&s.display.toLowerCase()!=="inline")throw new Error("Can't display block without root element.");if(s.dir&&s.dir.toLowerCase()!=="ltr")throw new Error("Can't have right-to-left direction without root element.")}var o=(0,n.default)(s),a,l=s.bare?function(u){return u}:function(u){return"<math".concat(s.display!=="inline"?' display="'.concat(s.display,'"'):"").concat(s.dir!=="ltr"?' dir="'.concat(s.dir,'"'):"",">").concat(u,"</math>")};if(s.annotate){var c=o(r.trim(),""),d=c===n.default.getlastel(c)?c:"<mrow>".concat(c,"</mrow>");a=l("<semantics>"+d+'<annotation encoding="application/AsciiMath">'+r+"</annotation></semantics>")}else a=l(o(r.trim(),""));return s.standalone&&(a="<!DOCTYPE html><html><head><title>"+r+"</title></head><body>"+a+"</body></html>"),a}var i=t;return Zs.default=i,Zs}var Ku=null;function Sy(n,e,t){var i=e,r,s,o,a,l,c,d,u=!0,_=!0,f=n.posMax,E=n.md.utils.isWhiteSpace;return r=e>0?n.src.charCodeAt(e-1):32,i>=f&&(a=!1),i+=t,o=i-e,s=i<f?n.src.charCodeAt(i):32,c=E(r),d=E(s),d&&(u=!1),c&&(_=!1),a=u,l=_,{can_open:a,can_close:l,delims:o}}function T8e(n,e){return function(i,r){var s,o,a,l,c,d=i.posMax,u=i.pos,_=i.src.slice(u,u+n.length);if(_!==n||r)return!1;if(a=Sy(i,u,_.length),s=a.delims,!a.can_open)return i.pos+=s,i.pending+=i.src.slice(u,i.pos),!0;for(i.pos=u+n.length;i.pos<d;){if(c=i.src.slice(i.pos,i.pos+e.length),c===e&&(a=Sy(i,i.pos,e.length),a.can_close)){o=!0;break}i.md.inline.skipToken(i)}return o?(i.posMax=i.pos,i.pos=u+e.length,l=i.push("math_inline","math",0),l.content=i.src.slice(i.pos,i.posMax),l.markup=n,i.pos=i.posMax+e.length,i.posMax=d,!0):(i.pos=u,!1)}}function x8e(n,e){return function(i,r,s,o){var a,l,c,d,u,_,f,E,b=!1,g=i.bMarks[r]+i.tShift[r],h=i.eMarks[r];if(g+n.length>h||(a=i.src.slice(g,g+n.length),a!==n))return!1;if(g+=n.length,_=i.src.slice(g,h),o)return!0;for(_.trim().slice(-e.length)===e&&(_=_.trim().slice(0,-e.length),b=!0),d=r;!(b||(d++,d>=s)||(g=i.bMarks[d]+i.tShift[d],h=i.eMarks[d],g<h&&i.tShift[d]<i.blkIndent));)i.src.slice(g,h).trim().slice(-e.length)===e&&(i.tShift[d]-i.blkIndent>=4||(E=i.src.slice(0,h).lastIndexOf(e),f=i.src.slice(g,E),g+=f.length+e.length,g=i.skipSpaces(g),!(g<h)&&(b=!0)));return l=i.tShift[r],i.line=d+(b?1:0),u=i.push("math_block","math",0),u.block=!0,u.content=(_&&_.trim()?_+`
 `:"")+i.getLines(r+1,d,l,!0)+(f&&f.trim()?f:""),u.info=c,u.map=[r,i.line],u.markup=n,!0}}function yy(n){if(Ku===null)try{Ku=v8e().default}catch{return n&&n.display==="block"?function(i,r){return'<div class="math block">'+i[r].content+"</div>"}:function(i,r){return'<span class="math inline">'+i[r].content+"</span>"}}var e=Ku(Object.assign({},n));return n&&n.display==="block"?function(t,i){return e(t[i].content)+`
 `}:function(t,i){return e(t[i].content)}}var C8e=function(e,t){t=typeof t=="object"?t:{};var i=t.inlineOpen||"$$",r=t.inlineClose||"$$",s=t.blockOpen||"$$$",o=t.blockClose||"$$$",a=t.inlineRenderer?function(u,_){return t.inlineRenderer(u[_].content,u[_])}:yy(t.renderingOptions),l=t.blockRenderer?function(u,_){return t.blockRenderer(u[_].content,u[_])+`
 `}:yy(Object.assign({display:"block"},t.renderingOptions)),c=T8e(i,r),d=x8e(s,o);e.inline.ruler.before("escape","math_inline",c),e.block.ruler.after("blockquote","math_block",d,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=a,e.renderer.rules.math_block=l};const R8e=_r(C8e);function pr(){this.__highest_alphabet__=0,this.__match_alphabets__={},this.__initial_state__=0,this.__accept_states__={},this.__transitions__={},this.__actions__={}}pr.prototype.set_highest_alphabet=function(n){this.__highest_alphabet__=n};pr.prototype.set_match_alphabets=function(n){this.__match_alphabets__=n};pr.prototype.set_initial_state=function(n){this.__initial_state__=n};pr.prototype.set_accept_states=function(n){for(var e=0;e<n.length;e++)this.__accept_states__[n[e]]=!0};pr.prototype.set_transitions=function(n){this.__transitions__=n};pr.prototype.set_actions=function(n){this.__actions__=n};pr.prototype.update_transition=function(n,e){this.__transitions__[n]=Object.assign(this.__transitions__[n]||Object(),e)};pr.prototype.execute=function(n,e){var t,i,r;for(t=this.__initial_state__,i=n;t&&i<e;i++){for(r=this.__highest_alphabet__;r>0&&!(t&r&&this.__match_alphabets__[r].call(this,i,t,r));r>>=4);if(this.__actions__(i,t,r),r===0)break;t=this.__transitions__[t][r]||0}return!!this.__accept_states__[t]};var A8e=pr,w8e=A8e,O8e=function(e,t){var i={multiline:!1,rowspan:!1,headerless:!1,multibody:!0,autolabel:!0};t=e.utils.assign({},i,t||{});function r(d,u){var _=d.bMarks[u]+d.sCount[u],f=d.bMarks[u]+d.blkIndent,E=d.skipSpacesBack(d.eMarks[u],f),b=[],g,h,m=!1,S=!1,v=0;for(g=_;g<E;g++)switch(d.src.charCodeAt(g)){case 92:m=!0;break;case 96:h=d.skipChars(g,96)-1,h>g?(S||(v===0?v=h-g:v===h-g&&(v=0)),g=h):(S||!m&&!v)&&(S=!S),m=!1;break;case 124:!S&&!m&&b.push(g),m=!1;break;default:m=!1;break}return b.length===0||(b[0]>f&&b.unshift(f-1),b[b.length-1]<E-1&&b.push(E)),b}function s(d,u,_){var f={text:null,label:null},E=d.bMarks[_]+d.sCount[_],b=d.eMarks[_],g=/^\[(.+?)\](\[([^\[\]]+)\])?\s*$/,h=d.src.slice(E,b).match(g);return h?u?!0:(f.text=h[1],!t.autolabel&&!h[2]||(f.label=h[2]||h[1],f.label=f.label.toLowerCase().replace(/\W+/g,"")),f):!1}function o(d,u,_){var f={bounds:null,multiline:null},E=r(d,_),b,g,h;return E.length<2?!1:u?!0:(f.bounds=E,t.multiline&&(b=d.bMarks[_]+d.sCount[_],g=d.eMarks[_]-1,f.multiline=d.src.charCodeAt(g)===92,f.multiline&&(h=d.eMarks[_],d.eMarks[_]=d.skipSpacesBack(g,b),f.bounds=r(d,_),d.eMarks[_]=h)),f)}function a(d,u,_){var f={aligns:[],wraps:[]},E=r(d,_),b=/^:?(-+|=+):?\+?$/,g,h,m;if(d.sCount[_]-d.blkIndent>=4||E.length===0)return!1;for(g=0;g<E.length-1;g++){if(h=d.src.slice(E[g]+1,E[g+1]).trim(),!b.test(h))return!1;switch(f.wraps.push(h.charCodeAt(h.length-1)===43),m=(h.charCodeAt(0)===58)<<4|h.charCodeAt(h.length-1-f.wraps[g])===58,m){case 0:f.aligns.push("");break;case 1:f.aligns.push("right");break;case 16:f.aligns.push("left");break;case 17:f.aligns.push("center");break}}return u?!0:f}function l(d,u,_){return d.isEmpty(_)}function c(d,u,_,f){var E=new w8e,b=16,g=-1,h,m,S,v,T,C,N=[],x,y,R,P,k,W,M,H,z,I;if(u+2>_||(m=new d.Token("table_open","table",1),m.meta={sep:null,cap:null,tr:[]},E.set_highest_alphabet(65536),E.set_initial_state(65792),E.set_accept_states([65552,65553,0]),E.set_match_alphabets({65536:s.bind(this,d,!0),4096:a.bind(this,d,!0),256:o.bind(this,d,!0),16:o.bind(this,d,!0),1:l.bind(this,d,!0)}),E.set_transitions({65792:{65536:256,256:4352},256:{256:4352},4352:{4096:65552,256:4352},65552:{65536:0,16:65553},65553:{65536:0,16:65553,1:65552}}),t.headerless&&(E.set_initial_state(69888),E.update_transition(69888,{65536:4352,4096:65552,256:4352}),S=new d.Token("tr_placeholder","tr",0),S.meta=Object()),t.multibody||E.update_transition(65552,{65536:0,16:65552}),E.set_actions(function(q,le,X){switch(X){case 65536:if(m.meta.cap)break;m.meta.cap=s(d,!1,q),m.meta.cap.map=[q,q+1],m.meta.cap.first=q===u;break;case 4096:m.meta.sep=a(d,!1,q),m.meta.sep.map=[q,q+1],S.meta.grp|=1,b=16;break;case 256:case 16:S=new d.Token("tr_open","tr",1),S.map=[q,q+1],S.meta=o(d,!1,q),S.meta.type=X,S.meta.grp=b,b=0,m.meta.tr.push(S),t.multiline&&(S.meta.multiline&&g<0?g=m.meta.tr.length-1:!S.meta.multiline&&g>=0&&(h=m.meta.tr[g],h.meta.mbounds=m.meta.tr.slice(g).map(function(Z){return Z.meta.bounds}),h.map[1]=S.map[1],m.meta.tr=m.meta.tr.slice(0,g+1),g=-1));break;case 1:S.meta.grp|=1,b=16;break}}),E.execute(u,_)===!1)||!m.meta.tr.length)return!1;if(f)return!0;if(m.meta.tr[m.meta.tr.length-1].meta.grp|=1,m.map=x=[u,0],m.block=!0,m.level=d.level++,d.tokens.push(m),m.meta.cap){h=d.push("caption_open","caption",1),h.map=m.meta.cap.map;var Y=[],K=m.meta.cap.first?"top":"bottom";m.meta.cap.label!==null&&Y.push(["id",m.meta.cap.label]),K!=="top"&&Y.push(["style","caption-side: "+K]),h.attrs=Y,h=d.push("inline","",0),h.content=m.meta.cap.text,h.map=m.meta.cap.map,h.children=[],h=d.push("caption_close","caption",-1)}for(W=0;W<m.meta.tr.length;W++){for(T=new d.Token("td_th_placeholder","",0),S=m.meta.tr[W],S.meta.grp&16&&(R=S.meta.type===256?"thead":"tbody",h=d.push(R+"_open",R,1),h.map=y=[S.map[0],0],N=[]),S.block=!0,S.level=d.level++,d.tokens.push(S),M=0;M<S.meta.bounds.length-1;M++){if(k=[S.meta.bounds[M]+1,S.meta.bounds[M+1]],P=d.src.slice.apply(d.src,k),P===""){v=T.attrGet("colspan"),T.attrSet("colspan",v===null?2:v+1);continue}if(t.rowspan&&N[M]&&P.trim()==="^^"){C=N[M].attrGet("rowspan"),N[M].attrSet("rowspan",C===null?2:C+1),T=new d.Token("td_th_placeholder","",0);continue}if(R=S.meta.type===256?"th":"td",h=d.push(R+"_open",R,1),h.map=S.map,h.attrs=[],m.meta.sep.aligns[M]&&h.attrs.push(["style","text-align:"+m.meta.sep.aligns[M]]),m.meta.sep.wraps[M]&&h.attrs.push(["class","extend"]),T=N[M]=h,t.multiline&&S.meta.multiline&&S.meta.mbounds){for(P=new Array(S.map[0]).fill("").concat([P.trimRight()]),H=1;H<S.meta.mbounds.length;H++)M>S.meta.mbounds[H].length-2||(k=[S.meta.mbounds[H][M]+1,S.meta.mbounds[H][M+1]],P.push(d.src.slice.apply(d.src,k).trimRight()));for(I=new d.md.block.State(P.join(`
-`),d.md,d.env,[]),I.level=S.level+1,d.md.block.tokenize(I,S.map[0],I.lineMax),z=0;z<I.tokens.length;z++)d.tokens.push(I.tokens[z])}else h=d.push("inline","",0),h.content=P.trim(),h.map=S.map,h.level=S.level+1,h.children=[];h=d.push(R+"_close",R,-1)}d.push("tr_close","tr",-1),S.meta.grp&1&&(R=S.meta.type===256?"thead":"tbody",h=d.push(R+"_close",R,-1),y[1]=S.map[1])}return x[1]=Math.max(y[1],m.meta.sep.map[1],m.meta.cap?m.meta.cap.map[1]:-1),h=d.push("table_close","table",-1),d.line=x[1],!0}e.block.ruler.at("table",c,{alt:["paragraph","reference"]})};const N8e=_r(O8e);var M8e=function(e,t){t=t||{};function i(r){for(var s=1,o=1,a=r.tokens.length;o<a-1;++o){var l=r.tokens[o];if(l.type==="inline"&&!(!l.children||l.children.length!==1&&l.children.length!==3)&&!(l.children.length===1&&l.children[0].type!=="image")&&!(l.children.length===3&&(l.children[0].type!=="link_open"||l.children[1].type!=="image"||l.children[2].type!=="link_close"))&&!(o!==0&&r.tokens[o-1].type!=="paragraph_open")&&!(o!==a-1&&r.tokens[o+1].type!=="paragraph_close")){var c=r.tokens[o-1];c.type="figure_open",c.tag="figure",r.tokens[o+1].type="figure_close",r.tokens[o+1].tag="figure",t.dataType==!0&&r.tokens[o-1].attrPush(["data-type","image"]);var d;if(t.link==!0&&l.children.length===1&&(d=l.children[0],l.children.unshift(new r.Token("link_open","a",1)),l.children[0].attrPush(["href",d.attrGet("src")]),l.children.push(new r.Token("link_close","a",-1))),d=l.children.length===1?l.children[0]:l.children[1],t.figcaption==!0&&d.children&&d.children.length&&(l.children.push(new r.Token("figcaption_open","figcaption",1)),l.children.splice(l.children.length,0,...d.children),l.children.push(new r.Token("figcaption_close","figcaption",-1)),d.children.length=0),t.copyAttrs&&d.attrs){const u=t.copyAttrs===!0?"":t.copyAttrs;c.attrs=d.attrs.filter(([_,f])=>_.match(u))}t.tabindex==!0&&(r.tokens[o-1].attrPush(["tabindex",s]),s++),t.lazyLoading==!0&&d.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",i)};const I8e=_r(M8e);var Qr={};Qr.getAttrs=function(n,e,t){const i=/[^\t\n\f />"'=]/,r=" ",s="=",o=".",a="#",l=[];let c="",d="",u=!0,_=!1;for(let f=e+t.leftDelimiter.length;f<n.length;f++){if(n.slice(f,f+t.rightDelimiter.length)===t.rightDelimiter){c!==""&&l.push([c,d]);break}const E=n.charAt(f);if(E===s&&u){u=!1;continue}if(E===o&&c===""){n.charAt(f+1)===o?(c="css-module",f+=1):c="class",u=!1;continue}if(E===a&&c===""){c="id",u=!1;continue}if(E==='"'&&d===""&&!_){_=!0;continue}if(E==='"'&&_){_=!1;continue}if(E===r&&!_){if(c==="")continue;l.push([c,d]),c="",d="",u=!0;continue}if(!(u&&E.search(i)===-1)){if(u){c+=E;continue}d+=E}}if(t.allowedAttributes&&t.allowedAttributes.length){const f=t.allowedAttributes;return l.filter(function(E){const b=E[0];function g(h){return b===h||h instanceof RegExp&&h.test(b)}return f.some(g)})}return l};Qr.addAttrs=function(n,e){for(let t=0,i=n.length;t<i;++t){const r=n[t][0];r==="class"?e.attrJoin("class",n[t][1]):r==="css-module"?e.attrJoin("css-module",n[t][1]):e.attrPush(n[t])}return e};Qr.hasDelimiters=function(n,e){if(!n)throw new Error('Parameter `where` not passed. Should be "start", "end" or "only".');return function(t){const i=e.leftDelimiter.length+1+e.rightDelimiter.length;if(!t||typeof t!="string"||t.length<i)return!1;function r(d){const u=d.charAt(e.leftDelimiter.length)===".",_=d.charAt(e.leftDelimiter.length)==="#";return u||_?d.length>=i+1:d.length>=i}let s,o,a,l;const c=i-e.rightDelimiter.length;switch(n){case"start":a=t.slice(0,e.leftDelimiter.length),s=a===e.leftDelimiter?0:-1,o=s===-1?-1:t.indexOf(e.rightDelimiter,c),l=t.charAt(o+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(o=-1);break;case"end":s=t.lastIndexOf(e.leftDelimiter),o=s===-1?-1:t.indexOf(e.rightDelimiter,s+c),o=o===t.length-e.rightDelimiter.length?o:-1;break;case"only":a=t.slice(0,e.leftDelimiter.length),s=a===e.leftDelimiter?0:-1,a=t.slice(t.length-e.rightDelimiter.length),o=a===e.rightDelimiter?t.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${n}, expected 'start', 'end' or 'only'`)}return s!==-1&&o!==-1&&r(t.substring(s,o+e.rightDelimiter.length))}};Qr.removeDelimiter=function(n,e){const t=Vm(e.leftDelimiter),i=Vm(e.rightDelimiter),r=new RegExp("[ \\n]?"+t+"[^"+t+i+"]+"+i+"$"),s=n.search(r);return s!==-1?n.slice(0,s):n};function Vm(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Qr.escapeRegExp=Vm;Qr.getMatchingOpeningToken=function(n,e){if(n[e].type==="softbreak")return!1;if(n[e].nesting===0)return n[e];const t=n[e].level,i=n[e].type.replace("_close","_open");for(;e>=0;--e)if(n[e].type===i&&n[e].level===t)return n[e];return!1};const D8e=/[&<>"]/,L8e=/[&<>"]/g,k8e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function P8e(n){return k8e[n]}Qr.escapeHtml=function(n){return D8e.test(n)?n.replace(L8e,P8e):n};const Et=Qr;var U8e=n=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Et.escapeRegExp(n.leftDelimiter)+"[^"+Et.escapeRegExp(n.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Et.hasDelimiters("end",n)}],transform:(t,i)=>{const r=t[i],s=r.info.lastIndexOf(n.leftDelimiter),o=Et.getAttrs(r.info,s,n);Et.addAttrs(o,r),r.info=Et.removeDelimiter(r.info,n)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>t==="image"||t==="code_inline"},{shift:0,type:"text",content:Et.hasDelimiters("start",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content.indexOf(n.rightDelimiter),a=t[i].children[r-1],l=Et.getAttrs(s.content,0,n);Et.addAttrs(l,a),s.content.length===o+n.rightDelimiter.length?t[i].children.splice(r,1):s.content=s.content.slice(o+n.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Et.hasDelimiters("only",n)}],transform:(t,i)=>{const r=t[i+2],s=Et.getMatchingOpeningToken(t,i),o=Et.getAttrs(r.content,0,n);Et.addAttrs(o,s),t.splice(i+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Et.hasDelimiters("start",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=Et.getAttrs(o,0,n),l=Et.getMatchingOpeningToken(t[i].children,r-1);Et.addAttrs(a,l),s.content=o.slice(o.indexOf(n.rightDelimiter)+n.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:Et.hasDelimiters("only",n)}]}],transform:(t,i,r)=>{const o=t[i].children[r].content,a=Et.getAttrs(o,0,n);let l=i-2;for(;t[l-1]&&t[l-1].type!=="ordered_list_open"&&t[l-1].type!=="bullet_list_open";)l--;Et.addAttrs(a,t[l-1]),t[i].children=t[i].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>t==="bullet_list_close"||t==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Et.hasDelimiters("only",n),children:t=>t.length===1},{shift:3,type:"paragraph_close"}],transform:(t,i)=>{const s=t[i+2].content,o=Et.getAttrs(s,0,n),a=Et.getMatchingOpeningToken(t,i);Et.addAttrs(o,a),t.splice(i+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Et.hasDelimiters("end",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=Et.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);Et.addAttrs(a,t[i-2]);const l=o.slice(0,o.lastIndexOf(n.leftDelimiter));s.content=vy(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:Et.hasDelimiters("only",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=Et.getAttrs(s.content,0,n);let a=i+1;for(;t[a+1]&&t[a+1].nesting===-1;)a++;const l=Et.getMatchingOpeningToken(t,a);Et.addAttrs(o,l),t[i].children=t[i].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>t.length===1,content:t=>t.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(t,i)=>{const r=t[i];r.type="hr",r.tag="hr",r.nesting=0;const s=t[i+1].content,o=s.lastIndexOf(n.leftDelimiter),a=Et.getAttrs(s,o,n);Et.addAttrs(a,r),r.markup=s,t.splice(i+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Et.hasDelimiters("end",n),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=Et.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);let l=i+1;for(;t[l+1]&&t[l+1].nesting===-1;)l++;const c=Et.getMatchingOpeningToken(t,l);Et.addAttrs(a,c);const d=o.slice(0,o.lastIndexOf(n.leftDelimiter));s.content=vy(d)!==" "?d:d.slice(0,-1)}}]};function vy(n){return n.slice(-1)[0]}const F8e=U8e,B8e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var G8e=function(e,t){let i=Object.assign({},B8e);i=Object.assign(i,t);const r=F8e(i);function s(o){const a=o.tokens;for(let l=0;l<a.length;l++)for(let c=0;c<r.length;c++){const d=r[c];let u=null;d.tests.every(f=>{const E=qm(a,l,f);return E.j!==null&&(u=E.j),E.match})&&(d.transform(a,l,u),(d.name==="inline attributes"||d.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",s)};function qm(n,e,t){const i={match:!1,j:null},r=t.shift!==void 0?e+t.shift:t.position;if(t.shift!==void 0&&r<0)return i;const s=V8e(n,r);if(s===void 0)return i;for(const o of Object.keys(t))if(!(o==="shift"||o==="position")){if(s[o]===void 0)return i;if(o==="children"&&z8e(t.children)){if(s.children.length===0)return i;let a;const l=t.children,c=s.children;if(l.every(d=>d.position!==void 0)){if(a=l.every(d=>qm(c,d.position,d).match),a){const d=q8e(l).position;i.j=d>=0?d:c.length+d}}else for(let d=0;d<c.length;d++)if(a=l.every(u=>qm(c,d,u).match),a){i.j=d;break}if(a===!1)return i;continue}switch(typeof t[o]){case"boolean":case"number":case"string":if(s[o]!==t[o])return i;break;case"function":if(!t[o](s[o]))return i;break;case"object":if(H8e(t[o])){if(t[o].every(l=>l(s[o]))===!1)return i;break}default:throw new Error(`Unknown type of pattern test (key: ${o}). Test should be of type boolean, number, string, function or array of functions.`)}}return i.match=!0,i}function z8e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="object")}function H8e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="function")}function V8e(n,e){return e>=0?n[e]:n[n.length+e]}function q8e(n){return n.slice(-1)[0]||{}}const Y8e=_r(G8e);function ew(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],i=typeof t;(i==="object"||i==="function")&&!Object.isFrozen(t)&&ew(t)}),n}let Ty=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function tw(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Ur(n,...e){const t=Object.create(null);for(const i in n)t[i]=n[i];return e.forEach(function(i){for(const r in i)t[r]=i[r]}),t}const $8e="</span>",xy=n=>!!n.scope,W8e=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((i,r)=>`${i}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class K8e{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=tw(e)}openNode(e){if(!xy(e))return;const t=W8e(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){xy(e)&&(this.buffer+=$8e)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Cy=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class lE{constructor(){this.rootNode=Cy(),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 t=Cy({scope:e});this.add(t),this.stack.push(t)}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,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(i=>this._walk(e,i)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{lE._collapse(t)}))}}class j8e extends lE{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const i=e.root;t&&(i.scope=`language:${t}`),this.add(i)}toHTML(){return new K8e(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function bl(n){return n?typeof n=="string"?n:n.source:null}function nw(n){return qs("(?=",n,")")}function Q8e(n){return qs("(?:",n,")*")}function X8e(n){return qs("(?:",n,")?")}function qs(...n){return n.map(t=>bl(t)).join("")}function Z8e(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function cE(...n){return"("+(Z8e(n).capture?"":"?:")+n.map(i=>bl(i)).join("|")+")"}function iw(n){return new RegExp(n.toString()+"|").exec("").length-1}function J8e(n,e){const t=n&&n.exec(e);return t&&t.index===0}const e6e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function dE(n,{joinWith:e}){let t=0;return n.map(i=>{t+=1;const r=t;let s=bl(i),o="";for(;s.length>0;){const a=e6e.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&t++)}return o}).map(i=>`(${i})`).join(e)}const t6e=/\b\B/,rw="[a-zA-Z]\\w*",uE="[a-zA-Z_]\\w*",sw="\\b\\d+(\\.\\d+)?",ow="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",aw="\\b(0b[01]+)",n6e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",i6e=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=qs(e,/.*\b/,n.binary,/\b.*/)),Ur({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,i)=>{t.index!==0&&i.ignoreMatch()}},n)},Sl={begin:"\\\\[\\s\\S]",relevance:0},r6e={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sl]},s6e={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sl]},o6e={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/},nu=function(n,e,t={}){const i=Ur({scope:"comment",begin:n,end:e,contains:[]},t);i.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 r=cE("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 i.contains.push({begin:qs(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},a6e=nu("//","$"),l6e=nu("/\\*","\\*/"),c6e=nu("#","$"),d6e={scope:"number",begin:sw,relevance:0},u6e={scope:"number",begin:ow,relevance:0},_6e={scope:"number",begin:aw,relevance:0},p6e={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Sl,{begin:/\[/,end:/\]/,relevance:0,contains:[Sl]}]},f6e={scope:"title",begin:rw,relevance:0},h6e={scope:"title",begin:uE,relevance:0},m6e={begin:"\\.\\s*"+uE,relevance:0},g6e=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ec=Object.freeze({__proto__:null,APOS_STRING_MODE:r6e,BACKSLASH_ESCAPE:Sl,BINARY_NUMBER_MODE:_6e,BINARY_NUMBER_RE:aw,COMMENT:nu,C_BLOCK_COMMENT_MODE:l6e,C_LINE_COMMENT_MODE:a6e,C_NUMBER_MODE:u6e,C_NUMBER_RE:ow,END_SAME_AS_BEGIN:g6e,HASH_COMMENT_MODE:c6e,IDENT_RE:rw,MATCH_NOTHING_RE:t6e,METHOD_GUARD:m6e,NUMBER_MODE:d6e,NUMBER_RE:sw,PHRASAL_WORDS_MODE:o6e,QUOTE_STRING_MODE:s6e,REGEXP_MODE:p6e,RE_STARTERS_RE:n6e,SHEBANG:i6e,TITLE_MODE:f6e,UNDERSCORE_IDENT_RE:uE,UNDERSCORE_TITLE_MODE:h6e});function E6e(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function b6e(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function S6e(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=E6e,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function y6e(n,e){Array.isArray(n.illegal)&&(n.illegal=cE(...n.illegal))}function v6e(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function T6e(n,e){n.relevance===void 0&&(n.relevance=1)}const x6e=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(i=>{delete n[i]}),n.keywords=t.keywords,n.begin=qs(t.beforeMatch,nw(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},C6e=["of","and","for","in","not","or","if","then","parent","list","value"],R6e="keyword";function lw(n,e,t=R6e){const i=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(s){Object.assign(i,lw(n[s],e,s))}),i;function r(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");i[l[0]]=[s,A6e(l[0],l[1])]})}}function A6e(n,e){return e?Number(e):w6e(n)?0:1}function w6e(n){return C6e.includes(n.toLowerCase())}const Ry={},Rs=n=>{console.error(n)},Ay=(n,...e)=>{console.log(`WARN: ${n}`,...e)},Js=(n,e)=>{Ry[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Ry[`${n}/${e}`]=!0)},ld=new Error;function cw(n,e,{key:t}){let i=0;const r=n[t],s={},o={};for(let a=1;a<=e.length;a++)o[a+i]=r[a],s[a+i]=!0,i+=iw(e[a-1]);n[t]=o,n[t]._emit=s,n[t]._multi=!0}function O6e(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw Rs("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ld;if(typeof n.beginScope!="object"||n.beginScope===null)throw Rs("beginScope must be object"),ld;cw(n,n.begin,{key:"beginScope"}),n.begin=dE(n.begin,{joinWith:""})}}function N6e(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw Rs("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ld;if(typeof n.endScope!="object"||n.endScope===null)throw Rs("endScope must be object"),ld;cw(n,n.end,{key:"endScope"}),n.end=dE(n.end,{joinWith:""})}}function M6e(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function I6e(n){M6e(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),O6e(n),N6e(n)}function D6e(n){function e(o,a){return new RegExp(bl(o),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(a?"g":""))}class t{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+=iw(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(dE(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((u,_)=>_>0&&u!==void 0),d=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,d)}}class i{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 t;return this.rules.slice(a).forEach(([c,d])=>l.addRule(c,d)),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 c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function r(o){const a=new i;return o.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){const l=o;if(o.isCompiled)return l;[b6e,v6e,I6e,x6e].forEach(d=>d(o,a)),n.compilerExtensions.forEach(d=>d(o,a)),o.__beforeBegin=null,[S6e,y6e,T6e].forEach(d=>d(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=lw(o.keywords,n.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),l.beginRe=e(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=e(l.end)),l.terminatorEnd=bl(l.end)||"",o.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(l.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(d){return L6e(d==="self"?o:d)})),o.contains.forEach(function(d){s(d,l)}),o.starts&&s(o.starts,a),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return n.classNameAliases=Ur(n.classNameAliases||{}),s(n)}function dw(n){return n?n.endsWithParent||dw(n.starts):!1}function L6e(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return Ur(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:dw(n)?Ur(n,{starts:n.starts?Ur(n.starts):null}):Object.isFrozen(n)?Ur(n):n}var k6e="11.9.0";class P6e extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ju=tw,wy=Ur,Oy=Symbol("nomatch"),U6e=7,uw=function(n){const e=Object.create(null),t=Object.create(null),i=[];let r=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",o={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:j8e};function l(I){return a.noHighlightRe.test(I)}function c(I){let Y=I.className+" ";Y+=I.parentNode?I.parentNode.className:"";const K=a.languageDetectRe.exec(Y);if(K){const q=y(K[1]);return q||(Ay(s.replace("{}",K[1])),Ay("Falling back to no-highlight mode for this block.",I)),q?K[1]:"no-highlight"}return Y.split(/\s+/).find(q=>l(q)||y(q))}function d(I,Y,K){let q="",le="";typeof Y=="object"?(q=I,K=Y.ignoreIllegals,le=Y.language):(Js("10.7.0","highlight(lang, code, ...args) has been deprecated."),Js("10.7.0",`Please use highlight(code, options) instead.
-https://github.com/highlightjs/highlight.js/issues/2277`),le=I,q=Y),K===void 0&&(K=!0);const X={code:q,language:le};H("before:highlight",X);const Z=X.result?X.result:u(X.language,X.code,K);return Z.code=X.code,H("after:highlight",Z),Z}function u(I,Y,K,q){const le=Object.create(null);function X($,J){return $.keywords[J]}function Z(){if(!B.keywords){te.addText(ie);return}let $=0;B.keywordPatternRe.lastIndex=0;let J=B.keywordPatternRe.exec(ie),ve="";for(;J;){ve+=ie.substring($,J.index);const Ee=ee.case_insensitive?J[0].toLowerCase():J[0],Me=X(B,Ee);if(Me){const[Ue,Je]=Me;if(te.addText(ve),ve="",le[Ee]=(le[Ee]||0)+1,le[Ee]<=U6e&&(w+=Je),Ue.startsWith("_"))ve+=J[0];else{const Ne=ee.classNameAliases[Ue]||Ue;ye(J[0],Ne)}}else ve+=J[0];$=B.keywordPatternRe.lastIndex,J=B.keywordPatternRe.exec(ie)}ve+=ie.substring($),te.addText(ve)}function _e(){if(ie==="")return;let $=null;if(typeof B.subLanguage=="string"){if(!e[B.subLanguage]){te.addText(ie);return}$=u(B.subLanguage,ie,!0,ae[B.subLanguage]),ae[B.subLanguage]=$._top}else $=f(ie,B.subLanguage.length?B.subLanguage:null);B.relevance>0&&(w+=$.relevance),te.__addSublanguage($._emitter,$.language)}function fe(){B.subLanguage!=null?_e():Z(),ie=""}function ye($,J){$!==""&&(te.startScope(J),te.addText($),te.endScope())}function j($,J){let ve=1;const Ee=J.length-1;for(;ve<=Ee;){if(!$._emit[ve]){ve++;continue}const Me=ee.classNameAliases[$[ve]]||$[ve],Ue=J[ve];Me?ye(Ue,Me):(ie=Ue,Z(),ie=""),ve++}}function de($,J){return $.scope&&typeof $.scope=="string"&&te.openNode(ee.classNameAliases[$.scope]||$.scope),$.beginScope&&($.beginScope._wrap?(ye(ie,ee.classNameAliases[$.beginScope._wrap]||$.beginScope._wrap),ie=""):$.beginScope._multi&&(j($.beginScope,J),ie="")),B=Object.create($,{parent:{value:B}}),B}function Q($,J,ve){let Ee=J8e($.endRe,ve);if(Ee){if($["on:end"]){const Me=new Ty($);$["on:end"](J,Me),Me.isMatchIgnored&&(Ee=!1)}if(Ee){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return Q($.parent,J,ve)}function he($){return B.matcher.regexIndex===0?(ie+=$[0],1):(ce=!0,0)}function Ae($){const J=$[0],ve=$.rule,Ee=new Ty(ve),Me=[ve.__beforeBegin,ve["on:begin"]];for(const Ue of Me)if(Ue&&(Ue($,Ee),Ee.isMatchIgnored))return he(J);return ve.skip?ie+=J:(ve.excludeBegin&&(ie+=J),fe(),!ve.returnBegin&&!ve.excludeBegin&&(ie=J)),de(ve,$),ve.returnBegin?0:J.length}function O($){const J=$[0],ve=Y.substring($.index),Ee=Q(B,$,ve);if(!Ee)return Oy;const Me=B;B.endScope&&B.endScope._wrap?(fe(),ye(J,B.endScope._wrap)):B.endScope&&B.endScope._multi?(fe(),j(B.endScope,$)):Me.skip?ie+=J:(Me.returnEnd||Me.excludeEnd||(ie+=J),fe(),Me.excludeEnd&&(ie=J));do B.scope&&te.closeNode(),!B.skip&&!B.subLanguage&&(w+=B.relevance),B=B.parent;while(B!==Ee.parent);return Ee.starts&&de(Ee.starts,$),Me.returnEnd?0:J.length}function F(){const $=[];for(let J=B;J!==ee;J=J.parent)J.scope&&$.unshift(J.scope);$.forEach(J=>te.openNode(J))}let V={};function re($,J){const ve=J&&J[0];if(ie+=$,ve==null)return fe(),0;if(V.type==="begin"&&J.type==="end"&&V.index===J.index&&ve===""){if(ie+=Y.slice(J.index,J.index+1),!r){const Ee=new Error(`0 width match regex (${I})`);throw Ee.languageName=I,Ee.badRule=V.rule,Ee}return 1}if(V=J,J.type==="begin")return Ae(J);if(J.type==="illegal"&&!K){const Ee=new Error('Illegal lexeme "'+ve+'" for mode "'+(B.scope||"<unnamed>")+'"');throw Ee.mode=B,Ee}else if(J.type==="end"){const Ee=O(J);if(Ee!==Oy)return Ee}if(J.type==="illegal"&&ve==="")return 1;if(G>1e5&&G>J.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ie+=ve,ve.length}const ee=y(I);if(!ee)throw Rs(s.replace("{}",I)),new Error('Unknown language: "'+I+'"');const be=D6e(ee);let xe="",B=q||be;const ae={},te=new a.__emitter(a);F();let ie="",w=0,A=0,G=0,ce=!1;try{if(ee.__emitTokens)ee.__emitTokens(Y,te);else{for(B.matcher.considerAll();;){G++,ce?ce=!1:B.matcher.considerAll(),B.matcher.lastIndex=A;const $=B.matcher.exec(Y);if(!$)break;const J=Y.substring(A,$.index),ve=re(J,$);A=$.index+ve}re(Y.substring(A))}return te.finalize(),xe=te.toHTML(),{language:I,value:xe,relevance:w,illegal:!1,_emitter:te,_top:B}}catch($){if($.message&&$.message.includes("Illegal"))return{language:I,value:ju(Y),illegal:!0,relevance:0,_illegalBy:{message:$.message,index:A,context:Y.slice(A-100,A+100),mode:$.mode,resultSoFar:xe},_emitter:te};if(r)return{language:I,value:ju(Y),illegal:!1,relevance:0,errorRaised:$,_emitter:te,_top:B};throw $}}function _(I){const Y={value:ju(I),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return Y._emitter.addText(I),Y}function f(I,Y){Y=Y||a.languages||Object.keys(e);const K=_(I),q=Y.filter(y).filter(P).map(fe=>u(fe,I,!1));q.unshift(K);const le=q.sort((fe,ye)=>{if(fe.relevance!==ye.relevance)return ye.relevance-fe.relevance;if(fe.language&&ye.language){if(y(fe.language).supersetOf===ye.language)return 1;if(y(ye.language).supersetOf===fe.language)return-1}return 0}),[X,Z]=le,_e=X;return _e.secondBest=Z,_e}function E(I,Y,K){const q=Y&&t[Y]||K;I.classList.add("hljs"),I.classList.add(`language-${q}`)}function b(I){let Y=null;const K=c(I);if(l(K))return;if(H("before:highlightElement",{el:I,language:K}),I.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",I);return}if(I.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(I)),a.throwUnescapedHTML))throw new P6e("One of your code blocks includes unescaped HTML.",I.innerHTML);Y=I;const q=Y.textContent,le=K?d(q,{language:K,ignoreIllegals:!0}):f(q);I.innerHTML=le.value,I.dataset.highlighted="yes",E(I,K,le.language),I.result={language:le.language,re:le.relevance,relevance:le.relevance},le.secondBest&&(I.secondBest={language:le.secondBest.language,relevance:le.secondBest.relevance}),H("after:highlightElement",{el:I,result:le,text:q})}function g(I){a=wy(a,I)}const h=()=>{v(),Js("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")};function m(){v(),Js("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")}let S=!1;function v(){if(document.readyState==="loading"){S=!0;return}document.querySelectorAll(a.cssSelector).forEach(b)}function T(){S&&v()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1);function C(I,Y){let K=null;try{K=Y(n)}catch(q){if(Rs("Language definition for '{}' could not be registered.".replace("{}",I)),r)Rs(q);else throw q;K=o}K.name||(K.name=I),e[I]=K,K.rawDefinition=Y.bind(null,n),K.aliases&&R(K.aliases,{languageName:I})}function N(I){delete e[I];for(const Y of Object.keys(t))t[Y]===I&&delete t[Y]}function x(){return Object.keys(e)}function y(I){return I=(I||"").toLowerCase(),e[I]||e[t[I]]}function R(I,{languageName:Y}){typeof I=="string"&&(I=[I]),I.forEach(K=>{t[K.toLowerCase()]=Y})}function P(I){const Y=y(I);return Y&&!Y.disableAutodetect}function k(I){I["before:highlightBlock"]&&!I["before:highlightElement"]&&(I["before:highlightElement"]=Y=>{I["before:highlightBlock"](Object.assign({block:Y.el},Y))}),I["after:highlightBlock"]&&!I["after:highlightElement"]&&(I["after:highlightElement"]=Y=>{I["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function W(I){k(I),i.push(I)}function M(I){const Y=i.indexOf(I);Y!==-1&&i.splice(Y,1)}function H(I,Y){const K=I;i.forEach(function(q){q[K]&&q[K](Y)})}function z(I){return Js("10.7.0","highlightBlock will be removed entirely in v12.0"),Js("10.7.0","Please use highlightElement now."),b(I)}Object.assign(n,{highlight:d,highlightAuto:f,highlightAll:v,highlightElement:b,highlightBlock:z,configure:g,initHighlighting:h,initHighlightingOnLoad:m,registerLanguage:C,unregisterLanguage:N,listLanguages:x,getLanguage:y,registerAliases:R,autoDetection:P,inherit:wy,addPlugin:W,removePlugin:M}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=k6e,n.regex={concat:qs,lookahead:nw,either:cE,optional:X8e,anyNumberOfTimes:Q8e};for(const I in ec)typeof ec[I]=="object"&&ew(ec[I]);return Object.assign(n,ec),n},qo=uw({});qo.newInstance=()=>uw({});var F6e=qo;qo.HighlightJS=qo;qo.default=qo;var Qu,Ny;function B6e(){if(Ny)return Qu;Ny=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",s="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",d="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",u="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",_="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",f=c+d+u+_,E="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",b="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",g="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",h="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",m="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",S="отображениевремениэлементовпланировщика ",v="типфайлаформатированногодокумента ",T="обходрезультатазапроса типзаписизапроса ",C="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",N="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",x="типизмеренияпостроителязапроса ",y="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",R="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",P="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",k="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",W="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",M="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",H="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",z="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",I="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",Y="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",K="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",q=E+b+g+h+m+S+v+T+C+N+x+y+R+P+k+W+M+H+z+I+Y+K,Z="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",_e="null истина ложь неопределено",fe=e.inherit(e.NUMBER_MODE),ye={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},j={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},de=e.inherit(e.C_LINE_COMMENT_MODE),Q={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:s+l},contains:[de]},he={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ae={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:_e},contains:[fe,ye,j]},de]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:s,built_in:f,class:q,type:Z,literal:_e},contains:[Q,Ae,de,he,fe,ye,j]}}return Qu=n,Qu}var Xu,My;function G6e(){if(My)return Xu;My=1;function n(e){const t=e.regex,i=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],s=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},d={scope:"attribute",match:t.concat(i,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},d,s,o,a,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Xu=n,Xu}var Zu,Iy;function z6e(){if(Iy)return Zu;Iy=1;function n(e){const t=e.regex,i=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...i)),end:/"/,keywords:i,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Zu=n,Zu}var Ju,Dy;function H6e(){if(Dy)return Ju;Dy=1;function n(e){const t=e.regex,i=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(i,t.concat("(\\.",i,")*")),s=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:i,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,s)}]},e.METHOD_GUARD],illegal:/#/}}return Ju=n,Ju}var e_,Ly;function V6e(){if(Ly)return e_;Ly=1;function n(e){const t="\\d(_|\\d)*",i="[eE][-+]?"+t,r=t+"(\\."+t+")?("+i+")?",s="\\w+",a="\\b("+(t+"#"+s+"(\\."+s+")?#("+i+")?")+"|"+r+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,d=e.COMMENT("--","$"),u={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[d,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[d,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},u,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},u]}}return e_=n,e_}var t_,ky;function q6e(){if(ky)return t_;ky=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},i={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,i]};return t.contains=[r],i.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,i,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return t_=n,t_}var n_,Py;function Y6e(){if(Py)return n_;Py=1;function n(e){const t={className:"number",begin:/[$%]\d+/},i={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},s={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,s,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,i,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return n_=n,n_}var i_,Uy;function $6e(){if(Uy)return i_;Uy=1;function n(e){const t=e.regex,i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,i]},s=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),a=[s,o,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[i,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}return i_=n,i_}var r_,Fy;function W6e(){if(Fy)return r_;Fy=1;function n(e){const t="[A-Za-z_][0-9A-Za-z_]*",i={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},r={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},s={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},a={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,s,e.REGEXP_MODE];const l=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:i,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,s,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return r_=n,r_}var s_,By;function K6e(){if(By)return s_;By=1;function n(t){const i=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",l="(?!struct)("+s+"|"+i.optional(o)+"[a-zA-Z_]\\w*"+i.optional(a)+")",c={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:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},t.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:i.optional(o)+t.IDENT_RE,relevance:0},b=i.optional(o)+t.IDENT_RE+"\\s*\\(",g=["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"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],S=["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"],C={type:h,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},N={className:"function.dispatch",relevance:0,keywords:{_hint:S},begin:i.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,i.lookahead(/(<[^<>]+>|)\s*\(/))},x=[N,f,c,r,t.C_BLOCK_COMMENT_MODE,_,u],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:x.concat([{begin:/\(/,end:/\)/,keywords:C,contains:x.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+l+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:C,relevance:0},{begin:b,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,_]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,u,_,c,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,u,_,c]}]},c,r,t.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(y,R,N,x,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:C,contains:["self",c]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const i={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=n(t),s=r.keywords;return s.type=[...s.type,...i.type],s.literal=[...s.literal,...i.literal],s.built_in=[...s.built_in,...i.built_in],s._hints=i._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}return s_=e,s_}var o_,Gy;function j6e(){if(Gy)return o_;Gy=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return o_=n,o_}var a_,zy;function Q6e(){if(zy)return a_;zy=1;function n(e){const t=e.regex,i=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(i,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:i,relevance:0,starts:d}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(i,/>/))),contains:[{className:"name",begin:i,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return a_=n,a_}var l_,Hy;function X6e(){if(Hy)return l_;Hy=1;function n(e){const t=e.regex,i={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],s=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ 	].+?([ 	]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,a,...r,...s,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},i,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return l_=n,l_}var c_,Vy;function Z6e(){if(Vy)return c_;Vy=1;function n(e){const t=e.regex,i=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:i.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:i,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:i.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:i,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:i,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return c_=n,c_}var d_,qy;function J6e(){if(qy)return d_;qy=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return d_=n,d_}var u_,Yy;function eqe(){if(Yy)return u_;Yy=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",i=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",s="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},d={className:"meta",begin:"#",end:"$",keywords:{keyword:i},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},_={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:s,literal:r},contains:[o,a,l,c,d,u,_]}}return u_=n,u_}var __,$y;function tqe(){if($y)return __;$y=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return __=n,__}var p_,Wy;function nqe(){if(Wy)return p_;Wy=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:i},contains:[t,r,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return p_=n,p_}var f_,Ky;function iqe(){if(Ky)return f_;Ky=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}return f_=n,f_}var h_,jy;function rqe(){if(jy)return h_;jy=1;function n(e){const t=e.regex,i={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={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,i,s]};s.contains.push(a);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},d={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,i]},_=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${_.join("|")})`,relevance:10}),E={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},b=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],h={match:/(\/[a-z._-]+)+/},m=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],S=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],v=["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"],T=["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:b,literal:g,built_in:[...m,...S,"set","shopt",...v,...T]},contains:[f,e.SHEBANG(),E,u,e.HASH_COMMENT_MODE,o,h,a,l,c,d,i]}}return h_=n,h_}var m_,Qy;function sqe(){if(Qy)return m_;Qy=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return m_=n,m_}var g_,Xy;function oqe(){if(Xy)return g_;Xy=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return g_=n,g_}var E_,Zy;function aqe(){if(Zy)return E_;Zy=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return E_=n,E_}var b_,Jy;function lqe(){if(Jy)return b_;Jy=1;function n(e){const t=e.regex,i=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="("+r+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},_={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(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,e.C_BLOCK_COMMENT_MODE]},f={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},E=t.optional(s)+e.IDENT_RE+"\\s*\\(",h={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"},m=[_,l,i,e.C_BLOCK_COMMENT_MODE,u,d],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:m.concat([{begin:/\(/,end:/\)/,keywords:h,contains:m.concat(["self"]),relevance:0}]),relevance:0},v={begin:"("+a+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:E,returnBegin:!0,contains:[e.inherit(f,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[i,e.C_BLOCK_COMMENT_MODE,d,u,l,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",i,e.C_BLOCK_COMMENT_MODE,d,u,l]}]},l,i,e.C_BLOCK_COMMENT_MODE,_]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(S,v,m,[_,{begin:e.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:_,strings:d,keywords:h}}}return b_=n,b_}var S_,ev;function cqe(){if(ev)return S_;ev=1;function n(e){const t=e.regex,i=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",s=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},d={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:[o,a,e.NUMBER_MODE]},...s]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],_={match:[/OBJECT/,/\s+/,t.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:i,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,l,c,e.NUMBER_MODE,_,d]}}return S_=n,S_}var y_,tv;function dqe(){if(tv)return y_;tv=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],i=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],s={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:i,literal:r},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},s]}}return y_=n,y_}var v_,nv;function uqe(){if(nv)return v_;nv=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],i=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],s={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[s]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return s.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(i),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return v_=n,v_}var T_,iv;function _qe(){if(iv)return T_;iv=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return T_=n,T_}var x_,rv;function pqe(){if(rv)return x_;rv=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",i="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",s={$pattern:i,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:i,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},_=e.COMMENT(";","$",{relevance:0}),f={className:"literal",begin:/\b(true|false|nil)\b/},E={begin:"\\[|(#::?"+i+")?\\{",end:"[\\]\\}]",relevance:0},b={className:"symbol",begin:"[:]{1,2}"+i},g={begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},m={keywords:s,className:"name",begin:i,relevance:0,starts:h},S=[u,g,l,c,d,_,b,E,a,f,o],v={beginKeywords:r,keywords:{$pattern:i,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:i,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return g.contains=[v,m,h],h.contains=S,E.contains=S,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,g,l,c,d,_,b,E,a,f]}}return x_=n,x_}var C_,sv;function fqe(){if(sv)return C_;sv=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return C_=n,C_}var R_,ov;function hqe(){if(ov)return R_;ov=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return R_=n,R_}var A_,av;function mqe(){if(av)return A_;av=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],i=["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"],s=[].concat(r,t,i);function o(a){const l=["npm","print"],c=["yes","no","on","off"],d=["then","unless","until","loop","by","when","and","or","is","isnt","not"],u=["var","const","let","function","static"],_=T=>C=>!T.includes(C),f={keyword:n.concat(d).filter(_(u)),literal:e.concat(c),built_in:s.concat(l)},E="[A-Za-z$_][0-9A-Za-z$_]*",b={className:"subst",begin:/#\{/,end:/\}/,keywords:f},g=[a.BINARY_NUMBER_MODE,a.inherit(a.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,b]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,b]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[b,a.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+E},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];b.contains=g;const h=a.inherit(a.TITLE_MODE,{begin:E}),m="(\\(.*\\)\\s*)?\\B[-=]>",S={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(g)}]},v={variants:[{match:[/class\s+/,E,/\s+extends\s+/,E]},{match:[/class\s+/,E]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:f};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:f,illegal:/\/\*/,contains:[...g,a.COMMENT("###","###"),a.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+E+"\\s*=\\s*"+m,end:"[-=]>",returnBegin:!0,contains:[h,S]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:m,end:"[-=]>",returnBegin:!0,contains:[S]}]},v,{begin:E+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return A_=o,A_}var w_,lv;function gqe(){if(lv)return w_;lv=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return w_=n,w_}var O_,cv;function Eqe(){if(cv)return O_;cv=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}return O_=n,O_}var N_,dv;function bqe(){if(dv)return N_;dv=1;function n(e){const t=e.regex,i=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="(?!struct)("+r+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},_={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(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,e.C_BLOCK_COMMENT_MODE]},f={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},E=t.optional(s)+e.IDENT_RE+"\\s*\\(",b=["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"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["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"],m=["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"],T={type:g,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},C={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},N=[C,_,l,i,e.C_BLOCK_COMMENT_MODE,u,d],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:T,contains:N.concat([{begin:/\(/,end:/\)/,keywords:T,contains:N.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+a+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:T,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:T,relevance:0},{begin:E,returnBegin:!0,contains:[f],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:[i,e.C_BLOCK_COMMENT_MODE,d,u,l,{begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:["self",i,e.C_BLOCK_COMMENT_MODE,d,u,l]}]},l,i,e.C_BLOCK_COMMENT_MODE,_]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:T,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,y,C,N,[_,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:T,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:T},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return N_=n,N_}var M_,uv;function Sqe(){if(uv)return M_;uv=1;function n(e){const t="primitive rsc_template",i="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",r="property rsc_defaults op_defaults",s="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",a="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:s+" "+o+" "+a,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+i.split(" ").join("|")+")\\s+",keywords:i,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:r,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}return M_=n,M_}var I_,_v;function yqe(){if(_v)return I_;_v=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",i="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",s="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},d={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(m,S){const v=[{begin:m,end:S}];return v[0].contains=v,v}const _={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},E={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},b={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},h=[d,_,f,b,E,g,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[_,{begin:s}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+i+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=h,d.contains=h.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:h}}return I_=n,I_}var D_,pv;function vqe(){if(pv)return D_;pv=1;function n(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],i=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],s=["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"],o=["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:s.concat(o),built_in:t,literal:r},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={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},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=e.inherit(d,{illegal:/\n/}),_={className:"subst",begin:/\{/,end:/\}/,keywords:a},f=e.inherit(_,{illegal:/\n/}),E={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,f]},b={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]},g=e.inherit(b,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]});_.contains=[b,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],f.contains=[g,E,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const h={variants:[b,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},S=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",v={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:"</?",end:">"}]}]}),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"}},h,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,m,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,m,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:"("+S+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:i.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,m],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[h,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}return D_=n,D_}var L_,fv;function Tqe(){if(fv)return L_;fv=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return L_=n,L_}var k_,hv;function xqe(){if(hv)return k_;hv=1;const n=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"],t=["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"],i=["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"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["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 o(a){const l=a.regex,c=n(a),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},u="and or not only",_=/@-?\w[\w]*(-\w+)*/,f="[a-zA-Z-][a-zA-Z0-9_-]*",E=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,d,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+f,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:":(:)?("+r.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...E,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...E,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:_},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...E,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return k_=o,k_}var P_,mv;function Cqe(){if(mv)return P_;mv=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},i="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",s="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,l="([eE][+-]?"+r+")",c="("+r+"(\\.\\d*|"+l+")|\\d+\\."+r+"|\\."+i+l+"?)",d="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+i+"|"+s+"|"+a+")",_="("+d+"|"+c+")",f=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,E={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},b={className:"number",begin:"\\b("+_+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+f+"|.)",end:"'",illegal:"."},m={className:"string",begin:'"',contains:[{begin:f,relevance:0}],end:'"[cwd]?'},S={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},v={className:"string",begin:"`",end:"`[cwd]?"},T={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},N={className:"meta",begin:"^#!",end:"$",relevance:5},x={className:"meta",begin:"#(line)",end:"$",relevance:5},y={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},R=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,R,T,m,S,v,C,b,E,g,N,x,y]}}return P_=n,P_}var U_,gv;function Rqe(){if(gv)return U_;gv=1;function n(e){const t=e.regex,i={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},s={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}]},o={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+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.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}]},d={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},_=e.inherit(d,{contains:[]}),f=e.inherit(u,{contains:[]});d.contains.push(f),u.contains.push(_);let E=[i,c];return[d,u,_,f].forEach(h=>{h.contains=h.contains.concat(E)}),E=E.concat(d,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:E},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:E}]}]},i,o,d,u,{className:"quote",begin:"^>\\s+",contains:E,end:"$"},s,r,c,a]}}return U_=n,U_}var F_,Ev;function Aqe(){if(Ev)return F_;Ev=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},i={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,i]}]};i.contains=[e.C_NUMBER_MODE,r];const s=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=s.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:s.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[r,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return F_=n,F_}var B_,bv;function wqe(){if(bv)return B_;bv=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[s,a,r].concat(i)},r].concat(i)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[s,a,e.NUMBER_MODE,o,l,c,r].concat(i)}}return B_=n,B_}var G_,Sv;function Oqe(){if(Sv)return G_;Sv=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.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 G_=n,G_}var z_,yv;function Nqe(){if(yv)return z_;yv=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return z_=n,z_}var H_,vv;function Mqe(){if(vv)return H_;vv=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return H_=n,H_}var V_,Tv;function Iqe(){if(Tv)return V_;Tv=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}return V_=n,V_}var q_,xv;function Dqe(){if(xv)return q_;xv=1;function n(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}return q_=n,q_}var Y_,Cv;function Lqe(){if(Cv)return Y_;Cv=1;function n(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}return Y_=n,Y_}var $_,Rv;function kqe(){if(Rv)return $_;Rv=1;function n(e){const t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},i={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[e.inherit(t,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},s={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[i,s]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},d={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},_={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},f={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[d,s,o,a,c,_,u,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,t,r,f,{begin:e.IDENT_RE+"::",keywords:""}]}}return $_=n,$_}var W_,Av;function Pqe(){if(Av)return W_;Av=1;function n(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return W_=n,W_}var K_,wv;function Uqe(){if(wv)return K_;wv=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),i={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},s={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,i,s]}}return K_=n,K_}var j_,Ov;function Fqe(){if(Ov)return j_;Ov=1;function n(e){const t=e.regex,i="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:i,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},u={match:/\\[\s\S]/,scope:"char.escape",relevance:0},_=`[/|([{<"']`,f=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],E=C=>({scope:"char.escape",begin:t.concat(/\\/,C),relevance:0}),b={className:"string",begin:"~[a-z](?="+_+")",contains:f.map(C=>e.inherit(C,{contains:[E(C.end),u,l]}))},g={className:"string",begin:"~[A-Z](?="+_+")",contains:f.map(C=>e.inherit(C,{contains:[E(C.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+_+")",contains:f.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[E(C.end),u,l]}))},{begin:"~R(?="+_+")",contains:f.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[E(C.end)]}))}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},S={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},v=e.inherit(S,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),T=[m,h,g,b,e.HASH_COMMENT_MODE,v,S,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[m,{begin:r}],relevance:0},{className:"symbol",begin:i+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=T,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:T}}return j_=n,j_}var Q_,Nv;function Bqe(){if(Nv)return Q_;Nv=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},s={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[i,r,s,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return Q_=n,Q_}var X_,Mv;function Gqe(){if(Mv)return X_;Mv=1;function n(e){const t=e.regex,i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),s=t.concat(r,/(::\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]+"},c={begin:"#<",end:">"},d=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},_={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{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:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},f="[1-9](_?[0-9])*|0",E="[0-9](_?[0-9])*",b={className:"number",relevance:0,variants:[{begin:`\\b(${f})(\\.(${E}))?([eE][+-]?(${E})|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"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},N=[_,{variants:[{match:[/class\s+/,s,/\s+<\s+/,s]},{match:[/\b(class|module)\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,s],scope:{2:"title.class"},keywords:a},{relevance:0,match:[s,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[_,{begin:i}],relevance:0},b,{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,u],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(c,d),relevance:0}].concat(c,d);u.contains=N,g.contains=N;const x="[>?]>",y="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",R="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",P=[{begin:/^\s*=>/,starts:{end:"$",contains:N}},{className:"meta.prompt",begin:"^("+x+"|"+y+"|"+R+")(?=[ ])",starts:{end:"$",keywords:a,contains:N}}];return d.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(P).concat(d).concat(N)}}return X_=n,X_}var Z_,Iv;function zqe(){if(Iv)return Z_;Iv=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Z_=n,Z_}var J_,Dv;function Hqe(){if(Dv)return J_;Dv=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return J_=n,J_}var ep,Lv;function Vqe(){if(Lv)return ep;Lv=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",i="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},s=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},l={begin:i+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:i,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},d={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},_={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},f={beginKeywords:"fun receive if try case",end:"end",keywords:r};f.contains=[s,a,e.inherit(e.APOS_STRING_MODE,{className:""}),f,l,e.QUOTE_STRING_MODE,o,c,d,u,_];const E=[s,a,f,l,e.QUOTE_STRING_MODE,o,c,d,u,_];l.contains[1].contains=E,c.contains=E,_.contains[1].contains=E;const b=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],g={className:"params",begin:"\\(",end:"\\)",contains:E};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[g,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:E}},s,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:b.map(h=>`${h}|1.5`).join(" ")},contains:[g]},o,e.QUOTE_STRING_MODE,_,d,u,c,{begin:/\.$/}]}}return ep=n,ep}var tp,kv;function qqe(){if(kv)return tp;kv=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return tp=n,tp}var np,Pv;function Yqe(){if(Pv)return np;Pv=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return np=n,np}var ip,Uv;function $qe(){if(Uv)return ip;Uv=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i={className:"string",variants:[{begin:'"',end:'"'}]},s={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,i,s,e.C_NUMBER_MODE]}}return ip=n,ip}var rp,Fv;function Wqe(){if(Fv)return rp;Fv=1;function n(e){const t=e.regex,i={className:"params",begin:"\\(",end:"\\)"},r={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},s=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,s)},{begin:t.concat(/\b\d+/,o,s)},{begin:t.concat(/\.\d+/,o,s)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,i]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}return rp=n,rp}var sp,Bv;function Kqe(){if(Bv)return sp;Bv=1;function n(a){return new RegExp(a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return i("(?=",a,")")}function i(...a){return a.map(c=>e(c)).join("")}function r(a){const l=a[a.length-1];return typeof l=="object"&&l.constructor===Object?(a.splice(a.length-1,1),l):{}}function s(...a){return"("+(r(a).capture?"":"?:")+a.map(d=>e(d)).join("|")+")"}function o(a){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},d=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],u=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],_=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],f=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],b={keyword:l,literal:u,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":_},h={variants:[a.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),a.C_LINE_COMMENT_MODE]},m=/[a-zA-Z_](\w|')*/,S={scope:"variable",begin:/``/,end:/``/},v=/\B('|\^)/,T={scope:"symbol",variants:[{match:i(v,/``.*?``/)},{match:i(v,a.UNDERSCORE_IDENT_RE)}],relevance:0},C=function({includeEqual:fe}){let ye;fe?ye="!%&*+-/<=>@^|~?":ye="!%&*+-/<>@^|~?";const j=Array.from(ye),de=i("[",...j.map(n),"]"),Q=s(de,/\./),he=i(Q,t(Q)),Ae=s(i(he,Q,"*"),i(de,"+"));return{scope:"operator",match:s(Ae,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},N=C({includeEqual:!0}),x=C({includeEqual:!1}),y=function(fe,ye){return{begin:i(fe,t(i(/\s*/,s(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ye,end:t(s(/\n/,/=/)),relevance:0,keywords:a.inherit(b,{type:f}),contains:[h,T,a.inherit(S,{scope:null}),x]}},R=y(/:/,"operator"),P=y(/\bof\b/,"keyword"),k={begin:[/(^|\s+)/,/type/,/\s+/,m],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:b,contains:[h,a.inherit(S,{scope:null}),T,{scope:"operator",match:/<|>/},R]},W={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},M={begin:[/^\s*/,i(/#/,s(...d)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},H={variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]},z={scope:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE]},I={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},a.BACKSLASH_ESCAPE]},Y={scope:"string",begin:/"""/,end:/"""/,relevance:2},K={scope:"subst",begin:/\{/,end:/\}/,keywords:b},q={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},a.BACKSLASH_ESCAPE,K]},le={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},a.BACKSLASH_ESCAPE,K]},X={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},K],relevance:2},Z={scope:"string",match:i(/'/,s(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return K.contains=[le,q,I,z,Z,c,h,S,R,W,M,H,T,N],{name:"F#",aliases:["fs","f#"],keywords:b,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[X,le,q,Y,I,z,Z]},h,S,k,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[S,Y,I,z,Z,H]},P,R,W,M,H,T,N]}}return sp=o,sp}var op,Gv;function jqe(){if(Gv)return op;Gv=1;function n(e){const t=e.regex,i={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},s={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:i,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:i,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,s]},e.C_NUMBER_MODE,s]}}return op=n,op}var ap,zv;function Qqe(){if(zv)return ap;zv=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},i=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i]},s={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,s]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(f,E,b){const g=e.inherit({className:"function",beginKeywords:f,end:E,excludeEnd:!0,contains:[].concat(o)},b||{});return g.contains.push(a),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(i),g},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},d={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},_={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,c,u,d,"self"]};return u.contains.push(_),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,d,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,i,_]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,s]}}return ap=n,ap}var lp,Hv;function Xqe(){if(Hv)return lp;Hv=1;function n(e){const t="[A-Z_][A-Z0-9_.]*",i="%",r={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},s={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:i},s].concat(a)}}return lp=n,lp}var cp,Vv;function Zqe(){if(Vv)return cp;Vv=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return cp=n,cp}var dp,qv;function Jqe(){if(qv)return dp;qv=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return dp=n,dp}var up,Yv;function e7e(){if(Yv)return up;Yv=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return up=n,up}var _p,$v;function t7e(){if($v)return _p;$v=1;function n(e){const o={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:o,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,illegal:/["']/}]}]}}return _p=n,_p}var pp,Wv;function n7e(){if(Wv)return pp;Wv=1;function n(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}return pp=n,pp}var fp,Kv;function i7e(){if(Kv)return fp;Kv=1;function n(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}return fp=n,fp}var hp,jv;function r7e(){if(jv)return hp;jv=1;function n(e){const t=e.regex,i=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(i,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return hp=n,hp}var mp,Qv;function s7e(){if(Qv)return mp;Qv=1;function n(t,i={}){return i.variants=t,i}function e(t){const i=t.regex,r="[A-Za-z0-9_$]+",s=n([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),o={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},a=n([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),l=n([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),c={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),s,l,o,a,c,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:r+"[ 	]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[s,l,o,a,"self"]},{className:"symbol",begin:"^[ 	]*"+i.lookahead(r+":"),excludeBegin:!0,end:r+":",relevance:0}],illegal:/#|<\//}}return mp=e,mp}var gp,Xv;function o7e(){if(Xv)return gp;Xv=1;function n(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return gp=n,gp}var Ep,Zv;function a7e(){if(Zv)return Ep;Zv=1;function n(e){const t=e.regex,i={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},s=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,d=t.either(s,o,a,l),u=t.concat(t.optional(/\.|\.\/|\//),d,t.anyNumberOfTimes(t.concat(c,d))),_=t.concat("(",a,"|",l,")(?==)"),f={begin:u},E=e.inherit(f,{keywords:r}),b={begin:/\(/,end:/\)/},g={className:"attr",begin:_,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,b]}}},h={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,h,g,E,b],returnEnd:!0},S=e.inherit(f,{className:"name",keywords:i,starts:e.inherit(m,{end:/\)/})});b.contains=[S];const v=e.inherit(f,{keywords:i,className:"name",starts:e.inherit(m,{end:/\}\}/})}),T=e.inherit(f,{keywords:i,className:"name"}),C=e.inherit(f,{className:"name",keywords:i,starts:e.inherit(m,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[v],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[T]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[v]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[T]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}return Ep=n,Ep}var bp,Jv;function l7e(){if(Jv)return bp;Jv=1;function n(e){const t="([0-9]_*)+",i="([0-9a-fA-F]_*)+",r="([01]_*)+",s="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",d={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},u={className:"meta",begin:/\{-#/,end:/#-\}/},_={className:"meta",begin:"^#",end:"$"},f={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},E={begin:"\\(",end:"\\)",illegal:'"',contains:[u,_,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),d]},b={begin:/\{/,end:/\}/,contains:E.contains},g={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${i})(\\.(${i}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${s})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[E,d],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[E,d],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[f,E,d]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[u,f,E,b,d]},{beginKeywords:"default",end:"$",contains:[f,E,d]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,d]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[f,e.QUOTE_STRING_MODE,d]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},u,_,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,g,f,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},d,{begin:"->|<-"}]}}return bp=n,bp}var Sp,eT;function c7e(){if(eT)return Sp;eT=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",i=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:i,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return Sp=n,Sp}var yp,tT;function d7e(){if(tT)return yp;tT=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return yp=n,yp}var vp,nT;function u7e(){if(nT)return vp;nT=1;function n(e){const t=e.regex,i="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,s={className:"attribute",begin:t.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[s,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+i+" \\d{3})",end:/$/,contains:[{className:"meta",begin:i},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+i+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:i},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(s,{relevance:0})]}}return vp=n,vp}var Tp,iT;function _7e(){if(iT)return Tp;iT=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",i="["+t+"]["+t+"0-9/;:]*",r={$pattern:i,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},s="[-+]?\\d+(\\.\\d+)?",o={begin:i,relevance:0},a={className:"number",begin:s,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},_={className:"comment",begin:"\\^"+i},f=e.COMMENT("\\^\\{","\\}"),E={className:"symbol",begin:"[:]{1,2}"+i},b={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},h={className:"name",relevance:0,keywords:r,begin:i,starts:g},m=[b,l,_,f,c,E,u,a,d,o];return b.contains=[e.COMMENT("comment",""),h,g],g.contains=m,u.contains=m,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),b,l,_,f,c,E,u,a,d]}}return Tp=n,Tp}var xp,rT;function p7e(){if(rT)return xp;rT=1;function n(e){const t="\\[",i="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:i}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:i,contains:["self"]}]}}return xp=n,xp}var Cp,sT;function f7e(){if(sT)return Cp;sT=1;function n(e){const t=e.regex,i={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[r,o,s,a,i,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,d=/"(\\"|[^"])*"/,u=/'[^']*'/,_=t.either(c,d,u),f=t.concat(_,"(\\s*\\.\\s*",_,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:f,className:"attr",starts:{end:/$/,contains:[r,l,o,s,a,i]}}]}}return Cp=n,Cp}var Rp,oT;function h7e(){if(oT)return Rp;oT=1;function n(e){const t=e.regex,i={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,s,r)},{begin:t.concat(/\b\d+/,s,r)},{begin:t.concat(/\.\d+/,s,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,i]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Rp=n,Rp}var Ap,aT;function m7e(){if(aT)return Ap;aT=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",i="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",s="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",d="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",u="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",_="smHidden smMaximized smMinimized smNormal wmNo wmYes ",f="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",E="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",b="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",g="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",h="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",m="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",S="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",v="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",T="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",C="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",N="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",x="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",y="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",R="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",P="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",k="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",W="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",M="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",H="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",z="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",I="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",Y="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",K="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",q="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",le="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",X="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Z="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",_e="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",fe=s+o+a+l+c+d+u+_+f+E+b+g+h+m+S+v+T+C+N+x+y+R+P+k+W+M+H+z+I+Y+K+q+le+X+Z+_e,ye="atUser atGroup atRole ",j="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",de="apBegin apEnd ",Q="alLeft alRight ",he="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ae="cirCommon cirRevoked ",O="ctSignature ctEncode ctSignatureEncode ",F="clbUnchecked clbChecked clbGrayed ",V="ceISB ceAlways ceNever ",re="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",ee="cfInternal cfDisplay ",be="ciUnspecified ciWrite ciRead ",xe="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",B="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",ae="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",te="cltInternal cltPrimary cltGUI ",ie="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",w="dssEdit dssInsert dssBrowse dssInActive ",A="dftDate dftShortDate dftDateTime dftTimeStamp ",G="dotDays dotHours dotMinutes dotSeconds ",ce="dtkndLocal dtkndUTC ",$="arNone arView arEdit arFull ",J="ddaView ddaEdit ",ve="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Ee="ecotFile ecotProcess ",Me="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ue="edltAll edltNothing edltQuery ",Je="essmText essmCard ",Ne="esvtLast esvtLastActive esvtSpecified ",tt="edsfExecutive edsfArchive ",$e="edstSQLServer edstFile ",Pe="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",je="vsDefault vsDesign vsActive vsObsolete ",Ve="etNone etCertificate etPassword etCertificatePassword ",ct="ecException ecWarning ecInformation ",oe="estAll estApprovingOnly ",He="evtLast evtLastActive evtQuery ",Le="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Ce="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",ke="grhAuto grhX1 grhX2 grhX3 ",it="hltText hltRTF hltHTML ",_t="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",$t="im8bGrayscale im24bRGB im1bMonochrome ",tn="itBMP itJPEG itWMF itPNG ",wt="ikhInformation ikhWarning ikhError ikhNoIcon ",Vt="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",On="isShow isHide isByUserSettings ",Ys="jkJob jkNotice jkControlJob ",ya="jtInner jtLeft jtRight jtFull jtCross ",Gi="lbpAbove lbpBelow lbpLeft lbpRight ",Jr="eltPerConnection eltPerUser ",zi="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",es="sfsItalic sfsStrikeout sfsNormal ",$s="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ws="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",ts="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",va="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",U="rdWindow rdFile rdPrinter ",pe="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Se="reOnChange reOnChangeValues ",Te="ttGlobal ttLocal ttUser ttSystem ",me="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",qe="smSelect smLike smCard ",Qe="stNone stAuthenticating stApproving ",nt="sctString sctStream ",rt="sstAnsiSort sstNaturalSort ",dt="svtEqual svtContain ",st="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",lt="tarAbortByUser tarAbortByWorkflowException ",Ut="tvtAllWords tvtExactPhrase tvtAnyWord ",dn="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",qt="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",hn="btAnd btDetailAnd btOr btNotOr btOnly ",Bt="vmView vmSelect vmNavigation ",pt="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Ta="wfatPrevious wfatNext wfatCancel wfatFinish ",Ht="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",Hi="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",Fl="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",ns="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",xa="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",on="waAll waPerformers waManual ",Vi="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Ca="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Nn="wiLow wiNormal wiHigh ",Ra="wrtSoft wrtHard ",_u="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Bl="wtmFull wtmFromCurrent wtmOnlyCurrent ",OO=ye+j+de+Q+he+Ae+O+F+V+re+ee+be+xe+B+ae+te+ie+w+A+G+ce+$+J+ve+Ee+Me+Ue+Je+Ne+tt+$e+Pe+je+Ve+ct+oe+He+Le+Ce+ke+it+_t+$t+tn+wt+Vt+On+Ys+ya+Gi+Jr+zi+es+$s+Ws+ts+va+U+pe+Se+Te+me+qe+Qe+nt+rt+dt+st+lt+Ut+dn+qt+hn+Bt+pt+Ta+Ht+Hi+Fl+ns+xa+on+Vi+Ca+Nn+Ra+_u+Bl,NO="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",MO="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",IO="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",DO=fe+OO,LO=MO,kO="null true false nil ",ZE={className:"number",begin:e.NUMBER_RE,relevance:0},JE={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},eb={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},PO={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,eb]},UO={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,eb]},tb={variants:[PO,UO]},Gl={$pattern:t,keyword:r,built_in:DO,class:LO,literal:kO},pu={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Gl,relevance:0},nb={className:"type",begin:":[ \\t]*("+IO.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},ib={className:"variable",keywords:Gl,begin:t,relevance:0,contains:[nb,pu]},rb=i+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Gl,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:rb,end:"\\)$",returnBegin:!0,keywords:Gl,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:NO},begin:rb,end:"\\(",returnBegin:!0,excludeEnd:!0},pu,ib,JE,ZE,tb]},nb,pu,ib,JE,ZE,tb]}}return Ap=n,Ap}var wp,lT;function g7e(){if(lT)return wp;lT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(o,a,l){return l===-1?"":o.replace(a,c=>r(o,a,l-1))}function s(o){const a=o.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+r("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),E={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"]},b={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},g={className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:E,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.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:[g,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:E,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[b,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,i,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},i,b]}}return wp=s,wp}var Op,cT;function E7e(){if(cT)return Op;cT=1;const n="[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"],t=["true","false","null","undefined","NaN","Infinity"],i=["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"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(s,i,r);function l(c){const d=c.regex,u=(j,{after:de})=>{const Q="</"+j[0].slice(1);return j.input.indexOf(Q,de)!==-1},_=n,f={begin:"<>",end:"</>"},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(j,de)=>{const Q=j[0].length+j.index,he=j.input[Q];if(he==="<"||he===","){de.ignoreMatch();return}he===">"&&(u(j,{after:Q})||de.ignoreMatch());let Ae;const O=j.input.substring(Q);if(Ae=O.match(/^\s*=/)){de.ignoreMatch();return}if((Ae=O.match(/^\s+extends\s+/))&&Ae.index===0){de.ignoreMatch();return}}},g={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},h="[0-9](_?[0-9])*",m=`\\.(${h})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",v={className:"number",variants:[{begin:`(\\b(${S})((${m})|\\.)?|(${m}))[eE][+-]?(${h})\\b`},{begin:`\\b(${S})\\b((${m})\\b|\\.)?|(${m})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},N={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"css"}},x={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,T]},P={className:"comment",variants:[c.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:_+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},k=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,N,x,y,{match:/\$\d+/},v];T.contains=k.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(k)});const W=[].concat(P,T.contains),M=W.concat([{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(W)}]),H={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:M},z={variants:[{match:[/class/,/\s+/,_,/\s+/,/extends/,/\s+/,d.concat(_,"(",d.concat(/\./,_),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,_],scope:{1:"keyword",3:"title.class"}}]},I={relevance:0,match:d.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:{_:[...i,...r]}},Y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},K={variants:[{match:[/function/,/\s+/,_,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[H],illegal:/%/},q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function le(j){return d.concat("(?!",j.join("|"),")")}const X={match:d.concat(/\b/,le([...s,"super","import"]),_,d.lookahead(/\(/)),className:"title.function",relevance:0},Z={begin:d.concat(/\./,d.lookahead(d.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_e={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},H]},fe="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(fe)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[H]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:M,CLASS_REFERENCE:I},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),Y,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,N,x,y,P,{match:/\$\d+/},v,I,{className:"attr",begin:_+d.lookahead(":"),relevance:0},ye,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,c.REGEXP_MODE,{className:"function",begin:fe,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:M}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:E},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[H,c.inherit(c.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},Z,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[H]},X,q,z,_e,{match:/\$[(.]/}]}}return Op=l,Op}var Np,dT;function b7e(){if(dT)return Np;dT=1;function n(e){const i={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},r={className:"function",begin:/:[\w\-.]+/,relevance:0},s={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,r,s,i]}}return Np=n,Np}var Mp,uT;function S7e(){if(uT)return Mp;uT=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},i={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],s={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",keywords:{literal:r},contains:[t,i,e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Mp=n,Mp}var Ip,_T;function y7e(){if(_T)return Ip;_T=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},d={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},u={className:"variable",begin:"\\$"+t},_={className:"string",contains:[e.BACKSLASH_ESCAPE,d,u],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},f={className:"string",contains:[e.BACKSLASH_ESCAPE,d,u],begin:"`",end:"`"},E={className:"meta",begin:"@"+t},b={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[l,c,_,f,E,b,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],d.contains=a.contains,a}return Ip=n,Ip}var Dp,pT;function v7e(){if(pT)return Dp;pT=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Dp=n,Dp}var Lp,fT;function T7e(){if(fT)return Lp;fT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(s){const o={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:s.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[s.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+s.UNDERSCORE_IDENT_RE},u={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,c]},{begin:"'",end:"'",illegal:/\n/,contains:[s.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[s.BACKSLASH_ESCAPE,d,c]}]};c.contains.push(u);const _={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+s.UNDERSCORE_IDENT_RE+")?"},f={className:"meta",begin:"@"+s.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[s.inherit(u,{className:"string"}),"self"]}]},E=i,b=s.COMMENT("/\\*","\\*/",{contains:[s.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:s.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},h=g;return h.variants[1].contains=[g],g.variants[1].contains=[h],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),s.C_LINE_COMMENT_MODE,b,a,l,_,f,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:s.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[s.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,s.C_LINE_COMMENT_MODE,b],relevance:0},s.C_LINE_COMMENT_MODE,b,_,f,u,s.C_NUMBER_MODE]},b]},{begin:[/class|interface|trait/,/\s+/,s.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},s.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},_,f]},u,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
+`),d.md,d.env,[]),I.level=S.level+1,d.md.block.tokenize(I,S.map[0],I.lineMax),z=0;z<I.tokens.length;z++)d.tokens.push(I.tokens[z])}else h=d.push("inline","",0),h.content=P.trim(),h.map=S.map,h.level=S.level+1,h.children=[];h=d.push(R+"_close",R,-1)}d.push("tr_close","tr",-1),S.meta.grp&1&&(R=S.meta.type===256?"thead":"tbody",h=d.push(R+"_close",R,-1),y[1]=S.map[1])}return x[1]=Math.max(y[1],m.meta.sep.map[1],m.meta.cap?m.meta.cap.map[1]:-1),h=d.push("table_close","table",-1),d.line=x[1],!0}e.block.ruler.at("table",c,{alt:["paragraph","reference"]})};const N8e=_r(O8e);var M8e=function(e,t){t=t||{};function i(r){for(var s=1,o=1,a=r.tokens.length;o<a-1;++o){var l=r.tokens[o];if(l.type==="inline"&&!(!l.children||l.children.length!==1&&l.children.length!==3)&&!(l.children.length===1&&l.children[0].type!=="image")&&!(l.children.length===3&&(l.children[0].type!=="link_open"||l.children[1].type!=="image"||l.children[2].type!=="link_close"))&&!(o!==0&&r.tokens[o-1].type!=="paragraph_open")&&!(o!==a-1&&r.tokens[o+1].type!=="paragraph_close")){var c=r.tokens[o-1];c.type="figure_open",c.tag="figure",r.tokens[o+1].type="figure_close",r.tokens[o+1].tag="figure",t.dataType==!0&&r.tokens[o-1].attrPush(["data-type","image"]);var d;if(t.link==!0&&l.children.length===1&&(d=l.children[0],l.children.unshift(new r.Token("link_open","a",1)),l.children[0].attrPush(["href",d.attrGet("src")]),l.children.push(new r.Token("link_close","a",-1))),d=l.children.length===1?l.children[0]:l.children[1],t.figcaption==!0&&d.children&&d.children.length&&(l.children.push(new r.Token("figcaption_open","figcaption",1)),l.children.splice(l.children.length,0,...d.children),l.children.push(new r.Token("figcaption_close","figcaption",-1)),d.children.length=0),t.copyAttrs&&d.attrs){const u=t.copyAttrs===!0?"":t.copyAttrs;c.attrs=d.attrs.filter(([_,f])=>_.match(u))}t.tabindex==!0&&(r.tokens[o-1].attrPush(["tabindex",s]),s++),t.lazyLoading==!0&&d.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",i)};const I8e=_r(M8e);var Qr={};Qr.getAttrs=function(n,e,t){const i=/[^\t\n\f />"'=]/,r=" ",s="=",o=".",a="#",l=[];let c="",d="",u=!0,_=!1;for(let f=e+t.leftDelimiter.length;f<n.length;f++){if(n.slice(f,f+t.rightDelimiter.length)===t.rightDelimiter){c!==""&&l.push([c,d]);break}const E=n.charAt(f);if(E===s&&u){u=!1;continue}if(E===o&&c===""){n.charAt(f+1)===o?(c="css-module",f+=1):c="class",u=!1;continue}if(E===a&&c===""){c="id",u=!1;continue}if(E==='"'&&d===""&&!_){_=!0;continue}if(E==='"'&&_){_=!1;continue}if(E===r&&!_){if(c==="")continue;l.push([c,d]),c="",d="",u=!0;continue}if(!(u&&E.search(i)===-1)){if(u){c+=E;continue}d+=E}}if(t.allowedAttributes&&t.allowedAttributes.length){const f=t.allowedAttributes;return l.filter(function(E){const b=E[0];function g(h){return b===h||h instanceof RegExp&&h.test(b)}return f.some(g)})}return l};Qr.addAttrs=function(n,e){for(let t=0,i=n.length;t<i;++t){const r=n[t][0];r==="class"?e.attrJoin("class",n[t][1]):r==="css-module"?e.attrJoin("css-module",n[t][1]):e.attrPush(n[t])}return e};Qr.hasDelimiters=function(n,e){if(!n)throw new Error('Parameter `where` not passed. Should be "start", "end" or "only".');return function(t){const i=e.leftDelimiter.length+1+e.rightDelimiter.length;if(!t||typeof t!="string"||t.length<i)return!1;function r(d){const u=d.charAt(e.leftDelimiter.length)===".",_=d.charAt(e.leftDelimiter.length)==="#";return u||_?d.length>=i+1:d.length>=i}let s,o,a,l;const c=i-e.rightDelimiter.length;switch(n){case"start":a=t.slice(0,e.leftDelimiter.length),s=a===e.leftDelimiter?0:-1,o=s===-1?-1:t.indexOf(e.rightDelimiter,c),l=t.charAt(o+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(o=-1);break;case"end":s=t.lastIndexOf(e.leftDelimiter),o=s===-1?-1:t.indexOf(e.rightDelimiter,s+c),o=o===t.length-e.rightDelimiter.length?o:-1;break;case"only":a=t.slice(0,e.leftDelimiter.length),s=a===e.leftDelimiter?0:-1,a=t.slice(t.length-e.rightDelimiter.length),o=a===e.rightDelimiter?t.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${n}, expected 'start', 'end' or 'only'`)}return s!==-1&&o!==-1&&r(t.substring(s,o+e.rightDelimiter.length))}};Qr.removeDelimiter=function(n,e){const t=Vm(e.leftDelimiter),i=Vm(e.rightDelimiter),r=new RegExp("[ \\n]?"+t+"[^"+t+i+"]+"+i+"$"),s=n.search(r);return s!==-1?n.slice(0,s):n};function Vm(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Qr.escapeRegExp=Vm;Qr.getMatchingOpeningToken=function(n,e){if(n[e].type==="softbreak")return!1;if(n[e].nesting===0)return n[e];const t=n[e].level,i=n[e].type.replace("_close","_open");for(;e>=0;--e)if(n[e].type===i&&n[e].level===t)return n[e];return!1};const D8e=/[&<>"]/,L8e=/[&<>"]/g,k8e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function P8e(n){return k8e[n]}Qr.escapeHtml=function(n){return D8e.test(n)?n.replace(L8e,P8e):n};const bt=Qr;var U8e=n=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+bt.escapeRegExp(n.leftDelimiter)+"[^"+bt.escapeRegExp(n.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:bt.hasDelimiters("end",n)}],transform:(t,i)=>{const r=t[i],s=r.info.lastIndexOf(n.leftDelimiter),o=bt.getAttrs(r.info,s,n);bt.addAttrs(o,r),r.info=bt.removeDelimiter(r.info,n)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>t==="image"||t==="code_inline"},{shift:0,type:"text",content:bt.hasDelimiters("start",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content.indexOf(n.rightDelimiter),a=t[i].children[r-1],l=bt.getAttrs(s.content,0,n);bt.addAttrs(l,a),s.content.length===o+n.rightDelimiter.length?t[i].children.splice(r,1):s.content=s.content.slice(o+n.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:bt.hasDelimiters("only",n)}],transform:(t,i)=>{const r=t[i+2],s=bt.getMatchingOpeningToken(t,i),o=bt.getAttrs(r.content,0,n);bt.addAttrs(o,s),t.splice(i+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:bt.hasDelimiters("start",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=bt.getAttrs(o,0,n),l=bt.getMatchingOpeningToken(t[i].children,r-1);bt.addAttrs(a,l),s.content=o.slice(o.indexOf(n.rightDelimiter)+n.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:bt.hasDelimiters("only",n)}]}],transform:(t,i,r)=>{const o=t[i].children[r].content,a=bt.getAttrs(o,0,n);let l=i-2;for(;t[l-1]&&t[l-1].type!=="ordered_list_open"&&t[l-1].type!=="bullet_list_open";)l--;bt.addAttrs(a,t[l-1]),t[i].children=t[i].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>t==="bullet_list_close"||t==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:bt.hasDelimiters("only",n),children:t=>t.length===1},{shift:3,type:"paragraph_close"}],transform:(t,i)=>{const s=t[i+2].content,o=bt.getAttrs(s,0,n),a=bt.getMatchingOpeningToken(t,i);bt.addAttrs(o,a),t.splice(i+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:bt.hasDelimiters("end",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=bt.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);bt.addAttrs(a,t[i-2]);const l=o.slice(0,o.lastIndexOf(n.leftDelimiter));s.content=vy(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:bt.hasDelimiters("only",n)}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=bt.getAttrs(s.content,0,n);let a=i+1;for(;t[a+1]&&t[a+1].nesting===-1;)a++;const l=bt.getMatchingOpeningToken(t,a);bt.addAttrs(o,l),t[i].children=t[i].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>t.length===1,content:t=>t.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(t,i)=>{const r=t[i];r.type="hr",r.tag="hr",r.nesting=0;const s=t[i+1].content,o=s.lastIndexOf(n.leftDelimiter),a=bt.getAttrs(s,o,n);bt.addAttrs(a,r),r.markup=s,t.splice(i+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:bt.hasDelimiters("end",n),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,i,r)=>{const s=t[i].children[r],o=s.content,a=bt.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);let l=i+1;for(;t[l+1]&&t[l+1].nesting===-1;)l++;const c=bt.getMatchingOpeningToken(t,l);bt.addAttrs(a,c);const d=o.slice(0,o.lastIndexOf(n.leftDelimiter));s.content=vy(d)!==" "?d:d.slice(0,-1)}}]};function vy(n){return n.slice(-1)[0]}const F8e=U8e,B8e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var G8e=function(e,t){let i=Object.assign({},B8e);i=Object.assign(i,t);const r=F8e(i);function s(o){const a=o.tokens;for(let l=0;l<a.length;l++)for(let c=0;c<r.length;c++){const d=r[c];let u=null;d.tests.every(f=>{const E=qm(a,l,f);return E.j!==null&&(u=E.j),E.match})&&(d.transform(a,l,u),(d.name==="inline attributes"||d.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",s)};function qm(n,e,t){const i={match:!1,j:null},r=t.shift!==void 0?e+t.shift:t.position;if(t.shift!==void 0&&r<0)return i;const s=V8e(n,r);if(s===void 0)return i;for(const o of Object.keys(t))if(!(o==="shift"||o==="position")){if(s[o]===void 0)return i;if(o==="children"&&z8e(t.children)){if(s.children.length===0)return i;let a;const l=t.children,c=s.children;if(l.every(d=>d.position!==void 0)){if(a=l.every(d=>qm(c,d.position,d).match),a){const d=q8e(l).position;i.j=d>=0?d:c.length+d}}else for(let d=0;d<c.length;d++)if(a=l.every(u=>qm(c,d,u).match),a){i.j=d;break}if(a===!1)return i;continue}switch(typeof t[o]){case"boolean":case"number":case"string":if(s[o]!==t[o])return i;break;case"function":if(!t[o](s[o]))return i;break;case"object":if(H8e(t[o])){if(t[o].every(l=>l(s[o]))===!1)return i;break}default:throw new Error(`Unknown type of pattern test (key: ${o}). Test should be of type boolean, number, string, function or array of functions.`)}}return i.match=!0,i}function z8e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="object")}function H8e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="function")}function V8e(n,e){return e>=0?n[e]:n[n.length+e]}function q8e(n){return n.slice(-1)[0]||{}}const Y8e=_r(G8e);function ew(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],i=typeof t;(i==="object"||i==="function")&&!Object.isFrozen(t)&&ew(t)}),n}let Ty=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function tw(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Ur(n,...e){const t=Object.create(null);for(const i in n)t[i]=n[i];return e.forEach(function(i){for(const r in i)t[r]=i[r]}),t}const $8e="</span>",xy=n=>!!n.scope,W8e=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((i,r)=>`${i}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class K8e{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=tw(e)}openNode(e){if(!xy(e))return;const t=W8e(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){xy(e)&&(this.buffer+=$8e)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Cy=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class lE{constructor(){this.rootNode=Cy(),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 t=Cy({scope:e});this.add(t),this.stack.push(t)}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,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(i=>this._walk(e,i)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{lE._collapse(t)}))}}class j8e extends lE{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const i=e.root;t&&(i.scope=`language:${t}`),this.add(i)}toHTML(){return new K8e(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function bl(n){return n?typeof n=="string"?n:n.source:null}function nw(n){return qs("(?=",n,")")}function Q8e(n){return qs("(?:",n,")*")}function X8e(n){return qs("(?:",n,")?")}function qs(...n){return n.map(t=>bl(t)).join("")}function Z8e(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function cE(...n){return"("+(Z8e(n).capture?"":"?:")+n.map(i=>bl(i)).join("|")+")"}function iw(n){return new RegExp(n.toString()+"|").exec("").length-1}function J8e(n,e){const t=n&&n.exec(e);return t&&t.index===0}const e6e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function dE(n,{joinWith:e}){let t=0;return n.map(i=>{t+=1;const r=t;let s=bl(i),o="";for(;s.length>0;){const a=e6e.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&t++)}return o}).map(i=>`(${i})`).join(e)}const t6e=/\b\B/,rw="[a-zA-Z]\\w*",uE="[a-zA-Z_]\\w*",sw="\\b\\d+(\\.\\d+)?",ow="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",aw="\\b(0b[01]+)",n6e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",i6e=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=qs(e,/.*\b/,n.binary,/\b.*/)),Ur({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,i)=>{t.index!==0&&i.ignoreMatch()}},n)},Sl={begin:"\\\\[\\s\\S]",relevance:0},r6e={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sl]},s6e={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sl]},o6e={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/},nu=function(n,e,t={}){const i=Ur({scope:"comment",begin:n,end:e,contains:[]},t);i.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 r=cE("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 i.contains.push({begin:qs(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},a6e=nu("//","$"),l6e=nu("/\\*","\\*/"),c6e=nu("#","$"),d6e={scope:"number",begin:sw,relevance:0},u6e={scope:"number",begin:ow,relevance:0},_6e={scope:"number",begin:aw,relevance:0},p6e={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Sl,{begin:/\[/,end:/\]/,relevance:0,contains:[Sl]}]},f6e={scope:"title",begin:rw,relevance:0},h6e={scope:"title",begin:uE,relevance:0},m6e={begin:"\\.\\s*"+uE,relevance:0},g6e=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ec=Object.freeze({__proto__:null,APOS_STRING_MODE:r6e,BACKSLASH_ESCAPE:Sl,BINARY_NUMBER_MODE:_6e,BINARY_NUMBER_RE:aw,COMMENT:nu,C_BLOCK_COMMENT_MODE:l6e,C_LINE_COMMENT_MODE:a6e,C_NUMBER_MODE:u6e,C_NUMBER_RE:ow,END_SAME_AS_BEGIN:g6e,HASH_COMMENT_MODE:c6e,IDENT_RE:rw,MATCH_NOTHING_RE:t6e,METHOD_GUARD:m6e,NUMBER_MODE:d6e,NUMBER_RE:sw,PHRASAL_WORDS_MODE:o6e,QUOTE_STRING_MODE:s6e,REGEXP_MODE:p6e,RE_STARTERS_RE:n6e,SHEBANG:i6e,TITLE_MODE:f6e,UNDERSCORE_IDENT_RE:uE,UNDERSCORE_TITLE_MODE:h6e});function E6e(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function b6e(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function S6e(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=E6e,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function y6e(n,e){Array.isArray(n.illegal)&&(n.illegal=cE(...n.illegal))}function v6e(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function T6e(n,e){n.relevance===void 0&&(n.relevance=1)}const x6e=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(i=>{delete n[i]}),n.keywords=t.keywords,n.begin=qs(t.beforeMatch,nw(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},C6e=["of","and","for","in","not","or","if","then","parent","list","value"],R6e="keyword";function lw(n,e,t=R6e){const i=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(s){Object.assign(i,lw(n[s],e,s))}),i;function r(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");i[l[0]]=[s,A6e(l[0],l[1])]})}}function A6e(n,e){return e?Number(e):w6e(n)?0:1}function w6e(n){return C6e.includes(n.toLowerCase())}const Ry={},Rs=n=>{console.error(n)},Ay=(n,...e)=>{console.log(`WARN: ${n}`,...e)},Js=(n,e)=>{Ry[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Ry[`${n}/${e}`]=!0)},ld=new Error;function cw(n,e,{key:t}){let i=0;const r=n[t],s={},o={};for(let a=1;a<=e.length;a++)o[a+i]=r[a],s[a+i]=!0,i+=iw(e[a-1]);n[t]=o,n[t]._emit=s,n[t]._multi=!0}function O6e(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw Rs("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ld;if(typeof n.beginScope!="object"||n.beginScope===null)throw Rs("beginScope must be object"),ld;cw(n,n.begin,{key:"beginScope"}),n.begin=dE(n.begin,{joinWith:""})}}function N6e(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw Rs("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ld;if(typeof n.endScope!="object"||n.endScope===null)throw Rs("endScope must be object"),ld;cw(n,n.end,{key:"endScope"}),n.end=dE(n.end,{joinWith:""})}}function M6e(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function I6e(n){M6e(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),O6e(n),N6e(n)}function D6e(n){function e(o,a){return new RegExp(bl(o),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(a?"g":""))}class t{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+=iw(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(dE(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((u,_)=>_>0&&u!==void 0),d=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,d)}}class i{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 t;return this.rules.slice(a).forEach(([c,d])=>l.addRule(c,d)),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 c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function r(o){const a=new i;return o.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){const l=o;if(o.isCompiled)return l;[b6e,v6e,I6e,x6e].forEach(d=>d(o,a)),n.compilerExtensions.forEach(d=>d(o,a)),o.__beforeBegin=null,[S6e,y6e,T6e].forEach(d=>d(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=lw(o.keywords,n.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),l.beginRe=e(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=e(l.end)),l.terminatorEnd=bl(l.end)||"",o.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(l.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(d){return L6e(d==="self"?o:d)})),o.contains.forEach(function(d){s(d,l)}),o.starts&&s(o.starts,a),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return n.classNameAliases=Ur(n.classNameAliases||{}),s(n)}function dw(n){return n?n.endsWithParent||dw(n.starts):!1}function L6e(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return Ur(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:dw(n)?Ur(n,{starts:n.starts?Ur(n.starts):null}):Object.isFrozen(n)?Ur(n):n}var k6e="11.9.0";class P6e extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ju=tw,wy=Ur,Oy=Symbol("nomatch"),U6e=7,uw=function(n){const e=Object.create(null),t=Object.create(null),i=[];let r=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",o={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:j8e};function l(I){return a.noHighlightRe.test(I)}function c(I){let Y=I.className+" ";Y+=I.parentNode?I.parentNode.className:"";const K=a.languageDetectRe.exec(Y);if(K){const q=y(K[1]);return q||(Ay(s.replace("{}",K[1])),Ay("Falling back to no-highlight mode for this block.",I)),q?K[1]:"no-highlight"}return Y.split(/\s+/).find(q=>l(q)||y(q))}function d(I,Y,K){let q="",le="";typeof Y=="object"?(q=I,K=Y.ignoreIllegals,le=Y.language):(Js("10.7.0","highlight(lang, code, ...args) has been deprecated."),Js("10.7.0",`Please use highlight(code, options) instead.
+https://github.com/highlightjs/highlight.js/issues/2277`),le=I,q=Y),K===void 0&&(K=!0);const X={code:q,language:le};H("before:highlight",X);const Z=X.result?X.result:u(X.language,X.code,K);return Z.code=X.code,H("after:highlight",Z),Z}function u(I,Y,K,q){const le=Object.create(null);function X($,J){return $.keywords[J]}function Z(){if(!B.keywords){te.addText(ie);return}let $=0;B.keywordPatternRe.lastIndex=0;let J=B.keywordPatternRe.exec(ie),ve="";for(;J;){ve+=ie.substring($,J.index);const Ee=ee.case_insensitive?J[0].toLowerCase():J[0],Me=X(B,Ee);if(Me){const[Ue,Je]=Me;if(te.addText(ve),ve="",le[Ee]=(le[Ee]||0)+1,le[Ee]<=U6e&&(w+=Je),Ue.startsWith("_"))ve+=J[0];else{const Ne=ee.classNameAliases[Ue]||Ue;ye(J[0],Ne)}}else ve+=J[0];$=B.keywordPatternRe.lastIndex,J=B.keywordPatternRe.exec(ie)}ve+=ie.substring($),te.addText(ve)}function _e(){if(ie==="")return;let $=null;if(typeof B.subLanguage=="string"){if(!e[B.subLanguage]){te.addText(ie);return}$=u(B.subLanguage,ie,!0,ae[B.subLanguage]),ae[B.subLanguage]=$._top}else $=f(ie,B.subLanguage.length?B.subLanguage:null);B.relevance>0&&(w+=$.relevance),te.__addSublanguage($._emitter,$.language)}function fe(){B.subLanguage!=null?_e():Z(),ie=""}function ye($,J){$!==""&&(te.startScope(J),te.addText($),te.endScope())}function j($,J){let ve=1;const Ee=J.length-1;for(;ve<=Ee;){if(!$._emit[ve]){ve++;continue}const Me=ee.classNameAliases[$[ve]]||$[ve],Ue=J[ve];Me?ye(Ue,Me):(ie=Ue,Z(),ie=""),ve++}}function de($,J){return $.scope&&typeof $.scope=="string"&&te.openNode(ee.classNameAliases[$.scope]||$.scope),$.beginScope&&($.beginScope._wrap?(ye(ie,ee.classNameAliases[$.beginScope._wrap]||$.beginScope._wrap),ie=""):$.beginScope._multi&&(j($.beginScope,J),ie="")),B=Object.create($,{parent:{value:B}}),B}function Q($,J,ve){let Ee=J8e($.endRe,ve);if(Ee){if($["on:end"]){const Me=new Ty($);$["on:end"](J,Me),Me.isMatchIgnored&&(Ee=!1)}if(Ee){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return Q($.parent,J,ve)}function he($){return B.matcher.regexIndex===0?(ie+=$[0],1):(ce=!0,0)}function Ae($){const J=$[0],ve=$.rule,Ee=new Ty(ve),Me=[ve.__beforeBegin,ve["on:begin"]];for(const Ue of Me)if(Ue&&(Ue($,Ee),Ee.isMatchIgnored))return he(J);return ve.skip?ie+=J:(ve.excludeBegin&&(ie+=J),fe(),!ve.returnBegin&&!ve.excludeBegin&&(ie=J)),de(ve,$),ve.returnBegin?0:J.length}function O($){const J=$[0],ve=Y.substring($.index),Ee=Q(B,$,ve);if(!Ee)return Oy;const Me=B;B.endScope&&B.endScope._wrap?(fe(),ye(J,B.endScope._wrap)):B.endScope&&B.endScope._multi?(fe(),j(B.endScope,$)):Me.skip?ie+=J:(Me.returnEnd||Me.excludeEnd||(ie+=J),fe(),Me.excludeEnd&&(ie=J));do B.scope&&te.closeNode(),!B.skip&&!B.subLanguage&&(w+=B.relevance),B=B.parent;while(B!==Ee.parent);return Ee.starts&&de(Ee.starts,$),Me.returnEnd?0:J.length}function F(){const $=[];for(let J=B;J!==ee;J=J.parent)J.scope&&$.unshift(J.scope);$.forEach(J=>te.openNode(J))}let V={};function re($,J){const ve=J&&J[0];if(ie+=$,ve==null)return fe(),0;if(V.type==="begin"&&J.type==="end"&&V.index===J.index&&ve===""){if(ie+=Y.slice(J.index,J.index+1),!r){const Ee=new Error(`0 width match regex (${I})`);throw Ee.languageName=I,Ee.badRule=V.rule,Ee}return 1}if(V=J,J.type==="begin")return Ae(J);if(J.type==="illegal"&&!K){const Ee=new Error('Illegal lexeme "'+ve+'" for mode "'+(B.scope||"<unnamed>")+'"');throw Ee.mode=B,Ee}else if(J.type==="end"){const Ee=O(J);if(Ee!==Oy)return Ee}if(J.type==="illegal"&&ve==="")return 1;if(G>1e5&&G>J.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ie+=ve,ve.length}const ee=y(I);if(!ee)throw Rs(s.replace("{}",I)),new Error('Unknown language: "'+I+'"');const be=D6e(ee);let xe="",B=q||be;const ae={},te=new a.__emitter(a);F();let ie="",w=0,A=0,G=0,ce=!1;try{if(ee.__emitTokens)ee.__emitTokens(Y,te);else{for(B.matcher.considerAll();;){G++,ce?ce=!1:B.matcher.considerAll(),B.matcher.lastIndex=A;const $=B.matcher.exec(Y);if(!$)break;const J=Y.substring(A,$.index),ve=re(J,$);A=$.index+ve}re(Y.substring(A))}return te.finalize(),xe=te.toHTML(),{language:I,value:xe,relevance:w,illegal:!1,_emitter:te,_top:B}}catch($){if($.message&&$.message.includes("Illegal"))return{language:I,value:ju(Y),illegal:!0,relevance:0,_illegalBy:{message:$.message,index:A,context:Y.slice(A-100,A+100),mode:$.mode,resultSoFar:xe},_emitter:te};if(r)return{language:I,value:ju(Y),illegal:!1,relevance:0,errorRaised:$,_emitter:te,_top:B};throw $}}function _(I){const Y={value:ju(I),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return Y._emitter.addText(I),Y}function f(I,Y){Y=Y||a.languages||Object.keys(e);const K=_(I),q=Y.filter(y).filter(P).map(fe=>u(fe,I,!1));q.unshift(K);const le=q.sort((fe,ye)=>{if(fe.relevance!==ye.relevance)return ye.relevance-fe.relevance;if(fe.language&&ye.language){if(y(fe.language).supersetOf===ye.language)return 1;if(y(ye.language).supersetOf===fe.language)return-1}return 0}),[X,Z]=le,_e=X;return _e.secondBest=Z,_e}function E(I,Y,K){const q=Y&&t[Y]||K;I.classList.add("hljs"),I.classList.add(`language-${q}`)}function b(I){let Y=null;const K=c(I);if(l(K))return;if(H("before:highlightElement",{el:I,language:K}),I.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",I);return}if(I.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(I)),a.throwUnescapedHTML))throw new P6e("One of your code blocks includes unescaped HTML.",I.innerHTML);Y=I;const q=Y.textContent,le=K?d(q,{language:K,ignoreIllegals:!0}):f(q);I.innerHTML=le.value,I.dataset.highlighted="yes",E(I,K,le.language),I.result={language:le.language,re:le.relevance,relevance:le.relevance},le.secondBest&&(I.secondBest={language:le.secondBest.language,relevance:le.secondBest.relevance}),H("after:highlightElement",{el:I,result:le,text:q})}function g(I){a=wy(a,I)}const h=()=>{v(),Js("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")};function m(){v(),Js("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")}let S=!1;function v(){if(document.readyState==="loading"){S=!0;return}document.querySelectorAll(a.cssSelector).forEach(b)}function T(){S&&v()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",T,!1);function C(I,Y){let K=null;try{K=Y(n)}catch(q){if(Rs("Language definition for '{}' could not be registered.".replace("{}",I)),r)Rs(q);else throw q;K=o}K.name||(K.name=I),e[I]=K,K.rawDefinition=Y.bind(null,n),K.aliases&&R(K.aliases,{languageName:I})}function N(I){delete e[I];for(const Y of Object.keys(t))t[Y]===I&&delete t[Y]}function x(){return Object.keys(e)}function y(I){return I=(I||"").toLowerCase(),e[I]||e[t[I]]}function R(I,{languageName:Y}){typeof I=="string"&&(I=[I]),I.forEach(K=>{t[K.toLowerCase()]=Y})}function P(I){const Y=y(I);return Y&&!Y.disableAutodetect}function k(I){I["before:highlightBlock"]&&!I["before:highlightElement"]&&(I["before:highlightElement"]=Y=>{I["before:highlightBlock"](Object.assign({block:Y.el},Y))}),I["after:highlightBlock"]&&!I["after:highlightElement"]&&(I["after:highlightElement"]=Y=>{I["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function W(I){k(I),i.push(I)}function M(I){const Y=i.indexOf(I);Y!==-1&&i.splice(Y,1)}function H(I,Y){const K=I;i.forEach(function(q){q[K]&&q[K](Y)})}function z(I){return Js("10.7.0","highlightBlock will be removed entirely in v12.0"),Js("10.7.0","Please use highlightElement now."),b(I)}Object.assign(n,{highlight:d,highlightAuto:f,highlightAll:v,highlightElement:b,highlightBlock:z,configure:g,initHighlighting:h,initHighlightingOnLoad:m,registerLanguage:C,unregisterLanguage:N,listLanguages:x,getLanguage:y,registerAliases:R,autoDetection:P,inherit:wy,addPlugin:W,removePlugin:M}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=k6e,n.regex={concat:qs,lookahead:nw,either:cE,optional:X8e,anyNumberOfTimes:Q8e};for(const I in ec)typeof ec[I]=="object"&&ew(ec[I]);return Object.assign(n,ec),n},qo=uw({});qo.newInstance=()=>uw({});var F6e=qo;qo.HighlightJS=qo;qo.default=qo;var Qu,Ny;function B6e(){if(Ny)return Qu;Ny=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",s="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",d="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",u="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",_="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",f=c+d+u+_,E="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",b="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",g="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",h="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",m="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",S="отображениевремениэлементовпланировщика ",v="типфайлаформатированногодокумента ",T="обходрезультатазапроса типзаписизапроса ",C="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",N="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",x="типизмеренияпостроителязапроса ",y="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",R="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",P="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",k="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",W="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",M="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",H="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",z="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",I="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",Y="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",K="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",q=E+b+g+h+m+S+v+T+C+N+x+y+R+P+k+W+M+H+z+I+Y+K,Z="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",_e="null истина ложь неопределено",fe=e.inherit(e.NUMBER_MODE),ye={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},j={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},de=e.inherit(e.C_LINE_COMMENT_MODE),Q={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:s+l},contains:[de]},he={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ae={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:_e},contains:[fe,ye,j]},de]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:s,built_in:f,class:q,type:Z,literal:_e},contains:[Q,Ae,de,he,fe,ye,j]}}return Qu=n,Qu}var Xu,My;function G6e(){if(My)return Xu;My=1;function n(e){const t=e.regex,i=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],s=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},d={scope:"attribute",match:t.concat(i,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},d,s,o,a,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Xu=n,Xu}var Zu,Iy;function z6e(){if(Iy)return Zu;Iy=1;function n(e){const t=e.regex,i=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...i)),end:/"/,keywords:i,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Zu=n,Zu}var Ju,Dy;function H6e(){if(Dy)return Ju;Dy=1;function n(e){const t=e.regex,i=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(i,t.concat("(\\.",i,")*")),s=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:i,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,s)}]},e.METHOD_GUARD],illegal:/#/}}return Ju=n,Ju}var e_,Ly;function V6e(){if(Ly)return e_;Ly=1;function n(e){const t="\\d(_|\\d)*",i="[eE][-+]?"+t,r=t+"(\\."+t+")?("+i+")?",s="\\w+",a="\\b("+(t+"#"+s+"(\\."+s+")?#("+i+")?")+"|"+r+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,d=e.COMMENT("--","$"),u={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[d,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[d,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},u,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},u]}}return e_=n,e_}var t_,ky;function q6e(){if(ky)return t_;ky=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},i={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,i]};return t.contains=[r],i.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,i,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return t_=n,t_}var n_,Py;function Y6e(){if(Py)return n_;Py=1;function n(e){const t={className:"number",begin:/[$%]\d+/},i={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},s={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,s,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,i,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return n_=n,n_}var i_,Uy;function $6e(){if(Uy)return i_;Uy=1;function n(e){const t=e.regex,i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,i]},s=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),a=[s,o,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[i,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}return i_=n,i_}var r_,Fy;function W6e(){if(Fy)return r_;Fy=1;function n(e){const t="[A-Za-z_][0-9A-Za-z_]*",i={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},r={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},s={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},a={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,s,e.REGEXP_MODE];const l=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:i,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,s,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return r_=n,r_}var s_,By;function K6e(){if(By)return s_;By=1;function n(t){const i=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",l="(?!struct)("+s+"|"+i.optional(o)+"[a-zA-Z_]\\w*"+i.optional(a)+")",c={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:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},t.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:i.optional(o)+t.IDENT_RE,relevance:0},b=i.optional(o)+t.IDENT_RE+"\\s*\\(",g=["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"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["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"],S=["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"],C={type:h,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},N={className:"function.dispatch",relevance:0,keywords:{_hint:S},begin:i.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,i.lookahead(/(<[^<>]+>|)\s*\(/))},x=[N,f,c,r,t.C_BLOCK_COMMENT_MODE,_,u],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:x.concat([{begin:/\(/,end:/\)/,keywords:C,contains:x.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+l+"[\\*&\\s]+)+"+b,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:C,relevance:0},{begin:b,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,_]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,u,_,c,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,u,_,c]}]},c,r,t.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(y,R,N,x,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:C,contains:["self",c]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const i={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=n(t),s=r.keywords;return s.type=[...s.type,...i.type],s.literal=[...s.literal,...i.literal],s.built_in=[...s.built_in,...i.built_in],s._hints=i._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}return s_=e,s_}var o_,Gy;function j6e(){if(Gy)return o_;Gy=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return o_=n,o_}var a_,zy;function Q6e(){if(zy)return a_;zy=1;function n(e){const t=e.regex,i=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(i,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:i,relevance:0,starts:d}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(i,/>/))),contains:[{className:"name",begin:i,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return a_=n,a_}var l_,Hy;function X6e(){if(Hy)return l_;Hy=1;function n(e){const t=e.regex,i={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],s=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ 	].+?([ 	]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,a,...r,...s,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},i,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return l_=n,l_}var c_,Vy;function Z6e(){if(Vy)return c_;Vy=1;function n(e){const t=e.regex,i=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:i.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:i,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:i.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:i,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:i,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return c_=n,c_}var d_,qy;function J6e(){if(qy)return d_;qy=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return d_=n,d_}var u_,Yy;function eqe(){if(Yy)return u_;Yy=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",i=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",s="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},d={className:"meta",begin:"#",end:"$",keywords:{keyword:i},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},_={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:s,literal:r},contains:[o,a,l,c,d,u,_]}}return u_=n,u_}var __,$y;function tqe(){if($y)return __;$y=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return __=n,__}var p_,Wy;function nqe(){if(Wy)return p_;Wy=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:i},contains:[t,r,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return p_=n,p_}var f_,Ky;function iqe(){if(Ky)return f_;Ky=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}return f_=n,f_}var h_,jy;function rqe(){if(jy)return h_;jy=1;function n(e){const t=e.regex,i={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={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,i,s]};s.contains.push(a);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},d={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,i]},_=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${_.join("|")})`,relevance:10}),E={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},b=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],h={match:/(\/[a-z._-]+)+/},m=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],S=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],v=["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"],T=["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:b,literal:g,built_in:[...m,...S,"set","shopt",...v,...T]},contains:[f,e.SHEBANG(),E,u,e.HASH_COMMENT_MODE,o,h,a,l,c,d,i]}}return h_=n,h_}var m_,Qy;function sqe(){if(Qy)return m_;Qy=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return m_=n,m_}var g_,Xy;function oqe(){if(Xy)return g_;Xy=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return g_=n,g_}var E_,Zy;function aqe(){if(Zy)return E_;Zy=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return E_=n,E_}var b_,Jy;function lqe(){if(Jy)return b_;Jy=1;function n(e){const t=e.regex,i=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="("+r+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},_={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(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,e.C_BLOCK_COMMENT_MODE]},f={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},E=t.optional(s)+e.IDENT_RE+"\\s*\\(",h={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"},m=[_,l,i,e.C_BLOCK_COMMENT_MODE,u,d],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:m.concat([{begin:/\(/,end:/\)/,keywords:h,contains:m.concat(["self"]),relevance:0}]),relevance:0},v={begin:"("+a+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:E,returnBegin:!0,contains:[e.inherit(f,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[i,e.C_BLOCK_COMMENT_MODE,d,u,l,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",i,e.C_BLOCK_COMMENT_MODE,d,u,l]}]},l,i,e.C_BLOCK_COMMENT_MODE,_]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(S,v,m,[_,{begin:e.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:_,strings:d,keywords:h}}}return b_=n,b_}var S_,ev;function cqe(){if(ev)return S_;ev=1;function n(e){const t=e.regex,i=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",s=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},d={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:[o,a,e.NUMBER_MODE]},...s]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],_={match:[/OBJECT/,/\s+/,t.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:i,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,l,c,e.NUMBER_MODE,_,d]}}return S_=n,S_}var y_,tv;function dqe(){if(tv)return y_;tv=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],i=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],s={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:i,literal:r},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},s]}}return y_=n,y_}var v_,nv;function uqe(){if(nv)return v_;nv=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],i=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],s={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[s]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return s.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(i),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return v_=n,v_}var T_,iv;function _qe(){if(iv)return T_;iv=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return T_=n,T_}var x_,rv;function pqe(){if(rv)return x_;rv=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",i="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",s={$pattern:i,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:i,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},_=e.COMMENT(";","$",{relevance:0}),f={className:"literal",begin:/\b(true|false|nil)\b/},E={begin:"\\[|(#::?"+i+")?\\{",end:"[\\]\\}]",relevance:0},b={className:"symbol",begin:"[:]{1,2}"+i},g={begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},m={keywords:s,className:"name",begin:i,relevance:0,starts:h},S=[u,g,l,c,d,_,b,E,a,f,o],v={beginKeywords:r,keywords:{$pattern:i,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:i,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return g.contains=[v,m,h],h.contains=S,E.contains=S,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,g,l,c,d,_,b,E,a,f]}}return x_=n,x_}var C_,sv;function fqe(){if(sv)return C_;sv=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return C_=n,C_}var R_,ov;function hqe(){if(ov)return R_;ov=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return R_=n,R_}var A_,av;function mqe(){if(av)return A_;av=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],i=["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"],s=[].concat(r,t,i);function o(a){const l=["npm","print"],c=["yes","no","on","off"],d=["then","unless","until","loop","by","when","and","or","is","isnt","not"],u=["var","const","let","function","static"],_=T=>C=>!T.includes(C),f={keyword:n.concat(d).filter(_(u)),literal:e.concat(c),built_in:s.concat(l)},E="[A-Za-z$_][0-9A-Za-z$_]*",b={className:"subst",begin:/#\{/,end:/\}/,keywords:f},g=[a.BINARY_NUMBER_MODE,a.inherit(a.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,b]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,b]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[b,a.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+E},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];b.contains=g;const h=a.inherit(a.TITLE_MODE,{begin:E}),m="(\\(.*\\)\\s*)?\\B[-=]>",S={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(g)}]},v={variants:[{match:[/class\s+/,E,/\s+extends\s+/,E]},{match:[/class\s+/,E]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:f};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:f,illegal:/\/\*/,contains:[...g,a.COMMENT("###","###"),a.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+E+"\\s*=\\s*"+m,end:"[-=]>",returnBegin:!0,contains:[h,S]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:m,end:"[-=]>",returnBegin:!0,contains:[S]}]},v,{begin:E+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return A_=o,A_}var w_,lv;function gqe(){if(lv)return w_;lv=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return w_=n,w_}var O_,cv;function Eqe(){if(cv)return O_;cv=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}return O_=n,O_}var N_,dv;function bqe(){if(dv)return N_;dv=1;function n(e){const t=e.regex,i=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="(?!struct)("+r+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional(o)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={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},_={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(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,e.C_BLOCK_COMMENT_MODE]},f={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},E=t.optional(s)+e.IDENT_RE+"\\s*\\(",b=["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"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["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"],m=["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"],T={type:g,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},C={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},N=[C,_,l,i,e.C_BLOCK_COMMENT_MODE,u,d],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:T,contains:N.concat([{begin:/\(/,end:/\)/,keywords:T,contains:N.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+a+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:T,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:T,relevance:0},{begin:E,returnBegin:!0,contains:[f],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:[i,e.C_BLOCK_COMMENT_MODE,d,u,l,{begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:["self",i,e.C_BLOCK_COMMENT_MODE,d,u,l]}]},l,i,e.C_BLOCK_COMMENT_MODE,_]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:T,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,y,C,N,[_,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:T,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:T},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return N_=n,N_}var M_,uv;function Sqe(){if(uv)return M_;uv=1;function n(e){const t="primitive rsc_template",i="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",r="property rsc_defaults op_defaults",s="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",a="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:s+" "+o+" "+a,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+i.split(" ").join("|")+")\\s+",keywords:i,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:r,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}return M_=n,M_}var I_,_v;function yqe(){if(_v)return I_;_v=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",i="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",s="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},d={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(m,S){const v=[{begin:m,end:S}];return v[0].contains=v,v}const _={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},E={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},b={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},h=[d,_,f,b,E,g,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[_,{begin:s}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+i+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=h,d.contains=h.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:h}}return I_=n,I_}var D_,pv;function vqe(){if(pv)return D_;pv=1;function n(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],i=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],s=["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"],o=["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:s.concat(o),built_in:t,literal:r},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={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},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=e.inherit(d,{illegal:/\n/}),_={className:"subst",begin:/\{/,end:/\}/,keywords:a},f=e.inherit(_,{illegal:/\n/}),E={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,f]},b={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]},g=e.inherit(b,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]});_.contains=[b,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],f.contains=[g,E,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const h={variants:[b,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},S=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",v={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:"</?",end:">"}]}]}),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"}},h,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,m,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,m,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:"("+S+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:i.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,m],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[h,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}return D_=n,D_}var L_,fv;function Tqe(){if(fv)return L_;fv=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return L_=n,L_}var k_,hv;function xqe(){if(hv)return k_;hv=1;const n=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"],t=["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"],i=["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"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["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 o(a){const l=a.regex,c=n(a),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},u="and or not only",_=/@-?\w[\w]*(-\w+)*/,f="[a-zA-Z-][a-zA-Z0-9_-]*",E=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,d,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+f,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:":(:)?("+r.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...E,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...E,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:_},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...E,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return k_=o,k_}var P_,mv;function Cqe(){if(mv)return P_;mv=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},i="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",s="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,l="([eE][+-]?"+r+")",c="("+r+"(\\.\\d*|"+l+")|\\d+\\."+r+"|\\."+i+l+"?)",d="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+i+"|"+s+"|"+a+")",_="("+d+"|"+c+")",f=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,E={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},b={className:"number",begin:"\\b("+_+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+f+"|.)",end:"'",illegal:"."},m={className:"string",begin:'"',contains:[{begin:f,relevance:0}],end:'"[cwd]?'},S={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},v={className:"string",begin:"`",end:"`[cwd]?"},T={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},N={className:"meta",begin:"^#!",end:"$",relevance:5},x={className:"meta",begin:"#(line)",end:"$",relevance:5},y={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},R=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,R,T,m,S,v,C,b,E,g,N,x,y]}}return P_=n,P_}var U_,gv;function Rqe(){if(gv)return U_;gv=1;function n(e){const t=e.regex,i={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},s={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}]},o={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+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.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}]},d={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},_=e.inherit(d,{contains:[]}),f=e.inherit(u,{contains:[]});d.contains.push(f),u.contains.push(_);let E=[i,c];return[d,u,_,f].forEach(h=>{h.contains=h.contains.concat(E)}),E=E.concat(d,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:E},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:E}]}]},i,o,d,u,{className:"quote",begin:"^>\\s+",contains:E,end:"$"},s,r,c,a]}}return U_=n,U_}var F_,Ev;function Aqe(){if(Ev)return F_;Ev=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},i={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,i]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,i]}]};i.contains=[e.C_NUMBER_MODE,r];const s=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=s.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:s.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[r,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return F_=n,F_}var B_,bv;function wqe(){if(bv)return B_;bv=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[s,a,r].concat(i)},r].concat(i)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[s,a,e.NUMBER_MODE,o,l,c,r].concat(i)}}return B_=n,B_}var G_,Sv;function Oqe(){if(Sv)return G_;Sv=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.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 G_=n,G_}var z_,yv;function Nqe(){if(yv)return z_;yv=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return z_=n,z_}var H_,vv;function Mqe(){if(vv)return H_;vv=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return H_=n,H_}var V_,Tv;function Iqe(){if(Tv)return V_;Tv=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}return V_=n,V_}var q_,xv;function Dqe(){if(xv)return q_;xv=1;function n(e){const t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}return q_=n,q_}var Y_,Cv;function Lqe(){if(Cv)return Y_;Cv=1;function n(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}return Y_=n,Y_}var $_,Rv;function kqe(){if(Rv)return $_;Rv=1;function n(e){const t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},i={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[e.inherit(t,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},s={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[i,s]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},d={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},_={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},f={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[d,s,o,a,c,_,u,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,t,r,f,{begin:e.IDENT_RE+"::",keywords:""}]}}return $_=n,$_}var W_,Av;function Pqe(){if(Av)return W_;Av=1;function n(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return W_=n,W_}var K_,wv;function Uqe(){if(wv)return K_;wv=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),i={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},s={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,i,s]}}return K_=n,K_}var j_,Ov;function Fqe(){if(Ov)return j_;Ov=1;function n(e){const t=e.regex,i="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:i,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},u={match:/\\[\s\S]/,scope:"char.escape",relevance:0},_=`[/|([{<"']`,f=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],E=C=>({scope:"char.escape",begin:t.concat(/\\/,C),relevance:0}),b={className:"string",begin:"~[a-z](?="+_+")",contains:f.map(C=>e.inherit(C,{contains:[E(C.end),u,l]}))},g={className:"string",begin:"~[A-Z](?="+_+")",contains:f.map(C=>e.inherit(C,{contains:[E(C.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+_+")",contains:f.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[E(C.end),u,l]}))},{begin:"~R(?="+_+")",contains:f.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[E(C.end)]}))}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},S={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},v=e.inherit(S,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),T=[m,h,g,b,e.HASH_COMMENT_MODE,v,S,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[m,{begin:r}],relevance:0},{className:"symbol",begin:i+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=T,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:T}}return j_=n,j_}var Q_,Nv;function Bqe(){if(Nv)return Q_;Nv=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},s={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[i,r,s,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return Q_=n,Q_}var X_,Mv;function Gqe(){if(Mv)return X_;Mv=1;function n(e){const t=e.regex,i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),s=t.concat(r,/(::\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]+"},c={begin:"#<",end:">"},d=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},_={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{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:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},f="[1-9](_?[0-9])*|0",E="[0-9](_?[0-9])*",b={className:"number",relevance:0,variants:[{begin:`\\b(${f})(\\.(${E}))?([eE][+-]?(${E})|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"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},N=[_,{variants:[{match:[/class\s+/,s,/\s+<\s+/,s]},{match:[/\b(class|module)\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,s],scope:{2:"title.class"},keywords:a},{relevance:0,match:[s,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[_,{begin:i}],relevance:0},b,{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,u],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(c,d),relevance:0}].concat(c,d);u.contains=N,g.contains=N;const x="[>?]>",y="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",R="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",P=[{begin:/^\s*=>/,starts:{end:"$",contains:N}},{className:"meta.prompt",begin:"^("+x+"|"+y+"|"+R+")(?=[ ])",starts:{end:"$",keywords:a,contains:N}}];return d.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(P).concat(d).concat(N)}}return X_=n,X_}var Z_,Iv;function zqe(){if(Iv)return Z_;Iv=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Z_=n,Z_}var J_,Dv;function Hqe(){if(Dv)return J_;Dv=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return J_=n,J_}var ep,Lv;function Vqe(){if(Lv)return ep;Lv=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",i="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},s=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},l={begin:i+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:i,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},d={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},_={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},f={beginKeywords:"fun receive if try case",end:"end",keywords:r};f.contains=[s,a,e.inherit(e.APOS_STRING_MODE,{className:""}),f,l,e.QUOTE_STRING_MODE,o,c,d,u,_];const E=[s,a,f,l,e.QUOTE_STRING_MODE,o,c,d,u,_];l.contains[1].contains=E,c.contains=E,_.contains[1].contains=E;const b=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],g={className:"params",begin:"\\(",end:"\\)",contains:E};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[g,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:E}},s,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:b.map(h=>`${h}|1.5`).join(" ")},contains:[g]},o,e.QUOTE_STRING_MODE,_,d,u,c,{begin:/\.$/}]}}return ep=n,ep}var tp,kv;function qqe(){if(kv)return tp;kv=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return tp=n,tp}var np,Pv;function Yqe(){if(Pv)return np;Pv=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return np=n,np}var ip,Uv;function $qe(){if(Uv)return ip;Uv=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i={className:"string",variants:[{begin:'"',end:'"'}]},s={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,i,s,e.C_NUMBER_MODE]}}return ip=n,ip}var rp,Fv;function Wqe(){if(Fv)return rp;Fv=1;function n(e){const t=e.regex,i={className:"params",begin:"\\(",end:"\\)"},r={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},s=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,s)},{begin:t.concat(/\b\d+/,o,s)},{begin:t.concat(/\.\d+/,o,s)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,i]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}return rp=n,rp}var sp,Bv;function Kqe(){if(Bv)return sp;Bv=1;function n(a){return new RegExp(a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return i("(?=",a,")")}function i(...a){return a.map(c=>e(c)).join("")}function r(a){const l=a[a.length-1];return typeof l=="object"&&l.constructor===Object?(a.splice(a.length-1,1),l):{}}function s(...a){return"("+(r(a).capture?"":"?:")+a.map(d=>e(d)).join("|")+")"}function o(a){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},d=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],u=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],_=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],f=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],b={keyword:l,literal:u,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":_},h={variants:[a.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),a.C_LINE_COMMENT_MODE]},m=/[a-zA-Z_](\w|')*/,S={scope:"variable",begin:/``/,end:/``/},v=/\B('|\^)/,T={scope:"symbol",variants:[{match:i(v,/``.*?``/)},{match:i(v,a.UNDERSCORE_IDENT_RE)}],relevance:0},C=function({includeEqual:fe}){let ye;fe?ye="!%&*+-/<=>@^|~?":ye="!%&*+-/<>@^|~?";const j=Array.from(ye),de=i("[",...j.map(n),"]"),Q=s(de,/\./),he=i(Q,t(Q)),Ae=s(i(he,Q,"*"),i(de,"+"));return{scope:"operator",match:s(Ae,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},N=C({includeEqual:!0}),x=C({includeEqual:!1}),y=function(fe,ye){return{begin:i(fe,t(i(/\s*/,s(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ye,end:t(s(/\n/,/=/)),relevance:0,keywords:a.inherit(b,{type:f}),contains:[h,T,a.inherit(S,{scope:null}),x]}},R=y(/:/,"operator"),P=y(/\bof\b/,"keyword"),k={begin:[/(^|\s+)/,/type/,/\s+/,m],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:b,contains:[h,a.inherit(S,{scope:null}),T,{scope:"operator",match:/<|>/},R]},W={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},M={begin:[/^\s*/,i(/#/,s(...d)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},H={variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]},z={scope:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE]},I={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},a.BACKSLASH_ESCAPE]},Y={scope:"string",begin:/"""/,end:/"""/,relevance:2},K={scope:"subst",begin:/\{/,end:/\}/,keywords:b},q={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},a.BACKSLASH_ESCAPE,K]},le={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},a.BACKSLASH_ESCAPE,K]},X={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},K],relevance:2},Z={scope:"string",match:i(/'/,s(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return K.contains=[le,q,I,z,Z,c,h,S,R,W,M,H,T,N],{name:"F#",aliases:["fs","f#"],keywords:b,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[X,le,q,Y,I,z,Z]},h,S,k,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[S,Y,I,z,Z,H]},P,R,W,M,H,T,N]}}return sp=o,sp}var op,Gv;function jqe(){if(Gv)return op;Gv=1;function n(e){const t=e.regex,i={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},s={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:i,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:i,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,s]},e.C_NUMBER_MODE,s]}}return op=n,op}var ap,zv;function Qqe(){if(zv)return ap;zv=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},i=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i]},s={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,s]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(f,E,b){const g=e.inherit({className:"function",beginKeywords:f,end:E,excludeEnd:!0,contains:[].concat(o)},b||{});return g.contains.push(a),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(i),g},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},d={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},_={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,c,u,d,"self"]};return u.contains.push(_),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,d,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,i,_]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,s]}}return ap=n,ap}var lp,Hv;function Xqe(){if(Hv)return lp;Hv=1;function n(e){const t="[A-Z_][A-Z0-9_.]*",i="%",r={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},s={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:i},s].concat(a)}}return lp=n,lp}var cp,Vv;function Zqe(){if(Vv)return cp;Vv=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return cp=n,cp}var dp,qv;function Jqe(){if(qv)return dp;qv=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return dp=n,dp}var up,Yv;function e7e(){if(Yv)return up;Yv=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return up=n,up}var _p,$v;function t7e(){if($v)return _p;$v=1;function n(e){const o={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:o,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,illegal:/["']/}]}]}}return _p=n,_p}var pp,Wv;function n7e(){if(Wv)return pp;Wv=1;function n(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}return pp=n,pp}var fp,Kv;function i7e(){if(Kv)return fp;Kv=1;function n(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}return fp=n,fp}var hp,jv;function r7e(){if(jv)return hp;jv=1;function n(e){const t=e.regex,i=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(i,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return hp=n,hp}var mp,Qv;function s7e(){if(Qv)return mp;Qv=1;function n(t,i={}){return i.variants=t,i}function e(t){const i=t.regex,r="[A-Za-z0-9_$]+",s=n([t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),o={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[t.BACKSLASH_ESCAPE]},a=n([t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]),l=n([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE],{className:"string"}),c={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,t.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[t.SHEBANG({binary:"groovy",relevance:10}),s,l,o,a,c,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:r+"[ 	]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[s,l,o,a,"self"]},{className:"symbol",begin:"^[ 	]*"+i.lookahead(r+":"),excludeBegin:!0,end:r+":",relevance:0}],illegal:/#|<\//}}return mp=e,mp}var gp,Xv;function o7e(){if(Xv)return gp;Xv=1;function n(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return gp=n,gp}var Ep,Zv;function a7e(){if(Zv)return Ep;Zv=1;function n(e){const t=e.regex,i={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},s=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,d=t.either(s,o,a,l),u=t.concat(t.optional(/\.|\.\/|\//),d,t.anyNumberOfTimes(t.concat(c,d))),_=t.concat("(",a,"|",l,")(?==)"),f={begin:u},E=e.inherit(f,{keywords:r}),b={begin:/\(/,end:/\)/},g={className:"attr",begin:_,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,b]}}},h={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,h,g,E,b],returnEnd:!0},S=e.inherit(f,{className:"name",keywords:i,starts:e.inherit(m,{end:/\)/})});b.contains=[S];const v=e.inherit(f,{keywords:i,className:"name",starts:e.inherit(m,{end:/\}\}/})}),T=e.inherit(f,{keywords:i,className:"name"}),C=e.inherit(f,{className:"name",keywords:i,starts:e.inherit(m,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[v],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[T]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[v]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[T]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}return Ep=n,Ep}var bp,Jv;function l7e(){if(Jv)return bp;Jv=1;function n(e){const t="([0-9]_*)+",i="([0-9a-fA-F]_*)+",r="([01]_*)+",s="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",d={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},u={className:"meta",begin:/\{-#/,end:/#-\}/},_={className:"meta",begin:"^#",end:"$"},f={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},E={begin:"\\(",end:"\\)",illegal:'"',contains:[u,_,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),d]},b={begin:/\{/,end:/\}/,contains:E.contains},g={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${i})(\\.(${i}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${s})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[E,d],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[E,d],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[f,E,d]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[u,f,E,b,d]},{beginKeywords:"default",end:"$",contains:[f,E,d]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,d]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[f,e.QUOTE_STRING_MODE,d]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},u,_,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,g,f,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},d,{begin:"->|<-"}]}}return bp=n,bp}var Sp,eT;function c7e(){if(eT)return Sp;eT=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",i=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:i,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return Sp=n,Sp}var yp,tT;function d7e(){if(tT)return yp;tT=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return yp=n,yp}var vp,nT;function u7e(){if(nT)return vp;nT=1;function n(e){const t=e.regex,i="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,s={className:"attribute",begin:t.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[s,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+i+" \\d{3})",end:/$/,contains:[{className:"meta",begin:i},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+i+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:i},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(s,{relevance:0})]}}return vp=n,vp}var Tp,iT;function _7e(){if(iT)return Tp;iT=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",i="["+t+"]["+t+"0-9/;:]*",r={$pattern:i,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},s="[-+]?\\d+(\\.\\d+)?",o={begin:i,relevance:0},a={className:"number",begin:s,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},_={className:"comment",begin:"\\^"+i},f=e.COMMENT("\\^\\{","\\}"),E={className:"symbol",begin:"[:]{1,2}"+i},b={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},h={className:"name",relevance:0,keywords:r,begin:i,starts:g},m=[b,l,_,f,c,E,u,a,d,o];return b.contains=[e.COMMENT("comment",""),h,g],g.contains=m,u.contains=m,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),b,l,_,f,c,E,u,a,d]}}return Tp=n,Tp}var xp,rT;function p7e(){if(rT)return xp;rT=1;function n(e){const t="\\[",i="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:i}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:i,contains:["self"]}]}}return xp=n,xp}var Cp,sT;function f7e(){if(sT)return Cp;sT=1;function n(e){const t=e.regex,i={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[r,o,s,a,i,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,d=/"(\\"|[^"])*"/,u=/'[^']*'/,_=t.either(c,d,u),f=t.concat(_,"(\\s*\\.\\s*",_,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:f,className:"attr",starts:{end:/$/,contains:[r,l,o,s,a,i]}}]}}return Cp=n,Cp}var Rp,oT;function h7e(){if(oT)return Rp;oT=1;function n(e){const t=e.regex,i={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,s,r)},{begin:t.concat(/\b\d+/,s,r)},{begin:t.concat(/\.\d+/,s,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,i]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Rp=n,Rp}var Ap,aT;function m7e(){if(aT)return Ap;aT=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",i="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",s="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",d="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",u="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",_="smHidden smMaximized smMinimized smNormal wmNo wmYes ",f="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",E="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",b="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",g="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",h="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",m="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",S="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",v="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",T="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",C="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",N="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",x="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",y="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",R="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",P="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",k="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",W="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",M="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",H="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",z="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",I="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",Y="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",K="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",q="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",le="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",X="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Z="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",_e="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",fe=s+o+a+l+c+d+u+_+f+E+b+g+h+m+S+v+T+C+N+x+y+R+P+k+W+M+H+z+I+Y+K+q+le+X+Z+_e,ye="atUser atGroup atRole ",j="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",de="apBegin apEnd ",Q="alLeft alRight ",he="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ae="cirCommon cirRevoked ",O="ctSignature ctEncode ctSignatureEncode ",F="clbUnchecked clbChecked clbGrayed ",V="ceISB ceAlways ceNever ",re="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",ee="cfInternal cfDisplay ",be="ciUnspecified ciWrite ciRead ",xe="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",B="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",ae="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",te="cltInternal cltPrimary cltGUI ",ie="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",w="dssEdit dssInsert dssBrowse dssInActive ",A="dftDate dftShortDate dftDateTime dftTimeStamp ",G="dotDays dotHours dotMinutes dotSeconds ",ce="dtkndLocal dtkndUTC ",$="arNone arView arEdit arFull ",J="ddaView ddaEdit ",ve="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Ee="ecotFile ecotProcess ",Me="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ue="edltAll edltNothing edltQuery ",Je="essmText essmCard ",Ne="esvtLast esvtLastActive esvtSpecified ",tt="edsfExecutive edsfArchive ",$e="edstSQLServer edstFile ",Pe="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",je="vsDefault vsDesign vsActive vsObsolete ",Ve="etNone etCertificate etPassword etCertificatePassword ",ct="ecException ecWarning ecInformation ",oe="estAll estApprovingOnly ",He="evtLast evtLastActive evtQuery ",Le="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Ce="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",ke="grhAuto grhX1 grhX2 grhX3 ",it="hltText hltRTF hltHTML ",pt="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",$t="im8bGrayscale im24bRGB im1bMonochrome ",tn="itBMP itJPEG itWMF itPNG ",wt="ikhInformation ikhWarning ikhError ikhNoIcon ",Vt="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",On="isShow isHide isByUserSettings ",Ys="jkJob jkNotice jkControlJob ",ya="jtInner jtLeft jtRight jtFull jtCross ",Gi="lbpAbove lbpBelow lbpLeft lbpRight ",Jr="eltPerConnection eltPerUser ",zi="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",es="sfsItalic sfsStrikeout sfsNormal ",$s="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ws="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",ts="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",va="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",U="rdWindow rdFile rdPrinter ",pe="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Se="reOnChange reOnChangeValues ",Te="ttGlobal ttLocal ttUser ttSystem ",me="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",qe="smSelect smLike smCard ",Qe="stNone stAuthenticating stApproving ",nt="sctString sctStream ",rt="sstAnsiSort sstNaturalSort ",dt="svtEqual svtContain ",st="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",lt="tarAbortByUser tarAbortByWorkflowException ",Ut="tvtAllWords tvtExactPhrase tvtAnyWord ",dn="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",qt="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",hn="btAnd btDetailAnd btOr btNotOr btOnly ",Bt="vmView vmSelect vmNavigation ",ft="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Ta="wfatPrevious wfatNext wfatCancel wfatFinish ",Ht="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",Hi="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",Fl="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",ns="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",xa="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",on="waAll waPerformers waManual ",Vi="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Ca="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Nn="wiLow wiNormal wiHigh ",Ra="wrtSoft wrtHard ",_u="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Bl="wtmFull wtmFromCurrent wtmOnlyCurrent ",OO=ye+j+de+Q+he+Ae+O+F+V+re+ee+be+xe+B+ae+te+ie+w+A+G+ce+$+J+ve+Ee+Me+Ue+Je+Ne+tt+$e+Pe+je+Ve+ct+oe+He+Le+Ce+ke+it+pt+$t+tn+wt+Vt+On+Ys+ya+Gi+Jr+zi+es+$s+Ws+ts+va+U+pe+Se+Te+me+qe+Qe+nt+rt+dt+st+lt+Ut+dn+qt+hn+Bt+ft+Ta+Ht+Hi+Fl+ns+xa+on+Vi+Ca+Nn+Ra+_u+Bl,NO="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",MO="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",IO="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",DO=fe+OO,LO=MO,kO="null true false nil ",ZE={className:"number",begin:e.NUMBER_RE,relevance:0},JE={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},eb={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},PO={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,eb]},UO={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,eb]},tb={variants:[PO,UO]},Gl={$pattern:t,keyword:r,built_in:DO,class:LO,literal:kO},pu={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Gl,relevance:0},nb={className:"type",begin:":[ \\t]*("+IO.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},ib={className:"variable",keywords:Gl,begin:t,relevance:0,contains:[nb,pu]},rb=i+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Gl,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:rb,end:"\\)$",returnBegin:!0,keywords:Gl,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:NO},begin:rb,end:"\\(",returnBegin:!0,excludeEnd:!0},pu,ib,JE,ZE,tb]},nb,pu,ib,JE,ZE,tb]}}return Ap=n,Ap}var wp,lT;function g7e(){if(lT)return wp;lT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(o,a,l){return l===-1?"":o.replace(a,c=>r(o,a,l-1))}function s(o){const a=o.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+r("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),E={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"]},b={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},g={className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:E,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.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:[g,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:E,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[b,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,i,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},i,b]}}return wp=s,wp}var Op,cT;function E7e(){if(cT)return Op;cT=1;const n="[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"],t=["true","false","null","undefined","NaN","Infinity"],i=["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"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(s,i,r);function l(c){const d=c.regex,u=(j,{after:de})=>{const Q="</"+j[0].slice(1);return j.input.indexOf(Q,de)!==-1},_=n,f={begin:"<>",end:"</>"},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(j,de)=>{const Q=j[0].length+j.index,he=j.input[Q];if(he==="<"||he===","){de.ignoreMatch();return}he===">"&&(u(j,{after:Q})||de.ignoreMatch());let Ae;const O=j.input.substring(Q);if(Ae=O.match(/^\s*=/)){de.ignoreMatch();return}if((Ae=O.match(/^\s+extends\s+/))&&Ae.index===0){de.ignoreMatch();return}}},g={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},h="[0-9](_?[0-9])*",m=`\\.(${h})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",v={className:"number",variants:[{begin:`(\\b(${S})((${m})|\\.)?|(${m}))[eE][+-]?(${h})\\b`},{begin:`\\b(${S})\\b((${m})\\b|\\.)?|(${m})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},N={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"css"}},x={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,T]},P={className:"comment",variants:[c.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:_+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},k=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,N,x,y,{match:/\$\d+/},v];T.contains=k.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(k)});const W=[].concat(P,T.contains),M=W.concat([{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(W)}]),H={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:M},z={variants:[{match:[/class/,/\s+/,_,/\s+/,/extends/,/\s+/,d.concat(_,"(",d.concat(/\./,_),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,_],scope:{1:"keyword",3:"title.class"}}]},I={relevance:0,match:d.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:{_:[...i,...r]}},Y={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},K={variants:[{match:[/function/,/\s+/,_,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[H],illegal:/%/},q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function le(j){return d.concat("(?!",j.join("|"),")")}const X={match:d.concat(/\b/,le([...s,"super","import"]),_,d.lookahead(/\(/)),className:"title.function",relevance:0},Z={begin:d.concat(/\./,d.lookahead(d.concat(_,/(?![0-9A-Za-z$_(])/))),end:_,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_e={match:[/get|set/,/\s+/,_,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},H]},fe="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",ye={match:[/const|var|let/,/\s+/,_,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(fe)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[H]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:M,CLASS_REFERENCE:I},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),Y,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,N,x,y,P,{match:/\$\d+/},v,I,{className:"attr",begin:_+d.lookahead(":"),relevance:0},ye,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,c.REGEXP_MODE,{className:"function",begin:fe,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:M}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:E},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[H,c.inherit(c.TITLE_MODE,{begin:_,className:"title.function"})]},{match:/\.\.\./,relevance:0},Z,{match:"\\$"+_,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[H]},X,q,z,_e,{match:/\$[(.]/}]}}return Op=l,Op}var Np,dT;function b7e(){if(dT)return Np;dT=1;function n(e){const i={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},r={className:"function",begin:/:[\w\-.]+/,relevance:0},s={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,r,s,i]}}return Np=n,Np}var Mp,uT;function S7e(){if(uT)return Mp;uT=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},i={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],s={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",keywords:{literal:r},contains:[t,i,e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Mp=n,Mp}var Ip,_T;function y7e(){if(_T)return Ip;_T=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},d={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},u={className:"variable",begin:"\\$"+t},_={className:"string",contains:[e.BACKSLASH_ESCAPE,d,u],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},f={className:"string",contains:[e.BACKSLASH_ESCAPE,d,u],begin:"`",end:"`"},E={className:"meta",begin:"@"+t},b={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[l,c,_,f,E,b,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],d.contains=a.contains,a}return Ip=n,Ip}var Dp,pT;function v7e(){if(pT)return Dp;pT=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Dp=n,Dp}var Lp,fT;function T7e(){if(fT)return Lp;fT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(s){const o={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:s.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[s.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+s.UNDERSCORE_IDENT_RE},u={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,c]},{begin:"'",end:"'",illegal:/\n/,contains:[s.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[s.BACKSLASH_ESCAPE,d,c]}]};c.contains.push(u);const _={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+s.UNDERSCORE_IDENT_RE+")?"},f={className:"meta",begin:"@"+s.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[s.inherit(u,{className:"string"}),"self"]}]},E=i,b=s.COMMENT("/\\*","\\*/",{contains:[s.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:s.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},h=g;return h.variants[1].contains=[g],g.variants[1].contains=[h],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),s.C_LINE_COMMENT_MODE,b,a,l,_,f,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:s.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[s.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,s.C_LINE_COMMENT_MODE,b],relevance:0},s.C_LINE_COMMENT_MODE,b,_,f,u,s.C_NUMBER_MODE]},b]},{begin:[/class|interface|trait/,/\s+/,s.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},s.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},_,f]},u,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
 `},E]}}return Lp=r,Lp}var kp,hT;function x7e(){if(hT)return kp;hT=1;function n(e){const t="[a-zA-Z_][\\w.]*",i="<\\?(lasso(script)?|=)",r="\\]|\\?>",s={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("<!--","-->",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+i},c={className:"symbol",begin:"'"+t+"'"},d=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:s,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+i,returnEnd:!0,relevance:0,contains:[o]}},a,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:s,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+i,returnEnd:!0,contains:[o]}},a,l].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return kp=n,kp}var Pp,mT;function C7e(){if(mT)return Pp;mT=1;function n(e){const i=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(P=>P+"(?![a-zA-Z@:_])")),r=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(P=>P+"(?![a-zA-Z:_])").join("|")),s=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:i},{endsParent:!0,begin:r},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:s}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:o},d={className:"built_in",relevance:0,begin:/[$&^_]/},u={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},_=e.COMMENT("%","$",{relevance:0}),f=[a,l,c,d,u,_],E={begin:/\{/,end:/\}/,relevance:0,contains:["self",...f]},b=e.inherit(E,{relevance:0,endsParent:!0,contains:[E,...f]}),g={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[E,...f]},h={begin:/\s+/,relevance:0},m=[b],S=[g],v=function(P,k){return{contains:[h],starts:{relevance:0,contains:P,starts:k}}},T=function(P,k){return{begin:"\\\\"+P+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+P},relevance:0,contains:[h],starts:k}},C=function(P,k){return e.inherit({begin:"\\\\begin(?=[ 	]*(\\r?\\n[ 	]*)?\\{"+P+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},v(m,k))},N=(P="string")=>e.END_SAME_AS_BEGIN({className:P,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),x=function(P){return{className:"string",end:"(?=\\\\end\\{"+P+"\\})"}},y=(P="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:P,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),R=[...["verb","lstinline"].map(P=>T(P,{contains:[N()]})),T("mint",v(m,{contains:[N()]})),T("mintinline",v(m,{contains:[y(),N()]})),T("url",{contains:[y("link"),y("link")]}),T("hyperref",{contains:[y("link")]}),T("href",v(S,{contains:[y("link")]})),...[].concat(...["","\\*"].map(P=>[C("verbatim"+P,x("verbatim"+P)),C("filecontents"+P,v(m,x("filecontents"+P))),...["","B","L"].map(k=>C(k+"Verbatim"+P,v(S,x(k+"Verbatim"+P))))])),C("minted",v(S,v(m,x("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...R,...f]}}return Pp=n,Pp}var Up,gT;function R7e(){if(gT)return Up;gT=1;function n(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Up=n,Up}var Fp,ET;function A7e(){if(ET)return Fp;ET=1;function n(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,r={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},s={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[r]};return r.contains.unshift(s),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[r]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Fp=n,Fp}var Bp,bT;function w7e(){if(bT)return Bp;bT=1;const n=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"],t=["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"],i=["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"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["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(),o=i.concat(r);function a(l){const c=n(l),d=o,u="and or not only",_="[\\w-]+",f="("+_+"|@\\{"+_+"\\})",E=[],b=[],g=function(P){return{className:"string",begin:"~?"+P+".*?"+P}},h=function(P,k,W){return{className:P,begin:k,relevance:W}},m={$pattern:/[a-z-]+/,keyword:u,attribute:t.join(" ")},S={begin:"\\(",end:"\\)",contains:b,keywords:m,relevance:0};b.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,g("'"),g('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,S,h("variable","@@?"+_,10),h("variable","@\\{"+_+"\\}"),h("built_in","~?`[^`]*?`"),{className:"attribute",begin:_+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const v=b.concat({begin:/\{/,end:/\}/,contains:E}),T={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(b)},C={begin:f+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:b}}]},N={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:m,returnEnd:!0,contains:b,relevance:0}},x={className:"variable",variants:[{begin:"@"+_+"\\s*:",relevance:15},{begin:"@"+_}],starts:{end:"[;}]",returnEnd:!0,contains:v}},y={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:f,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,T,h("keyword","all\\b"),h("variable","@\\{"+_+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,h("selector-tag",f,0),h("selector-id","#"+f),h("selector-class","\\."+f,0),h("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:v},{begin:"!important"},c.FUNCTION_DISPATCH]},R={begin:_+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[y]};return E.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,x,R,C,y,T,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:E}}return Bp=a,Bp}var Gp,ST;function O7e(){if(ST)return Gp;ST=1;function n(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",i="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",s={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},d={className:"symbol",begin:"[:&]"+t},u={begin:t,relevance:0},_={begin:i},E={contains:[o,a,c,d,{begin:"\\(",end:"\\)",contains:["self",s,a,o,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+i}]},b={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},g={begin:"\\(\\s*",end:"\\)"},h={endsWithParent:!0,relevance:0};return g.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:i}]},h],h.contains=[E,b,g,s,o,a,l,c,d,_,u],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),s,a,l,E,b,g,u]}}return Gp=n,Gp}var zp,yT;function N7e(){if(yT)return zp;yT=1;function n(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},i=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),s=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[s,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(i),illegal:";$|^\\[|^=|&|\\{"}}return zp=n,zp}var Hp,vT;function M7e(){if(vT)return Hp;vT=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],i=["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"],s=[].concat(r,t,i);function o(a){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],d=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],u={keyword:n.concat(d),literal:e.concat(c),built_in:s.concat(l)},_="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",f=a.inherit(a.TITLE_MODE,{begin:_}),E={className:"subst",begin:/#\{/,end:/\}/,keywords:u},b={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:u},g=[a.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,E,b]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,E,b]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[E,a.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+_},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];E.contains=g;const h={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:u,contains:["self"].concat(g)}]},m={begin:"(#=>|=>|\\|>>|-?->|!->)"},S={variants:[{match:[/class\s+/,_,/\s+extends\s+/,_]},{match:[/class\s+/,_]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:u};return{name:"LiveScript",aliases:["ls"],keywords:u,illegal:/\/\*/,contains:g.concat([a.COMMENT("\\/\\*","\\*\\/"),a.HASH_COMMENT_MODE,m,{className:"function",contains:[f,h],returnBegin:!0,variants:[{begin:"("+_+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+_+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+_+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},S,{begin:_+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Hp=o,Hp}var Vp,TT;function I7e(){if(TT)return Vp;TT=1;function n(e){const t=e.regex,i=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},s={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:t.concat(/%/,i)},{begin:/%\d+/},{begin:/#\d+/}]},d={className:"title",variants:[{begin:t.concat(/@/,i)},{begin:/@\d+/},{begin:t.concat(/!/,i)},{begin:t.concat(/!\d+/,i)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[r,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},d,o,s,c,l,a]}}return Vp=n,Vp}var qp,xT;function D7e(){if(xT)return qp;xT=1;function n(e){const i={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},r={className:"number",relevance:0,begin:e.C_NUMBER_RE},s={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[i,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},r,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,s,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return qp=n,qp}var Yp,CT;function L7e(){if(CT)return Yp;CT=1;function n(e){const t="\\[=*\\[",i="\\]=*\\]",r={begin:t,end:i,contains:["self"]},s=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,i,{contains:[r],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:s.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:s}].concat(s)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:i,contains:[r],relevance:5}])}}return Yp=n,Yp}var $p,RT;function k7e(){if(RT)return $p;RT=1;function n(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},s={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},o={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,i,r,s,o,a]}}return $p=n,$p}var Wp,AT;function P7e(){if(AT)return Wp;AT=1;const n=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function e(t){const i=t.regex,r=/([2-9]|[1-2]\d|[3][0-5])\^\^/,s=/(\w*\.\w+|\w+\.\w*|\w+)/,o=/(\d*\.\d+|\d+\.\d*|\d+)/,a=i.either(i.concat(r,s),o),l=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,c=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,d=i.either(l,c),u=/\*\^[+-]?\d+/,f={className:"number",relevance:0,begin:i.concat(a,i.optional(d),i.optional(u))},E=/[a-zA-Z$][a-zA-Z0-9$]*/,b=new Set(n),g={variants:[{className:"builtin-symbol",begin:E,"on:begin":(N,x)=>{b.has(N[0])||x.ignoreMatch()}},{className:"symbol",relevance:0,begin:E}]},h={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},m={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},S={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},v={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},T={className:"brace",relevance:0,begin:/[[\](){}]/},C={className:"message-name",relevance:0,begin:i.concat("::",E)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),S,v,C,g,h,t.QUOTE_STRING_MODE,f,m,T]}}return Wp=e,Wp}var Kp,wT;function U7e(){if(wT)return Kp;wT=1;function n(e){const t="('|\\.')+",i={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:i},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:i},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:i},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:i},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return Kp=n,Kp}var jp,OT;function F7e(){if(OT)return jp;OT=1;function n(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return jp=n,jp}var Qp,NT;function B7e(){if(NT)return Qp;NT=1;function n(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Qp=n,Qp}var Xp,MT;function G7e(){if(MT)return Xp;MT=1;function n(e){const t={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},i=e.COMMENT("%","$"),r={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},s=e.inherit(e.APOS_STRING_MODE,{relevance:0}),o=e.inherit(e.QUOTE_STRING_MODE,{relevance:0}),a={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return o.contains=o.contains.slice(),o.contains.push(a),{name:"Mercury",aliases:["m","moo"],keywords:t,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},i,e.C_BLOCK_COMMENT_MODE,r,e.NUMBER_MODE,s,o,{begin:/:-/},{begin:/\.$/}]}}return Xp=n,Xp}var Zp,IT;function z7e(){if(IT)return Zp;IT=1;function n(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Zp=n,Zp}var Jp,DT;function H7e(){if(DT)return Jp;DT=1;function n(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return Jp=n,Jp}var ef,LT;function V7e(){if(LT)return ef;LT=1;function n(e){const t=e.regex,i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:i.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},a={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,o,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(E,b,g="\\1")=>{const h=g==="\\1"?g:t.concat(g,b);return t.concat(t.concat("(?:",E,")"),b,/(?:\\.|[^\\\/])*?/,h,/(?:\\.|[^\\\/])*?/,g,r)},_=(E,b,g)=>t.concat(t.concat("(?:",E,")"),b,/(?:\\.|[^\\\/])*?/,g,r),f=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,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:u("s|tr|y",t.either(...d,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:_("(?:m|qr)?",/\//,/\//)},{begin:_("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:_("m|qr",/\(/,/\)/)},{begin:_("m|qr",/\[/,/\]/)},{begin:_("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 o.contains=f,a.contains=f,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:f}}return ef=n,ef}var tf,kT;function q7e(){if(kT)return tf;kT=1;function n(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return tf=n,tf}var nf,PT;function Y7e(){if(PT)return nf;PT=1;function n(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},i={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),i,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return nf=n,nf}var rf,UT;function $7e(){if(UT)return rf;UT=1;function n(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION 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 coroutine debug io math os package string table"},i="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},s=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=s;const o=e.inherit(e.TITLE_MODE,{begin:i}),a="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(s)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:s.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+i+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:i+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return rf=n,rf}var sf,FT;function W7e(){if(FT)return sf;FT=1;function n(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return sf=n,sf}var of,BT;function K7e(){if(BT)return of;BT=1;function n(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},i={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},s={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),s,r,t,i]}}return of=n,of}var af,GT;function j7e(){if(GT)return af;GT=1;function n(e){const t=e.regex,i={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},s={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[i]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},i]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:s.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:s}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return af=n,af}var lf,zT;function Q7e(){if(zT)return lf;zT=1;function n(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return lf=n,lf}var cf,HT;function X7e(){if(HT)return cf;HT=1;function n(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},i={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},r={className:"char.escape",begin:/''\$/},s={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[r,i],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,s];return i.contains=a,{name:"Nix",aliases:["nixos"],keywords:t,contains:a}}return cf=n,cf}var df,VT;function Z7e(){if(VT)return df;VT=1;function n(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return df=n,df}var uf,qT;function J7e(){if(qT)return uf;qT=1;function n(e){const t=e.regex,i=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],s=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...i))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},d={className:"params",begin:t.either(...r)},u={className:"keyword",begin:t.concat(/!/,t.either(...s))},_={className:"char.escape",begin:/\$(\\[nrt]|\$)/},f={className:"title.function",begin:/\w+::\w+/},E={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[_,o,a,l,c]},b=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],g=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],h={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},S={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:b,literal:g},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),S,h,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},E,u,a,l,c,d,f,e.NUMBER_MODE]}}return uf=n,uf}var _f,YT;function eYe(){if(YT)return _f;YT=1;function n(e){const t={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+"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:i,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"]},c={$pattern:i,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return _f=n,_f}var pf,$T;function tYe(){if($T)return pf;$T=1;function n(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return pf=n,pf}var ff,WT;function nYe(){if(WT)return ff;WT=1;function n(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},i={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",r,s,t,i]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,o,s,t,l,c]}}return ff=n,ff}var hf,KT;function iYe(){if(KT)return hf;KT=1;function n(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},i=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),s={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[s,o]},i,r]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[i,r,e.C_LINE_COMMENT_MODE,s,o,e.NUMBER_MODE,a,l]}}return hf=n,hf}var mf,jT;function rYe(){if(jT)return mf;jT=1;function n(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return mf=n,mf}var gf,QT;function sYe(){if(QT)return gf;QT=1;function n(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},i={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,i]}}return gf=n,gf}var Ef,XT;function oYe(){if(XT)return Ef;XT=1;function n(e){const t=e.COMMENT("--","$"),i="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",s="<<\\s*"+i+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",d=c.trim().split(" ").map(function(g){return g.split("|")[0]}).join("|"),u="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",_="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",f="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",b="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(g){return g.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+l+a,built_in:u+_+f},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+b+")\\s*\\("},{begin:"\\.("+d+")\\b"},{begin:"\\b("+d+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+d+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:s,relevance:10}]}}return Ef=n,Ef}var bf,ZT;function aYe(){if(ZT)return bf;ZT=1;function n(e){const t=e.regex,i=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,i),s=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,i),o={scope:"variable",match:"\\$+"+r},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(M,H)=>{H.data._beginMatch=M[1]||M[2]},"on:end":(M,H)=>{H.data._beginMatch!==M[1]&&H.ignoreMatch()}},_=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),f=`[ 	
 ]`,E={scope:"string",variants:[d,c,u,_]},b={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},g=["false","null","true"],h=["__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"],m=["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"],v={keyword:h,literal:(M=>{const H=[];return M.forEach(z=>{H.push(z),z.toLowerCase()===z?H.push(z.toUpperCase()):H.push(z.toLowerCase())}),H})(g),built_in:m},T=M=>M.map(H=>H.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(f,"+"),t.concat("(?!",T(m).join("\\b|"),"\\b)"),s],scope:{1:"keyword",4:"title.class"}}]},N=t.concat(r,"\\b(?!\\()"),x={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),N],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[s,t.concat(/::/,t.lookahead(/(?!class\b)/)),N],scope:{1:"title.class",3:"variable.constant"}},{match:[s,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[s,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},y={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},R={relevance:0,begin:/\(/,end:/\)/,keywords:v,contains:[y,o,x,e.C_BLOCK_COMMENT_MODE,E,b,C]},P={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",T(h).join("\\b|"),"|",T(m).join("\\b|"),"\\b)"),r,t.concat(f,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[R]};R.contains.push(P);const k=[y,x,e.C_BLOCK_COMMENT_MODE,E,b,C],W={begin:t.concat(/#\[\s*/,s),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...k]},...k,{scope:"meta",match:s}]};return{case_insensitive:!1,keywords:v,contains:[W,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/},o,P,x,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{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:v,contains:["self",o,x,e.C_BLOCK_COMMENT_MODE,E,b]}]},{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]},E,b]}}return bf=n,bf}var Sf,JT;function lYe(){if(JT)return Sf;JT=1;function n(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 Sf=n,Sf}var yf,e0;function cYe(){if(e0)return yf;e0=1;function n(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return yf=n,yf}var vf,t0;function dYe(){if(t0)return vf;t0=1;function n(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},i={className:"string",begin:'"""',end:'"""',relevance:10},r={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},s={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,i,r,s,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return vf=n,vf}var Tf,n0;function uYe(){if(n0)return Tf;n0=1;function n(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],i="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",s={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},d={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},_={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},f=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[_]}),E={className:"built_in",variants:[{begin:"(".concat(i,")+(-)[\\w\\d]+")}]},b={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},g={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},h={begin:/using\s/,end:/$/,returnBegin:!0,contains:[d,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},S={className:"selector-tag",begin:/@\B/,relevance:0},v={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(s.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},T=[v,f,a,e.NUMBER_MODE,d,u,E,l,c,S],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",T,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return v.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:s,contains:T.concat(b,g,h,m,C)}}return Tf=n,Tf}var xf,i0;function _Ye(){if(i0)return xf;i0=1;function n(e){const t=e.regex,i=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=e.IDENT_RE,s={variants:[{match:t.concat(t.either(...i),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,r,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,r],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],d=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...i,...d],type:c},contains:[l,o,s,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return xf=n,xf}var Cf,r0;function pYe(){if(r0)return Cf;r0=1;function n(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Cf=n,Cf}var Rf,s0;function fYe(){if(s0)return Rf;s0=1;function n(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},i={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},r={begin:/\(/,end:/\)/,relevance:0},s={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},u=[t,i,r,{begin:/:-/},s,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,l,c,e.C_NUMBER_MODE];return r.contains=u,s.contains=u,{name:"Prolog",contains:u.concat([{begin:/\.$/}])}}return Rf=n,Rf}var Af,o0;function hYe(){if(o0)return Af;o0=1;function n(e){const t="[ \\t\\f]*",i="[ \\t\\f]+",r=t+"[:=]"+t,s=i,o="("+r+"|"+s+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+s}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:l},{className:"attr",begin:a+t+"$"}]}}return Af=n,Af}var wf,a0;function mYe(){if(a0)return wf;a0=1;function n(e){const t=["package","import","option","optional","required","repeated","group","oneof"],i=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],r={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:i,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return wf=n,wf}var Of,l0;function gYe(){if(l0)return Of;l0=1;function n(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},i=e.COMMENT("#","$"),r="([A-Za-z_]|::)(\\w|::)*",s=e.inherit(e.TITLE_MODE,{begin:r}),o={className:"variable",begin:"\\$"+r},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[i,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[s,i]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,i,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return Of=n,Of}var Nf,c0;function EYe(){if(c0)return Nf;c0=1;function n(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},i={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until  UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,i]}}return Nf=n,Nf}var Mf,d0;function bYe(){if(d0)return Mf;d0=1;function n(e){const t=e.regex,i=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["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:r,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"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},u={begin:/\{\{/,relevance:0},_={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,u,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,u,d]},{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,u,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,d]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f="[0-9](_?[0-9])*",E=`(\\b(${f}))?\\.(${f})|\\b(${f})\\.`,b=`\\b|${r.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${f})|(${E}))[eE][+-]?(${f})[jJ]?(?=${b})`},{begin:`(${E})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${b})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${b})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${b})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${b})`},{begin:`\\b(${f})[jJ](?=${b})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,g,_,e.HASH_COMMENT_MODE]}]};return d.contains=[_,g,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},_,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,i,/\s*/,/\(\s*/,i,/\s*\)/]},{match:[/\bclass/,/\s+/,i]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,m,_]}]}}return Mf=n,Mf}var If,u0;function SYe(){if(u0)return If;u0=1;function n(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return If=n,If}var Df,_0;function yYe(){if(_0)return Df;_0=1;function n(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Df=n,Df}var Lf,p0;function vYe(){if(p0)return Lf;p0=1;function n(e){const t=e.regex,i={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",s={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:r,returnEnd:!1}},l={begin:r+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:r,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:t.concat(r,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:r})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:i,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,s,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,l,c],illegal:/#/}}return Lf=n,Lf}var kf,f0;function TYe(){if(f0)return kf;f0=1;function n(e){const t=e.regex,i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.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]?/),s=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:i,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:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:i},{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:[s,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[i,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:s},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return kf=n,kf}var Pf,h0;function xYe(){if(h0)return Pf;h0=1;function n(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return Pf=n,Pf}var Uf,m0;function CYe(){if(m0)return Uf;m0=1;function n(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}return Uf=n,Uf}var Ff,g0;function RYe(){if(g0)return Ff;g0=1;function n(e){const t="[a-zA-Z-_][^\\n{]+\\{",i={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+t,end:/\}/,keywords:"facet",contains:[i,e.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+t,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",i,e.HASH_COMMENT_MODE]},{begin:"^"+t,end:/\}/,contains:[i,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}return Ff=n,Ff}var Bf,E0;function AYe(){if(E0)return Bf;E0=1;function n(e){const t="foreach do while for if from to step else on-error and or not in",i="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",r="add remove enable disable set get print export edit find run debug error info warning",s="true false yes no nothing nil null",o="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",a={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},l={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},c={className:"string",begin:/'/,end:/'/};return{name:"MikroTik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:s,keyword:t+" :"+t.split(" ").join(" :")+" :"+i.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),l,c,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,a,{className:"literal",begin:"\\b("+s.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+r.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return Bf=n,Bf}var Gf,b0;function wYe(){if(b0)return Gf;b0=1;function n(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],i=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],s={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:t,type:i},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},s,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}return Gf=n,Gf}var zf,S0;function OYe(){if(S0)return zf;S0=1;function n(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}return zf=n,zf}var Hf,y0;function NYe(){if(y0)return Hf;y0=1;function n(e){const t=e.regex,i={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",s=["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"],o=["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!","eprintln!","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:s,literal:o,built_in:a},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a,type:l}},{className:"punctuation",begin:"->"},i]}}return Hf=n,Hf}var Vf,v0;function MYe(){if(v0)return Vf;v0=1;function n(e){const t=e.regex,i=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],r=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],s=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:i},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...s)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...r)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return Vf=n,Vf}var qf,T0;function IYe(){if(T0)return qf;T0=1;function n(e){const t=e.regex,i={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},s={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a]},c={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[a]},d={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},_=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,o,c,l,e.C_NUMBER_MODE,d,u,..._,f,i]}}return qf=n,qf}var Yf,x0;function DYe(){if(x0)return Yf;x0=1;function n(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",i="(-|\\+)?\\d+([./]\\d+)?",r=i+"[+\\-]"+i+"i",s={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:i,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],d={begin:t,relevance:0},u={className:"symbol",begin:"'"+t},_={endsWithParent:!0,relevance:0},f={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,a,d,u]}]},E={className:"name",relevance:0,begin:t,keywords:s},g={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[E,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[d]}]},E,_]};return _.contains=[o,a,l,d,u,f,g].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,l,u,f,g].concat(c)}}return Yf=n,Yf}var $f,C0;function LYe(){if(C0)return $f;C0=1;function n(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return $f=n,$f}var Wf,R0;function kYe(){if(R0)return Wf;R0=1;const n=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"],t=["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"],i=["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"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["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 o(a){const l=n(a),c=r,d=i,u="@[a-z-]+",_="and or not only",E={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:":("+d.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},E,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.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,E,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:u,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:_,attribute:t.join(" ")},contains:[{begin:u,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},E,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Wf=o,Wf}var Kf,A0;function PYe(){if(A0)return Kf;A0=1;function n(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Kf=n,Kf}var jf,w0;function UYe(){if(w0)return jf;w0=1;function n(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],i=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+i.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
 ]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return jf=n,jf}var Qf,O0;function FYe(){if(O0)return Qf;O0=1;function n(e){const t="[a-z][a-zA-Z0-9_]*",i={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,i,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,i,e.C_NUMBER_MODE,r]}]}}return Qf=n,Qf}var Xf,N0;function BYe(){if(N0)return Xf;N0=1;function n(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return Xf=n,Xf}var Zf,M0;function GYe(){if(M0)return Zf;M0=1;function n(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},i={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},r={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},s=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:s,built_in:a,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,i,r,l],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return Zf=n,Zf}var Jf,I0;function zYe(){if(I0)return Jf;I0=1;function n(e){const t=e.regex,i=e.COMMENT("--","$"),r={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},s={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["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"],c=["add","asc","collation","desc","final","first","last","view"],d=["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"],u=["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"],_=["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"],f=["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"],E=u,b=[...d,...c].filter(v=>!u.includes(v)),g={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},h={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},m={begin:t.concat(/\b/,t.either(...E),/\s*\(/),relevance:0,keywords:{built_in:E}};function S(v,{exceptions:T,when:C}={}){const N=C;return T=T||[],v.map(x=>x.match(/\|\d+$/)||T.includes(x)?x:N(x)?`${x}|0`:x)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:S(b,{when:v=>v.length<3}),literal:o,type:l,built_in:_},contains:[{begin:t.either(...f),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:b.concat(f),literal:o,type:l}},{className:"type",begin:t.either(...a)},m,g,r,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,h]}}return Jf=n,Jf}var eh,D0;function HYe(){if(D0)return eh;D0=1;function n(e){const t=e.regex,i=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],s=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],l=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},d=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:i,type:s,keyword:r,built_in:o},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,l,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...d),/\s*=/),keywords:d},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return eh=n,eh}var th,L0;function VYe(){if(L0)return th;L0=1;function n(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r
@@ -48,15 +48,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`),le=I,q=Y),K===void 0&&
 "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ 	]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return th=n,th}var nh,k0;function qYe(){if(k0)return nh;k0=1;function n(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return nh=n,nh}var ih,P0;function YYe(){if(P0)return ih;P0=1;const n=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"],t=["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"],i=["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"],r=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["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 o(a){const l=n(a),c="and or not only",d={className:"variable",begin:"\\$"+a.IDENT_RE},u=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],_="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+_,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+_,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+_,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+i.join("|")+")"+_},{className:"selector-pseudo",begin:"&?:(:)?("+r.join("|")+")"+_},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:t.join(" ")},contains:[l.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+u.join("|")+"))\\b"},d,l.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,d,a.APOS_STRING_MODE,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE]}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,d,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,l.CSS_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},l.FUNCTION_DISPATCH]}}return ih=o,ih}var rh,U0;function $Ye(){if(U0)return rh;U0=1;function n(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
 (multipart)?`,end:`\\]
 `},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return rh=n,rh}var sh,F0;function WYe(){if(F0)return sh;F0=1;function n(x){return x?typeof x=="string"?x:x.source:null}function e(x){return t("(?=",x,")")}function t(...x){return x.map(R=>n(R)).join("")}function i(x){const y=x[x.length-1];return typeof y=="object"&&y.constructor===Object?(x.splice(x.length-1,1),y):{}}function r(...x){return"("+(i(x).capture?"":"?:")+x.map(P=>n(P)).join("|")+")"}const s=x=>t(/\b/,x,/\w$/.test(x)?/\b/:/\B/),o=["Protocol","Type"].map(s),a=["init","self"].map(s),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","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","macro","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"],d=["false","nil","true"],u=["assignment","associativity","higherThan","left","lowerThan","none","right"],_=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],f=["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"],E=r(/[/=\-+!*%<>&|^~?]/,/[\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]/),b=r(E,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),g=t(E,b,"*"),h=r(/[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]/),m=r(h,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),S=t(h,m,"*"),v=t(/[A-Z]/,m,"*"),T=["attached","autoclosure",t(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",t(/objc\(/,S,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],C=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function N(x){const y={match:/\s+/,relevance:0},R=x.COMMENT("/\\*","\\*/",{contains:["self"]}),P=[x.C_LINE_COMMENT_MODE,R],k={match:[/\./,r(...o,...a)],className:{2:"keyword"}},W={match:t(/\./,r(...c)),relevance:0},M=c.filter(Pe=>typeof Pe=="string").concat(["_|0"]),H=c.filter(Pe=>typeof Pe!="string").concat(l).map(s),z={variants:[{className:"keyword",match:r(...H,...a)}]},I={$pattern:r(/\b\w+/,/#\w+/),keyword:M.concat(_),literal:d},Y=[k,W,z],K={match:t(/\./,r(...f)),relevance:0},q={className:"built_in",match:t(/\b/,r(...f),/(?=\()/)},le=[K,q],X={match:/->/,relevance:0},Z={className:"operator",relevance:0,variants:[{match:g},{match:`\\.(\\.|${b})+`}]},_e=[X,Z],fe="([0-9]_*)+",ye="([0-9a-fA-F]_*)+",j={className:"number",relevance:0,variants:[{match:`\\b(${fe})(\\.(${fe}))?([eE][+-]?(${fe}))?\\b`},{match:`\\b0x(${ye})(\\.(${ye}))?([pP][+-]?(${fe}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},de=(Pe="")=>({className:"subst",variants:[{match:t(/\\/,Pe,/[0\\tnr"']/)},{match:t(/\\/,Pe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Q=(Pe="")=>({className:"subst",match:t(/\\/,Pe,/[\t ]*(?:[\r\n]|\r\n)/)}),he=(Pe="")=>({className:"subst",label:"interpol",begin:t(/\\/,Pe,/\(/),end:/\)/}),Ae=(Pe="")=>({begin:t(Pe,/"""/),end:t(/"""/,Pe),contains:[de(Pe),Q(Pe),he(Pe)]}),O=(Pe="")=>({begin:t(Pe,/"/),end:t(/"/,Pe),contains:[de(Pe),he(Pe)]}),F={className:"string",variants:[Ae(),Ae("#"),Ae("##"),Ae("###"),O(),O("#"),O("##"),O("###")]},V=[x.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[x.BACKSLASH_ESCAPE]}],re={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:V},ee=Pe=>{const je=t(Pe,/\//),Ve=t(/\//,Pe);return{begin:je,end:Ve,contains:[...V,{scope:"comment",begin:`#(?!.*${Ve})`,end:/$/}]}},be={scope:"regexp",variants:[ee("###"),ee("##"),ee("#"),re]},xe={match:t(/`/,S,/`/)},B={className:"variable",match:/\$\d+/},ae={className:"variable",match:`\\$${m}+`},te=[xe,B,ae],ie={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:C,contains:[..._e,j,F]}]}},w={scope:"keyword",match:t(/@/,r(...T))},A={scope:"meta",match:t(/@/,S)},G=[ie,w,A],ce={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,m,"+")},{className:"type",match:v,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:t(/\s+&\s+/,e(v)),relevance:0}]},$={begin:/</,end:/>/,keywords:I,contains:[...P,...Y,...G,X,ce]};ce.contains.push($);const J={match:t(S,/\s*:/),keywords:"_|0",relevance:0},ve={begin:/\(/,end:/\)/,relevance:0,keywords:I,contains:["self",J,...P,be,...Y,...le,..._e,j,F,...te,...G,ce]},Ee={begin:/</,end:/>/,keywords:"repeat each",contains:[...P,ce]},Me={begin:r(e(t(S,/\s*:/)),e(t(S,/\s+/,S,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:S}]},Ue={begin:/\(/,end:/\)/,keywords:I,contains:[Me,...P,...Y,..._e,j,F,...G,ce,ve],endsParent:!0,illegal:/["']/},Je={match:[/(func|macro)/,/\s+/,r(xe.match,S,g)],className:{1:"keyword",3:"title.function"},contains:[Ee,Ue,y],illegal:[/\[/,/%/]},Ne={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ee,Ue,y],illegal:/\[|%/},tt={match:[/operator/,/\s+/,g],className:{1:"keyword",3:"title"}},$e={begin:[/precedencegroup/,/\s+/,v],className:{1:"keyword",3:"title"},contains:[ce],keywords:[...u,...d],end:/}/};for(const Pe of F.variants){const je=Pe.contains.find(ct=>ct.label==="interpol");je.keywords=I;const Ve=[...Y,...le,..._e,j,F,...te];je.contains=[...Ve,{begin:/\(/,end:/\)/,contains:["self",...Ve]}]}return{name:"Swift",keywords:I,contains:[...P,Je,Ne,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:I,contains:[x.inherit(x.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...Y]},tt,$e,{beginKeywords:"import",end:/$/,contains:[...P],relevance:0},be,...Y,...le,..._e,j,F,...te,...G,ce,ve]}}return sh=N,sh}var oh,B0;function KYe(){if(B0)return oh;B0=1;function n(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return oh=n,oh}var ah,G0;function jYe(){if(G0)return ah;G0=1;function n(e){const t="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ 	]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ 	]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ 	]|$)"}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,s]},a=e.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",_={className:"number",begin:"\\b"+l+c+d+u+"\\b"},f={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},E={begin:/\{/,end:/\}/,contains:[f],illegal:"\\n",relevance:0},b={begin:"\\[",end:"\\]",contains:[f],illegal:"\\n",relevance:0},g=[r,{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+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},_,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},E,b,o],h=[...g];return h.pop(),h.push(a),f.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}return ah=n,ah}var lh,z0;function QYe(){if(z0)return lh;z0=1;function n(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return lh=n,lh}var ch,H0;function XYe(){if(H0)return ch;H0=1;function n(e){const t=e.regex,i=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),i,"(::",i,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}return ch=n,ch}var dh,V0;function ZYe(){if(V0)return dh;V0=1;function n(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}return dh=n,dh}var uh,q0;function JYe(){if(q0)return uh;q0=1;function n(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},i={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,i]},s={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,i]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,s,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return uh=n,uh}var _h,Y0;function e$e(){if(Y0)return _h;Y0=1;function n(e){const t=e.regex,i=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let s=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];s=s.concat(s.map(b=>`end${b}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},l={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},c={beginKeywords:i.join(" "),keywords:{name:i},relevance:0,contains:[l]},d={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},u=(b,{relevance:g})=>({beginScope:{1:"template-tag",3:"name"},relevance:g||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...b)],end:/%\}/,keywords:"in",contains:[d,c,o,a]}),_=/[a-z_]+/,f=u(s,{relevance:2}),E=u([_],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),f,E,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",d,c,o,a]}]}}return _h=n,_h}var ph,$0;function t$e(){if($0)return ph;$0=1;const n="[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"],t=["true","false","null","undefined","NaN","Infinity"],i=["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"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(s,i,r);function l(d){const u=d.regex,_=(de,{after:Q})=>{const he="</"+de[0].slice(1);return de.input.indexOf(he,Q)!==-1},f=n,E={begin:"<>",end:"</>"},b=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(de,Q)=>{const he=de[0].length+de.index,Ae=de.input[he];if(Ae==="<"||Ae===","){Q.ignoreMatch();return}Ae===">"&&(_(de,{after:he})||Q.ignoreMatch());let O;const F=de.input.substring(he);if(O=F.match(/^\s*=/)){Q.ignoreMatch();return}if((O=F.match(/^\s+extends\s+/))&&O.index===0){Q.ignoreMatch();return}}},h={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},m="[0-9](_?[0-9])*",S=`\\.(${m})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${v})((${S})|\\.)?|(${S}))[eE][+-]?(${m})\\b`},{begin:`\\b(${v})\\b((${S})\\b|\\.)?|(${S})\\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},C={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},N={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,C],subLanguage:"xml"}},x={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,C],subLanguage:"css"}},y={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,C],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,C]},k={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]},W=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,N,x,y,R,{match:/\$\d+/},T];C.contains=W.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(W)});const M=[].concat(k,C.contains),H=M.concat([{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(M)}]),z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:H},I={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"}}]},Y={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:{_:[...i,...r]}},K={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[z],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function X(de){return u.concat("(?!",de.join("|"),")")}const Z={match:u.concat(/\b/,X([...s,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},_e={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},fe={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},z]},ye="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",j={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(ye)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:Y},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),K,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,N,x,y,R,k,{match:/\$\d+/},T,Y,{className:"attr",begin:f+u.lookahead(":"),relevance:0},j,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,d.REGEXP_MODE,{className:"function",begin:ye,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:h,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:E.begin,end:E.end},{match:b},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[z,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},_e,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[z]},Z,le,I,fe,{match:/\$[(.]/}]}}function c(d){const u=l(d),_=n,f=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],E={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[u.exports.CLASS_REFERENCE]},b={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:f},contains:[u.exports.CLASS_REFERENCE]},g={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},h=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],m={$pattern:n,keyword:e.concat(h),literal:t,built_in:a.concat(f),"variable.language":o},S={className:"meta",begin:"@"+_},v=(C,N,x)=>{const y=C.contains.findIndex(R=>R.label===N);if(y===-1)throw new Error("can not find mode to replace");C.contains.splice(y,1,x)};Object.assign(u.keywords,m),u.exports.PARAMS_CONTAINS.push(S),u.contains=u.contains.concat([S,E,b]),v(u,"shebang",d.SHEBANG()),v(u,"use_strict",g);const T=u.contains.find(C=>C.label==="func.def");return T.relevance=0,Object.assign(u,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),u}return ph=c,ph}var fh,W0;function n$e(){if(W0)return fh;W0=1;function n(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return fh=n,fh}var hh,K0;function i$e(){if(K0)return hh;K0=1;function n(e){const t=e.regex,i={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\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}/,c={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,s),/ *#/)},{begin:t.concat(/# */,l,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,s),/ +/,t.either(a,l),/ *#/)}]},d={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])|[%&])?/}]},u={className:"label",begin:/^\w+:/},_=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),f=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:[i,r,c,d,u,_,f,{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:[f]}]}}return hh=n,hh}var mh,j0;function r$e(){if(j0)return mh;j0=1;function n(e){const t=e.regex,i=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],s={begin:t.concat(t.either(...i),"\\s*\\("),relevance:0,keywords:{built_in:i}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[s,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return mh=n,mh}var gh,Q0;function s$e(){if(Q0)return gh;Q0=1;function n(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return gh=n,gh}var Eh,X0;function o$e(){if(X0)return Eh;X0=1;function n(e){const t=e.regex,i={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],s=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:i,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...r))},{scope:"meta",begin:t.concat(/`/,t.either(...s)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:s}]}}return Eh=n,Eh}var bh,Z0;function a$e(){if(Z0)return bh;Z0=1;function n(e){const t="\\d(_|\\d)*",i="[eE][-+]?"+t,r=t+"(\\."+t+")?("+i+")?",s="\\w+",a="\\b("+(t+"#"+s+"(\\."+s+")?#("+i+")?")+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return bh=n,bh}var Sh,J0;function l$e(){if(J0)return Sh;J0=1;function n(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return Sh=n,Sh}var yh,ex;function c$e(){if(ex)return yh;ex=1;function n(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const i=e.COMMENT(/;;/,/$/),r=["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"],s={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={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/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},d={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:r},contains:[i,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,s,e.QUOTE_STRING_MODE,c,d,l]}}return yh=n,yh}var vh,tx;function d$e(){if(tx)return vh;tx=1;function n(e){const t=e.regex,i=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],s=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],l=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,i,/(?=\s*[({])/),className:"title.function"},d={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,i),t.either(...l)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:i}]}]}},u={variants:[{match:[/class\s+/,i,/\s+is\s+/,i]},{match:[/class\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},_={relevance:0,match:t.either(...l),className:"operator"},f={className:"string",begin:/"""/,end:/"""/},E={className:"property",begin:t.concat(/\./,t.lookahead(i)),end:i,excludeBegin:!0,relevance:0},b={relevance:0,match:t.concat(/\b_/,i),scope:"variable"},g={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},h=e.C_NUMBER_MODE,m={match:[i,/\s*/,/=/,/\s*/,/\(/,i,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},S=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),v={scope:"subst",begin:/%\(/,end:/\)/,contains:[h,g,c,b,_]},T={scope:"string",begin:/"/,end:/"/,contains:[v,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};v.contains.push(T);const C=[...r,...o,...s],N={relevance:0,match:t.concat("\\b(?!",C.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":o,literal:s},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:s},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},h,T,f,S,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,u,m,d,c,_,b,E,N]}}return vh=n,vh}var Th,nx;function u$e(){if(nx)return Th;nx=1;function n(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Th=n,Th}var xh,ix;function _$e(){if(ix)return xh;ix=1;function n(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],i=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:i.concat(r)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},l={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},d={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},u={beginKeywords:"import",end:"$",keywords:o,contains:[a]},_={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,l,c,_,u,d,e.NUMBER_MODE]}}return xh=n,xh}var Ch,rx;function p$e(){if(rx)return Ch;rx=1;function n(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Ch=n,Ch}var Rh,sx;function f$e(){if(sx)return Rh;sx=1;function n(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},s="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[i,{className:"params",begin:/\(/,end:/\)/,keywords:s,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},i]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[i]},{beginKeywords:"use",end:/;/,contains:[i]},{begin:/=>/},t,r]}}return Rh=n,Rh}var ne=F6e;ne.registerLanguage("1c",B6e());ne.registerLanguage("abnf",G6e());ne.registerLanguage("accesslog",z6e());ne.registerLanguage("actionscript",H6e());ne.registerLanguage("ada",V6e());ne.registerLanguage("angelscript",q6e());ne.registerLanguage("apache",Y6e());ne.registerLanguage("applescript",$6e());ne.registerLanguage("arcade",W6e());ne.registerLanguage("arduino",K6e());ne.registerLanguage("armasm",j6e());ne.registerLanguage("xml",Q6e());ne.registerLanguage("asciidoc",X6e());ne.registerLanguage("aspectj",Z6e());ne.registerLanguage("autohotkey",J6e());ne.registerLanguage("autoit",eqe());ne.registerLanguage("avrasm",tqe());ne.registerLanguage("awk",nqe());ne.registerLanguage("axapta",iqe());ne.registerLanguage("bash",rqe());ne.registerLanguage("basic",sqe());ne.registerLanguage("bnf",oqe());ne.registerLanguage("brainfuck",aqe());ne.registerLanguage("c",lqe());ne.registerLanguage("cal",cqe());ne.registerLanguage("capnproto",dqe());ne.registerLanguage("ceylon",uqe());ne.registerLanguage("clean",_qe());ne.registerLanguage("clojure",pqe());ne.registerLanguage("clojure-repl",fqe());ne.registerLanguage("cmake",hqe());ne.registerLanguage("coffeescript",mqe());ne.registerLanguage("coq",gqe());ne.registerLanguage("cos",Eqe());ne.registerLanguage("cpp",bqe());ne.registerLanguage("crmsh",Sqe());ne.registerLanguage("crystal",yqe());ne.registerLanguage("csharp",vqe());ne.registerLanguage("csp",Tqe());ne.registerLanguage("css",xqe());ne.registerLanguage("d",Cqe());ne.registerLanguage("markdown",Rqe());ne.registerLanguage("dart",Aqe());ne.registerLanguage("delphi",wqe());ne.registerLanguage("diff",Oqe());ne.registerLanguage("django",Nqe());ne.registerLanguage("dns",Mqe());ne.registerLanguage("dockerfile",Iqe());ne.registerLanguage("dos",Dqe());ne.registerLanguage("dsconfig",Lqe());ne.registerLanguage("dts",kqe());ne.registerLanguage("dust",Pqe());ne.registerLanguage("ebnf",Uqe());ne.registerLanguage("elixir",Fqe());ne.registerLanguage("elm",Bqe());ne.registerLanguage("ruby",Gqe());ne.registerLanguage("erb",zqe());ne.registerLanguage("erlang-repl",Hqe());ne.registerLanguage("erlang",Vqe());ne.registerLanguage("excel",qqe());ne.registerLanguage("fix",Yqe());ne.registerLanguage("flix",$qe());ne.registerLanguage("fortran",Wqe());ne.registerLanguage("fsharp",Kqe());ne.registerLanguage("gams",jqe());ne.registerLanguage("gauss",Qqe());ne.registerLanguage("gcode",Xqe());ne.registerLanguage("gherkin",Zqe());ne.registerLanguage("glsl",Jqe());ne.registerLanguage("gml",e7e());ne.registerLanguage("go",t7e());ne.registerLanguage("golo",n7e());ne.registerLanguage("gradle",i7e());ne.registerLanguage("graphql",r7e());ne.registerLanguage("groovy",s7e());ne.registerLanguage("haml",o7e());ne.registerLanguage("handlebars",a7e());ne.registerLanguage("haskell",l7e());ne.registerLanguage("haxe",c7e());ne.registerLanguage("hsp",d7e());ne.registerLanguage("http",u7e());ne.registerLanguage("hy",_7e());ne.registerLanguage("inform7",p7e());ne.registerLanguage("ini",f7e());ne.registerLanguage("irpf90",h7e());ne.registerLanguage("isbl",m7e());ne.registerLanguage("java",g7e());ne.registerLanguage("javascript",E7e());ne.registerLanguage("jboss-cli",b7e());ne.registerLanguage("json",S7e());ne.registerLanguage("julia",y7e());ne.registerLanguage("julia-repl",v7e());ne.registerLanguage("kotlin",T7e());ne.registerLanguage("lasso",x7e());ne.registerLanguage("latex",C7e());ne.registerLanguage("ldif",R7e());ne.registerLanguage("leaf",A7e());ne.registerLanguage("less",w7e());ne.registerLanguage("lisp",O7e());ne.registerLanguage("livecodeserver",N7e());ne.registerLanguage("livescript",M7e());ne.registerLanguage("llvm",I7e());ne.registerLanguage("lsl",D7e());ne.registerLanguage("lua",L7e());ne.registerLanguage("makefile",k7e());ne.registerLanguage("mathematica",P7e());ne.registerLanguage("matlab",U7e());ne.registerLanguage("maxima",F7e());ne.registerLanguage("mel",B7e());ne.registerLanguage("mercury",G7e());ne.registerLanguage("mipsasm",z7e());ne.registerLanguage("mizar",H7e());ne.registerLanguage("perl",V7e());ne.registerLanguage("mojolicious",q7e());ne.registerLanguage("monkey",Y7e());ne.registerLanguage("moonscript",$7e());ne.registerLanguage("n1ql",W7e());ne.registerLanguage("nestedtext",K7e());ne.registerLanguage("nginx",j7e());ne.registerLanguage("nim",Q7e());ne.registerLanguage("nix",X7e());ne.registerLanguage("node-repl",Z7e());ne.registerLanguage("nsis",J7e());ne.registerLanguage("objectivec",eYe());ne.registerLanguage("ocaml",tYe());ne.registerLanguage("openscad",nYe());ne.registerLanguage("oxygene",iYe());ne.registerLanguage("parser3",rYe());ne.registerLanguage("pf",sYe());ne.registerLanguage("pgsql",oYe());ne.registerLanguage("php",aYe());ne.registerLanguage("php-template",lYe());ne.registerLanguage("plaintext",cYe());ne.registerLanguage("pony",dYe());ne.registerLanguage("powershell",uYe());ne.registerLanguage("processing",_Ye());ne.registerLanguage("profile",pYe());ne.registerLanguage("prolog",fYe());ne.registerLanguage("properties",hYe());ne.registerLanguage("protobuf",mYe());ne.registerLanguage("puppet",gYe());ne.registerLanguage("purebasic",EYe());ne.registerLanguage("python",bYe());ne.registerLanguage("python-repl",SYe());ne.registerLanguage("q",yYe());ne.registerLanguage("qml",vYe());ne.registerLanguage("r",TYe());ne.registerLanguage("reasonml",xYe());ne.registerLanguage("rib",CYe());ne.registerLanguage("roboconf",RYe());ne.registerLanguage("routeros",AYe());ne.registerLanguage("rsl",wYe());ne.registerLanguage("ruleslanguage",OYe());ne.registerLanguage("rust",NYe());ne.registerLanguage("sas",MYe());ne.registerLanguage("scala",IYe());ne.registerLanguage("scheme",DYe());ne.registerLanguage("scilab",LYe());ne.registerLanguage("scss",kYe());ne.registerLanguage("shell",PYe());ne.registerLanguage("smali",UYe());ne.registerLanguage("smalltalk",FYe());ne.registerLanguage("sml",BYe());ne.registerLanguage("sqf",GYe());ne.registerLanguage("sql",zYe());ne.registerLanguage("stan",HYe());ne.registerLanguage("stata",VYe());ne.registerLanguage("step21",qYe());ne.registerLanguage("stylus",YYe());ne.registerLanguage("subunit",$Ye());ne.registerLanguage("swift",WYe());ne.registerLanguage("taggerscript",KYe());ne.registerLanguage("yaml",jYe());ne.registerLanguage("tap",QYe());ne.registerLanguage("tcl",XYe());ne.registerLanguage("thrift",ZYe());ne.registerLanguage("tp",JYe());ne.registerLanguage("twig",e$e());ne.registerLanguage("typescript",t$e());ne.registerLanguage("vala",n$e());ne.registerLanguage("vbnet",i$e());ne.registerLanguage("vbscript",r$e());ne.registerLanguage("vbscript-html",s$e());ne.registerLanguage("verilog",o$e());ne.registerLanguage("vhdl",a$e());ne.registerLanguage("vim",l$e());ne.registerLanguage("wasm",c$e());ne.registerLanguage("wren",d$e());ne.registerLanguage("x86asm",u$e());ne.registerLanguage("xl",_$e());ne.registerLanguage("xquery",p$e());ne.registerLanguage("zephir",f$e());ne.HighlightJS=ne;ne.default=ne;var h$e=ne;const Ds=_r(h$e);Ds.configure({languages:[]});Ds.configure({languages:["bash"]});Ds.highlightAll();const m$e={props:{host:{type:String,required:!1,default:"http://localhost:9600"},language:{type:String,required:!0},code:{type:String,required:!0},discussion_id:{type:[String,Number],required:!0},message_id:{type:[String,Number],required:!0}},data(){return{isCopied:!1,executionOutput:""}},mounted(){Fe(()=>{ze.replace()})},computed:{highlightedCode(){let n;this.language==="vue"||this.language==="vue.js"?n="javascript":n=Ds.getLanguage(this.language)?this.language:"plaintext";const e=this.code.trim(),t=e.split(`
-`),i=t.length.toString().length,r=t.map((c,d)=>(d+1).toString().padStart(i," ")),s=document.createElement("div");s.classList.add("line-numbers"),s.innerHTML=r.join("<br>");const o=document.createElement("div");o.classList.add("code-container");const a=document.createElement("pre"),l=document.createElement("code");return l.classList.add("code-content"),l.innerHTML=Ds.highlight(n,e).value,a.appendChild(l),o.appendChild(s),o.appendChild(a),o.outerHTML}},methods:{copyCode(){this.isCopied=!0,console.log("Copying code");const n=document.createElement("textarea");n.value=this.code,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),Fe(()=>{ze.replace()})},executeCode(){const n=JSON.stringify({code:this.code,discussion_id:this.discussion_id,message_id:this.message_id,language:this.language});console.log(n),fetch(`${this.host}/execute_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{console.error("Fetch error:",e)})},openFolder(){const n=JSON.stringify({discussion_id:this.discussion_id});console.log(n),fetch(`${this.host}/open_code_folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})}}},g$e={class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},E$e={class:"flex flex-row bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},b$e={class:"text-2xl"},S$e=p("i",{"data-feather":"copy"},null,-1),y$e=[S$e],v$e=p("i",{"data-feather":"play-circle"},null,-1),T$e=[v$e],x$e=p("i",{"data-feather":"folder"},null,-1),C$e=[x$e],R$e={class:"hljs p-1 rounded-md break-all grid grid-cols-1"},A$e={class:"code-container"},w$e=["innerHTML"],O$e={key:0,class:"text-2xl"},N$e={key:1,class:"hljs mt-0 p-1 rounded-md break-all grid grid-cols-1"},M$e={class:"overflow-x-auto break-all 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"},I$e=["innerHTML"];function D$e(n,e,t,i,r,s){return D(),L("div",g$e,[p("div",E$e,[p("span",b$e,ge(t.language),1),p("button",{onClick:e[0]||(e[0]=(...o)=>s.copyCode&&s.copyCode(...o)),title:"copy",class:Ke([r.isCopied?"bg-green-500":"bg-bg-dark-tone-panel dark:bg-bg-dark-tone","px-2 py-1 ml-2 text-left p-2 text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white text-xs transition-colors duration-200"])},y$e,2),["python","shell","bash","cmd","powershell"].includes(t.language)?(D(),L("button",{key:0,ref:"btn_code_exec",onClick:e[1]||(e[1]=(...o)=>s.executeCode&&s.executeCode(...o)),title:"execute",class:"px-2 py-1 ml-2 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 text-white text-xs transition-colors duration-200"},T$e,512)):se("",!0),["python"].includes(t.language)?(D(),L("button",{key:1,onClick:e[2]||(e[2]=(...o)=>s.openFolder&&s.openFolder(...o)),title:"open code project folder",class:"px-2 py-1 ml-2 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 text-white text-xs transition-colors duration-200"},C$e)):se("",!0)]),p("pre",R$e,[Ye("      "),p("div",A$e,[Ye(`
+`),i=t.length.toString().length,r=t.map((c,d)=>(d+1).toString().padStart(i," ")),s=document.createElement("div");s.classList.add("line-numbers"),s.innerHTML=r.join("<br>");const o=document.createElement("div");o.classList.add("code-container");const a=document.createElement("pre"),l=document.createElement("code");return l.classList.add("code-content"),l.innerHTML=Ds.highlight(e,{language:n,ignoreIllegals:!0}).value,a.appendChild(l),o.appendChild(s),o.appendChild(a),o.outerHTML}},methods:{copyCode(){this.isCopied=!0,console.log("Copying code");const n=document.createElement("textarea");n.value=this.code,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),Fe(()=>{ze.replace()})},executeCode(){const n=JSON.stringify({code:this.code,discussion_id:this.discussion_id,message_id:this.message_id,language:this.language});console.log(n),fetch(`${this.host}/execute_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{console.error("Fetch error:",e)})},openFolder(){const n=JSON.stringify({discussion_id:this.discussion_id});console.log(n),fetch(`${this.host}/open_code_folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})}}},g$e={class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},E$e={class:"flex flex-row bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},b$e={class:"text-2xl"},S$e=p("i",{"data-feather":"copy"},null,-1),y$e=[S$e],v$e=p("i",{"data-feather":"play-circle"},null,-1),T$e=[v$e],x$e=p("i",{"data-feather":"folder"},null,-1),C$e=[x$e],R$e={class:"hljs p-1 rounded-md break-all grid grid-cols-1"},A$e={class:"code-container"},w$e=["innerHTML"],O$e={key:0,class:"text-2xl"},N$e={key:1,class:"hljs mt-0 p-1 rounded-md break-all grid grid-cols-1"},M$e={class:"overflow-x-auto break-all 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"},I$e=["innerHTML"];function D$e(n,e,t,i,r,s){return D(),L("div",g$e,[p("div",E$e,[p("span",b$e,ge(t.language),1),p("button",{onClick:e[0]||(e[0]=(...o)=>s.copyCode&&s.copyCode(...o)),title:"copy",class:Ke([r.isCopied?"bg-green-500":"bg-bg-dark-tone-panel dark:bg-bg-dark-tone","px-2 py-1 ml-2 text-left p-2 text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white text-xs transition-colors duration-200"])},y$e,2),["python","shell","bash","cmd","powershell"].includes(t.language)?(D(),L("button",{key:0,ref:"btn_code_exec",onClick:e[1]||(e[1]=(...o)=>s.executeCode&&s.executeCode(...o)),title:"execute",class:"px-2 py-1 ml-2 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 text-white text-xs transition-colors duration-200"},T$e,512)):se("",!0),["python"].includes(t.language)?(D(),L("button",{key:1,onClick:e[2]||(e[2]=(...o)=>s.openFolder&&s.openFolder(...o)),title:"open code project folder",class:"px-2 py-1 ml-2 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 text-white text-xs transition-colors duration-200"},C$e)):se("",!0)]),p("pre",R$e,[Ye("      "),p("div",A$e,[Ye(`
           `),p("code",{class:"code-content overflow-x-auto break-all 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",innerHTML:s.highlightedCode},null,8,w$e),Ye(`
       `)]),Ye(`
 
     `)]),r.executionOutput?(D(),L("span",O$e,"Execution output")):se("",!0),r.executionOutput?(D(),L("pre",N$e,[Ye("      "),p("div",M$e,[Ye(`
         `),p("div",{ref:"execution_output",innerHTML:r.executionOutput},null,8,I$e),Ye(`
       `)]),Ye(`
-    `)])):se("",!0)])}const L$e=bt(m$e,[["render",D$e]]);function k$e(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}const P$e={name:"MarkdownRenderer",props:{host:{type:String,required:!1,default:"http://localhost:9600"},markdownText:{type:String,required:!0},discussion_id:{type:[String,Number],default:"0",required:!1},message_id:{value:"0",type:[String,Number],required:!1}},components:{CodeBlock:L$e},setup(n){const e=new fge({html:!0,highlight:(r,s)=>{const o=s&&Ds.getLanguage(s)?s:"plaintext";return Ds.highlight(o,r).value},renderInline:!0,breaks:!0}).use(E8e).use(So).use(I8e,{figcaption:!0}).use(Y8e).use(R8e,{inlineOpen:"$",inlineClose:"$",blockOpen:"$$",blockClose:"$$"}).use(N8e,{enableRowspan:!0,enableColspan:!0,enableGridTables:!0,enableGridTablesExtra:!0,enableTableIndentation:!0,tableCellPadding:" ",tableCellJoiner:"|",multilineCellStartMarker:"|>",multilineCellEndMarker:"<|",multilineCellPadding:" ",multilineCellJoiner:`
-`}),t=UR([]),i=()=>{if(n.markdownText){let r=e.parse(n.markdownText,{}),s=[];t.value=[];for(let o=0;o<r.length;o++)r[o].type!=="fence"?s.push(r[o]):(s.length>0&&(t.value.push({type:"html",html:e.renderer.render(s,e.options,{})}),s=[]),t.value.push({type:"code",language:k$e(r[o].info),code:r[o].content}));s.length>0&&(t.value.push({type:"html",html:e.renderer.render(s,e.options,{})}),s=[])}else t.value=[];Fe(()=>{ze.replace()})};return Hr(()=>n.markdownText,i),Al(i),{markdownItems:t}}},U$e={class:"break-all"},F$e={ref:"mdRender",class:"markdown-content"},B$e=["innerHTML"];function G$e(n,e,t,i,r,s){const o=ht("code-block");return D(),L("div",U$e,[p("div",F$e,[(D(!0),L(Xe,null,St(i.markdownItems,(a,l)=>(D(),L("div",{key:l},[a.type==="code"?(D(),jt(o,{key:0,host:t.host,language:a.language,code:a.code,discussion_id:t.discussion_id,message_id:t.message_id},null,8,["host","language","code","discussion_id","message_id"])):(D(),L("div",{key:1,innerHTML:a.html},null,8,B$e))]))),128))],512)])}const _w=bt(P$e,[["render",G$e]]);const z$e={props:{value:String,inputType:{type:String,default:"text",validator:n=>["text","email","password","file","path","integer","float"].includes(n)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(n){console.log("Changing value to ",n),this.inputValue=n}},mounted(){Fe(()=>{ze.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(n){this.inputValue=n.target.value,this.$emit("input",n.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(n){if(this.inputType==="integer"){const e=n.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",n.target.value),this.$emit("input",n.target.value)},async pasteFromClipboard(){try{const n=await navigator.clipboard.readText();this.handleClipboardData(n)}catch(n){console.error("Failed to read from clipboard:",n)}},handlePaste(n){const e=n.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(n){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(n)?n:"";break;case"password":this.inputValue=n;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(n);break;case"float":this.inputValue=this.parseFloat(n);break;default:this.inputValue=n;break}},isValidEmail(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)},parseInteger(n){const e=parseInt(n);return isNaN(e)?"":e},parseFloat(n){const e=parseFloat(n);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(n){const e=n.target.files[0];e&&(this.inputValue=e.name)}}},H$e={class:"flex items-center space-x-2"},V$e=["value","type","placeholder"],q$e=["value","min","max"],Y$e=p("i",{"data-feather":"clipboard"},null,-1),$$e=[Y$e],W$e=p("i",{"data-feather":"upload"},null,-1),K$e=[W$e],j$e=["accept"];function Q$e(n,e,t,i,r,s){return D(),L("div",H$e,[n.useSlider?(D(),L("input",{key:1,type:"range",value:parseInt(r.inputValue),min:n.minSliderValue,max:n.maxSliderValue,onInput:e[2]||(e[2]=(...o)=>s.handleSliderInput&&s.handleSliderInput(...o)),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,q$e)):(D(),L("input",{key:0,value:r.inputValue,type:t.inputType,placeholder:r.placeholderText,onInput:e[0]||(e[0]=(...o)=>s.handleInput&&s.handleInput(...o)),onPaste:e[1]||(e[1]=(...o)=>s.handlePaste&&s.handlePaste(...o)),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,V$e)),p("button",{onClick:e[3]||(e[3]=(...o)=>s.pasteFromClipboard&&s.pasteFromClipboard(...o)),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"},$$e),t.inputType==="file"?(D(),L("button",{key:2,onClick:e[4]||(e[4]=(...o)=>s.openFileInput&&s.openFileInput(...o)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},K$e)):se("",!0),t.inputType==="file"?(D(),L("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:t.fileAccept,onChange:e[5]||(e[5]=(...o)=>s.handleFileInputChange&&s.handleFileInputChange(...o))},null,40,j$e)):se("",!0)])}const _E=bt(z$e,[["render",Q$e]]);const X$e={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)}}},Z$e={key:1,class:"flex flex-wrap"},J$e={key:2,class:"mb-2"};function eWe(n,e,t,i,r,s){return D(),L(Xe,null,[r.isActive?(D(),L("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...o)=>s.toggleCard&&s.toggleCard(...o))})):se("",!0),we(p("div",{class:Ke(["border-blue-300 rounded-lg shadow-lg p-2",s.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":t.is_subcard},{"bg-white dark:bg-gray-900":!t.is_subcard},{hovered:!t.disableHoverAnimation&&r.isHovered,active:r.isActive}]),onMouseenter:e[2]||(e[2]=o=>r.isHovered=!0),onMouseleave:e[3]||(e[3]=o=>r.isHovered=!1),onClick:e[4]||(e[4]=Ie((...o)=>s.toggleCard&&s.toggleCard(...o),["self"])),style:Rn({cursor:this.disableFocus?"":"pointer"})},[t.title?(D(),L("div",{key:0,onClick:e[1]||(e[1]=o=>r.shrink=!0),class:Ke([{"text-center p-2 m-2 bg-gray-200":!t.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},ge(t.title),3)):se("",!0),t.isHorizontal?(D(),L("div",Z$e,[mm(n.$slots,"default")])):(D(),L("div",J$e,[mm(n.$slots,"default")]))],38),[[Ot,r.shrink===!1]]),t.is_subcard?we((D(),L("div",{key:1,onClick:e[5]||(e[5]=o=>r.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"},ge(t.title),513)),[[Ot,r.shrink===!0]]):we((D(),L("div",{key:2,onClick:e[6]||(e[6]=o=>r.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)),[[Ot,r.shrink===!0]])],64)}const Dl=bt(X$e,[["render",eWe]]);async function ox(n,e="",t=[]){return new Promise((i,r)=>{const s=document.createElement("div");s.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",t.length===0?s.innerHTML=`
+    `)])):se("",!0)])}const L$e=Et(m$e,[["render",D$e]]);function k$e(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}const P$e={name:"MarkdownRenderer",props:{host:{type:String,required:!1,default:"http://localhost:9600"},markdownText:{type:String,required:!0},discussion_id:{type:[String,Number],default:"0",required:!1},message_id:{value:"0",type:[String,Number],required:!1}},components:{CodeBlock:L$e},setup(n){const e=new fge({html:!0,highlight:(r,s)=>{const o=s&&Ds.getLanguage(s)?s:"plaintext";return Ds.highlight(o,r).value},renderInline:!0,breaks:!0}).use(E8e).use(So).use(I8e,{figcaption:!0}).use(Y8e).use(R8e,{inlineOpen:"$",inlineClose:"$",blockOpen:"$$",blockClose:"$$"}).use(N8e,{enableRowspan:!0,enableColspan:!0,enableGridTables:!0,enableGridTablesExtra:!0,enableTableIndentation:!0,tableCellPadding:" ",tableCellJoiner:"|",multilineCellStartMarker:"|>",multilineCellEndMarker:"<|",multilineCellPadding:" ",multilineCellJoiner:`
+`}),t=UR([]),i=()=>{if(n.markdownText){let r=e.parse(n.markdownText,{}),s=[];t.value=[];for(let o=0;o<r.length;o++)r[o].type!=="fence"?s.push(r[o]):(s.length>0&&(t.value.push({type:"html",html:e.renderer.render(s,e.options,{})}),s=[]),t.value.push({type:"code",language:k$e(r[o].info),code:r[o].content}));s.length>0&&(t.value.push({type:"html",html:e.renderer.render(s,e.options,{})}),s=[])}else t.value=[];Fe(()=>{ze.replace()})};return Hr(()=>n.markdownText,i),Al(i),{markdownItems:t}}},U$e={class:"break-all"},F$e={ref:"mdRender",class:"markdown-content"},B$e=["innerHTML"];function G$e(n,e,t,i,r,s){const o=ut("code-block");return D(),L("div",U$e,[p("div",F$e,[(D(!0),L(Xe,null,St(i.markdownItems,(a,l)=>(D(),L("div",{key:l},[a.type==="code"?(D(),jt(o,{key:0,host:t.host,language:a.language,code:a.code,discussion_id:t.discussion_id,message_id:t.message_id},null,8,["host","language","code","discussion_id","message_id"])):(D(),L("div",{key:1,innerHTML:a.html},null,8,B$e))]))),128))],512)])}const _w=Et(P$e,[["render",G$e]]);const z$e={props:{value:String,inputType:{type:String,default:"text",validator:n=>["text","email","password","file","path","integer","float"].includes(n)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(n){console.log("Changing value to ",n),this.inputValue=n}},mounted(){Fe(()=>{ze.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(n){this.inputValue=n.target.value,this.$emit("input",n.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(n){if(this.inputType==="integer"){const e=n.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",n.target.value),this.$emit("input",n.target.value)},async pasteFromClipboard(){try{const n=await navigator.clipboard.readText();this.handleClipboardData(n)}catch(n){console.error("Failed to read from clipboard:",n)}},handlePaste(n){const e=n.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(n){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(n)?n:"";break;case"password":this.inputValue=n;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(n);break;case"float":this.inputValue=this.parseFloat(n);break;default:this.inputValue=n;break}},isValidEmail(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)},parseInteger(n){const e=parseInt(n);return isNaN(e)?"":e},parseFloat(n){const e=parseFloat(n);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(n){const e=n.target.files[0];e&&(this.inputValue=e.name)}}},H$e={class:"flex items-center space-x-2"},V$e=["value","type","placeholder"],q$e=["value","min","max"],Y$e=p("i",{"data-feather":"clipboard"},null,-1),$$e=[Y$e],W$e=p("i",{"data-feather":"upload"},null,-1),K$e=[W$e],j$e=["accept"];function Q$e(n,e,t,i,r,s){return D(),L("div",H$e,[n.useSlider?(D(),L("input",{key:1,type:"range",value:parseInt(r.inputValue),min:n.minSliderValue,max:n.maxSliderValue,onInput:e[2]||(e[2]=(...o)=>s.handleSliderInput&&s.handleSliderInput(...o)),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,q$e)):(D(),L("input",{key:0,value:r.inputValue,type:t.inputType,placeholder:r.placeholderText,onInput:e[0]||(e[0]=(...o)=>s.handleInput&&s.handleInput(...o)),onPaste:e[1]||(e[1]=(...o)=>s.handlePaste&&s.handlePaste(...o)),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,V$e)),p("button",{onClick:e[3]||(e[3]=(...o)=>s.pasteFromClipboard&&s.pasteFromClipboard(...o)),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"},$$e),t.inputType==="file"?(D(),L("button",{key:2,onClick:e[4]||(e[4]=(...o)=>s.openFileInput&&s.openFileInput(...o)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},K$e)):se("",!0),t.inputType==="file"?(D(),L("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:t.fileAccept,onChange:e[5]||(e[5]=(...o)=>s.handleFileInputChange&&s.handleFileInputChange(...o))},null,40,j$e)):se("",!0)])}const _E=Et(z$e,[["render",Q$e]]);const X$e={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)}}},Z$e={key:1,class:"flex flex-wrap"},J$e={key:2,class:"mb-2"};function eWe(n,e,t,i,r,s){return D(),L(Xe,null,[r.isActive?(D(),L("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...o)=>s.toggleCard&&s.toggleCard(...o))})):se("",!0),we(p("div",{class:Ke(["border-blue-300 rounded-lg shadow-lg p-2",s.cardWidthClass,"m-2",{"bg-white dark:bg-gray-800":t.is_subcard},{"bg-white dark:bg-gray-900":!t.is_subcard},{hovered:!t.disableHoverAnimation&&r.isHovered,active:r.isActive}]),onMouseenter:e[2]||(e[2]=o=>r.isHovered=!0),onMouseleave:e[3]||(e[3]=o=>r.isHovered=!1),onClick:e[4]||(e[4]=Ie((...o)=>s.toggleCard&&s.toggleCard(...o),["self"])),style:Rn({cursor:this.disableFocus?"":"pointer"})},[t.title?(D(),L("div",{key:0,onClick:e[1]||(e[1]=o=>r.shrink=!0),class:Ke([{"text-center p-2 m-2 bg-gray-200":!t.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},ge(t.title),3)):se("",!0),t.isHorizontal?(D(),L("div",Z$e,[mm(n.$slots,"default")])):(D(),L("div",J$e,[mm(n.$slots,"default")]))],38),[[Ot,r.shrink===!1]]),t.is_subcard?we((D(),L("div",{key:1,onClick:e[5]||(e[5]=o=>r.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"},ge(t.title),513)),[[Ot,r.shrink===!0]]):we((D(),L("div",{key:2,onClick:e[6]||(e[6]=o=>r.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)),[[Ot,r.shrink===!0]])],64)}const Dl=Et(X$e,[["render",eWe]]);async function ox(n,e="",t=[]){return new Promise((i,r)=>{const s=document.createElement("div");s.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",t.length===0?s.innerHTML=`
             <div class="bg-white p-6 rounded-md shadow-md w-80">
                 <h2 class="text-lg font-semibold mb-3">${n}</h2>
                 <textarea id="replacementInput" class="w-full h-32 border rounded p-2 mb-3">${e}</textarea>
@@ -77,8 +77,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`),le=I,q=Y),K===void 0&&
                 </div>
             </div>
         `,document.body.appendChild(s);const o=s.querySelector("#cancelButton"),a=s.querySelector("#okButton");o.addEventListener("click",()=>{document.body.removeChild(s),i(null)}),a.addEventListener("click",()=>{if(t.length===0){const c=s.querySelector("#replacementInput").value.trim();document.body.removeChild(s),i(c)}else{const c=s.querySelector("#options_selector").value.trim();document.body.removeChild(s),i(c)}})})}function tWe(n,e){console.log(n);let t={},i=/@<([^>]+)>@/g,r=[],s;for(;(s=i.exec(n))!==null;)r.push("@<"+s[1]+">@");console.log("matches"),console.log(r),r=[...new Set(r)];async function o(l){console.log(l);let c=l.toLowerCase().substring(2,l.length-2);if(c!=="generation_placeholder")if(c.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(([g,h])=>{console.log(`Key: ${g}, Value: ${h}`);function m(T){return T.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const S=m(g),v=new RegExp(S,"g");c=c.replace(v,h)});let u=c.split(":"),_=u[0],f=u[1]||"",E=[];u.length>2&&(E=u.slice(1));let b=await ox(_,f,E);b!==null&&(t[l]=b)}else{let d=await ox(c);d!==null&&(t[l]=d)}}let a=Promise.resolve();r.forEach(l=>{a=a.then(()=>o(l)).then(c=>{console.log(c)})}),a.then(()=>{Object.entries(t).forEach(([l,c])=>{console.log(`Key: ${l}, Value: ${c}`);function d(f){return f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const u=d(l),_=new RegExp(u,"g");n=n.replace(_,c)}),e(n)})}const nWe={name:"PlayGroundView",data(){return{mdRenderHeight:300,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:Vs,MarkdownRenderer:_w,ClipBoardTextInput:_E,Card:Dl},mounted(){Be.get("./get_presets").then(n=>{console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)}),We.on("text_chunk",n=>{this.appendToOutput(n.chunk)}),We.on("text_generated",n=>{this.generating=!1}),We.on("generation_error",n=>{console.log("generation_error:",n),this.$refs.toast.showToast(`Error: ${n}`,4,!1),this.generating=!1}),We.on("connect",()=>{console.log("Connected to LoLLMs server"),this.$store.state.isConnected=!0,this.generating=!1}),We.on("buzzy",n=>{console.error("Server is busy. Wait for your turn",n),this.$refs.toast.showToast(`Error: ${n.message}`,4,!1),this.generating=!1}),We.on("generation_canceled",n=>{this.generating=!1,console.log("Generation canceled OK")}),this.$nextTick(()=>{ze.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:{insertTab(n){const e=n.target,t=e.selectionStart,i=e.selectionEnd,r=e.value.substring(0,t),s=e.value.substring(i),o=r+"    "+s;this.text=o,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4}),n.preventDefault()},mdTextarea_changed(){console.log("mdTextarea_changed"),this.cursorPosition=this.$refs.mdTextarea.selectionStart},mdTextarea_clicked(){console.log(`mdTextarea_clicked: ${this.$refs.mdTextarea.selectionStart}`),this.cursorPosition=this.$refs.mdTextarea.selectionStart},setModel(){this.selecting_model=!0,Be.post("/update_setting",{setting_name:"model_name",setting_value:this.selectedModel}).then(n=>{console.log(n),n.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(n=>{this.$refs.toast.showToast(`Error ${n}`,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 n=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(r=>r.name===this.$store.state.config.audio_out_voice)[0]);const t=r=>{let s=this.text.substring(r,r+e);const o=[".","!","?",`
-`];let a=-1;return o.forEach(l=>{const c=s.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=s.length),console.log(a),a+r+1},i=()=>{const r=t(n),s=this.text.substring(n,r);this.msg.text=s,n=r+1,this.msg.onend=o=>{n<this.text.length-2?setTimeout(()=>{i()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length,"  ",r))},this.speechSynthesis.speak(this.msg)};i()},getCursorPosition(){return this.$refs.mdTextarea.selectionStart},appendToOutput(n){this.pre_text+=n,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let n=this.text.indexOf("@<generation_placeholder>@");if(n<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,n)+this.text.substring(n+26,this.text.length),this.pre_text=this.text.substring(0,n),this.post_text=this.text.substring(n,this.text.length);var e=this.text.substring(0,n);console.log(e),We.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 n=this.text.substring(0,this.getCursorPosition());console.log(this.text),console.log(`cursor position :${this.getCursorPosition()}`),console.log(`pretext:${this.pre_text}`),console.log(`post_text:${this.post_text}`),console.log(`prompt:${n}`),We.emit("generate_text",{prompt:n,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(){We.emit("cancel_text_generation",{})},exportText(){const n=this.text,e=document.createElement("a"),t=new Blob([n],{type:"text/plain"});e.href=URL.createObjectURL(t),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const n=document.getElementById("import-input");n&&(n.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const t=new FileReader;t.onload=()=>{this.text=t.result},t.readAsText(e.target.files[0])}else alert("Please select a file.")}),n.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=tWe(this.selectedPreset.content,n=>{console.log("Done"),console.log(n),this.text=n})},addPreset(){let n=prompt("Enter the title of the preset:");this.presets[n]={name:n,content:this.text},Be.post("./add_preset",this.presets[n]).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(){Be.get("./get_presets").then(n=>{console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,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=n=>{this.generated="";for(let e=n.resultIndex;e<n.results.length;e++)this.generated+=n.results[e][0].transcript;this.text=this.pre_text+this.generated+this.post_text,this.cursorPosition=this.pre_text.length+this.generated.length,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.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.")}}},iWe={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"},rWe={class:"container flex flex-row m-2"},sWe={class:"flex-grow m-2"},oWe={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"},aWe=p("i",{"data-feather":"pen-tool"},null,-1),lWe=[aWe],cWe=p("i",{"data-feather":"archive"},null,-1),dWe=[cWe],uWe=p("span",{class:"w-80"},null,-1),_We=p("i",{"data-feather":"x"},null,-1),pWe=[_We],fWe=p("i",{"data-feather":"mic"},null,-1),hWe=[fWe],mWe=p("i",{"data-feather":"volume-2"},null,-1),gWe=[mWe],EWe=p("i",{"data-feather":"upload"},null,-1),bWe=[EWe],SWe=p("i",{"data-feather":"download"},null,-1),yWe=[SWe],vWe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},TWe=p("input",{type:"file",id:"import-input",class:"hidden"},null,-1),xWe={key:0},CWe={key:1},RWe=["value"],AWe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},wWe=p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Selecting model...")],-1),OWe=[wWe],NWe=["value"],MWe=p("br",null,null,-1),IWe=p("i",{"data-feather":"check"},null,-1),DWe=[IWe],LWe=p("i",{"data-feather":"plus"},null,-1),kWe=[LWe],PWe=p("i",{"data-feather":"x"},null,-1),UWe=[PWe],FWe=p("i",{"data-feather":"refresh-ccw"},null,-1),BWe=[FWe],GWe={class:"slider-container ml-2 mr-2"},zWe=p("h3",{class:"text-gray-600"},"Temperature",-1),HWe={class:"slider-value text-gray-500"},VWe={class:"slider-container ml-2 mr-2"},qWe=p("h3",{class:"text-gray-600"},"Top K",-1),YWe={class:"slider-value text-gray-500"},$We={class:"slider-container ml-2 mr-2"},WWe=p("h3",{class:"text-gray-600"},"Top P",-1),KWe={class:"slider-value text-gray-500"},jWe={class:"slider-container ml-2 mr-2"},QWe=p("h3",{class:"text-gray-600"},"Repeat Penalty",-1),XWe={class:"slider-value text-gray-500"},ZWe={class:"slider-container ml-2 mr-2"},JWe=p("h3",{class:"text-gray-600"},"Repeat Last N",-1),eKe={class:"slider-value text-gray-500"},tKe={class:"slider-container ml-2 mr-2"},nKe=p("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),iKe={class:"slider-value text-gray-500"},rKe={class:"slider-container ml-2 mr-2"},sKe=p("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),oKe={class:"slider-value text-gray-500"},aKe={class:"slider-container ml-2 mr-2"},lKe=p("h3",{class:"text-gray-600"},"Seed",-1),cKe={class:"slider-value text-gray-500"};function dKe(n,e,t,i,r,s){const o=ht("MarkdownRenderer"),a=ht("Card"),l=ht("Toast");return D(),L(Xe,null,[p("div",iWe,[p("div",rWe,[p("div",sWe,[p("div",oWe,[we(p("button",{id:"generate-button",onClick:e[0]||(e[0]=(...c)=>s.generate&&s.generate(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},lWe,512),[[Ot,!r.generating]]),we(p("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...c)=>s.generate_in_placeholder&&s.generate_in_placeholder(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},dWe,512),[[Ot,!r.generating]]),uWe,we(p("button",{id:"stop-button",onClick:e[2]||(e[2]=(...c)=>s.stopGeneration&&s.stopGeneration(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},pWe,512),[[Ot,r.generating]]),p("button",{type:"button",onClick:e[3]||(e[3]=(...c)=>s.startSpeechRecognition&&s.startSpeechRecognition(...c)),class:Ke([{"text-red-500":r.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},hWe,2),p("button",{title:"speak",onClick:e[4]||(e[4]=Ie(c=>s.speak(),["stop"])),class:Ke([{"text-red-500":s.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},gWe,2),we(p("button",{id:"export-button",onClick:e[5]||(e[5]=(...c)=>s.exportText&&s.exportText(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},bWe,512),[[Ot,!r.generating]]),we(p("button",{id:"import-button",onClick:e[6]||(e[6]=(...c)=>s.importText&&s.importText(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},yWe,512),[[Ot,!r.generating]]),p("div",vWe,[p("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":r.tab_id=="source"}]),onClick:e[7]||(e[7]=c=>r.tab_id="source")}," Source ",2),p("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":r.tab_id=="render"}]),onClick:e[8]||(e[8]=c=>r.tab_id="render")}," Render ",2)]),TWe]),p("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":r.generating}])},[r.tab_id==="source"?(D(),L("div",xWe,[we(p("textarea",{ref:"mdTextarea",onKeydown:e[9]||(e[9]=Bo(Ie((...c)=>s.insertTab&&s.insertTab(...c),["prevent"]),["tab"])),class:"block min-h-500 p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll 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",rows:4,style:Rn({minHeight:r.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[10]||(e[10]=c=>r.text=c),onClick:e[11]||(e[11]=Ie((...c)=>s.mdTextarea_clicked&&s.mdTextarea_clicked(...c),["prevent"])),onChange:e[12]||(e[12]=Ie((...c)=>s.mdTextarea_changed&&s.mdTextarea_changed(...c),["prevent"]))},`\r
-                `,36),[[et,r.text]]),p("span",null,"Cursor position "+ge(r.cursorPosition),1)])):se("",!0),r.tab_id==="render"?(D(),L("div",CWe,[De(o,{ref:"mdRender","markdown-text":r.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):se("",!0)],2)]),De(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[we(p("select",{"onUpdate:modelValue":e[13]||(e[13]=c=>s.selectedModel=c),onChange:e[14]||(e[14]=(...c)=>s.setModel&&s.setModel(...c)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(s.models,c=>(D(),L("option",{key:c,value:c},ge(c),9,RWe))),128))],544),[[Ci,s.selectedModel]]),r.selecting_model?(D(),L("div",AWe,OWe)):se("",!0)]),_:1}),De(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[we(p("select",{"onUpdate:modelValue":e[15]||(e[15]=c=>r.selectedPreset=c),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(r.presets,c=>(D(),L("option",{key:c,value:c},ge(c.name),9,NWe))),128))],512),[[Ci,r.selectedPreset]]),MWe,p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...c)=>s.setPreset&&s.setPreset(...c)),title:"Use preset"},DWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...c)=>s.addPreset&&s.addPreset(...c)),title:"Add this text as a preset"},kWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...c)=>s.removePreset&&s.removePreset(...c)),title:"Remove preset"},UWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[19]||(e[19]=(...c)=>s.reloadPresets&&s.reloadPresets(...c)),title:"Reload presets list"},BWe)]),_:1}),De(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[p("div",GWe,[zWe,we(p("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=c=>r.temperature=c),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[et,r.temperature]]),p("span",HWe,"Current value: "+ge(r.temperature),1)]),p("div",VWe,[qWe,we(p("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=c=>r.top_k=c),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[et,r.top_k]]),p("span",YWe,"Current value: "+ge(r.top_k),1)]),p("div",$We,[WWe,we(p("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=c=>r.top_p=c),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[et,r.top_p]]),p("span",KWe,"Current value: "+ge(r.top_p),1)]),p("div",jWe,[QWe,we(p("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=c=>r.repeat_penalty=c),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),[[et,r.repeat_penalty]]),p("span",XWe,"Current value: "+ge(r.repeat_penalty),1)]),p("div",ZWe,[JWe,we(p("input",{type:"range","onUpdate:modelValue":e[24]||(e[24]=c=>r.repeat_last_n=c),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.repeat_last_n]]),p("span",eKe,"Current value: "+ge(r.repeat_last_n),1)]),p("div",tKe,[nKe,we(p("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=c=>r.n_crop=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.n_crop]]),p("span",iKe,"Current value: "+ge(r.n_crop),1)]),p("div",rKe,[sKe,we(p("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=c=>r.n_predicts=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.n_predicts]]),p("span",oKe,"Current value: "+ge(r.n_predicts),1)]),p("div",aKe,[lKe,we(p("input",{type:"number","onUpdate:modelValue":e[27]||(e[27]=c=>r.seed=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.seed]]),p("span",cKe,"Current value: "+ge(r.seed),1)])]),_:1})]),_:1})])]),De(l,{ref:"toast"},null,512)],64)}const uKe=bt(nWe,[["render",dKe]]);const _Ke={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(wO(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(n){this.activeExtension=n}}},pKe={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"},fKe={key:0},hKe=["onClick"],mKe={key:0},gKe=["src"],EKe={key:1},bKe=p("p",null,"No extension is active. Please install and activate an extension.",-1),SKe=[bKe];function yKe(n,e,t,i,r,s){return D(),L("div",pKe,[s.activeExtensions.length>0?(D(),L("div",fKe,[(D(!0),L(Xe,null,St(s.activeExtensions,o=>(D(),L("div",{key:o.name,onClick:a=>s.showExtensionPage(o)},[p("div",{class:Ke({"active-tab":o===r.activeExtension})},ge(o.name),3)],8,hKe))),128)),r.activeExtension?(D(),L("div",mKe,[p("iframe",{src:r.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,gKe)])):se("",!0)])):(D(),L("div",EKe,SKe))])}const vKe=bt(_Ke,[["render",yKe]]);var pw={exports:{}};/* @license
+`];let a=-1;return o.forEach(l=>{const c=s.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=s.length),console.log(a),a+r+1},i=()=>{const r=t(n),s=this.text.substring(n,r);this.msg.text=s,n=r+1,this.msg.onend=o=>{n<this.text.length-2?setTimeout(()=>{i()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length,"  ",r))},this.speechSynthesis.speak(this.msg)};i()},getCursorPosition(){return this.$refs.mdTextarea.selectionStart},appendToOutput(n){this.pre_text+=n,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let n=this.text.indexOf("@<generation_placeholder>@");if(n<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,n)+this.text.substring(n+26,this.text.length),this.pre_text=this.text.substring(0,n),this.post_text=this.text.substring(n,this.text.length);var e=this.text.substring(0,n);console.log(e),We.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 n=this.text.substring(0,this.getCursorPosition());console.log(this.text),console.log(`cursor position :${this.getCursorPosition()}`),console.log(`pretext:${this.pre_text}`),console.log(`post_text:${this.post_text}`),console.log(`prompt:${n}`),We.emit("generate_text",{prompt:n,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(){We.emit("cancel_text_generation",{})},exportText(){const n=this.text,e=document.createElement("a"),t=new Blob([n],{type:"text/plain"});e.href=URL.createObjectURL(t),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const n=document.getElementById("import-input");n&&(n.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const t=new FileReader;t.onload=()=>{this.text=t.result},t.readAsText(e.target.files[0])}else alert("Please select a file.")}),n.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=tWe(this.selectedPreset.content,n=>{console.log("Done"),console.log(n),this.text=n})},addPreset(){let n=prompt("Enter the title of the preset:");this.presets[n]={name:n,content:this.text},Be.post("./add_preset",this.presets[n]).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(){Be.get("./get_presets").then(n=>{console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,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=n=>{this.generated="";for(let e=n.resultIndex;e<n.results.length;e++)this.generated+=n.results[e][0].transcript;this.text=this.pre_text+this.generated+this.post_text,this.cursorPosition=this.pre_text.length+this.generated.length,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.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.")}}},iWe={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"},rWe={class:"container flex flex-row m-2"},sWe={class:"flex-grow m-2"},oWe={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"},aWe=p("i",{"data-feather":"pen-tool"},null,-1),lWe=[aWe],cWe=p("i",{"data-feather":"archive"},null,-1),dWe=[cWe],uWe=p("span",{class:"w-80"},null,-1),_We=p("i",{"data-feather":"x"},null,-1),pWe=[_We],fWe=p("i",{"data-feather":"mic"},null,-1),hWe=[fWe],mWe=p("i",{"data-feather":"volume-2"},null,-1),gWe=[mWe],EWe=p("i",{"data-feather":"upload"},null,-1),bWe=[EWe],SWe=p("i",{"data-feather":"download"},null,-1),yWe=[SWe],vWe={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},TWe=p("input",{type:"file",id:"import-input",class:"hidden"},null,-1),xWe={key:0},CWe={key:1},RWe=["value"],AWe={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},wWe=p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Selecting model...")],-1),OWe=[wWe],NWe=["value"],MWe=p("br",null,null,-1),IWe=p("i",{"data-feather":"check"},null,-1),DWe=[IWe],LWe=p("i",{"data-feather":"plus"},null,-1),kWe=[LWe],PWe=p("i",{"data-feather":"x"},null,-1),UWe=[PWe],FWe=p("i",{"data-feather":"refresh-ccw"},null,-1),BWe=[FWe],GWe={class:"slider-container ml-2 mr-2"},zWe=p("h3",{class:"text-gray-600"},"Temperature",-1),HWe={class:"slider-value text-gray-500"},VWe={class:"slider-container ml-2 mr-2"},qWe=p("h3",{class:"text-gray-600"},"Top K",-1),YWe={class:"slider-value text-gray-500"},$We={class:"slider-container ml-2 mr-2"},WWe=p("h3",{class:"text-gray-600"},"Top P",-1),KWe={class:"slider-value text-gray-500"},jWe={class:"slider-container ml-2 mr-2"},QWe=p("h3",{class:"text-gray-600"},"Repeat Penalty",-1),XWe={class:"slider-value text-gray-500"},ZWe={class:"slider-container ml-2 mr-2"},JWe=p("h3",{class:"text-gray-600"},"Repeat Last N",-1),eKe={class:"slider-value text-gray-500"},tKe={class:"slider-container ml-2 mr-2"},nKe=p("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),iKe={class:"slider-value text-gray-500"},rKe={class:"slider-container ml-2 mr-2"},sKe=p("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),oKe={class:"slider-value text-gray-500"},aKe={class:"slider-container ml-2 mr-2"},lKe=p("h3",{class:"text-gray-600"},"Seed",-1),cKe={class:"slider-value text-gray-500"};function dKe(n,e,t,i,r,s){const o=ut("MarkdownRenderer"),a=ut("Card"),l=ut("Toast");return D(),L(Xe,null,[p("div",iWe,[p("div",rWe,[p("div",sWe,[p("div",oWe,[we(p("button",{id:"generate-button",onClick:e[0]||(e[0]=(...c)=>s.generate&&s.generate(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},lWe,512),[[Ot,!r.generating]]),we(p("button",{id:"generate-next-button",onClick:e[1]||(e[1]=(...c)=>s.generate_in_placeholder&&s.generate_in_placeholder(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},dWe,512),[[Ot,!r.generating]]),uWe,we(p("button",{id:"stop-button",onClick:e[2]||(e[2]=(...c)=>s.stopGeneration&&s.stopGeneration(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},pWe,512),[[Ot,r.generating]]),p("button",{type:"button",onClick:e[3]||(e[3]=(...c)=>s.startSpeechRecognition&&s.startSpeechRecognition(...c)),class:Ke([{"text-red-500":r.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},hWe,2),p("button",{title:"speak",onClick:e[4]||(e[4]=Ie(c=>s.speak(),["stop"])),class:Ke([{"text-red-500":s.isTalking},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},gWe,2),we(p("button",{id:"export-button",onClick:e[5]||(e[5]=(...c)=>s.exportText&&s.exportText(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},bWe,512),[[Ot,!r.generating]]),we(p("button",{id:"import-button",onClick:e[6]||(e[6]=(...c)=>s.importText&&s.importText(...c)),class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer"},yWe,512),[[Ot,!r.generating]]),p("div",vWe,[p("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":r.tab_id=="source"}]),onClick:e[7]||(e[7]=c=>r.tab_id="source")}," Source ",2),p("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":r.tab_id=="render"}]),onClick:e[8]||(e[8]=c=>r.tab_id="render")}," Render ",2)]),TWe]),p("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":r.generating}])},[r.tab_id==="source"?(D(),L("div",xWe,[we(p("textarea",{ref:"mdTextarea",onKeydown:e[9]||(e[9]=Bo(Ie((...c)=>s.insertTab&&s.insertTab(...c),["prevent"]),["tab"])),class:"block min-h-500 p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll 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",rows:4,style:Rn({minHeight:r.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[10]||(e[10]=c=>r.text=c),onClick:e[11]||(e[11]=Ie((...c)=>s.mdTextarea_clicked&&s.mdTextarea_clicked(...c),["prevent"])),onChange:e[12]||(e[12]=Ie((...c)=>s.mdTextarea_changed&&s.mdTextarea_changed(...c),["prevent"]))},`\r
+                `,36),[[et,r.text]]),p("span",null,"Cursor position "+ge(r.cursorPosition),1)])):se("",!0),r.tab_id==="render"?(D(),L("div",CWe,[De(o,{ref:"mdRender","markdown-text":r.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["markdown-text"])])):se("",!0)],2)]),De(a,{title:"settings",class:"slider-container ml-0 mr-0 max-width",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(a,{title:"Model",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[we(p("select",{"onUpdate:modelValue":e[13]||(e[13]=c=>s.selectedModel=c),onChange:e[14]||(e[14]=(...c)=>s.setModel&&s.setModel(...c)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(s.models,c=>(D(),L("option",{key:c,value:c},ge(c),9,RWe))),128))],544),[[Ci,s.selectedModel]]),r.selecting_model?(D(),L("div",AWe,OWe)):se("",!0)]),_:1}),De(a,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[we(p("select",{"onUpdate:modelValue":e[15]||(e[15]=c=>r.selectedPreset=c),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(r.presets,c=>(D(),L("option",{key:c,value:c},ge(c.name),9,NWe))),128))],512),[[Ci,r.selectedPreset]]),MWe,p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[16]||(e[16]=(...c)=>s.setPreset&&s.setPreset(...c)),title:"Use preset"},DWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[17]||(e[17]=(...c)=>s.addPreset&&s.addPreset(...c)),title:"Add this text as a preset"},kWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[18]||(e[18]=(...c)=>s.removePreset&&s.removePreset(...c)),title:"Remove preset"},UWe),p("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[19]||(e[19]=(...c)=>s.reloadPresets&&s.reloadPresets(...c)),title:"Reload presets list"},BWe)]),_:1}),De(a,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[p("div",GWe,[zWe,we(p("input",{type:"range","onUpdate:modelValue":e[20]||(e[20]=c=>r.temperature=c),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[et,r.temperature]]),p("span",HWe,"Current value: "+ge(r.temperature),1)]),p("div",VWe,[qWe,we(p("input",{type:"range","onUpdate:modelValue":e[21]||(e[21]=c=>r.top_k=c),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[et,r.top_k]]),p("span",YWe,"Current value: "+ge(r.top_k),1)]),p("div",$We,[WWe,we(p("input",{type:"range","onUpdate:modelValue":e[22]||(e[22]=c=>r.top_p=c),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[et,r.top_p]]),p("span",KWe,"Current value: "+ge(r.top_p),1)]),p("div",jWe,[QWe,we(p("input",{type:"range","onUpdate:modelValue":e[23]||(e[23]=c=>r.repeat_penalty=c),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),[[et,r.repeat_penalty]]),p("span",XWe,"Current value: "+ge(r.repeat_penalty),1)]),p("div",ZWe,[JWe,we(p("input",{type:"range","onUpdate:modelValue":e[24]||(e[24]=c=>r.repeat_last_n=c),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.repeat_last_n]]),p("span",eKe,"Current value: "+ge(r.repeat_last_n),1)]),p("div",tKe,[nKe,we(p("input",{type:"number","onUpdate:modelValue":e[25]||(e[25]=c=>r.n_crop=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.n_crop]]),p("span",iKe,"Current value: "+ge(r.n_crop),1)]),p("div",rKe,[sKe,we(p("input",{type:"number","onUpdate:modelValue":e[26]||(e[26]=c=>r.n_predicts=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.n_predicts]]),p("span",oKe,"Current value: "+ge(r.n_predicts),1)]),p("div",aKe,[lKe,we(p("input",{type:"number","onUpdate:modelValue":e[27]||(e[27]=c=>r.seed=c),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[et,r.seed]]),p("span",cKe,"Current value: "+ge(r.seed),1)])]),_:1})]),_:1})])]),De(l,{ref:"toast"},null,512)],64)}const uKe=Et(nWe,[["render",dKe]]);const _Ke={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(wO(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(n){this.activeExtension=n}}},pKe={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"},fKe={key:0},hKe=["onClick"],mKe={key:0},gKe=["src"],EKe={key:1},bKe=p("p",null,"No extension is active. Please install and activate an extension.",-1),SKe=[bKe];function yKe(n,e,t,i,r,s){return D(),L("div",pKe,[s.activeExtensions.length>0?(D(),L("div",fKe,[(D(!0),L(Xe,null,St(s.activeExtensions,o=>(D(),L("div",{key:o.name,onClick:a=>s.showExtensionPage(o)},[p("div",{class:Ke({"active-tab":o===r.activeExtension})},ge(o.name),3)],8,hKe))),128)),r.activeExtension?(D(),L("div",mKe,[p("iframe",{src:r.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,gKe)])):se("",!0)])):(D(),L("div",EKe,SKe))])}const vKe=Et(_Ke,[["render",yKe]]);var pw={exports:{}};/* @license
 Papa Parse
 v5.4.1
 https://github.com/mholt/PapaParse
@@ -92,7 +92,7 @@ License: MIT
 `:"\r"}(Q,O)),P=!1,x.delimiter)N(x.delimiter)&&(x.delimiter=x.delimiter(Q),X.meta.delimiter=x.delimiter);else{var F=function(re,ee,be,xe,B){var ae,te,ie,w;B=B||[",","	","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var A=0;A<B.length;A++){var G=B[A],ce=0,$=0,J=0;ie=void 0;for(var ve=new h({comments:xe,delimiter:G,newline:ee,preview:10}).parse(re),Ee=0;Ee<ve.data.length;Ee++)if(be&&_e(ve.data[Ee]))J++;else{var Me=ve.data[Ee].length;$+=Me,ie!==void 0?0<Me&&(ce+=Math.abs(Me-ie),ie=Me):ie=Me}0<ve.data.length&&($/=ve.data.length-J),(te===void 0||ce<=te)&&(w===void 0||w<$)&&1.99<$&&(te=ce,ae=G,w=$)}return{successful:!!(x.delimiter=ae),bestDelimiter:ae}}(Q,x.newline,x.skipEmptyLines,x.comments,x.delimitersToGuess);F.successful?x.delimiter=F.bestDelimiter:(P=!0,x.delimiter=l.DefaultDelimiter),X.meta.delimiter=x.delimiter}var V=T(x);return x.preview&&x.header&&V.preview++,y=Q,R=new h(V),X=R.parse(y,he,Ae),fe(),K?{meta:{paused:!0}}:X||{meta:{paused:!1}}},this.paused=function(){return K},this.pause=function(){K=!0,R.abort(),y=N(x.chunk)?"":y.substring(R.getCharIndex())},this.resume=function(){z.streamer._halted?(K=!1,z.streamer.parseChunk(y,!0)):setTimeout(z.resume,3)},this.aborted=function(){return q},this.abort=function(){q=!0,R.abort(),X.meta.aborted=!0,N(x.complete)&&x.complete(X),y=""}}function g(x){return x.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function h(x){var y,R=(x=x||{}).delimiter,P=x.newline,k=x.comments,W=x.step,M=x.preview,H=x.fastMode,z=y=x.quoteChar===void 0||x.quoteChar===null?'"':x.quoteChar;if(x.escapeChar!==void 0&&(z=x.escapeChar),(typeof R!="string"||-1<l.BAD_DELIMITERS.indexOf(R))&&(R=","),k===R)throw new Error("Comment character same as delimiter");k===!0?k="#":(typeof k!="string"||-1<l.BAD_DELIMITERS.indexOf(k))&&(k=!1),P!==`
 `&&P!=="\r"&&P!==`\r
 `&&(P=`
-`);var I=0,Y=!1;this.parse=function(K,q,le){if(typeof K!="string")throw new Error("Input must be a string");var X=K.length,Z=R.length,_e=P.length,fe=k.length,ye=N(W),j=[],de=[],Q=[],he=I=0;if(!K)return Ue();if(x.header&&!q){var Ae=K.split(P)[0].split(R),O=[],F={},V=!1;for(var re in Ae){var ee=Ae[re];N(x.transformHeader)&&(ee=x.transformHeader(ee,re));var be=ee,xe=F[ee]||0;for(0<xe&&(V=!0,be=ee+"_"+xe),F[ee]=xe+1;O.includes(be);)be=be+"_"+xe;O.push(be)}if(V){var B=K.split(P);B[0]=O.join(R),K=B.join(P)}}if(H||H!==!1&&K.indexOf(y)===-1){for(var ae=K.split(P),te=0;te<ae.length;te++){if(Q=ae[te],I+=Q.length,te!==ae.length-1)I+=P.length;else if(le)return Ue();if(!k||Q.substring(0,fe)!==k){if(ye){if(j=[],J(Q.split(R)),Je(),Y)return Ue()}else J(Q.split(R));if(M&&M<=te)return j=j.slice(0,M),Ue(!0)}}return Ue()}for(var ie=K.indexOf(R,I),w=K.indexOf(P,I),A=new RegExp(g(z)+g(y),"g"),G=K.indexOf(y,I);;)if(K[I]!==y)if(k&&Q.length===0&&K.substring(I,I+fe)===k){if(w===-1)return Ue();I=w+_e,w=K.indexOf(P,I),ie=K.indexOf(R,I)}else if(ie!==-1&&(ie<w||w===-1))Q.push(K.substring(I,ie)),I=ie+Z,ie=K.indexOf(R,I);else{if(w===-1)break;if(Q.push(K.substring(I,w)),Me(w+_e),ye&&(Je(),Y))return Ue();if(M&&j.length>=M)return Ue(!0)}else for(G=I,I++;;){if((G=K.indexOf(y,G+1))===-1)return le||de.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:j.length,index:I}),Ee();if(G===X-1)return Ee(K.substring(I,G).replace(A,y));if(y!==z||K[G+1]!==z){if(y===z||G===0||K[G-1]!==z){ie!==-1&&ie<G+1&&(ie=K.indexOf(R,G+1)),w!==-1&&w<G+1&&(w=K.indexOf(P,G+1));var ce=ve(w===-1?ie:Math.min(ie,w));if(K.substr(G+1+ce,Z)===R){Q.push(K.substring(I,G).replace(A,y)),K[I=G+1+ce+Z]!==y&&(G=K.indexOf(y,I)),ie=K.indexOf(R,I),w=K.indexOf(P,I);break}var $=ve(w);if(K.substring(G+1+$,G+1+$+_e)===P){if(Q.push(K.substring(I,G).replace(A,y)),Me(G+1+$+_e),ie=K.indexOf(R,I),G=K.indexOf(y,I),ye&&(Je(),Y))return Ue();if(M&&j.length>=M)return Ue(!0);break}de.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:j.length,index:I}),G++}}else G++}return Ee();function J(Ne){j.push(Ne),he=I}function ve(Ne){var tt=0;if(Ne!==-1){var $e=K.substring(G+1,Ne);$e&&$e.trim()===""&&(tt=$e.length)}return tt}function Ee(Ne){return le||(Ne===void 0&&(Ne=K.substring(I)),Q.push(Ne),I=X,J(Q),ye&&Je()),Ue()}function Me(Ne){I=Ne,J(Q),Q=[],w=K.indexOf(P,I)}function Ue(Ne){return{data:j,errors:de,meta:{delimiter:R,linebreak:P,aborted:Y,truncated:!!Ne,cursor:he+(q||0)}}}function Je(){W(Ue()),j=[],de=[]}},this.abort=function(){Y=!0},this.getCharIndex=function(){return I}}function m(x){var y=x.data,R=o[y.workerId],P=!1;if(y.error)R.userError(y.error,y.file);else if(y.results&&y.results.data){var k={abort:function(){P=!0,S(y.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(N(R.userStep)){for(var W=0;W<y.results.data.length&&(R.userStep({data:y.results.data[W],errors:y.results.errors,meta:y.results.meta},k),!P);W++);delete y.results}else N(R.userChunk)&&(R.userChunk(y.results,k,y.file),delete y.results)}y.finished&&!P&&S(y.workerId,y.results)}function S(x,y){var R=o[x];N(R.userComplete)&&R.userComplete(y),R.terminate(),delete o[x]}function v(){throw new Error("Not implemented.")}function T(x){if(typeof x!="object"||x===null)return x;var y=Array.isArray(x)?[]:{};for(var R in x)y[R]=T(x[R]);return y}function C(x,y){return function(){x.apply(y,arguments)}}function N(x){return typeof x=="function"}return s&&(i.onmessage=function(x){var y=x.data;if(l.WORKER_ID===void 0&&y&&(l.WORKER_ID=y.workerId),typeof y.input=="string")i.postMessage({workerId:l.WORKER_ID,results:l.parse(y.input,y.config),finished:!0});else if(i.File&&y.input instanceof File||y.input instanceof Object){var R=l.parse(y.input,y.config);R&&i.postMessage({workerId:l.WORKER_ID,results:R,finished:!0})}}),(u.prototype=Object.create(d.prototype)).constructor=u,(_.prototype=Object.create(d.prototype)).constructor=_,(f.prototype=Object.create(f.prototype)).constructor=f,(E.prototype=Object.create(d.prototype)).constructor=E,l})})(pw);var TKe=pw.exports;const xKe=_r(TKe);const CKe={components:{Card:Dl},name:"HelpPage",data(){return{lollmsVersion:"unknown",faqs:[],githubLink:"https://github.com/ParisNeo/lollms-webui"}},mounted(){this.loadFAQs()},computed:{version:{get(){return this.$store.version}}},async created(){},methods:{async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(n=>n.text()).then(n=>{const{data:e}=xKe.parse(n,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(n=>{console.error("Error loading FAQs:",n)})},parseMultiline(n){return n.replace(/\n/g,"<br>")}}},fr=n=>(Gs("data-v-1c00af41"),n=n(),zs(),n),RKe={class:"container flex-row mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-1 md:grid-cols-2 gap-4"},AKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),wKe={class:"mb-4"},OKe=fr(()=>p("p",null,[Ye("Discord link: "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/vsGcArzs")],-1)),NKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),MKe={class:"list-disc pl-4"},IKe={class:"text-xl font-bold mb-1"},DKe=["innerHTML"],LKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Contact Us",-1)),kKe=fr(()=>p("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me.",-1)),PKe=fr(()=>p("p",null,[Ye("Discord link: "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/vsGcArzs")],-1)),UKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Credits",-1)),FKe=fr(()=>p("p",{class:"mb-4"},[Ye("This project is developed by "),p("span",{class:"font-bold"},"ParisNeo"),Ye(" With help from the community.")],-1)),BKe=fr(()=>p("p",{class:"mb-4"},[p("span",{class:"font-bold"},[p("a",{href:"https://github.com/ParisNeo/lollms-webui/graphs/contributors"},"Check out the full list of developers here and show them some love.")])],-1)),GKe=["href"];function zKe(n,e,t,i,r,s){const o=ht("Card");return D(),L("div",RKe,[De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[AKe,p("p",wKe," Lollms version "+ge(s.version),1),OKe]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[NKe,p("ul",MKe,[(D(!0),L(Xe,null,St(r.faqs,(a,l)=>(D(),L("li",{key:l},[p("h3",IKe,ge(a.question),1),p("p",{class:"mb-4",innerHTML:s.parseMultiline(a.answer)},null,8,DKe)]))),128))])]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[LKe,kKe,PKe]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[UKe,FKe,BKe,p("p",null,[Ye("Check out the project on "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:r.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,GKe),Ye(".")])]),_:1})])}const HKe=bt(CKe,[["render",zKe],["__scopeId","data-v-1c00af41"]]);function Oi(n,e=!0,t=1){const i=e?1e3:1024;if(Math.abs(n)<i)return n+" B";const r=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let s=-1;const o=10**t;do n/=i,++s;while(Math.round(Math.abs(n)*o)/o>=i&&s<r.length-1);return n.toFixed(t)+" "+r[s]}const VKe={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(n){this.message=n,this.show=!0}}},qKe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},YKe={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},$Ke={class:"text-lg font-medium"},WKe={class:"mt-4 flex justify-center"};function KKe(n,e,t,i,r,s){return r.show?(D(),L("div",qKe,[p("div",YKe,[p("h3",$Ke,ge(r.message),1),p("div",WKe,[p("button",{onClick:e[0]||(e[0]=(...o)=>s.hide&&s.hide(...o)),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 ")])])])):se("",!0)}const pE=bt(VKe,[["render",KKe]]),jKe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},askQuestion(n,e,t){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=t||this.DenyButtonText,new Promise(i=>{this.message=n,this.show=!0,this.resolve=i})}}},QKe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},XKe={class:"relative w-full max-w-md max-h-full"},ZKe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},JKe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),eje=p("span",{class:"sr-only"},"Close modal",-1),tje=[JKe,eje],nje={class:"p-4 text-center"},ije=p("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"},[p("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),rje={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function sje(n,e,t,i,r,s){return r.show?(D(),L("div",QKe,[p("div",XKe,[p("div",ZKe,[p("button",{type:"button",onClick:e[0]||(e[0]=o=>s.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"},tje),p("div",nje,[ije,p("h3",rje,ge(r.message),1),p("button",{onClick:e[1]||(e[1]=o=>s.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"},ge(r.ConfirmButtonText),1),p("button",{onClick:e[2]||(e[2]=o=>s.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"},ge(r.DenyButtonText),1)])])])])):se("",!0)}const oje=bt(jKe,[["render",sje]]),vi="/assets/logo-023c77a1.png";const aje={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},menuIconClass:{type:String,required:!1,default:""},selected_entry:{type:String,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(n){const e=this.$refs.menu,t=this.$refs.menuButton;e&&!e.contains(n.target)&&!t.contains(n.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),Fe(()=>{ze.replace()})},executeCommand(n){this.isMenuOpen=!1,console.log("Selected"),console.log(n.value),typeof n.value=="function"&&(console.log("Command detected"),n.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(n))},positionMenu(){var n;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),t=window.innerHeight;n=e.bottom>t/2}else this.force_position==1?n=!0:n=!1;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),Fe(()=>{ze.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},lje={class:"menu-container"},cje=["title"],dje=["src"],uje=["data-feather"],_je={key:2,class:"w-5 h-5"},pje={key:3,"data-feather":"menu"},fje={class:"flex-grow menu-ul"},hje=["onClick"],mje={key:0,"data-feather":"check"},gje=["src","alt"],Eje=["data-feather"],bje={key:3,class:"menu-icon"};function Sje(n,e,t,i,r,s){return D(),L("div",lje,[p("button",{onClick:e[0]||(e[0]=Ie((...o)=>s.toggleMenu&&s.toggleMenu(...o),["prevent"])),title:t.title,class:Ke([t.menuIconClass,"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"},[t.icon&&!t.icon.includes("#")&&!t.icon.includes("feather")?(D(),L("img",{key:0,src:t.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,dje)):t.icon&&t.icon.includes("feather")?(D(),L("i",{key:1,"data-feather":t.icon.split(":")[1],class:"w-5 h-5"},null,8,uje)):t.icon&&t.icon.includes("#")?(D(),L("p",_je,ge(t.icon.split("#")[1]),1)):(D(),L("i",pje))],10,cje),De(Uo,{name:"slide"},{default:ot(()=>[r.isMenuOpen?(D(),L("div",{key:0,class:"menu-list flex-grow",style:Rn(r.menuPosition),ref:"menu"},[p("ul",fje,[(D(!0),L(Xe,null,St(t.commands,(o,a)=>(D(),L("li",{key:a,onClick:Ie(l=>s.executeCommand(o),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[t.selected_entry==o.name?(D(),L("i",mje)):o.icon&&!o.icon.includes("feather")&&!o.is_file?(D(),L("img",{key:1,src:o.icon,alt:o.name,class:"menu-icon"},null,8,gje)):se("",!0),o.icon&&o.icon.includes("feather")&&!o.is_file?(D(),L("i",{key:2,"data-feather":o.icon.split(":")[1],class:"mr-2"},null,8,Eje)):(D(),L("span",bje)),p("span",null,ge(o.name),1)],8,hje))),128))])],4)):se("",!0)]),_:1})])}const Ll=bt(aje,[["render",Sje]]),yje={components:{InteractiveMenu:Ll},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(){Fe(()=>{ze.replace()})},methods:{formatFileSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(n){return Oi(n)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?vi:this.model.icon},defaultImg(n){n.target.src=vi},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(n=!1){this.onSelected(this,n),this.model.selected=!0,Fe(()=>{ze.replace()})},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this),this.installing=!1},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 cursor-pointer":"border-0 border-primary bg-primary cursor-pointer":"border-transparent"},commandsList(){let n=[{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&&n.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),n},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const n=this.model.variants[0].size;return this.formatFileSize(n)}return null}},speed_computed(){return Oi(this.speed)},total_size_computed(){return Oi(this.total_size)},downloaded_size_computed(){return Oi(this.downloaded_size)}},watch:{linkNotValid(){Fe(()=>{ze.replace()})}}},vje=["title"],Tje={key:0,class:"flex flex-row"},xje={class:"max-w-[300px] overflow-x-auto"},Cje={class:"flex gap-3 items-center grow"},Rje=["href"],Aje=["src"],wje={class:"flex-1 overflow-hidden"},Oje={class:"font-bold font-large text-lg truncate"},Nje={key:1,class:"flex items-center flex-row gap-2 my-1"},Mje={class:"flex grow items-center"},Ije=p("i",{"data-feather":"box",class:"w-5"},null,-1),Dje=p("span",{class:"sr-only"},"Custom model / local model",-1),Lje=[Ije,Dje],kje=p("span",{class:"sr-only"},"Remove",-1),Pje={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"},Uje={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Fje=p("div",{role:"status",class:"justify-center"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1),Bje={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Gje={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},zje={class:"flex justify-between mb-1"},Hje=p("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Vje={class:"text-sm font-medium text-blue-700 dark:text-white"},qje={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Yje={class:"flex justify-between mb-1"},$je={class:"text-base font-medium text-blue-700 dark:text-white"},Wje={class:"text-sm font-medium text-blue-700 dark:text-white"},Kje={class:"flex flex-grow"},jje={class:"flex flex-row flex-grow gap-3"},Qje={class:"p-2 text-center grow"},Xje={key:3},Zje={class:"flex flex-row items-center gap-3"},Jje=["src"],eQe={class:"font-bold font-large text-lg truncate"},tQe=p("div",{class:"grow"},null,-1),nQe={class:"flex items-center flex-row-reverse gap-2 my-1"},iQe={class:"flex flex-row items-center"},rQe={key:0,class:"text-base text-red-600 flex items-center mt-1"},sQe=p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),oQe=["title"],aQe={class:""},lQe={class:"flex flex-row items-center"},cQe=p("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),dQe=p("b",null,"Card: ",-1),uQe=["href","title"],_Qe=p("div",{class:"grow"},null,-1),pQe=p("i",{"data-feather":"clipboard",class:"w-5"},null,-1),fQe=[pQe],hQe={class:"flex items-center"},mQe=p("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),gQe=p("b",null,"File size: ",-1),EQe={class:"flex items-center"},bQe=p("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),SQe=p("b",null,"License: ",-1),yQe={key:0,class:"flex items-center"},vQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),TQe=p("b",null,"quantizer: ",-1),xQe=["href"],CQe={class:"flex items-center"},RQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),AQe=p("b",null,"Model creator: ",-1),wQe=["href"],OQe={class:"flex items-center"},NQe=p("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),MQe=p("b",null,"Release date: ",-1),IQe={class:"flex items-center"},DQe=p("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),LQe=p("b",null,"Category: ",-1),kQe=["href"],PQe={class:"flex items-center"},UQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),FQe=p("b",null,"Hugging face rank: ",-1);function BQe(n,e,t,i,r,s){const o=ht("InteractiveMenu");return D(),L("div",{class:Ke(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",s.computed_classes]),title:t.model.name,onClick:e[11]||(e[11]=Ie(a=>s.toggleSelected(),["prevent"]))},[t.model.isCustomModel?(D(),L("div",Tje,[p("div",xje,[p("div",Cje,[p("a",{href:t.model.model_creator_link,target:"_blank"},[p("img",{src:s.getImgUrl(),onError:e[0]||(e[0]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Aje)],8,Rje),p("div",wje,[p("h3",Oje,ge(t.model.name),1)])])])])):se("",!0),t.model.isCustomModel?(D(),L("div",Nje,[p("div",Mje,[p("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]=Ie(()=>{},["stop"]))},Lje),Ye(" Custom model ")]),p("div",null,[t.model.isInstalled?(D(),L("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=Ie((...a)=>s.toggleInstall&&s.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"},[Ye(" Uninstall "),kje])):se("",!0)])])):se("",!0),r.installing?(D(),L("div",Pje,[p("div",Uje,[Fje,p("div",Bje,[p("div",Gje,[p("div",zje,[Hje,p("span",Vje,ge(Math.floor(r.progress))+"%",1)]),p("div",qje,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn({width:r.progress+"%"})},null,4)]),p("div",Yje,[p("span",$je,"Download speed: "+ge(s.speed_computed)+"/s",1),p("span",Wje,ge(s.downloaded_size_computed)+"/"+ge(s.total_size_computed),1)])])]),p("div",Kje,[p("div",jje,[p("div",Qje,[p("button",{onClick:e[3]||(e[3]=Ie((...a)=>s.toggleCancelInstall&&s.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 ")])])])])])):se("",!0),t.model.isCustomModel?se("",!0):(D(),L("div",Xje,[p("div",Zje,[p("img",{ref:"imgElement",src:s.getImgUrl(),onError:e[4]||(e[4]=a=>s.defaultImg(a)),class:Ke(["w-10 h-10 rounded-lg object-fill",r.linkNotValid?"grayscale":""])},null,42,Jje),p("h3",eQe,ge(t.model.name),1),tQe,De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),p("div",nQe,[p("div",iQe,[r.linkNotValid?(D(),L("div",rQe,[sQe,Ye(" Link is not valid ")])):se("",!0)])]),p("div",{class:"",title:t.model.isInstalled?t.model.name:"Not installed"},[p("div",aQe,[p("div",lQe,[cQe,dQe,p("a",{href:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name,target:"_blank",onClick:e[5]||(e[5]=Ie(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:r.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/<current binding> folder then refresh"}," View full model card ",8,uQe),_Qe,p("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[6]||(e[6]=Ie(a=>s.toggleCopyLink(),["stop"]))},fQe)]),p("div",hQe,[p("div",{class:Ke(["flex flex-shrink-0 items-center",r.linkNotValid?"text-red-600":""])},[mQe,gQe,Ye(" "+ge(s.fileSize),1)],2)]),p("div",EQe,[bQe,SQe,Ye(" "+ge(t.model.license),1)]),t.model.quantizer!="None"?(D(),L("div",yQe,[vQe,TQe,p("a",{href:"https://huggingface.co/"+t.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[7]||(e[7]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.quantizer),9,xQe)])):se("",!0),p("div",CQe,[RQe,AQe,p("a",{href:t.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[8]||(e[8]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.model_creator),9,wQe)]),p("div",OQe,[NQe,MQe,Ye(" "+ge(t.model.last_commit_time),1)]),p("div",IQe,[DQe,LQe,p("a",{href:"https://huggingface.co/"+t.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[9]||(e[9]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.category),9,kQe)]),p("div",PQe,[UQe,FQe,p("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.rank),1)])])],8,oQe)]))],10,vje)}const GQe=bt(yje,[["render",BQe]]),zQe={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}}},HQe={class:"p-4"},VQe={class:"flex items-center mb-4"},qQe=["src"],YQe={class:"text-lg font-semibold"},$Qe=p("strong",null,"Author:",-1),WQe=p("strong",null,"Description:",-1),KQe=p("strong",null,"Category:",-1),jQe={key:0},QQe=p("strong",null,"Disclaimer:",-1),XQe=p("strong",null,"Conditioning Text:",-1),ZQe=p("strong",null,"AI Prefix:",-1),JQe=p("strong",null,"User Prefix:",-1),eXe=p("strong",null,"Antiprompts:",-1);function tXe(n,e,t,i,r,s){return D(),L("div",HQe,[p("div",VQe,[p("img",{src:r.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,qQe),p("h2",YQe,ge(r.personalityName),1)]),p("p",null,[$Qe,Ye(" "+ge(r.personalityAuthor),1)]),p("p",null,[WQe,Ye(" "+ge(r.personalityDescription),1)]),p("p",null,[KQe,Ye(" "+ge(r.personalityCategory),1)]),r.disclaimer?(D(),L("p",jQe,[QQe,Ye(" "+ge(r.disclaimer),1)])):se("",!0),p("p",null,[XQe,Ye(" "+ge(r.conditioningText),1)]),p("p",null,[ZQe,Ye(" "+ge(r.aiPrefix),1)]),p("p",null,[JQe,Ye(" "+ge(r.userPrefix),1)]),p("div",null,[eXe,p("ul",null,[(D(!0),L(Xe,null,St(r.antipromptsList,o=>(D(),L("li",{key:o.id},ge(o.text),1))),128))])]),p("button",{onClick:e[0]||(e[0]=o=>r.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),r.editMode?(D(),L("button",{key:1,onClick:e[1]||(e[1]=(...o)=>s.commitChanges&&s.commitChanges(...o)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):se("",!0)])}const nXe=bt(zQe,[["render",tXe]]),ha="/assets/logo-9d653710.svg",iXe="/",rXe={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function,onCopyPersonalityName:Function},components:{InteractiveMenu:Ll},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let n=[{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&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,Fe(()=>{ze.replace()})},methods:{getImgUrl(){return iXe+this.personality.avatar},defaultImg(n){n.target.src=ha},toggleTalk(){this.onTalk(this)},toggleCopyLink(){this.onCopyPersonalityName(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(){Fe(()=>{ze.replace()})}}},sXe=["title"],oXe={class:"flex flex-row items-center flex-shrink-0 gap-3"},aXe=["src"],lXe=p("i",{"data-feather":"clipboard",class:"w-5"},null,-1),cXe=[lXe],dXe={class:""},uXe={class:""},_Xe={class:"flex items-center"},pXe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),fXe=p("b",null,"Author: ",-1),hXe={class:"flex items-center"},mXe=p("i",{"data-feather":"git-commit",class:"w-5 m-1"},null,-1),gXe=p("b",null,"Version: ",-1),EXe={key:0,class:"flex items-center"},bXe=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),SXe=p("b",null,"Languages: ",-1),yXe=["selected"],vXe={key:1,class:"flex items-center"},TXe=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),xXe=p("b",null,"Language: ",-1),CXe={class:"flex items-center"},RXe=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),AXe=p("b",null,"Category: ",-1),wXe=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),OXe=["title","innerHTML"],NXe={class:"rounded bg-blue-300"},MXe=p("i",{"data-feather":"check"},null,-1),IXe=p("span",{class:"sr-only"},"Select",-1),DXe=[MXe,IXe],LXe=p("i",{"data-feather":"send",class:"w-5"},null,-1),kXe=p("span",{class:"sr-only"},"Talk",-1),PXe=[LXe,kXe];function UXe(n,e,t,i,r,s){const o=ht("InteractiveMenu");return D(),L("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",s.selected_computed?"border-2 border-primary-light":"border-transparent",r.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:t.personality.installed?"":"Not installed"},[p("div",{class:Ke(t.personality.installed?"":"border-red-500")},[p("div",oXe,[p("img",{onClick:e[0]||(e[0]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),ref:"imgElement",src:s.getImgUrl(),onError:e[1]||(e[1]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,aXe),p("h3",{onClick:e[2]||(e[2]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},ge(t.personality.name),1),p("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[3]||(e[3]=Ie(a=>s.toggleCopyLink(),["stop"]))},cXe)]),p("div",dXe,[p("div",uXe,[p("div",_Xe,[pXe,fXe,Ye(" "+ge(t.personality.author),1)]),p("div",hXe,[mXe,gXe,Ye(" "+ge(t.personality.version),1)]),t.personality.languages&&t.select_language?(D(),L("div",EXe,[bXe,SXe,we(p("select",{id:"languages","onUpdate:modelValue":e[4]||(e[4]=a=>t.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"},[(D(!0),L(Xe,null,St(t.personality.languages,(a,l)=>(D(),L("option",{key:l,selected:a==t.personality.languages[0]},ge(a),9,yXe))),128))],512),[[Ci,t.personality.language]])])):se("",!0),t.personality.language?(D(),L("div",vXe,[TXe,xXe,Ye(" "+ge(t.personality.language),1)])):se("",!0),p("div",CXe,[RXe,AXe,Ye(" "+ge(t.personality.category),1)])]),wXe,p("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:t.personality.description,innerHTML:t.personality.description},null,8,OXe)]),p("div",NXe,[r.isMounted?(D(),L("button",{key:0,type:"button",title:"Select",onClick:[e[5]||(e[5]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),e[6]||(e[6]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},DXe)):se("",!0),r.isMounted?(D(),L("button",{key:1,type:"button",title:"Talk",onClick:[e[7]||(e[7]=(...a)=>s.toggleTalk&&s.toggleTalk(...a)),e[8]||(e[8]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},PXe)):se("",!0),De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,sXe)}const fw=bt(rXe,[["render",UXe]]);const FXe={props:{code:String},data(){return{evaluatedCode:"",componentKey:0}},watch:{code:{handler(n){console.log("Code changed"),this.evaluateScriptTags(n),this.componentKey++},immediate:!0}},methods:{evaluateScriptTags(n){const e=document.createElement("div");e.innerHTML=n,e.querySelectorAll("script").forEach(i=>{const r=document.createElement("script");r.textContent=i.textContent,document.body.appendChild(r),document.body.removeChild(r)}),this.evaluatedCode=e.innerHTML,console.log("evaluated code: "+this.evaluatedCode)}}},BXe=["innerHTML"];function GXe(n,e,t,i,r,s){return D(),L("div",{innerHTML:r.evaluatedCode,key:r.componentKey},null,8,BXe)}const hw=bt(FXe,[["render",GXe]]),zXe="/",HXe={components:{DynamicUIRenderer:hw},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){Fe(()=>{ze.replace()})},methods:{getImgUrl(){return zXe+this.binding.icon},defaultImg(n){n.target.src=ha},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(){Fe(()=>{ze.replace()})}}},VXe=["title"],qXe={class:"flex flex-row items-center gap-3"},YXe=["src"],$Xe={class:"font-bold font-large text-lg truncate"},WXe=p("div",{class:"grow"},null,-1),KXe={class:"flex-none gap-1"},jXe=p("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),QXe=p("span",{class:"sr-only"},"Help",-1),XXe=[jXe,QXe],ZXe={class:"flex items-center flex-row-reverse gap-2 my-1"},JXe=p("span",{class:"sr-only"},"Click to install",-1),eZe=p("span",{class:"sr-only"},"Reinstall",-1),tZe=p("span",{class:"sr-only"},"UnInstall",-1),nZe=p("span",{class:"sr-only"},"Settings",-1),iZe={class:""},rZe={class:""},sZe={class:"flex items-center"},oZe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),aZe=p("b",null,"Author: ",-1),lZe={class:"flex items-center"},cZe=p("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),dZe=p("b",null,"Folder: ",-1),uZe={class:"flex items-center"},_Ze=p("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),pZe=p("b",null,"Version: ",-1),fZe={class:"flex items-center"},hZe=p("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),mZe=p("b",null,"Link: ",-1),gZe=["href"],EZe=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),bZe=["title","innerHTML"];function SZe(n,e,t,i,r,s){const o=ht("DynamicUIRenderer");return D(),L("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",t.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[7]||(e[7]=Ie((...a)=>s.toggleSelected&&s.toggleSelected(...a),["stop"])),title:t.binding.installed?t.binding.name:"Not installed"},[p("div",null,[p("div",qXe,[p("img",{ref:"imgElement",src:s.getImgUrl(),onError:e[0]||(e[0]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,YXe),p("h3",$Xe,ge(t.binding.name),1),WXe,p("div",KXe,[t.selected?(D(),L("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>s.toggleReloadBinding&&s.toggleReloadBinding(...a)),e[2]||(e[2]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},XXe)):se("",!0)])]),p("div",ZXe,[t.binding.installed?se("",!0):(D(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=Ie((...a)=>s.toggleInstall&&s.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"},[Ye(" Install "),JXe])),t.binding.installed?(D(),L("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=Ie((...a)=>s.toggleReinstall&&s.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"},[Ye(" Reinstall "),eZe])):se("",!0),t.binding.installed?(D(),L("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=Ie((...a)=>s.toggleUnInstall&&s.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"},[Ye(" Uninstall "),tZe])):se("",!0),t.selected?(D(),L("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=Ie((...a)=>s.toggleSettings&&s.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"},[Ye(" Settings "),nZe])):se("",!0)]),t.binding.ui?(D(),jt(o,{key:0,class:"w-full h-full",code:t.binding.ui},null,8,["code"])):se("",!0),p("div",iZe,[p("div",rZe,[p("div",sZe,[oZe,aZe,Ye(" "+ge(t.binding.author),1)]),p("div",lZe,[cZe,dZe,Ye(" "+ge(t.binding.folder),1)]),p("div",uZe,[_Ze,pZe,Ye(" "+ge(t.binding.version),1)]),p("div",fZe,[hZe,mZe,p("a",{href:t.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ge(t.binding.link),9,gZe)])]),EZe,p("p",{class:"mx-1 opacity-80 line-clamp-3",title:t.binding.description,innerHTML:t.binding.description},null,8,bZe)])])],10,VXe)}const yZe=bt(HXe,[["render",SZe]]),vZe={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(n=>{this.resolve=n})},hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},showDialog(n){return new Promise(e=>{this.model_path=n,this.show=!0,this.resolve=e})}}},TZe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},xZe={class:"relative w-full max-w-md max-h-full"},CZe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},RZe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),AZe=p("span",{class:"sr-only"},"Close modal",-1),wZe=[RZe,AZe],OZe={class:"p-4 text-center"},NZe=p("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"},[p("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),MZe={class:"p-4 text-center mx-auto mb-4"},IZe=p("label",{class:"mr-2"},"Model path",-1);function DZe(n,e,t,i,r,s){return r.show?(D(),L("div",TZe,[p("div",xZe,[p("div",CZe,[p("button",{type:"button",onClick:e[0]||(e[0]=o=>s.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"},wZe),p("div",OZe,[NZe,p("div",MZe,[IZe,we(p("input",{"onUpdate:modelValue":e[1]||(e[1]=o=>r.model_path=o),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[et,r.model_path]])]),p("button",{onClick:e[2]||(e[2]=o=>s.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 "),p("button",{onClick:e[3]||(e[3]=o=>s.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")])])])])):se("",!0)}const LZe=bt(vZe,[["render",DZe]]),kZe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){Fe(()=>{ze.replace()})},methods:{hide(n){this.show=!1,this.resolve&&n&&(this.resolve(this.controls_array),this.resolve=null)},showForm(n,e,t,i){this.ConfirmButtonText=t||this.ConfirmButtonText,this.DenyButtonText=i||this.DenyButtonText;for(let r=0;r<n.length;r++)n[r].isHelp=!1;return new Promise(r=>{this.controls_array=n,this.show=!0,this.title=e||this.title,this.resolve=r,console.log("show form",this.controls_array)})}},watch:{controls_array:{deep:!0,handler(n){n.forEach(e=>{e.type==="int"?e.value=parseInt(e.value):e.type==="float"&&(e.value=parseFloat(e.value))})}},show(){Fe(()=>{ze.replace()})}}},PZe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},UZe={class:"relative w-full max-w-md"},FZe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},BZe={class:"flex flex-row flex-grow items-center m-2 p-1"},GZe={class:"grow flex items-center"},zZe=p("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),HZe={class:"text-lg font-semibold select-none mr-2"},VZe={class:"items-end"},qZe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),YZe=p("span",{class:"sr-only"},"Close form modal",-1),$Ze=[qZe,YZe],WZe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},KZe={class:"px-2"},jZe={key:0},QZe={key:0},XZe={class:"text-base font-semibold"},ZZe={key:0,class:"relative inline-flex"},JZe=["onUpdate:modelValue"],eJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),tJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},nJe=["onUpdate:modelValue"],iJe={key:1},rJe={class:"text-base font-semibold"},sJe={key:0,class:"relative inline-flex"},oJe=["onUpdate:modelValue"],aJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),lJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cJe=["onUpdate:modelValue"],dJe=["value","selected"],uJe={key:1},_Je={class:"text-base font-semibold"},pJe={key:0,class:"relative inline-flex"},fJe=["onUpdate:modelValue"],hJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},gJe=["onUpdate:modelValue"],EJe=["onUpdate:modelValue","min","max"],bJe={key:2},SJe={class:"text-base font-semibold"},yJe={key:0,class:"relative inline-flex"},vJe=["onUpdate:modelValue"],TJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),xJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},CJe=["onUpdate:modelValue"],RJe=["onUpdate:modelValue","min","max"],AJe={key:3},wJe={class:"mb-2 relative flex items-center gap-2"},OJe={for:"default-checkbox",class:"text-base font-semibold"},NJe=["onUpdate:modelValue"],MJe={key:0,class:"relative inline-flex"},IJe=["onUpdate:modelValue"],DJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),LJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kJe={key:4},PJe={class:"text-base font-semibold"},UJe={key:0,class:"relative inline-flex"},FJe=["onUpdate:modelValue"],BJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),GJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zJe=["onUpdate:modelValue"],HJe=p("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),VJe={class:"flex flex-row flex-grow gap-3"},qJe={class:"p-2 text-center grow"};function YJe(n,e,t,i,r,s){return r.show?(D(),L("div",PZe,[p("div",UZe,[p("div",FZe,[p("div",BZe,[p("div",GZe,[zZe,p("h3",HZe,ge(r.title),1)]),p("div",VZe,[p("button",{type:"button",onClick:e[0]||(e[0]=Ie(o=>s.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"},$Ze)])]),p("div",WZe,[(D(!0),L(Xe,null,St(r.controls_array,(o,a)=>(D(),L("div",KZe,[o.type=="str"?(D(),L("div",jZe,[o.options?se("",!0):(D(),L("div",QZe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",XZe,ge(o.name)+": ",1),o.help?(D(),L("label",ZZe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,JZe),[[Ft,o.isHelp]]),eJe])):se("",!0)],2),o.isHelp?(D(),L("p",tJe,ge(o.help),1)):se("",!0),we(p("input",{type:"text","onUpdate:modelValue":l=>o.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,nJe),[[et,o.value]])])),o.options?(D(),L("div",iJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",rJe,ge(o.name)+": ",1),o.help?(D(),L("label",sJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,oJe),[[Ft,o.isHelp]]),aJe])):se("",!0)],2),o.isHelp?(D(),L("p",lJe,ge(o.help),1)):se("",!0),we(p("select",{"onUpdate:modelValue":l=>o.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"},[(D(!0),L(Xe,null,St(o.options,l=>(D(),L("option",{value:l,selected:o.value===l},ge(l),9,dJe))),256))],8,cJe),[[Ci,o.value]])])):se("",!0)])):se("",!0),o.type=="int"?(D(),L("div",uJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",_Je,ge(o.name)+": ",1),o.help?(D(),L("label",pJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,fJe),[[Ft,o.isHelp]]),hJe])):se("",!0)],2),o.isHelp?(D(),L("p",mJe,ge(o.help),1)):se("",!0),we(p("input",{type:"number","onUpdate:modelValue":l=>o.value=l,step:"1",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,gJe),[[et,o.value]]),o.min!=null&&o.max!=null?we((D(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>o.value=l,min:o.min,max:o.max,step:"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,EJe)),[[et,o.value]]):se("",!0)])):se("",!0),o.type=="float"?(D(),L("div",bJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",SJe,ge(o.name)+": ",1),o.help?(D(),L("label",yJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,vJe),[[Ft,o.isHelp]]),TJe])):se("",!0)],2),o.isHelp?(D(),L("p",xJe,ge(o.help),1)):se("",!0),we(p("input",{type:"number","onUpdate:modelValue":l=>o.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,CJe),[[et,o.value]]),o.min!=null&&o.max!=null?we((D(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>o.value=l,min:o.min,max:o.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,RJe)),[[et,o.value]]):se("",!0)])):se("",!0),o.type=="bool"?(D(),L("div",AJe,[p("div",wJe,[p("label",OJe,ge(o.name)+": ",1),we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.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,NJe),[[Ft,o.value]]),o.help?(D(),L("label",MJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,IJe),[[Ft,o.isHelp]]),DJe])):se("",!0)]),o.isHelp?(D(),L("p",LJe,ge(o.help),1)):se("",!0)])):se("",!0),o.type=="list"?(D(),L("div",kJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",PJe,ge(o.name)+": ",1),o.help?(D(),L("label",UJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,FJe),[[Ft,o.isHelp]]),BJe])):se("",!0)],2),o.isHelp?(D(),L("p",GJe,ge(o.help),1)):se("",!0),we(p("input",{type:"text","onUpdate:modelValue":l=>o.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,zJe),[[et,o.value]])])):se("",!0),HJe]))),256)),p("div",VJe,[p("div",qJe,[p("button",{onClick:e[1]||(e[1]=Ie(o=>s.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"},ge(r.ConfirmButtonText),1),p("button",{onClick:e[2]||(e[2]=Ie(o=>s.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"},ge(r.DenyButtonText),1)])])])])])])):se("",!0)}const iu=bt(kZe,[["render",YJe]]);const $Je={props:{show:{type:Boolean,default:!1,required:!1},can_remove:{type:Boolean,default:!1},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null,showInput:!1,newFilename:""}},methods:{displayName(n){return console.log("choice:",n),typeof n=="string"?n:n&&n.name?n.name:""},selectChoice(n){this.selectedChoice=n,this.$emit("choice-selected",n)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated",this.selectedChoice)},formatSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},toggleInput(){this.showInput=!this.showInput},addNewFilename(){const n=this.newFilename.trim();n!==""&&(this.choices.push(n),this.newFilename="",this.selectChoice(n)),this.showInput=!1},removeChoice(n,e){this.choices.splice(e,1),n===this.selectedChoice&&(this.selectedChoice=null),this.$emit("choice-removed",n)}}},WJe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},KJe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},jJe={class:"text-xl font-semibold mb-4"},QJe={class:"h-48 overflow-y-auto"},XJe=["onClick"],ZJe={class:"font-bold"},JJe=p("br",null,null,-1),eet={key:0,class:"text-xs text-gray-500"},tet=["onClick"],net={key:0,class:"mt-4"},iet={class:"flex justify-end mt-4"},ret=["disabled"];function set(n,e,t,i,r,s){return D(),jt(Uo,{name:"fade"},{default:ot(()=>[t.show?(D(),L("div",WJe,[p("div",KJe,[p("h2",jJe,ge(t.title),1),p("div",QJe,[p("ul",null,[(D(!0),L(Xe,null,St(t.choices,(o,a)=>(D(),L("li",{key:a,onClick:l=>s.selectChoice(o),class:Ke([{"selected-choice":o===r.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[p("span",ZJe,ge(s.displayName(o)),1),JJe,o.size?(D(),L("span",eet,ge(s.formatSize(o.size)),1)):se("",!0),t.can_remove?(D(),L("button",{key:1,onClick:l=>s.removeChoice(o,a),class:"ml-2 text-red-500 hover:text-red-600"}," X ",8,tet)):se("",!0)],10,XJe))),128))])]),r.showInput?(D(),L("div",net,[we(p("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>r.newFilename=o),placeholder:"Enter a filename",class:"border border-gray-300 p-2 rounded-lg w-full"},null,512),[[et,r.newFilename]]),p("button",{onClick:e[1]||(e[1]=(...o)=>s.addNewFilename&&s.addNewFilename(...o)),class:"mt-2 py-2 px-4 bg-green-500 hover:bg-green-600 text-white rounded-lg transition duration-300"}," Add ")])):se("",!0),p("div",iet,[p("button",{onClick:e[2]||(e[2]=(...o)=>s.closeDialog&&s.closeDialog(...o)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),p("button",{onClick:e[3]||(e[3]=(...o)=>s.validateChoice&&s.validateChoice(...o)),class:Ke([{"bg-gray-400 cursor-not-allowed":!r.selectedChoice,"bg-blue-500 hover:bg-blue-600":r.selectedChoice,"text-white":r.selectedChoice,"text-gray-500":!r.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!r.selectedChoice}," Validate ",10,ret),p("button",{onClick:e[4]||(e[4]=(...o)=>s.toggleInput&&s.toggleInput(...o)),class:"py-2 px-4 ml-2 bg-blue-500 hover:bg-blue-600 text-white rounded-lg transition duration-300"}," Add New ")])])])):se("",!0)]),_:1})}const fE=bt($Je,[["render",set]]),oet={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:0}},data(){return{selectedValue:this.defaultValue}},methods:{handleRadioChange(n){this.selectedValue!==null&&this.$emit("radio-selected",this.selectedValue,n)}}},aet={class:"flex space-x-4"},cet=["value","onChange"],det={class:"text-gray-700"};function uet(n,e,t,i,r,s){return D(),L("div",aet,[(D(!0),L(Xe,null,St(t.radioOptions,(o,a)=>(D(),L("label",{key:o.value,class:"flex items-center space-x-2"},[we(p("input",{type:"radio",value:o.value,"onUpdate:modelValue":e[0]||(e[0]=l=>r.selectedValue=l),onChange:l=>s.handleRadioChange(a),class:"text-blue-500 focus:ring-2 focus:ring-blue-200"},null,40,cet),[[lI,r.selectedValue]]),p("span",det,ge(o.label),1)]))),128))])}const _et=bt(oet,[["render",uet]]),pet="/",fet={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:Ll},data(){return{isMounted:!1,name:this.extension.name}},computed:{commandsList(){let n=[{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&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.extension.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.extension.isMounted,Fe(()=>{ze.replace()})},methods:{getImgUrl(){return pet+this.extension.avatar},defaultImg(n){n.target.src=ha},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(){Fe(()=>{ze.replace()})}}},het=["title"],met={class:"flex flex-row items-center flex-shrink-0 gap-3"},get=["src"],Eet={class:""},bet={class:""},yet={class:"flex items-center"},vet=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Tet=p("b",null,"Author: ",-1),xet={class:"flex items-center"},Cet=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ret=p("b",null,"Based on: ",-1),Aet={key:0,class:"flex items-center"},wet=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Oet=p("b",null,"Languages: ",-1),Net=["selected"],Met={key:1,class:"flex items-center"},Iet=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Det=p("b",null,"Language: ",-1),Let={class:"flex items-center"},ket=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Pet=p("b",null,"Category: ",-1),Uet=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),Fet=["title","innerHTML"],Bet={class:"rounded bg-blue-300"},Get=p("i",{"data-feather":"check"},null,-1),zet=p("span",{class:"sr-only"},"Select",-1),Het=[Get,zet],Vet=p("i",{"data-feather":"send",class:"w-5"},null,-1),qet=p("span",{class:"sr-only"},"Talk",-1),Yet=[Vet,qet];function $et(n,e,t,i,r,s){const o=ht("InteractiveMenu");return D(),L("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",s.selected_computed?"border-2 border-primary-light":"border-transparent",r.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:t.extension.installed?"":"Not installed"},[p("div",{class:Ke(t.extension.installed?"":"border-red-500")},[p("div",met,[p("img",{onClick:e[0]||(e[0]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),ref:"imgElement",src:s.getImgUrl(),onError:e[1]||(e[1]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,get),p("h3",{onClick:e[2]||(e[2]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},ge(t.extension.name),1)]),p("div",Eet,[p("div",bet,[p("div",yet,[vet,Tet,Ye(" "+ge(t.extension.author),1)]),p("div",xet,[Cet,Ret,Ye(" "+ge(t.extension.based_on),1)]),t.extension.languages&&t.select_language?(D(),L("div",Aet,[wet,Oet,we(p("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>t.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"},[(D(!0),L(Xe,null,St(t.extension.languages,(a,l)=>(D(),L("option",{key:l,selected:a==t.extension.languages[0]},ge(a),9,Net))),128))],512),[[Ci,t.extension.language]])])):se("",!0),t.extension.language?(D(),L("div",Met,[Iet,Det,Ye(" "+ge(t.extension.language),1)])):se("",!0),p("div",Let,[ket,Pet,Ye(" "+ge(t.extension.category),1)])]),Uet,p("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:t.extension.description,innerHTML:t.extension.description},null,8,Fet)]),p("div",Bet,[r.isMounted?(D(),L("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),e[5]||(e[5]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Het)):se("",!0),r.isMounted?(D(),L("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>s.toggleTalk&&s.toggleTalk(...a)),e[7]||(e[7]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Yet)):se("",!0),De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,het)}const Wet=bt(fet,[["render",$et]]),Ket="/assets/gpu-df72bf63.svg";const jet="/";Be.defaults.baseURL="/";const Qet={components:{AddModelDialog:LZe,MessageBox:pE,YesNoDialog:oje,ModelEntry:GQe,PersonalityViewer:nXe,Toast:Vs,PersonalityEntry:fw,BindingEntry:yZe,UniversalForm:iu,ChoiceDialog:fE,Card:Dl,RadioOptions:_et,ExtensionEntry:Wet},data(){return{binding_changed:!1,SVGGPU:Ket,models_zoo:[],models_zoo_initialLoadCount:10,models_zoo_loadMoreCount:5,models_zoo_loadedEntries:[],models_zoo_scrollThreshold:200,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:"bound_extensions",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,mep_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:jet,searchPersonality:"",searchExtension:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchExtensionInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){We.on("loading_text",this.on_loading_text),this.updateHasUpdates(),We.on("notification",this.notify)},methods:{notify(n){Fe(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),n.notification_type==0?this.$refs.toast.showToast(n.content,n.duration,n.status):n.notification_type==1&&this.$refs.messageBox.showMessage(n.content)},load_more_models(){this.models_zoo_initialLoadCount+10<this.models_zoo.length?this.models_zoo_initialLoadCount+=10:this.models_zoo_initialLoadCount=this.models_zoo.length},async modelsZooToggleCollapse(){this.mzc_collapsed=!this.mzc_collapsed,Fe(()=>{ze.replace()}),this.binding_changed&&!this.mzc_collapsed&&(this.modelsZoo==null||this.modelsZoo.length==0)&&(console.log("Refreshing models"),await this.$store.dispatch("refreshConfig"),this.models_zoo=[],this.refreshModelsZoo(),this.binding_changed=!1)},async selectSortOption(n){this.$store.state.sort_type=n,this.updateModelsZoo(),console.log(`Selected sorting:${n}`),console.log(`models:${this.models_zoo}`)},handleRadioSelected(n){this.isLoading=!0,this.selectSortOption(n).then(()=>{this.isLoading=!1})},filter_installed(n){return console.log("filtering"),n.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 n=await this.api_get_req("check_update");this.has_updates=n.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(n){this.selected_variant=n},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(n){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let e=this.currenModelToInstall;if(e.linkNotValid){e.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let t="https://huggingface.co/"+e.model.quantizer+"/"+e.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:t},console.log("installing...",this.addModel);const i=r=>{if(console.log("received something"),r.status&&r.progress<=100){if(this.addModel=r,console.log("Progress",r),e.progress=r.progress,e.speed=r.speed,e.total_size=r.total_size,e.downloaded_size=r.downloaded_size,e.start_time=r.start_time,e.installing=!0,e.progress==100){const s=this.models_zoo.findIndex(o=>o.name===e.model.name);this.models_zoo[s].isInstalled=!0,this.showProgress=!1,e.installing=!1,console.log("Received succeeded"),We.off("install_progress",i),console.log("Installed successfully"),this.$refs.toast.showToast(`Model:
+`);var I=0,Y=!1;this.parse=function(K,q,le){if(typeof K!="string")throw new Error("Input must be a string");var X=K.length,Z=R.length,_e=P.length,fe=k.length,ye=N(W),j=[],de=[],Q=[],he=I=0;if(!K)return Ue();if(x.header&&!q){var Ae=K.split(P)[0].split(R),O=[],F={},V=!1;for(var re in Ae){var ee=Ae[re];N(x.transformHeader)&&(ee=x.transformHeader(ee,re));var be=ee,xe=F[ee]||0;for(0<xe&&(V=!0,be=ee+"_"+xe),F[ee]=xe+1;O.includes(be);)be=be+"_"+xe;O.push(be)}if(V){var B=K.split(P);B[0]=O.join(R),K=B.join(P)}}if(H||H!==!1&&K.indexOf(y)===-1){for(var ae=K.split(P),te=0;te<ae.length;te++){if(Q=ae[te],I+=Q.length,te!==ae.length-1)I+=P.length;else if(le)return Ue();if(!k||Q.substring(0,fe)!==k){if(ye){if(j=[],J(Q.split(R)),Je(),Y)return Ue()}else J(Q.split(R));if(M&&M<=te)return j=j.slice(0,M),Ue(!0)}}return Ue()}for(var ie=K.indexOf(R,I),w=K.indexOf(P,I),A=new RegExp(g(z)+g(y),"g"),G=K.indexOf(y,I);;)if(K[I]!==y)if(k&&Q.length===0&&K.substring(I,I+fe)===k){if(w===-1)return Ue();I=w+_e,w=K.indexOf(P,I),ie=K.indexOf(R,I)}else if(ie!==-1&&(ie<w||w===-1))Q.push(K.substring(I,ie)),I=ie+Z,ie=K.indexOf(R,I);else{if(w===-1)break;if(Q.push(K.substring(I,w)),Me(w+_e),ye&&(Je(),Y))return Ue();if(M&&j.length>=M)return Ue(!0)}else for(G=I,I++;;){if((G=K.indexOf(y,G+1))===-1)return le||de.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:j.length,index:I}),Ee();if(G===X-1)return Ee(K.substring(I,G).replace(A,y));if(y!==z||K[G+1]!==z){if(y===z||G===0||K[G-1]!==z){ie!==-1&&ie<G+1&&(ie=K.indexOf(R,G+1)),w!==-1&&w<G+1&&(w=K.indexOf(P,G+1));var ce=ve(w===-1?ie:Math.min(ie,w));if(K.substr(G+1+ce,Z)===R){Q.push(K.substring(I,G).replace(A,y)),K[I=G+1+ce+Z]!==y&&(G=K.indexOf(y,I)),ie=K.indexOf(R,I),w=K.indexOf(P,I);break}var $=ve(w);if(K.substring(G+1+$,G+1+$+_e)===P){if(Q.push(K.substring(I,G).replace(A,y)),Me(G+1+$+_e),ie=K.indexOf(R,I),G=K.indexOf(y,I),ye&&(Je(),Y))return Ue();if(M&&j.length>=M)return Ue(!0);break}de.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:j.length,index:I}),G++}}else G++}return Ee();function J(Ne){j.push(Ne),he=I}function ve(Ne){var tt=0;if(Ne!==-1){var $e=K.substring(G+1,Ne);$e&&$e.trim()===""&&(tt=$e.length)}return tt}function Ee(Ne){return le||(Ne===void 0&&(Ne=K.substring(I)),Q.push(Ne),I=X,J(Q),ye&&Je()),Ue()}function Me(Ne){I=Ne,J(Q),Q=[],w=K.indexOf(P,I)}function Ue(Ne){return{data:j,errors:de,meta:{delimiter:R,linebreak:P,aborted:Y,truncated:!!Ne,cursor:he+(q||0)}}}function Je(){W(Ue()),j=[],de=[]}},this.abort=function(){Y=!0},this.getCharIndex=function(){return I}}function m(x){var y=x.data,R=o[y.workerId],P=!1;if(y.error)R.userError(y.error,y.file);else if(y.results&&y.results.data){var k={abort:function(){P=!0,S(y.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(N(R.userStep)){for(var W=0;W<y.results.data.length&&(R.userStep({data:y.results.data[W],errors:y.results.errors,meta:y.results.meta},k),!P);W++);delete y.results}else N(R.userChunk)&&(R.userChunk(y.results,k,y.file),delete y.results)}y.finished&&!P&&S(y.workerId,y.results)}function S(x,y){var R=o[x];N(R.userComplete)&&R.userComplete(y),R.terminate(),delete o[x]}function v(){throw new Error("Not implemented.")}function T(x){if(typeof x!="object"||x===null)return x;var y=Array.isArray(x)?[]:{};for(var R in x)y[R]=T(x[R]);return y}function C(x,y){return function(){x.apply(y,arguments)}}function N(x){return typeof x=="function"}return s&&(i.onmessage=function(x){var y=x.data;if(l.WORKER_ID===void 0&&y&&(l.WORKER_ID=y.workerId),typeof y.input=="string")i.postMessage({workerId:l.WORKER_ID,results:l.parse(y.input,y.config),finished:!0});else if(i.File&&y.input instanceof File||y.input instanceof Object){var R=l.parse(y.input,y.config);R&&i.postMessage({workerId:l.WORKER_ID,results:R,finished:!0})}}),(u.prototype=Object.create(d.prototype)).constructor=u,(_.prototype=Object.create(d.prototype)).constructor=_,(f.prototype=Object.create(f.prototype)).constructor=f,(E.prototype=Object.create(d.prototype)).constructor=E,l})})(pw);var TKe=pw.exports;const xKe=_r(TKe);const CKe={components:{Card:Dl},name:"HelpPage",data(){return{lollmsVersion:"unknown",faqs:[],githubLink:"https://github.com/ParisNeo/lollms-webui"}},mounted(){this.loadFAQs()},computed:{version:{get(){return this.$store.version}}},async created(){},methods:{async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(n=>n.text()).then(n=>{const{data:e}=xKe.parse(n,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(n=>{console.error("Error loading FAQs:",n)})},parseMultiline(n){return n.replace(/\n/g,"<br>")}}},fr=n=>(Gs("data-v-1c00af41"),n=n(),zs(),n),RKe={class:"container flex-row mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-1 md:grid-cols-2 gap-4"},AKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),wKe={class:"mb-4"},OKe=fr(()=>p("p",null,[Ye("Discord link: "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/vsGcArzs")],-1)),NKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),MKe={class:"list-disc pl-4"},IKe={class:"text-xl font-bold mb-1"},DKe=["innerHTML"],LKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Contact Us",-1)),kKe=fr(()=>p("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me.",-1)),PKe=fr(()=>p("p",null,[Ye("Discord link: "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/vsGcArzs")],-1)),UKe=fr(()=>p("h2",{class:"text-2xl font-bold mb-2"},"Credits",-1)),FKe=fr(()=>p("p",{class:"mb-4"},[Ye("This project is developed by "),p("span",{class:"font-bold"},"ParisNeo"),Ye(" With help from the community.")],-1)),BKe=fr(()=>p("p",{class:"mb-4"},[p("span",{class:"font-bold"},[p("a",{href:"https://github.com/ParisNeo/lollms-webui/graphs/contributors"},"Check out the full list of developers here and show them some love.")])],-1)),GKe=["href"];function zKe(n,e,t,i,r,s){const o=ut("Card");return D(),L("div",RKe,[De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[AKe,p("p",wKe," Lollms version "+ge(s.version),1),OKe]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[NKe,p("ul",MKe,[(D(!0),L(Xe,null,St(r.faqs,(a,l)=>(D(),L("li",{key:l},[p("h3",IKe,ge(a.question),1),p("p",{class:"mb-4",innerHTML:s.parseMultiline(a.answer)},null,8,DKe)]))),128))])]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[LKe,kKe,PKe]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[UKe,FKe,BKe,p("p",null,[Ye("Check out the project on "),p("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:r.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,GKe),Ye(".")])]),_:1})])}const HKe=Et(CKe,[["render",zKe],["__scopeId","data-v-1c00af41"]]);function Oi(n,e=!0,t=1){const i=e?1e3:1024;if(Math.abs(n)<i)return n+" B";const r=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let s=-1;const o=10**t;do n/=i,++s;while(Math.round(Math.abs(n)*o)/o>=i&&s<r.length-1);return n.toFixed(t)+" "+r[s]}const VKe={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(n){this.message=n,this.show=!0}}},qKe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},YKe={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},$Ke={class:"text-lg font-medium"},WKe={class:"mt-4 flex justify-center"};function KKe(n,e,t,i,r,s){return r.show?(D(),L("div",qKe,[p("div",YKe,[p("h3",$Ke,ge(r.message),1),p("div",WKe,[p("button",{onClick:e[0]||(e[0]=(...o)=>s.hide&&s.hide(...o)),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 ")])])])):se("",!0)}const pE=Et(VKe,[["render",KKe]]),jKe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},askQuestion(n,e,t){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=t||this.DenyButtonText,new Promise(i=>{this.message=n,this.show=!0,this.resolve=i})}}},QKe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},XKe={class:"relative w-full max-w-md max-h-full"},ZKe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},JKe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),eje=p("span",{class:"sr-only"},"Close modal",-1),tje=[JKe,eje],nje={class:"p-4 text-center"},ije=p("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"},[p("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),rje={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function sje(n,e,t,i,r,s){return r.show?(D(),L("div",QKe,[p("div",XKe,[p("div",ZKe,[p("button",{type:"button",onClick:e[0]||(e[0]=o=>s.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"},tje),p("div",nje,[ije,p("h3",rje,ge(r.message),1),p("button",{onClick:e[1]||(e[1]=o=>s.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"},ge(r.ConfirmButtonText),1),p("button",{onClick:e[2]||(e[2]=o=>s.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"},ge(r.DenyButtonText),1)])])])])):se("",!0)}const oje=Et(jKe,[["render",sje]]),vi="/assets/logo-023c77a1.png";const aje={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},menuIconClass:{type:String,required:!1,default:""},selected_entry:{type:String,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(n){const e=this.$refs.menu,t=this.$refs.menuButton;e&&!e.contains(n.target)&&!t.contains(n.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),Fe(()=>{ze.replace()})},executeCommand(n){this.isMenuOpen=!1,console.log("Selected"),console.log(n.value),typeof n.value=="function"&&(console.log("Command detected"),n.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(n))},positionMenu(){var n;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),t=window.innerHeight;n=e.bottom>t/2}else this.force_position==1?n=!0:n=!1;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),Fe(()=>{ze.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},lje={class:"menu-container"},cje=["title"],dje=["src"],uje=["data-feather"],_je={key:2,class:"w-5 h-5"},pje={key:3,"data-feather":"menu"},fje={class:"flex-grow menu-ul"},hje=["onClick"],mje={key:0,"data-feather":"check"},gje=["src","alt"],Eje=["data-feather"],bje={key:3,class:"menu-icon"};function Sje(n,e,t,i,r,s){return D(),L("div",lje,[p("button",{onClick:e[0]||(e[0]=Ie((...o)=>s.toggleMenu&&s.toggleMenu(...o),["prevent"])),title:t.title,class:Ke([t.menuIconClass,"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"},[t.icon&&!t.icon.includes("#")&&!t.icon.includes("feather")?(D(),L("img",{key:0,src:t.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,dje)):t.icon&&t.icon.includes("feather")?(D(),L("i",{key:1,"data-feather":t.icon.split(":")[1],class:"w-5 h-5"},null,8,uje)):t.icon&&t.icon.includes("#")?(D(),L("p",_je,ge(t.icon.split("#")[1]),1)):(D(),L("i",pje))],10,cje),De(Uo,{name:"slide"},{default:ot(()=>[r.isMenuOpen?(D(),L("div",{key:0,class:"menu-list flex-grow",style:Rn(r.menuPosition),ref:"menu"},[p("ul",fje,[(D(!0),L(Xe,null,St(t.commands,(o,a)=>(D(),L("li",{key:a,onClick:Ie(l=>s.executeCommand(o),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[t.selected_entry==o.name?(D(),L("i",mje)):o.icon&&!o.icon.includes("feather")&&!o.is_file?(D(),L("img",{key:1,src:o.icon,alt:o.name,class:"menu-icon"},null,8,gje)):se("",!0),o.icon&&o.icon.includes("feather")&&!o.is_file?(D(),L("i",{key:2,"data-feather":o.icon.split(":")[1],class:"mr-2"},null,8,Eje)):(D(),L("span",bje)),p("span",null,ge(o.name),1)],8,hje))),128))])],4)):se("",!0)]),_:1})])}const Ll=Et(aje,[["render",Sje]]),yje={components:{InteractiveMenu:Ll},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(){Fe(()=>{ze.replace()})},methods:{formatFileSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(n){return Oi(n)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?vi:this.model.icon},defaultImg(n){n.target.src=vi},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(n=!1){this.onSelected(this,n),this.model.selected=!0,Fe(()=>{ze.replace()})},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this),this.installing=!1},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 cursor-pointer":"border-0 border-primary bg-primary cursor-pointer":"border-transparent"},commandsList(){let n=[{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&&n.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),n},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const n=this.model.variants[0].size;return this.formatFileSize(n)}return null}},speed_computed(){return Oi(this.speed)},total_size_computed(){return Oi(this.total_size)},downloaded_size_computed(){return Oi(this.downloaded_size)}},watch:{linkNotValid(){Fe(()=>{ze.replace()})}}},vje=["title"],Tje={key:0,class:"flex flex-row"},xje={class:"max-w-[300px] overflow-x-auto"},Cje={class:"flex gap-3 items-center grow"},Rje=["href"],Aje=["src"],wje={class:"flex-1 overflow-hidden"},Oje={class:"font-bold font-large text-lg truncate"},Nje={key:1,class:"flex items-center flex-row gap-2 my-1"},Mje={class:"flex grow items-center"},Ije=p("i",{"data-feather":"box",class:"w-5"},null,-1),Dje=p("span",{class:"sr-only"},"Custom model / local model",-1),Lje=[Ije,Dje],kje=p("span",{class:"sr-only"},"Remove",-1),Pje={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"},Uje={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Fje=p("div",{role:"status",class:"justify-center"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1),Bje={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Gje={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},zje={class:"flex justify-between mb-1"},Hje=p("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Vje={class:"text-sm font-medium text-blue-700 dark:text-white"},qje={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Yje={class:"flex justify-between mb-1"},$je={class:"text-base font-medium text-blue-700 dark:text-white"},Wje={class:"text-sm font-medium text-blue-700 dark:text-white"},Kje={class:"flex flex-grow"},jje={class:"flex flex-row flex-grow gap-3"},Qje={class:"p-2 text-center grow"},Xje={key:3},Zje={class:"flex flex-row items-center gap-3"},Jje=["src"],eQe={class:"font-bold font-large text-lg truncate"},tQe=p("div",{class:"grow"},null,-1),nQe={class:"flex items-center flex-row-reverse gap-2 my-1"},iQe={class:"flex flex-row items-center"},rQe={key:0,class:"text-base text-red-600 flex items-center mt-1"},sQe=p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),oQe=["title"],aQe={class:""},lQe={class:"flex flex-row items-center"},cQe=p("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),dQe=p("b",null,"Card: ",-1),uQe=["href","title"],_Qe=p("div",{class:"grow"},null,-1),pQe=p("i",{"data-feather":"clipboard",class:"w-5"},null,-1),fQe=[pQe],hQe={class:"flex items-center"},mQe=p("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),gQe=p("b",null,"File size: ",-1),EQe={class:"flex items-center"},bQe=p("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),SQe=p("b",null,"License: ",-1),yQe={key:0,class:"flex items-center"},vQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),TQe=p("b",null,"quantizer: ",-1),xQe=["href"],CQe={class:"flex items-center"},RQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),AQe=p("b",null,"Model creator: ",-1),wQe=["href"],OQe={class:"flex items-center"},NQe=p("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),MQe=p("b",null,"Release date: ",-1),IQe={class:"flex items-center"},DQe=p("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),LQe=p("b",null,"Category: ",-1),kQe=["href"],PQe={class:"flex items-center"},UQe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),FQe=p("b",null,"Hugging face rank: ",-1);function BQe(n,e,t,i,r,s){const o=ut("InteractiveMenu");return D(),L("div",{class:Ke(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",s.computed_classes]),title:t.model.name,onClick:e[11]||(e[11]=Ie(a=>s.toggleSelected(),["prevent"]))},[t.model.isCustomModel?(D(),L("div",Tje,[p("div",xje,[p("div",Cje,[p("a",{href:t.model.model_creator_link,target:"_blank"},[p("img",{src:s.getImgUrl(),onError:e[0]||(e[0]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Aje)],8,Rje),p("div",wje,[p("h3",Oje,ge(t.model.name),1)])])])])):se("",!0),t.model.isCustomModel?(D(),L("div",Nje,[p("div",Mje,[p("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]=Ie(()=>{},["stop"]))},Lje),Ye(" Custom model ")]),p("div",null,[t.model.isInstalled?(D(),L("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=Ie((...a)=>s.toggleInstall&&s.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"},[Ye(" Uninstall "),kje])):se("",!0)])])):se("",!0),r.installing?(D(),L("div",Pje,[p("div",Uje,[Fje,p("div",Bje,[p("div",Gje,[p("div",zje,[Hje,p("span",Vje,ge(Math.floor(r.progress))+"%",1)]),p("div",qje,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn({width:r.progress+"%"})},null,4)]),p("div",Yje,[p("span",$je,"Download speed: "+ge(s.speed_computed)+"/s",1),p("span",Wje,ge(s.downloaded_size_computed)+"/"+ge(s.total_size_computed),1)])])]),p("div",Kje,[p("div",jje,[p("div",Qje,[p("button",{onClick:e[3]||(e[3]=Ie((...a)=>s.toggleCancelInstall&&s.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 ")])])])])])):se("",!0),t.model.isCustomModel?se("",!0):(D(),L("div",Xje,[p("div",Zje,[p("img",{ref:"imgElement",src:s.getImgUrl(),onError:e[4]||(e[4]=a=>s.defaultImg(a)),class:Ke(["w-10 h-10 rounded-lg object-fill",r.linkNotValid?"grayscale":""])},null,42,Jje),p("h3",eQe,ge(t.model.name),1),tQe,De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),p("div",nQe,[p("div",iQe,[r.linkNotValid?(D(),L("div",rQe,[sQe,Ye(" Link is not valid ")])):se("",!0)])]),p("div",{class:"",title:t.model.isInstalled?t.model.name:"Not installed"},[p("div",aQe,[p("div",lQe,[cQe,dQe,p("a",{href:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name,target:"_blank",onClick:e[5]||(e[5]=Ie(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:r.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/<current binding> folder then refresh"}," View full model card ",8,uQe),_Qe,p("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[6]||(e[6]=Ie(a=>s.toggleCopyLink(),["stop"]))},fQe)]),p("div",hQe,[p("div",{class:Ke(["flex flex-shrink-0 items-center",r.linkNotValid?"text-red-600":""])},[mQe,gQe,Ye(" "+ge(s.fileSize),1)],2)]),p("div",EQe,[bQe,SQe,Ye(" "+ge(t.model.license),1)]),t.model.quantizer!="None"?(D(),L("div",yQe,[vQe,TQe,p("a",{href:"https://huggingface.co/"+t.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[7]||(e[7]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.quantizer),9,xQe)])):se("",!0),p("div",CQe,[RQe,AQe,p("a",{href:t.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[8]||(e[8]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.model_creator),9,wQe)]),p("div",OQe,[NQe,MQe,Ye(" "+ge(t.model.last_commit_time),1)]),p("div",IQe,[DQe,LQe,p("a",{href:"https://huggingface.co/"+t.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[9]||(e[9]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.category),9,kQe)]),p("div",PQe,[UQe,FQe,p("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=Ie(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ge(t.model.rank),1)])])],8,oQe)]))],10,vje)}const GQe=Et(yje,[["render",BQe]]),zQe={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}}},HQe={class:"p-4"},VQe={class:"flex items-center mb-4"},qQe=["src"],YQe={class:"text-lg font-semibold"},$Qe=p("strong",null,"Author:",-1),WQe=p("strong",null,"Description:",-1),KQe=p("strong",null,"Category:",-1),jQe={key:0},QQe=p("strong",null,"Disclaimer:",-1),XQe=p("strong",null,"Conditioning Text:",-1),ZQe=p("strong",null,"AI Prefix:",-1),JQe=p("strong",null,"User Prefix:",-1),eXe=p("strong",null,"Antiprompts:",-1);function tXe(n,e,t,i,r,s){return D(),L("div",HQe,[p("div",VQe,[p("img",{src:r.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,qQe),p("h2",YQe,ge(r.personalityName),1)]),p("p",null,[$Qe,Ye(" "+ge(r.personalityAuthor),1)]),p("p",null,[WQe,Ye(" "+ge(r.personalityDescription),1)]),p("p",null,[KQe,Ye(" "+ge(r.personalityCategory),1)]),r.disclaimer?(D(),L("p",jQe,[QQe,Ye(" "+ge(r.disclaimer),1)])):se("",!0),p("p",null,[XQe,Ye(" "+ge(r.conditioningText),1)]),p("p",null,[ZQe,Ye(" "+ge(r.aiPrefix),1)]),p("p",null,[JQe,Ye(" "+ge(r.userPrefix),1)]),p("div",null,[eXe,p("ul",null,[(D(!0),L(Xe,null,St(r.antipromptsList,o=>(D(),L("li",{key:o.id},ge(o.text),1))),128))])]),p("button",{onClick:e[0]||(e[0]=o=>r.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),r.editMode?(D(),L("button",{key:1,onClick:e[1]||(e[1]=(...o)=>s.commitChanges&&s.commitChanges(...o)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):se("",!0)])}const nXe=Et(zQe,[["render",tXe]]),ha="/assets/logo-9d653710.svg",iXe="/",rXe={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onReinstall:Function,onSettings:Function,onCopyPersonalityName:Function},components:{InteractiveMenu:Ll},data(){return{isMounted:!1,name:this.personality.name}},computed:{commandsList(){let n=[{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&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,Fe(()=>{ze.replace()})},methods:{getImgUrl(){return iXe+this.personality.avatar},defaultImg(n){n.target.src=ha},toggleTalk(){this.onTalk(this)},toggleCopyLink(){this.onCopyPersonalityName(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(){Fe(()=>{ze.replace()})}}},sXe=["title"],oXe={class:"flex flex-row items-center flex-shrink-0 gap-3"},aXe=["src"],lXe=p("i",{"data-feather":"clipboard",class:"w-5"},null,-1),cXe=[lXe],dXe={class:""},uXe={class:""},_Xe={class:"flex items-center"},pXe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),fXe=p("b",null,"Author: ",-1),hXe={class:"flex items-center"},mXe=p("i",{"data-feather":"git-commit",class:"w-5 m-1"},null,-1),gXe=p("b",null,"Version: ",-1),EXe={key:0,class:"flex items-center"},bXe=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),SXe=p("b",null,"Languages: ",-1),yXe=["selected"],vXe={key:1,class:"flex items-center"},TXe=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),xXe=p("b",null,"Language: ",-1),CXe={class:"flex items-center"},RXe=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),AXe=p("b",null,"Category: ",-1),wXe=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),OXe=["title","innerHTML"],NXe={class:"rounded bg-blue-300"},MXe=p("i",{"data-feather":"check"},null,-1),IXe=p("span",{class:"sr-only"},"Select",-1),DXe=[MXe,IXe],LXe=p("i",{"data-feather":"send",class:"w-5"},null,-1),kXe=p("span",{class:"sr-only"},"Talk",-1),PXe=[LXe,kXe];function UXe(n,e,t,i,r,s){const o=ut("InteractiveMenu");return D(),L("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",s.selected_computed?"border-2 border-primary-light":"border-transparent",r.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:t.personality.installed?"":"Not installed"},[p("div",{class:Ke(t.personality.installed?"":"border-red-500")},[p("div",oXe,[p("img",{onClick:e[0]||(e[0]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),ref:"imgElement",src:s.getImgUrl(),onError:e[1]||(e[1]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,aXe),p("h3",{onClick:e[2]||(e[2]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},ge(t.personality.name),1),p("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[3]||(e[3]=Ie(a=>s.toggleCopyLink(),["stop"]))},cXe)]),p("div",dXe,[p("div",uXe,[p("div",_Xe,[pXe,fXe,Ye(" "+ge(t.personality.author),1)]),p("div",hXe,[mXe,gXe,Ye(" "+ge(t.personality.version),1)]),t.personality.languages&&t.select_language?(D(),L("div",EXe,[bXe,SXe,we(p("select",{id:"languages","onUpdate:modelValue":e[4]||(e[4]=a=>t.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"},[(D(!0),L(Xe,null,St(t.personality.languages,(a,l)=>(D(),L("option",{key:l,selected:a==t.personality.languages[0]},ge(a),9,yXe))),128))],512),[[Ci,t.personality.language]])])):se("",!0),t.personality.language?(D(),L("div",vXe,[TXe,xXe,Ye(" "+ge(t.personality.language),1)])):se("",!0),p("div",CXe,[RXe,AXe,Ye(" "+ge(t.personality.category),1)])]),wXe,p("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:t.personality.description,innerHTML:t.personality.description},null,8,OXe)]),p("div",NXe,[r.isMounted?(D(),L("button",{key:0,type:"button",title:"Select",onClick:[e[5]||(e[5]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),e[6]||(e[6]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},DXe)):se("",!0),r.isMounted?(D(),L("button",{key:1,type:"button",title:"Talk",onClick:[e[7]||(e[7]=(...a)=>s.toggleTalk&&s.toggleTalk(...a)),e[8]||(e[8]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},PXe)):se("",!0),De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,sXe)}const fw=Et(rXe,[["render",UXe]]);const FXe={props:{code:String},data(){return{evaluatedCode:"",componentKey:0}},watch:{code:{handler(n){console.log("Code changed"),this.evaluateScriptTags(n),this.componentKey++},immediate:!0}},methods:{evaluateScriptTags(n){const e=document.createElement("div");e.innerHTML=n,e.querySelectorAll("script").forEach(i=>{const r=document.createElement("script");r.textContent=i.textContent,document.body.appendChild(r),document.body.removeChild(r)}),this.evaluatedCode=e.innerHTML,console.log("evaluated code: "+this.evaluatedCode)}}},BXe=["innerHTML"];function GXe(n,e,t,i,r,s){return D(),L("div",{innerHTML:r.evaluatedCode,key:r.componentKey},null,8,BXe)}const hw=Et(FXe,[["render",GXe]]),zXe="/",HXe={components:{DynamicUIRenderer:hw},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){Fe(()=>{ze.replace()})},methods:{getImgUrl(){return zXe+this.binding.icon},defaultImg(n){n.target.src=ha},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(){Fe(()=>{ze.replace()})}}},VXe=["title"],qXe={class:"flex flex-row items-center gap-3"},YXe=["src"],$Xe={class:"font-bold font-large text-lg truncate"},WXe=p("div",{class:"grow"},null,-1),KXe={class:"flex-none gap-1"},jXe=p("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),QXe=p("span",{class:"sr-only"},"Help",-1),XXe=[jXe,QXe],ZXe={class:"flex items-center flex-row-reverse gap-2 my-1"},JXe=p("span",{class:"sr-only"},"Click to install",-1),eZe=p("span",{class:"sr-only"},"Reinstall",-1),tZe=p("span",{class:"sr-only"},"UnInstall",-1),nZe=p("span",{class:"sr-only"},"Settings",-1),iZe={class:""},rZe={class:""},sZe={class:"flex items-center"},oZe=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),aZe=p("b",null,"Author: ",-1),lZe={class:"flex items-center"},cZe=p("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),dZe=p("b",null,"Folder: ",-1),uZe={class:"flex items-center"},_Ze=p("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),pZe=p("b",null,"Version: ",-1),fZe={class:"flex items-center"},hZe=p("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),mZe=p("b",null,"Link: ",-1),gZe=["href"],EZe=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),bZe=["title","innerHTML"];function SZe(n,e,t,i,r,s){const o=ut("DynamicUIRenderer");return D(),L("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",t.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[7]||(e[7]=Ie((...a)=>s.toggleSelected&&s.toggleSelected(...a),["stop"])),title:t.binding.installed?t.binding.name:"Not installed"},[p("div",null,[p("div",qXe,[p("img",{ref:"imgElement",src:s.getImgUrl(),onError:e[0]||(e[0]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,YXe),p("h3",$Xe,ge(t.binding.name),1),WXe,p("div",KXe,[t.selected?(D(),L("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>s.toggleReloadBinding&&s.toggleReloadBinding(...a)),e[2]||(e[2]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},XXe)):se("",!0)])]),p("div",ZXe,[t.binding.installed?se("",!0):(D(),L("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=Ie((...a)=>s.toggleInstall&&s.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"},[Ye(" Install "),JXe])),t.binding.installed?(D(),L("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=Ie((...a)=>s.toggleReinstall&&s.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"},[Ye(" Reinstall "),eZe])):se("",!0),t.binding.installed?(D(),L("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=Ie((...a)=>s.toggleUnInstall&&s.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"},[Ye(" Uninstall "),tZe])):se("",!0),t.selected?(D(),L("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=Ie((...a)=>s.toggleSettings&&s.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"},[Ye(" Settings "),nZe])):se("",!0)]),t.binding.ui?(D(),jt(o,{key:0,class:"w-full h-full",code:t.binding.ui},null,8,["code"])):se("",!0),p("div",iZe,[p("div",rZe,[p("div",sZe,[oZe,aZe,Ye(" "+ge(t.binding.author),1)]),p("div",lZe,[cZe,dZe,Ye(" "+ge(t.binding.folder),1)]),p("div",uZe,[_Ze,pZe,Ye(" "+ge(t.binding.version),1)]),p("div",fZe,[hZe,mZe,p("a",{href:t.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ge(t.binding.link),9,gZe)])]),EZe,p("p",{class:"mx-1 opacity-80 line-clamp-3",title:t.binding.description,innerHTML:t.binding.description},null,8,bZe)])])],10,VXe)}const yZe=Et(HXe,[["render",SZe]]),vZe={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(n=>{this.resolve=n})},hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},showDialog(n){return new Promise(e=>{this.model_path=n,this.show=!0,this.resolve=e})}}},TZe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},xZe={class:"relative w-full max-w-md max-h-full"},CZe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},RZe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),AZe=p("span",{class:"sr-only"},"Close modal",-1),wZe=[RZe,AZe],OZe={class:"p-4 text-center"},NZe=p("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"},[p("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),MZe={class:"p-4 text-center mx-auto mb-4"},IZe=p("label",{class:"mr-2"},"Model path",-1);function DZe(n,e,t,i,r,s){return r.show?(D(),L("div",TZe,[p("div",xZe,[p("div",CZe,[p("button",{type:"button",onClick:e[0]||(e[0]=o=>s.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"},wZe),p("div",OZe,[NZe,p("div",MZe,[IZe,we(p("input",{"onUpdate:modelValue":e[1]||(e[1]=o=>r.model_path=o),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[et,r.model_path]])]),p("button",{onClick:e[2]||(e[2]=o=>s.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 "),p("button",{onClick:e[3]||(e[3]=o=>s.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")])])])])):se("",!0)}const LZe=Et(vZe,[["render",DZe]]),kZe={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){Fe(()=>{ze.replace()})},methods:{hide(n){this.show=!1,this.resolve&&n&&(this.resolve(this.controls_array),this.resolve=null)},showForm(n,e,t,i){this.ConfirmButtonText=t||this.ConfirmButtonText,this.DenyButtonText=i||this.DenyButtonText;for(let r=0;r<n.length;r++)n[r].isHelp=!1;return new Promise(r=>{this.controls_array=n,this.show=!0,this.title=e||this.title,this.resolve=r,console.log("show form",this.controls_array)})}},watch:{controls_array:{deep:!0,handler(n){n.forEach(e=>{e.type==="int"?e.value=parseInt(e.value):e.type==="float"&&(e.value=parseFloat(e.value))})}},show(){Fe(()=>{ze.replace()})}}},PZe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},UZe={class:"relative w-full max-w-md"},FZe={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},BZe={class:"flex flex-row flex-grow items-center m-2 p-1"},GZe={class:"grow flex items-center"},zZe=p("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),HZe={class:"text-lg font-semibold select-none mr-2"},VZe={class:"items-end"},qZe=p("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[p("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),YZe=p("span",{class:"sr-only"},"Close form modal",-1),$Ze=[qZe,YZe],WZe={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},KZe={class:"px-2"},jZe={key:0},QZe={key:0},XZe={class:"text-base font-semibold"},ZZe={key:0,class:"relative inline-flex"},JZe=["onUpdate:modelValue"],eJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),tJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},nJe=["onUpdate:modelValue"],iJe={key:1},rJe={class:"text-base font-semibold"},sJe={key:0,class:"relative inline-flex"},oJe=["onUpdate:modelValue"],aJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),lJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cJe=["onUpdate:modelValue"],dJe=["value","selected"],uJe={key:1},_Je={class:"text-base font-semibold"},pJe={key:0,class:"relative inline-flex"},fJe=["onUpdate:modelValue"],hJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},gJe=["onUpdate:modelValue"],EJe=["onUpdate:modelValue","min","max"],bJe={key:2},SJe={class:"text-base font-semibold"},yJe={key:0,class:"relative inline-flex"},vJe=["onUpdate:modelValue"],TJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),xJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},CJe=["onUpdate:modelValue"],RJe=["onUpdate:modelValue","min","max"],AJe={key:3},wJe={class:"mb-2 relative flex items-center gap-2"},OJe={for:"default-checkbox",class:"text-base font-semibold"},NJe=["onUpdate:modelValue"],MJe={key:0,class:"relative inline-flex"},IJe=["onUpdate:modelValue"],DJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),LJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kJe={key:4},PJe={class:"text-base font-semibold"},UJe={key:0,class:"relative inline-flex"},FJe=["onUpdate:modelValue"],BJe=p("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[p("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),GJe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zJe=["onUpdate:modelValue"],HJe=p("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),VJe={class:"flex flex-row flex-grow gap-3"},qJe={class:"p-2 text-center grow"};function YJe(n,e,t,i,r,s){return r.show?(D(),L("div",PZe,[p("div",UZe,[p("div",FZe,[p("div",BZe,[p("div",GZe,[zZe,p("h3",HZe,ge(r.title),1)]),p("div",VZe,[p("button",{type:"button",onClick:e[0]||(e[0]=Ie(o=>s.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"},$Ze)])]),p("div",WZe,[(D(!0),L(Xe,null,St(r.controls_array,(o,a)=>(D(),L("div",KZe,[o.type=="str"?(D(),L("div",jZe,[o.options?se("",!0):(D(),L("div",QZe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",XZe,ge(o.name)+": ",1),o.help?(D(),L("label",ZZe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,JZe),[[Ft,o.isHelp]]),eJe])):se("",!0)],2),o.isHelp?(D(),L("p",tJe,ge(o.help),1)):se("",!0),we(p("input",{type:"text","onUpdate:modelValue":l=>o.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,nJe),[[et,o.value]])])),o.options?(D(),L("div",iJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",rJe,ge(o.name)+": ",1),o.help?(D(),L("label",sJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,oJe),[[Ft,o.isHelp]]),aJe])):se("",!0)],2),o.isHelp?(D(),L("p",lJe,ge(o.help),1)):se("",!0),we(p("select",{"onUpdate:modelValue":l=>o.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"},[(D(!0),L(Xe,null,St(o.options,l=>(D(),L("option",{value:l,selected:o.value===l},ge(l),9,dJe))),256))],8,cJe),[[Ci,o.value]])])):se("",!0)])):se("",!0),o.type=="int"?(D(),L("div",uJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",_Je,ge(o.name)+": ",1),o.help?(D(),L("label",pJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,fJe),[[Ft,o.isHelp]]),hJe])):se("",!0)],2),o.isHelp?(D(),L("p",mJe,ge(o.help),1)):se("",!0),we(p("input",{type:"number","onUpdate:modelValue":l=>o.value=l,step:"1",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,gJe),[[et,o.value]]),o.min!=null&&o.max!=null?we((D(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>o.value=l,min:o.min,max:o.max,step:"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,EJe)),[[et,o.value]]):se("",!0)])):se("",!0),o.type=="float"?(D(),L("div",bJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",SJe,ge(o.name)+": ",1),o.help?(D(),L("label",yJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,vJe),[[Ft,o.isHelp]]),TJe])):se("",!0)],2),o.isHelp?(D(),L("p",xJe,ge(o.help),1)):se("",!0),we(p("input",{type:"number","onUpdate:modelValue":l=>o.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,CJe),[[et,o.value]]),o.min!=null&&o.max!=null?we((D(),L("input",{key:1,type:"range","onUpdate:modelValue":l=>o.value=l,min:o.min,max:o.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,RJe)),[[et,o.value]]):se("",!0)])):se("",!0),o.type=="bool"?(D(),L("div",AJe,[p("div",wJe,[p("label",OJe,ge(o.name)+": ",1),we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.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,NJe),[[Ft,o.value]]),o.help?(D(),L("label",MJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,IJe),[[Ft,o.isHelp]]),DJe])):se("",!0)]),o.isHelp?(D(),L("p",LJe,ge(o.help),1)):se("",!0)])):se("",!0),o.type=="list"?(D(),L("div",kJe,[p("label",{class:Ke(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[p("div",PJe,ge(o.name)+": ",1),o.help?(D(),L("label",UJe,[we(p("input",{type:"checkbox","onUpdate:modelValue":l=>o.isHelp=l,class:"sr-only peer"},null,8,FJe),[[Ft,o.isHelp]]),BJe])):se("",!0)],2),o.isHelp?(D(),L("p",GJe,ge(o.help),1)):se("",!0),we(p("input",{type:"text","onUpdate:modelValue":l=>o.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,zJe),[[et,o.value]])])):se("",!0),HJe]))),256)),p("div",VJe,[p("div",qJe,[p("button",{onClick:e[1]||(e[1]=Ie(o=>s.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"},ge(r.ConfirmButtonText),1),p("button",{onClick:e[2]||(e[2]=Ie(o=>s.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"},ge(r.DenyButtonText),1)])])])])])])):se("",!0)}const iu=Et(kZe,[["render",YJe]]);const $Je={props:{show:{type:Boolean,default:!1,required:!1},can_remove:{type:Boolean,default:!1},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null,showInput:!1,newFilename:""}},methods:{displayName(n){return console.log("choice:",n),typeof n=="string"?n:n&&n.name?n.name:""},selectChoice(n){this.selectedChoice=n,this.$emit("choice-selected",n)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated",this.selectedChoice)},formatSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},toggleInput(){this.showInput=!this.showInput},addNewFilename(){const n=this.newFilename.trim();n!==""&&(this.choices.push(n),this.newFilename="",this.selectChoice(n)),this.showInput=!1},removeChoice(n,e){this.choices.splice(e,1),n===this.selectedChoice&&(this.selectedChoice=null),this.$emit("choice-removed",n)}}},WJe={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},KJe={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},jJe={class:"text-xl font-semibold mb-4"},QJe={class:"h-48 overflow-y-auto"},XJe=["onClick"],ZJe={class:"font-bold"},JJe=p("br",null,null,-1),eet={key:0,class:"text-xs text-gray-500"},tet=["onClick"],net={key:0,class:"mt-4"},iet={class:"flex justify-end mt-4"},ret=["disabled"];function set(n,e,t,i,r,s){return D(),jt(Uo,{name:"fade"},{default:ot(()=>[t.show?(D(),L("div",WJe,[p("div",KJe,[p("h2",jJe,ge(t.title),1),p("div",QJe,[p("ul",null,[(D(!0),L(Xe,null,St(t.choices,(o,a)=>(D(),L("li",{key:a,onClick:l=>s.selectChoice(o),class:Ke([{"selected-choice":o===r.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[p("span",ZJe,ge(s.displayName(o)),1),JJe,o.size?(D(),L("span",eet,ge(s.formatSize(o.size)),1)):se("",!0),t.can_remove?(D(),L("button",{key:1,onClick:l=>s.removeChoice(o,a),class:"ml-2 text-red-500 hover:text-red-600"}," X ",8,tet)):se("",!0)],10,XJe))),128))])]),r.showInput?(D(),L("div",net,[we(p("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>r.newFilename=o),placeholder:"Enter a filename",class:"border border-gray-300 p-2 rounded-lg w-full"},null,512),[[et,r.newFilename]]),p("button",{onClick:e[1]||(e[1]=(...o)=>s.addNewFilename&&s.addNewFilename(...o)),class:"mt-2 py-2 px-4 bg-green-500 hover:bg-green-600 text-white rounded-lg transition duration-300"}," Add ")])):se("",!0),p("div",iet,[p("button",{onClick:e[2]||(e[2]=(...o)=>s.closeDialog&&s.closeDialog(...o)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),p("button",{onClick:e[3]||(e[3]=(...o)=>s.validateChoice&&s.validateChoice(...o)),class:Ke([{"bg-gray-400 cursor-not-allowed":!r.selectedChoice,"bg-blue-500 hover:bg-blue-600":r.selectedChoice,"text-white":r.selectedChoice,"text-gray-500":!r.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!r.selectedChoice}," Validate ",10,ret),p("button",{onClick:e[4]||(e[4]=(...o)=>s.toggleInput&&s.toggleInput(...o)),class:"py-2 px-4 ml-2 bg-blue-500 hover:bg-blue-600 text-white rounded-lg transition duration-300"}," Add New ")])])])):se("",!0)]),_:1})}const fE=Et($Je,[["render",set]]),oet={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:0}},data(){return{selectedValue:this.defaultValue}},methods:{handleRadioChange(n){this.selectedValue!==null&&this.$emit("radio-selected",this.selectedValue,n)}}},aet={class:"flex space-x-4"},cet=["value","onChange"],det={class:"text-gray-700"};function uet(n,e,t,i,r,s){return D(),L("div",aet,[(D(!0),L(Xe,null,St(t.radioOptions,(o,a)=>(D(),L("label",{key:o.value,class:"flex items-center space-x-2"},[we(p("input",{type:"radio",value:o.value,"onUpdate:modelValue":e[0]||(e[0]=l=>r.selectedValue=l),onChange:l=>s.handleRadioChange(a),class:"text-blue-500 focus:ring-2 focus:ring-blue-200"},null,40,cet),[[lI,r.selectedValue]]),p("span",det,ge(o.label),1)]))),128))])}const _et=Et(oet,[["render",uet]]),pet="/",fet={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:Ll},data(){return{isMounted:!1,name:this.extension.name}},computed:{commandsList(){let n=[{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&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.extension.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.extension.isMounted,Fe(()=>{ze.replace()})},methods:{getImgUrl(){return pet+this.extension.avatar},defaultImg(n){n.target.src=ha},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(){Fe(()=>{ze.replace()})}}},het=["title"],met={class:"flex flex-row items-center flex-shrink-0 gap-3"},get=["src"],Eet={class:""},bet={class:""},yet={class:"flex items-center"},vet=p("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Tet=p("b",null,"Author: ",-1),xet={class:"flex items-center"},Cet=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ret=p("b",null,"Based on: ",-1),Aet={key:0,class:"flex items-center"},wet=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Oet=p("b",null,"Languages: ",-1),Net=["selected"],Met={key:1,class:"flex items-center"},Iet=p("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Det=p("b",null,"Language: ",-1),Let={class:"flex items-center"},ket=p("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Pet=p("b",null,"Category: ",-1),Uet=p("div",{class:"flex items-center"},[p("i",{"data-feather":"info",class:"w-5 m-1"}),p("b",null,"Description: "),p("br")],-1),Fet=["title","innerHTML"],Bet={class:"rounded bg-blue-300"},Get=p("i",{"data-feather":"check"},null,-1),zet=p("span",{class:"sr-only"},"Select",-1),Het=[Get,zet],Vet=p("i",{"data-feather":"send",class:"w-5"},null,-1),qet=p("span",{class:"sr-only"},"Talk",-1),Yet=[Vet,qet];function $et(n,e,t,i,r,s){const o=ut("InteractiveMenu");return D(),L("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",s.selected_computed?"border-2 border-primary-light":"border-transparent",r.isMounted?"bg-blue-200 dark:bg-blue-700":""]),tabindex:"-1",title:t.extension.installed?"":"Not installed"},[p("div",{class:Ke(t.extension.installed?"":"border-red-500")},[p("div",met,[p("img",{onClick:e[0]||(e[0]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),ref:"imgElement",src:s.getImgUrl(),onError:e[1]||(e[1]=a=>s.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-red-700 cursor-pointer"},null,40,get),p("h3",{onClick:e[2]||(e[2]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),class:"font-bold font-large text-lg line-clamp-3 cursor-pointer"},ge(t.extension.name),1)]),p("div",Eet,[p("div",bet,[p("div",yet,[vet,Tet,Ye(" "+ge(t.extension.author),1)]),p("div",xet,[Cet,Ret,Ye(" "+ge(t.extension.based_on),1)]),t.extension.languages&&t.select_language?(D(),L("div",Aet,[wet,Oet,we(p("select",{id:"languages","onUpdate:modelValue":e[3]||(e[3]=a=>t.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"},[(D(!0),L(Xe,null,St(t.extension.languages,(a,l)=>(D(),L("option",{key:l,selected:a==t.extension.languages[0]},ge(a),9,Net))),128))],512),[[Ci,t.extension.language]])])):se("",!0),t.extension.language?(D(),L("div",Met,[Iet,Det,Ye(" "+ge(t.extension.language),1)])):se("",!0),p("div",Let,[ket,Pet,Ye(" "+ge(t.extension.category),1)])]),Uet,p("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:t.extension.description,innerHTML:t.extension.description},null,8,Fet)]),p("div",Bet,[r.isMounted?(D(),L("button",{key:0,type:"button",title:"Select",onClick:[e[4]||(e[4]=(...a)=>s.toggleSelected&&s.toggleSelected(...a)),e[5]||(e[5]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Het)):se("",!0),r.isMounted?(D(),L("button",{key:1,type:"button",title:"Talk",onClick:[e[6]||(e[6]=(...a)=>s.toggleTalk&&s.toggleTalk(...a)),e[7]||(e[7]=Ie(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Yet)):se("",!0),De(o,{commands:s.commandsList,force_position:2,title:"Menu"},null,8,["commands"])])],2)],10,het)}const Wet=Et(fet,[["render",$et]]),Ket="/assets/gpu-df72bf63.svg";const jet="/";Be.defaults.baseURL="/";const Qet={components:{AddModelDialog:LZe,MessageBox:pE,YesNoDialog:oje,ModelEntry:GQe,PersonalityViewer:nXe,Toast:Vs,PersonalityEntry:fw,BindingEntry:yZe,UniversalForm:iu,ChoiceDialog:fE,Card:Dl,RadioOptions:_et,ExtensionEntry:Wet},data(){return{binding_changed:!1,SVGGPU:Ket,models_zoo:[],models_zoo_initialLoadCount:10,models_zoo_loadMoreCount:5,models_zoo_loadedEntries:[],models_zoo_scrollThreshold:200,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:"bound_extensions",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,mep_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:jet,searchPersonality:"",searchExtension:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchExtensionInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){We.on("loading_text",this.on_loading_text),this.updateHasUpdates(),We.on("notification",this.notify)},methods:{notify(n){Fe(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),n.notification_type==0?this.$refs.toast.showToast(n.content,n.duration,n.status):n.notification_type==1&&this.$refs.messageBox.showMessage(n.content)},load_more_models(){this.models_zoo_initialLoadCount+10<this.models_zoo.length?this.models_zoo_initialLoadCount+=10:this.models_zoo_initialLoadCount=this.models_zoo.length},async modelsZooToggleCollapse(){this.mzc_collapsed=!this.mzc_collapsed,Fe(()=>{ze.replace()}),this.binding_changed&&!this.mzc_collapsed&&(this.modelsZoo==null||this.modelsZoo.length==0)&&(console.log("Refreshing models"),await this.$store.dispatch("refreshConfig"),this.models_zoo=[],this.refreshModelsZoo(),this.binding_changed=!1)},async selectSortOption(n){this.$store.state.sort_type=n,this.updateModelsZoo(),console.log(`Selected sorting:${n}`),console.log(`models:${this.models_zoo}`)},handleRadioSelected(n){this.isLoading=!0,this.selectSortOption(n).then(()=>{this.isLoading=!1})},filter_installed(n){return console.log("filtering"),n.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 n=await this.api_get_req("check_update");this.has_updates=n.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(n){this.selected_variant=n},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(n){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let e=this.currenModelToInstall;if(e.linkNotValid){e.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let t="https://huggingface.co/"+e.model.quantizer+"/"+e.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:t},console.log("installing...",this.addModel);const i=r=>{if(console.log("received something"),r.status&&r.progress<=100){if(this.addModel=r,console.log("Progress",r),e.progress=r.progress,e.speed=r.speed,e.total_size=r.total_size,e.downloaded_size=r.downloaded_size,e.start_time=r.start_time,e.installing=!0,e.progress==100){const s=this.models_zoo.findIndex(o=>o.name===e.model.name);this.models_zoo[s].isInstalled=!0,this.showProgress=!1,e.installing=!1,console.log("Received succeeded"),We.off("install_progress",i),console.log("Installed successfully"),this.$refs.toast.showToast(`Model:
 `+e.model.name+`
 installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}}else We.off("install_progress",i),console.log("Install failed"),e.installing=!1,this.showProgress=!1,console.error("Installation failed:",r.error),this.$refs.toast.showToast(`Model:
 `+e.model.name+`
@@ -154,11 +154,11 @@ Response:
 Error: `+e.error,4,!1);this.isLoading=!1},async remountExtension(n){await this.unmountExtension(n),await this.mountExtension(n)},onExtensionReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,console.log(n),Be.post("/reinstall_extension",{name:n.extension.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_extension",e),e.data.status?this.$refs.toast.showToast("Extension reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall extension",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}))},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,Be.post("/reinstall_personality",{name:n.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(n){n.target.src=ha},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){this.filterModels()}},async mounted(){console.log("Getting voices"),this.getVoices(),console.log("Constructing"),this.load_everything()},activated(){},computed:{rendered_models_zoo:{get(){return this.searchModel?this.show_only_installed_models?this.modelsFiltered.filter(n=>n.isInstalled===!0):this.modelsFiltered.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)):(console.log("this.models_zoo"),console.log(this.models_zoo),console.log(this.models_zoo_initialLoadCount),this.show_only_installed_models?this.models_zoo.filter(n=>n.isInstalled===!0):this.models_zoo.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)))}},imgBinding:{get(){if(!this.isMounted)return vi;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return vi}}},imgModel:{get(){try{if(idx=this.$store.state.modelsZoo.findIndex(n=>n.name==this.$store.state.selectedModel),idx>=0)return this.$store.state.modelsZoo[idx].avatar}catch{}if(!this.isMounted)return vi;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return vi}}},isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(n){this.$store.state.config.audio_out_voice=n}},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(n){this.$store.commit("setConfig",n)}},userName:{get(){return this.$store.state.config.user_name},set(n){this.$store.state.config.user_name=n}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(n){this.$store.state.config.user_avatar=n}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(n){this.$store.state.config.enable_gpu=n}},auto_update:{get(){return this.$store.state.config.auto_update},set(n){this.$store.state.config.auto_update=n}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(n){this.$store.state.config.auto_speak=n}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(n){this.$store.state.config.audio_pitch=n}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(n){this.$store.state.config.audio_in_language=n}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(n){this.$store.state.config.use_user_name_in_discussions=n}},db_path:{get(){return this.$store.state.config.db_path},set(n){this.$store.state.config.db_path=n}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}},mountedExtensions:{get(){return console.log("this.$store.state.mountedExtensions:",this.$store.state.mountedExtensions),this.$store.state.mountedExtensions},set(n){this.$store.commit("setActiveExtensions",n)}},bindingsZoo:{get(){return this.$store.state.bindingsZoo},set(n){this.$store.commit("setbindingsZoo",n)}},modelsArr:{get(){return this.$store.state.modelsArr},set(n){this.$store.commit("setModelsArr",n)}},models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},installed_models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},diskUsage:{get(){return this.$store.state.diskUsage},set(n){this.$store.commit("setDiskUsage",n)}},ramUsage:{get(){return this.$store.state.ramUsage},set(n){this.$store.commit("setRamUsage",n)}},vramUsage:{get(){return this.$store.state.vramUsage},set(n){this.$store.commit("setVramUsage",n)}},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)},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return;const n=this.bindingsZoo.findIndex(e=>e.folder===this.configFile.binding_name);if(n>-1)return this.bindingsZoo[n].name},active_pesonality(){if(!this.isMounted)return;const n=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(n>-1)return this.personalities[n].name},speed_computed(){return Oi(this.addModel.speed)},total_size_computed(){return Oi(this.addModel.total_size)},downloaded_size_computed(){return Oi(this.addModel.downloaded_size)}},watch:{bec_collapsed(){Fe(()=>{ze.replace()})},pc_collapsed(){Fe(()=>{ze.replace()})},mc_collapsed(){Fe(()=>{ze.replace()})},sc_collapsed(){Fe(()=>{ze.replace()})},showConfirmation(){Fe(()=>{ze.replace()})},mzl_collapsed(){Fe(()=>{ze.replace()})},pzl_collapsed(){Fe(()=>{ze.replace()})},bzl_collapsed(){Fe(()=>{ze.replace()})},all_collapsed(n){this.collapseAll(n),Fe(()=>{ze.replace()})},settingsChanged(n){this.$store.state.settingsChanged=n,Fe(()=>{ze.replace()})},isLoading(){Fe(()=>{ze.replace()})},searchPersonality(n){n==""&&this.filterPersonalities()},mzdc_collapsed(){Fe(()=>{ze.replace()})}},async beforeRouteLeave(n){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}},Re=n=>(Gs("data-v-b0f524f9"),n=n(),zs(),n),Xet={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"},Zet={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"},Jet={key:0,class:"flex gap-3 flex-1 items-center duration-75"},ett=Re(()=>p("i",{"data-feather":"x"},null,-1)),ttt=[ett],ntt=Re(()=>p("i",{"data-feather":"check"},null,-1)),itt=[ntt],rtt={key:1,class:"flex gap-3 flex-1 items-center"},stt=Re(()=>p("i",{"data-feather":"save"},null,-1)),ott=[stt],att=Re(()=>p("i",{"data-feather":"refresh-ccw"},null,-1)),ltt=[att],ctt=Re(()=>p("i",{"data-feather":"list"},null,-1)),dtt=[ctt],utt={class:"flex gap-3 flex-1 items-center justify-end"},_tt=Re(()=>p("i",{"data-feather":"trash-2"},null,-1)),ptt=[_tt],ftt=Re(()=>p("i",{"data-feather":"refresh-ccw"},null,-1)),htt=[ftt],mtt=Re(()=>p("i",{"data-feather":"arrow-up-circle"},null,-1)),gtt={key:0},Ett=Re(()=>p("i",{"data-feather":"alert-circle"},null,-1)),btt=[Ett],Stt={class:"flex gap-3 items-center"},ytt={key:0,class:"flex gap-3 items-center"},vtt=Re(()=>p("p",{class:"text-red-600 font-bold"},"Apply changes:",-1)),Ttt=Re(()=>p("i",{"data-feather":"check"},null,-1)),xtt=[Ttt],Ctt={key:1,role:"status"},Rtt=Re(()=>p("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"},[p("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"}),p("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)),Att=Re(()=>p("span",{class:"sr-only"},"Loading...",-1)),wtt={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"},Ott={class:"flex flex-row p-3"},Ntt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Mtt=[Ntt],Itt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Dtt=[Itt],Ltt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),ktt=Re(()=>p("div",{class:"mr-2"},"|",-1)),Ptt={class:"text-base font-semibold cursor-pointer select-none items-center"},Utt={class:"flex gap-2 items-center"},Ftt={key:0},Btt={class:"flex gap-2 items-center"},Gtt=["src"],ztt={class:"font-bold font-large text-lg"},Htt={key:1},Vtt={class:"flex gap-2 items-center"},qtt=["src"],Ytt={class:"font-bold font-large text-lg"},$tt=Re(()=>p("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Wtt={class:"font-bold font-large text-lg"},Ktt=Re(()=>p("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),jtt={class:"font-bold font-large text-lg"},Qtt={class:"mb-2"},Xtt=Re(()=>p("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[p("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"})]),Ye(" CPU Ram usage: ")],-1)),Ztt={class:"flex flex-col mx-2"},Jtt=Re(()=>p("b",null,"Avaliable ram: ",-1)),ent=Re(()=>p("b",null,"Ram usage: ",-1)),tnt={class:"p-2"},nnt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},int={class:"mb-2"},rnt=Re(()=>p("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[p("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),Ye(" Disk usage: ")],-1)),snt={class:"flex flex-col mx-2"},ont=Re(()=>p("b",null,"Avaliable disk space: ",-1)),ant=Re(()=>p("b",null,"Disk usage: ",-1)),lnt={class:"p-2"},cnt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},dnt={class:"mb-2"},unt={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},_nt=["src"],pnt={class:"flex flex-col mx-2"},fnt=Re(()=>p("b",null,"Model: ",-1)),hnt=Re(()=>p("b",null,"Avaliable vram: ",-1)),mnt=Re(()=>p("b",null,"GPU usage: ",-1)),gnt={class:"p-2"},Ent={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},bnt={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"},Snt={class:"flex flex-row p-3"},ynt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),vnt=[ynt],Tnt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),xnt=[Tnt],Cnt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Rnt={class:"flex flex-col mb-2 px-3 pb-2"},Ant={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"},wnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),Ont={style:{width:"100%"}},Nnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),Mnt={style:{width:"100%"}},Int=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),Dnt={style:{width:"100%"}},Lnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),knt={class:"flex flex-row"},Pnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),Unt={class:"text-center items-center"},Fnt={class:"flex flex-row"},Bnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),Gnt={class:"flex flex-row"},znt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),Hnt={class:"flex flex-row"},Vnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto title:")],-1)),qnt={class:"flex flex-row"},Ynt={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"},$nt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),Wnt={style:{width:"100%"}},Knt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),jnt={style:{width:"100%"}},Qnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),Xnt={style:{width:"100%"}},Znt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),Jnt={style:{width:"100%"}},eit={for:"avatar-upload"},tit=["src"],nit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),iit={class:"flex flex-row"},rit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"min_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Minimum number of output tokens space (forces the model to have more space to speak):")],-1)),sit={style:{width:"100%"}},oit={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"},ait=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),lit={class:"flex flex-row"},cit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_discussions_history",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate discussion vectorization:")],-1)),dit={class:"flex flex-row"},uit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"summerize_discussion",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Continuous Learning from discussions:")],-1)),_it={class:"flex flex-row"},pit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_visualize_on_vectorization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"show vectorized data:")],-1)),fit={class:"flex flex-row"},hit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate data Vectorization:")],-1)),mit={class:"flex flex-row"},git=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),Eit={class:"flex flex-row"},bit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),Sit=Re(()=>p("option",{value:"tfidf_vectorizer"},"tfidf Vectorizer",-1)),yit=Re(()=>p("option",{value:"model_embedding"},"Model Embedding",-1)),vit=[Sit,yit],Tit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),xit=Re(()=>p("option",{value:"PCA"},"PCA",-1)),Cit=Re(()=>p("option",{value:"TSNE"},"TSNE",-1)),Rit=[xit,Cit],Ait=Re(()=>p("td",{style:{"min-width":"200px"}},[p("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)),wit={class:"flex flex-row"},Oit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),Nit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),Mit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),Iit={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"},Dit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),Lit={class:"flex flex-row"},kit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),Pit={class:"flex flex-row"},Uit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),Fit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),Bit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),Git=["value"],zit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),Hit=["value"],Vit={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"},qit={class:"flex flex-row p-3"},Yit=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),$it=[Yit],Wit=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Kit=[Wit],jit=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),Qit={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Xit=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),Zit={key:1,class:"mr-2"},Jit={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},ert={class:"flex gap-1 items-center"},trt=["src"],nrt={class:"font-bold font-large text-lg line-clamp-1"},irt={key:0,class:"mb-2"},rrt={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},srt=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),ort=[srt],art=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),lrt=[art],crt={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"},drt={class:"flex flex-row p-3"},urt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),_rt=[urt],prt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),frt=[prt],hrt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),mrt={class:"flex flex-row items-center"},grt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Ert=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),brt={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Srt=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),yrt={key:2,class:"mr-2"},vrt={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},Trt={class:"flex gap-1 items-center"},xrt=["src"],Crt={class:"font-bold font-large text-lg line-clamp-1"},Rrt={class:"mx-2 mb-4"},Art={class:"relative"},wrt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Ort={key:0},Nrt=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Mrt=[Nrt],Irt={key:1},Drt=Re(()=>p("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"},[p("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)),Lrt=[Drt],krt=Re(()=>p("label",{for:"only_installed"},"Show only installed models",-1)),Prt=Re(()=>p("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)),Urt={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},Frt=Re(()=>p("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"},[p("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"}),p("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)),Brt=Re(()=>p("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),Grt=[Frt,Brt],zrt={key:1,class:"mb-2"},Hrt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Vrt=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),qrt=[Vrt],Yrt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),$rt=[Yrt],Wrt={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"},Krt={class:"flex flex-row p-3"},jrt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Qrt=[jrt],Xrt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Zrt=[Xrt],Jrt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),est={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},tst=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),nst={key:1,class:"mr-2"},ist={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},rst={class:"flex gap-1 items-center"},sst=["src"],ost={class:"font-bold font-large text-lg line-clamp-1"},ast={class:"mb-2"},lst={class:"p-2"},cst={class:"mb-3"},dst=Re(()=>p("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),ust={key:0},_st={class:"mb-3"},pst=Re(()=>p("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),fst={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},hst=Re(()=>p("div",{role:"status",class:"justify-center"},null,-1)),mst={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},gst={class:"w-full p-2"},Est={class:"flex justify-between mb-1"},bst=Ng('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-b0f524f9> Downloading <svg aria-hidden="true" class="w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-secondary" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-b0f524f9><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" data-v-b0f524f9></path><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" data-v-b0f524f9></path></svg><span class="sr-only" data-v-b0f524f9>Loading...</span></span>',1),Sst={class:"text-sm font-medium text-blue-700 dark:text-white"},yst=["title"],vst={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Tst={class:"flex justify-between mb-1"},xst={class:"text-base font-medium text-blue-700 dark:text-white"},Cst={class:"text-sm font-medium text-blue-700 dark:text-white"},Rst={class:"flex flex-grow"},Ast={class:"flex flex-row flex-grow gap-3"},wst={class:"p-2 text-center grow"},Ost={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"},Nst={class:"flex flex-row p-3 items-center"},Mst=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Ist=[Mst],Dst=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Lst=[Dst],kst=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),Pst={key:0,class:"mr-2"},Ust={class:"mr-2 font-bold font-large text-lg line-clamp-1"},Fst={key:1,class:"mr-2"},Bst={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},Gst={key:0,class:"flex -space-x-4 items-center"},zst={class:"group items-center flex flex-row"},Hst=["onClick"],Vst=["src","title"],qst=["onClick"],Yst=Re(()=>p("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"},[p("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"},[p("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)),$st=[Yst],Wst={class:"mx-2 mb-4"},Kst=Re(()=>p("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),jst={class:"relative"},Qst={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Xst={key:0},Zst=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Jst=[Zst],eot={key:1},tot=Re(()=>p("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"},[p("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)),not=[tot],iot={key:0,class:"mx-2 mb-4"},rot={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},sot=["selected"],oot={key:0,class:"mb-2"},aot={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},lot=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),cot=[lot],dot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),uot=[dot],_ot={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"},pot={class:"flex flex-row p-3 items-center"},fot=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),hot=[fot],mot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),got=[mot],Eot=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Extensions zoo",-1)),bot={key:0,class:"mr-2"},Sot={key:1,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},yot={key:0,class:"flex -space-x-4 items-center"},vot={class:"group items-center flex flex-row"},Tot=["onClick"],xot=["src","title"],Cot=["onClick"],Rot=Re(()=>p("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"},[p("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"},[p("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)),Aot=[Rot],wot={class:"mx-2 mb-4"},Oot=Re(()=>p("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),Not={class:"relative"},Mot={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Iot={key:0},Dot=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Lot=[Dot],kot={key:1},Pot=Re(()=>p("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"},[p("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)),Uot=[Pot],Fot={key:0,class:"mx-2 mb-4"},Bot={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},Got=["selected"],zot={key:0,class:"mb-2"},Hot={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Vot=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),qot=[Vot],Yot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),$ot=[Yot],Wot={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"},Kot={class:"flex flex-row p-3 items-center"},jot=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Qot=[jot],Xot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Zot=[Xot],Jot=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Mounted Extensions Priority",-1)),eat={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"},tat={class:"flex flex-row"},nat=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),iat=[nat],rat=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),sat=[rat],oat=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),aat={class:"m-2"},lat={class:"flex flex-row gap-2 items-center"},cat=Re(()=>p("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),dat={class:"m-2"},uat=Re(()=>p("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),_at={class:"m-2"},pat={class:"flex flex-col align-bottom"},fat={class:"relative"},hat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),mat={class:"absolute right-0"},gat={class:"m-2"},Eat={class:"flex flex-col align-bottom"},bat={class:"relative"},Sat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),yat={class:"absolute right-0"},vat={class:"m-2"},Tat={class:"flex flex-col align-bottom"},xat={class:"relative"},Cat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),Rat={class:"absolute right-0"},Aat={class:"m-2"},wat={class:"flex flex-col align-bottom"},Oat={class:"relative"},Nat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Mat={class:"absolute right-0"},Iat={class:"m-2"},Dat={class:"flex flex-col align-bottom"},Lat={class:"relative"},kat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),Pat={class:"absolute right-0"},Uat={class:"m-2"},Fat={class:"flex flex-col align-bottom"},Bat={class:"relative"},Gat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),zat={class:"absolute right-0"};function Hat(n,e,t,i,r,s){const o=ht("Card"),a=ht("BindingEntry"),l=ht("RadioOptions"),c=ht("model-entry"),d=ht("personality-entry"),u=ht("ExtensionEntry"),_=ht("Toast"),f=ht("YesNoDialog"),E=ht("AddModelDialog"),b=ht("MessageBox"),g=ht("UniversalForm"),h=ht("ChoiceDialog");return D(),L(Xe,null,[p("div",Xet,[p("div",Zet,[r.showConfirmation?(D(),L("div",Jet,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=Ie(m=>r.showConfirmation=!1,["stop"]))},ttt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=Ie(m=>s.save_configuration(),["stop"]))},itt)])):se("",!0),r.showConfirmation?se("",!0):(D(),L("div",rtt,[p("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=m=>r.showConfirmation=!0)},ott),p("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=m=>s.reset_configuration())},ltt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=Ie(m=>r.all_collapsed=!r.all_collapsed,["stop"]))},dtt)])),p("div",utt,[p("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=m=>s.api_get_req("clear_uploads").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},ptt),p("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=m=>s.api_get_req("restart_program").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},htt),p("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=m=>s.api_get_req("update_software").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[mtt,r.has_updates?(D(),L("div",gtt,btt)):se("",!0)]),p("div",Stt,[r.settingsChanged?(D(),L("div",ytt,[vtt,r.isLoading?se("",!0):(D(),L("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=Ie(m=>s.applyConfiguration(),["stop"]))},xtt))])):se("",!0),r.isLoading?(D(),L("div",Ctt,[p("p",null,ge(r.loading_text),1),Rtt,Att])):se("",!0)])])]),p("div",{class:Ke(r.isLoading?"pointer-events-none opacity-30":"")},[p("div",wtt,[p("div",Ott,[p("button",{onClick:e[9]||(e[9]=Ie(m=>r.sc_collapsed=!r.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,Mtt,512),[[Ot,r.sc_collapsed]]),we(p("div",null,Dtt,512),[[Ot,!r.sc_collapsed]]),Ltt,ktt,p("div",Ptt,[p("div",Utt,[p("div",null,[s.vramUsage&&s.vramUsage.gpus&&s.vramUsage.gpus.length==1?(D(),L("div",Ftt,[(D(!0),L(Xe,null,St(s.vramUsage.gpus,m=>(D(),L("div",Btt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,Gtt),p("h3",ztt,[p("div",null,ge(s.computedFileSize(m.used_vram))+" / "+ge(s.computedFileSize(m.total_vram))+" ("+ge(m.percentage)+"%) ",1)])]))),256))])):se("",!0),s.vramUsage&&s.vramUsage.gpus&&s.vramUsage.gpus.length>1?(D(),L("div",Htt,[p("div",Vtt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,qtt),p("h3",Ytt,[p("div",null,ge(s.vramUsage.gpus.length)+"x ",1)])])])):se("",!0)]),$tt,p("h3",Wtt,[p("div",null,ge(s.ram_usage)+" / "+ge(s.ram_total_space)+" ("+ge(s.ram_percent_usage)+"%)",1)]),Ktt,p("h3",jtt,[p("div",null,ge(s.disk_binding_models_usage)+" / "+ge(s.disk_total_space)+" ("+ge(s.disk_percent_usage)+"%)",1)])])])])]),p("div",{class:Ke([{hidden:r.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Qtt,[Xtt,p("div",Ztt,[p("div",null,[Jtt,Ye(ge(s.ram_available_space),1)]),p("div",null,[ent,Ye(" "+ge(s.ram_usage)+" / "+ge(s.ram_total_space)+" ("+ge(s.ram_percent_usage)+")% ",1)])]),p("div",tnt,[p("div",nnt,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+s.ram_percent_usage+"%;")},null,4)])])]),p("div",int,[rnt,p("div",snt,[p("div",null,[ont,Ye(ge(s.disk_available_space),1)]),p("div",null,[ant,Ye(" "+ge(s.disk_binding_models_usage)+" / "+ge(s.disk_total_space)+" ("+ge(s.disk_percent_usage)+"%)",1)])]),p("div",lnt,[p("div",cnt,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+s.disk_percent_usage+"%;")},null,4)])])]),(D(!0),L(Xe,null,St(s.vramUsage.gpus,m=>(D(),L("div",dnt,[p("label",unt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,_nt),Ye(" GPU usage: ")]),p("div",pnt,[p("div",null,[fnt,Ye(ge(m.gpu_model),1)]),p("div",null,[hnt,Ye(ge(this.computedFileSize(m.available_space)),1)]),p("div",null,[mnt,Ye(" "+ge(this.computedFileSize(m.used_vram))+" / "+ge(this.computedFileSize(m.total_vram))+" ("+ge(m.percentage)+"%)",1)])]),p("div",gnt,[p("div",Ent,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+m.percentage+"%;")},null,4)])])]))),256))],2)]),p("div",bnt,[p("div",Snt,[p("button",{onClick:e[10]||(e[10]=Ie(m=>r.minconf_collapsed=!r.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,vnt,512),[[Ot,r.minconf_collapsed]]),we(p("div",null,xnt,512),[[Ot,!r.minconf_collapsed]]),Cnt])]),p("div",{class:Ke([{hidden:r.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Rnt,[De(o,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Ant,[p("tr",null,[wnt,p("td",Ont,[we(p("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=m=>s.configFile.host=m),onChange:e[12]||(e[12]=m=>r.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),[[et,s.configFile.host]])])]),p("tr",null,[Nnt,p("td",Mnt,[we(p("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=m=>s.configFile.port=m),onChange:e[14]||(e[14]=m=>r.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),[[et,s.configFile.port]])])]),p("tr",null,[Int,p("td",Dnt,[we(p("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=m=>s.configFile.db_path=m),onChange:e[16]||(e[16]=m=>r.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),[[et,s.configFile.db_path]])])]),p("tr",null,[Lnt,p("td",null,[p("div",knt,[we(p("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[17]||(e[17]=m=>s.configFile.auto_show_browser=m),onChange:e[18]||(e[18]=m=>r.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_show_browser]])])])]),p("tr",null,[Pnt,p("td",Unt,[p("div",Fnt,[we(p("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[19]||(e[19]=m=>s.configFile.enable_gpu=m),onChange:e[20]||(e[20]=m=>r.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.enable_gpu]]),s.configFile.enable_gpu?se("",!0):(D(),L("button",{key:0,onClick:e[21]||(e[21]=Ie((...m)=>s.upgrade2GPU&&s.upgrade2GPU(...m),["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 "))])])]),p("tr",null,[Bnt,p("td",null,[p("div",Gnt,[we(p("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[22]||(e[22]=m=>s.configFile.auto_save=m),onChange:e[23]||(e[23]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_save]])])])]),p("tr",null,[znt,p("td",null,[p("div",Hnt,[we(p("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[24]||(e[24]=m=>s.configFile.auto_update=m),onChange:e[25]||(e[25]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_update]])])])]),p("tr",null,[Vnt,p("td",null,[p("div",qnt,[we(p("input",{type:"checkbox",id:"auto_title",required:"","onUpdate:modelValue":e[26]||(e[26]=m=>s.configFile.auto_title=m),onChange:e[27]||(e[27]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_title]])])])])])]),_:1}),De(o,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Ynt,[p("tr",null,[$nt,p("td",Wnt,[we(p("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[28]||(e[28]=m=>s.configFile.user_name=m),onChange:e[29]||(e[29]=m=>r.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.user_name]])])]),p("tr",null,[Knt,p("td",jnt,[we(p("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[30]||(e[30]=m=>s.configFile.user_description=m),onChange:e[31]||(e[31]=m=>r.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.user_description]])])]),p("tr",null,[Qnt,p("td",Xnt,[we(p("input",{type:"checkbox",id:"override_personality_model_parameters",required:"","onUpdate:modelValue":e[32]||(e[32]=m=>s.configFile.override_personality_model_parameters=m),onChange:e[33]||(e[33]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.override_personality_model_parameters]])])]),p("tr",null,[Znt,p("td",Jnt,[p("label",eit,[p("img",{src:"/user_infos/"+s.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,tit)]),p("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[34]||(e[34]=(...m)=>s.uploadAvatar&&s.uploadAvatar(...m))},null,32)])]),p("tr",null,[nit,p("td",null,[p("div",iit,[we(p("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[35]||(e[35]=m=>s.configFile.use_user_name_in_discussions=m),onChange:e[36]||(e[36]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_user_name_in_discussions]])])])]),p("tr",null,[rit,p("td",sit,[we(p("input",{type:"number",id:"min_n_predict",required:"","onUpdate:modelValue":e[37]||(e[37]=m=>s.configFile.min_n_predict=m),onChange:e[38]||(e[38]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.min_n_predict]])])])])]),_:1}),De(o,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",oit,[p("tr",null,[ait,p("td",null,[p("div",lit,[we(p("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[39]||(e[39]=m=>s.configFile.use_files=m),onChange:e[40]||(e[40]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_files]])])])]),p("tr",null,[cit,p("td",null,[p("div",dit,[we(p("input",{type:"checkbox",id:"use_discussions_history",required:"","onUpdate:modelValue":e[41]||(e[41]=m=>s.configFile.use_discussions_history=m),onChange:e[42]||(e[42]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_discussions_history]])])])]),p("tr",null,[uit,p("td",null,[p("div",_it,[we(p("input",{type:"checkbox",id:"summerize_discussion",required:"","onUpdate:modelValue":e[43]||(e[43]=m=>s.configFile.summerize_discussion=m),onChange:e[44]||(e[44]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.summerize_discussion]])])])]),p("tr",null,[pit,p("td",null,[p("div",fit,[we(p("input",{type:"checkbox",id:"data_vectorization_visualize_on_vectorization",required:"","onUpdate:modelValue":e[45]||(e[45]=m=>s.configFile.data_vectorization_visualize_on_vectorization=m),onChange:e[46]||(e[46]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_visualize_on_vectorization]])])])]),p("tr",null,[hit,p("td",null,[p("div",mit,[we(p("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[47]||(e[47]=m=>s.configFile.data_vectorization_activate=m),onChange:e[48]||(e[48]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_activate]])])])]),p("tr",null,[git,p("td",null,[p("div",Eit,[we(p("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[49]||(e[49]=m=>s.configFile.data_vectorization_build_keys_words=m),onChange:e[50]||(e[50]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_build_keys_words]])])])]),p("tr",null,[bit,p("td",null,[we(p("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[51]||(e[51]=m=>s.configFile.data_vectorization_method=m),onChange:e[52]||(e[52]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},vit,544),[[Ci,s.configFile.data_vectorization_method]])])]),p("tr",null,[Tit,p("td",null,[we(p("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[53]||(e[53]=m=>s.configFile.data_visualization_method=m),onChange:e[54]||(e[54]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Rit,544),[[Ci,s.configFile.data_visualization_method]])])]),p("tr",null,[Ait,p("td",null,[p("div",wit,[we(p("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[55]||(e[55]=m=>s.configFile.data_vectorization_save_db=m),onChange:e[56]||(e[56]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_save_db]])])])]),p("tr",null,[Oit,p("td",null,[we(p("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[57]||(e[57]=m=>s.configFile.data_vectorization_chunk_size=m),onChange:e[58]||(e[58]=m=>r.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),[[et,s.configFile.data_vectorization_chunk_size]]),we(p("input",{"onUpdate:modelValue":e[59]||(e[59]=m=>s.configFile.data_vectorization_chunk_size=m),type:"number",onChange:e[60]||(e[60]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_chunk_size]])])]),p("tr",null,[Nit,p("td",null,[we(p("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[61]||(e[61]=m=>s.configFile.data_vectorization_overlap_size=m),onChange:e[62]||(e[62]=m=>r.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),[[et,s.configFile.data_vectorization_overlap_size]]),we(p("input",{"onUpdate:modelValue":e[63]||(e[63]=m=>s.configFile.data_vectorization_overlap_size=m),type:"number",onChange:e[64]||(e[64]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_overlap_size]])])]),p("tr",null,[Mit,p("td",null,[we(p("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[65]||(e[65]=m=>s.configFile.data_vectorization_nb_chunks=m),onChange:e[66]||(e[66]=m=>r.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),[[et,s.configFile.data_vectorization_nb_chunks]]),we(p("input",{"onUpdate:modelValue":e[67]||(e[67]=m=>s.configFile.data_vectorization_nb_chunks=m),type:"number",onChange:e[68]||(e[68]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),De(o,{title:"Audio",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Iit,[p("tr",null,[Dit,p("td",null,[p("div",Lit,[we(p("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[69]||(e[69]=m=>s.configFile.audio_auto_send_input=m),onChange:e[70]||(e[70]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.audio_auto_send_input]])])])]),p("tr",null,[kit,p("td",null,[p("div",Pit,[we(p("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[71]||(e[71]=m=>s.configFile.auto_speak=m),onChange:e[72]||(e[72]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_speak]])])])]),p("tr",null,[Uit,p("td",null,[we(p("input",{id:"audio_pitch","onUpdate:modelValue":e[73]||(e[73]=m=>s.configFile.audio_pitch=m),onChange:e[74]||(e[74]=m=>r.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),[[et,s.configFile.audio_pitch]]),we(p("input",{"onUpdate:modelValue":e[75]||(e[75]=m=>s.configFile.audio_pitch=m),onChange:e[76]||(e[76]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.audio_pitch]])])]),p("tr",null,[Fit,p("td",null,[we(p("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[77]||(e[77]=m=>s.configFile.audio_silenceTimer=m),onChange:e[78]||(e[78]=m=>r.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),[[et,s.configFile.audio_silenceTimer]]),we(p("input",{"onUpdate:modelValue":e[79]||(e[79]=m=>s.configFile.audio_silenceTimer=m),onChange:e[80]||(e[80]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.audio_silenceTimer]])])]),p("tr",null,[Bit,p("td",null,[we(p("select",{id:"audio_in_language","onUpdate:modelValue":e[81]||(e[81]=m=>s.configFile.audio_in_language=m),onChange:e[82]||(e[82]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(D(!0),L(Xe,null,St(s.audioLanguages,m=>(D(),L("option",{key:m.code,value:m.code},ge(m.name),9,Git))),128))],544),[[Ci,s.configFile.audio_in_language]])])]),p("tr",null,[zit,p("td",null,[we(p("select",{id:"audio_out_voice","onUpdate:modelValue":e[83]||(e[83]=m=>s.configFile.audio_out_voice=m),onChange:e[84]||(e[84]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(D(!0),L(Xe,null,St(r.audioVoices,m=>(D(),L("option",{key:m.name,value:m.name},ge(m.name),9,Hit))),128))],544),[[Ci,s.configFile.audio_out_voice]])])])])]),_:1})])],2)]),p("div",Vit,[p("div",qit,[p("button",{onClick:e[85]||(e[85]=Ie(m=>r.bzc_collapsed=!r.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,$it,512),[[Ot,r.bzc_collapsed]]),we(p("div",null,Kit,512),[[Ot,!r.bzc_collapsed]]),jit,s.configFile.binding_name?se("",!0):(D(),L("div",Qit,[Xit,Ye(" No binding selected! ")])),s.configFile.binding_name?(D(),L("div",Zit,"|")):se("",!0),s.configFile.binding_name?(D(),L("div",Jit,[p("div",ert,[p("img",{src:s.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,trt),p("h3",nrt,ge(s.binding_name),1)])])):se("",!0)])]),p("div",{class:Ke([{hidden:r.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[s.bindingsZoo&&s.bindingsZoo.length>0?(D(),L("div",irt,[p("label",rrt," Bindings: ("+ge(s.bindingsZoo.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.bzl_collapsed?"":"max-h-96"])},[De(tr,{name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(s.bindingsZoo,(m,S)=>(D(),jt(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+S+"-"+m.folder,binding:m,"on-selected":s.onBindingSelected,"on-reinstall":s.onReinstallBinding,"on-unInstall":s.onUnInstallBinding,"on-install":s.onInstallBinding,"on-settings":s.onSettingsBinding,"on-reload-binding":s.onReloadBinding,selected:m.folder===s.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):se("",!0),r.bzl_collapsed?(D(),L("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[86]||(e[86]=m=>r.bzl_collapsed=!r.bzl_collapsed)},ort)):(D(),L("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[87]||(e[87]=m=>r.bzl_collapsed=!r.bzl_collapsed)},lrt))],2)]),p("div",crt,[p("div",drt,[p("button",{onClick:e[88]||(e[88]=Ie(m=>s.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,_rt,512),[[Ot,r.mzc_collapsed]]),we(p("div",null,frt,512),[[Ot,!r.mzc_collapsed]]),hrt,p("div",mrt,[s.configFile.binding_name?se("",!0):(D(),L("div",grt,[Ert,Ye(" Select binding first! ")])),!r.isModelSelected&&s.configFile.binding_name?(D(),L("div",brt,[Srt,Ye(" No model selected! ")])):se("",!0),s.configFile.model_name?(D(),L("div",yrt,"|")):se("",!0),s.configFile.model_name?(D(),L("div",vrt,[p("div",Trt,[p("img",{src:s.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,xrt),p("h3",Crt,ge(s.configFile.model_name),1)])])):se("",!0)])])]),p("div",{class:Ke([{hidden:r.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Rrt,[p("div",Art,[p("div",wrt,[r.searchModelInProgress?(D(),L("div",Ort,Mrt)):se("",!0),r.searchModelInProgress?se("",!0):(D(),L("div",Irt,Lrt))]),we(p("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[89]||(e[89]=m=>r.searchModel=m),onKeyup:e[90]||(e[90]=Bo((...m)=>s.searchModel_func&&s.searchModel_func(...m),["enter"]))},null,544),[[et,r.searchModel]]),r.searchModel?(D(),L("button",{key:0,onClick:e[91]||(e[91]=Ie(m=>r.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")):se("",!0)])]),p("div",null,[we(p("input",{"onUpdate:modelValue":e[92]||(e[92]=m=>r.show_only_installed_models=m),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[Ft,r.show_only_installed_models]]),krt]),p("div",null,[De(l,{radioOptions:r.sortOptions,onRadioSelected:s.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),Prt,r.is_loading_zoo?(D(),L("div",Urt,Grt)):se("",!0),r.models_zoo&&r.models_zoo.length>0?(D(),L("div",zrt,[p("label",Hrt," Models: ("+ge(r.models_zoo.length)+") ",1),p("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",r.mzl_collapsed?"":"max-h-96"])},[De(tr,{name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(s.rendered_models_zoo,(m,S)=>(D(),jt(c,{ref_for:!0,ref:"modelZoo",key:"index-"+S+"-"+m.name,model:m,"is-installed":m.isInstalled,"on-install":s.onInstall,"on-uninstall":s.onUninstall,"on-selected":s.onModelSelected,selected:m.name===s.configFile.model_name,model_type:m.model_type,"on-copy":s.onCopy,"on-copy-link":s.onCopyLink,"on-cancel-install":s.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),p("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[93]||(e[93]=(...m)=>s.load_more_models&&s.load_more_models(...m))},"Load more models",512)]),_:1})],2)])):se("",!0),r.mzl_collapsed?(D(),L("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:"Collapse",type:"button",onClick:e[94]||(e[94]=(...m)=>s.open_mzl&&s.open_mzl(...m))},qrt)):(D(),L("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:"Expand",type:"button",onClick:e[95]||(e[95]=(...m)=>s.open_mzl&&s.open_mzl(...m))},$rt))],2)]),p("div",Wrt,[p("div",Krt,[p("button",{onClick:e[96]||(e[96]=Ie(m=>r.mzdc_collapsed=!r.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,Qrt,512),[[Ot,r.mzdc_collapsed]]),we(p("div",null,Zrt,512),[[Ot,!r.mzdc_collapsed]]),Jrt,s.binding_name?se("",!0):(D(),L("div",est,[tst,Ye(" No binding selected! ")])),s.configFile.binding_name?(D(),L("div",nst,"|")):se("",!0),s.configFile.binding_name?(D(),L("div",ist,[p("div",rst,[p("img",{src:s.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,sst),p("h3",ost,ge(s.binding_name),1)])])):se("",!0)])]),p("div",{class:Ke([{hidden:r.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",ast,[p("div",lst,[p("div",null,[p("div",cst,[dst,we(p("input",{type:"text","onUpdate:modelValue":e[97]||(e[97]=m=>r.reference_path=m),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),[[et,r.reference_path]])]),p("button",{type:"button",onClick:e[98]||(e[98]=Ie(m=>s.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")]),r.modelDownlaodInProgress?se("",!0):(D(),L("div",ust,[p("div",_st,[pst,we(p("input",{type:"text","onUpdate:modelValue":e[99]||(e[99]=m=>r.addModel.url=m),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),[[et,r.addModel.url]])]),p("button",{type:"button",onClick:e[100]||(e[100]=Ie(m=>s.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")])),r.modelDownlaodInProgress?(D(),L("div",fst,[hst,p("div",mst,[p("div",gst,[p("div",Est,[bst,p("span",Sst,ge(Math.floor(r.addModel.progress))+"%",1)]),p("div",{class:"mx-1 opacity-80 line-clamp-1",title:r.addModel.url},ge(r.addModel.url),9,yst),p("div",vst,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn({width:r.addModel.progress+"%"})},null,4)]),p("div",Tst,[p("span",xst,"Download speed: "+ge(s.speed_computed)+"/s",1),p("span",Cst,ge(s.downloaded_size_computed)+"/"+ge(s.total_size_computed),1)])])]),p("div",Rst,[p("div",Ast,[p("div",wst,[p("button",{onClick:e[101]||(e[101]=Ie((...m)=>s.onCancelInstall&&s.onCancelInstall(...m),["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 ")])])])])):se("",!0)])])],2)]),p("div",Ost,[p("div",Nst,[p("button",{onClick:e[103]||(e[103]=Ie(m=>r.pzc_collapsed=!r.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,Ist,512),[[Ot,r.pzc_collapsed]]),we(p("div",null,Lst,512),[[Ot,!r.pzc_collapsed]]),kst,s.configFile.personalities?(D(),L("div",Pst,"|")):se("",!0),p("div",Ust,ge(s.active_pesonality),1),s.configFile.personalities?(D(),L("div",Fst,"|")):se("",!0),s.configFile.personalities?(D(),L("div",Bst,[s.mountedPersArr.length>0?(D(),L("div",Gst,[(D(!0),L(Xe,null,St(s.mountedPersArr,(m,S)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:S+"-"+m.name,ref_for:!0,ref:"mountedPersonalities"},[p("div",zst,[p("button",{onClick:Ie(v=>s.onPersonalitySelected(m),["stop"])},[p("img",{src:r.bUrl+m.avatar,onError:e[102]||(e[102]=(...v)=>s.personalityImgPlacehodler&&s.personalityImgPlacehodler(...v)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",s.configFile.active_personality_id==s.configFile.personalities.indexOf(m.full_path)?"border-secondary":"border-transparent z-0"]),title:m.name},null,42,Vst)],8,Hst),p("button",{onClick:Ie(v=>s.unmountPersonality(m),["stop"])},$st,8,qst)])]))),128))])):se("",!0)])):se("",!0)])]),p("div",{class:Ke([{hidden:r.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Wst,[Kst,p("div",jst,[p("div",Qst,[r.searchPersonalityInProgress?(D(),L("div",Xst,Jst)):se("",!0),r.searchPersonalityInProgress?se("",!0):(D(),L("div",eot,not))]),we(p("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[104]||(e[104]=m=>r.searchPersonality=m),onKeyup:e[105]||(e[105]=Ie((...m)=>s.searchPersonality_func&&s.searchPersonality_func(...m),["stop"]))},null,544),[[et,r.searchPersonality]]),r.searchPersonality?(D(),L("button",{key:0,onClick:e[106]||(e[106]=Ie(m=>r.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")):se("",!0)])]),r.searchPersonality?se("",!0):(D(),L("div",iot,[p("label",rot," Personalities Category: ("+ge(r.persCatgArr.length)+") ",1),p("select",{id:"persCat",onChange:e[107]||(e[107]=m=>s.update_personality_category(m.target.value,s.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"},[(D(!0),L(Xe,null,St(r.persCatgArr,(m,S)=>(D(),L("option",{key:S,selected:m==this.configFile.personality_category},ge(m),9,sot))),128))],32)])),p("div",null,[r.personalitiesFiltered.length>0?(D(),L("div",oot,[p("label",aot,ge(r.searchPersonality?"Search results":"Personalities")+": ("+ge(r.personalitiesFiltered.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.pzl_collapsed?"":"max-h-96"])},[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.personalitiesFiltered,(m,S)=>(D(),jt(d,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+S+"-"+m.name,personality:m,select_language:!0,full_path:m.full_path,selected:s.configFile.active_personality_id==s.configFile.personalities.findIndex(v=>v===m.full_path||v===m.full_path+":"+m.language),"on-selected":s.onPersonalitySelected,"on-mount":s.mountPersonality,"on-un-mount":s.unmountPersonality,"on-remount":s.remountPersonality,"on-reinstall":s.onPersonalityReinstall,"on-settings":s.onSettingsPersonality,"on-copy-personality-name":s.onCopyPersonalityName},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings","on-copy-personality-name"]))),128))]),_:1})],2)])):se("",!0)]),r.pzl_collapsed?(D(),L("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[108]||(e[108]=m=>r.pzl_collapsed=!r.pzl_collapsed)},cot)):(D(),L("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[109]||(e[109]=m=>r.pzl_collapsed=!r.pzl_collapsed)},uot))],2)]),p("div",_ot,[p("div",pot,[p("button",{onClick:e[111]||(e[111]=Ie(m=>r.ezc_collapsed=!r.ezc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,hot,512),[[Ot,r.ezc_collapsed]]),we(p("div",null,got,512),[[Ot,!r.ezc_collapsed]]),Eot,s.configFile.extensions?(D(),L("div",bot,"|")):se("",!0),s.configFile.extensions?(D(),L("div",Sot,[s.mountedExtensions.length>0?(D(),L("div",yot,[(D(!0),L(Xe,null,St(s.mountedExtensions,(m,S)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:S+"-"+m.name,ref_for:!0,ref:"mountedExtensions"},[p("div",vot,[p("button",{onClick:Ie(v=>s.onExtensionSelected(m),["stop"])},[p("img",{src:r.bUrl+m.avatar,onError:e[110]||(e[110]=(...v)=>s.personalityImgPlacehodler&&s.personalityImgPlacehodler(...v)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",s.configFile.active_personality_id==s.configFile.extensions.indexOf(m.full_path)?"border-secondary":"border-transparent z-0"]),title:m.name},null,42,xot)],8,Tot),p("button",{onClick:Ie(v=>s.unmountExtension(m),["stop"])},Aot,8,Cot)])]))),128))])):se("",!0)])):se("",!0)])]),p("div",{class:Ke([{hidden:r.ezc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",wot,[Oot,p("div",Not,[p("div",Mot,[r.searchExtensionInProgress?(D(),L("div",Iot,Lot)):se("",!0),r.searchExtensionInProgress?se("",!0):(D(),L("div",kot,Uot))]),we(p("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 extension...",required:"","onUpdate:modelValue":e[112]||(e[112]=m=>r.searchExtension=m),onKeyup:e[113]||(e[113]=Ie((...m)=>n.searchExtension_func&&n.searchExtension_func(...m),["stop"]))},null,544),[[et,r.searchExtension]]),r.searchExtension?(D(),L("button",{key:0,onClick:e[114]||(e[114]=Ie(m=>r.searchExtension="",["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")):se("",!0)])]),r.searchExtension?se("",!0):(D(),L("div",Fot,[p("label",Bot," Extensions Category: ("+ge(r.extCatgArr.length)+") ",1),p("select",{id:"persCat",onChange:e[115]||(e[115]=m=>s.update_extension_category(m.target.value,s.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"},[(D(!0),L(Xe,null,St(r.extCatgArr,(m,S)=>(D(),L("option",{key:S,selected:m==this.extension_category},ge(m),9,Got))),128))],32)])),p("div",null,[r.extensionsFiltererd.length>0?(D(),L("div",zot,[p("label",Hot,ge(r.searchExtension?"Search results":"Personalities")+": ("+ge(r.extensionsFiltererd.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.pzl_collapsed?"":"max-h-96"])},[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.extensionsFiltererd,(m,S)=>(D(),jt(u,{ref_for:!0,ref:"extensionsZoo",key:"index-"+S+"-"+m.name,extension:m,select_language:!0,full_path:m.full_path,"on-selected":s.onExtensionSelected,"on-mount":s.mountExtension,"on-un-mount":s.unmountExtension,"on-remount":s.remountExtension,"on-reinstall":s.onExtensionReinstall,"on-settings":n.onSettingsExtension},null,8,["extension","full_path","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):se("",!0)]),r.pzl_collapsed?(D(),L("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[116]||(e[116]=m=>r.pzl_collapsed=!r.pzl_collapsed)},qot)):(D(),L("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[117]||(e[117]=m=>r.pzl_collapsed=!r.pzl_collapsed)},$ot))],2)]),p("div",Wot,[p("div",Kot,[p("button",{onClick:e[118]||(e[118]=Ie(m=>r.mep_collapsed=!r.mep_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,Qot,512),[[Ot,r.mep_collapsed]]),we(p("div",null,Zot,512),[[Ot,!r.mep_collapsed]]),Jot])]),p("div",{class:Ke([{hidden:r.mep_collapsed},"flex flex-col mb-2 px-3 pb-0"])},null,2)]),p("div",eat,[p("div",tat,[p("button",{onClick:e[119]||(e[119]=Ie(m=>r.mc_collapsed=!r.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,iat,512),[[Ot,r.mc_collapsed]]),we(p("div",null,sat,512),[[Ot,!r.mc_collapsed]]),oat])]),p("div",{class:Ke([{hidden:r.mc_collapsed},"flex flex-col mb-2 p-2"])},[p("div",aat,[p("div",lat,[we(p("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[120]||(e[120]=Ie(()=>{},["stop"])),"onUpdate:modelValue":e[121]||(e[121]=m=>s.configFile.override_personality_model_parameters=m),onChange:e[122]||(e[122]=m=>s.update_setting("override_personality_model_parameters",s.configFile.override_personality_model_parameters))},null,544),[[Ft,s.configFile.override_personality_model_parameters]]),cat])]),p("div",{class:Ke(s.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[p("div",dat,[uat,we(p("input",{type:"text",id:"seed","onUpdate:modelValue":e[123]||(e[123]=m=>s.configFile.seed=m),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),[[et,s.configFile.seed]])]),p("div",_at,[p("div",pat,[p("div",fat,[hat,p("p",mat,[we(p("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[124]||(e[124]=m=>s.configFile.temperature=m),onChange:e[125]||(e[125]=m=>r.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),[[et,s.configFile.temperature]])])]),we(p("input",{id:"temperature",onChange:e[126]||(e[126]=m=>r.settingsChanged=!0),type:"range","onUpdate:modelValue":e[127]||(e[127]=m=>s.configFile.temperature=m),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),[[et,s.configFile.temperature]])])]),p("div",gat,[p("div",Eat,[p("div",bat,[Sat,p("p",yat,[we(p("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[128]||(e[128]=m=>s.configFile.n_predict=m),onChange:e[129]||(e[129]=m=>r.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),[[et,s.configFile.n_predict]])])]),we(p("input",{id:"predict",type:"range",onChange:e[130]||(e[130]=m=>r.settingsChanged=!0),"onUpdate:modelValue":e[131]||(e[131]=m=>s.configFile.n_predict=m),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),[[et,s.configFile.n_predict]])])]),p("div",vat,[p("div",Tat,[p("div",xat,[Cat,p("p",Rat,[we(p("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[132]||(e[132]=m=>s.configFile.top_k=m),onChange:e[133]||(e[133]=m=>r.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),[[et,s.configFile.top_k]])])]),we(p("input",{id:"top_k",type:"range",onChange:e[134]||(e[134]=m=>r.settingsChanged=!0),"onUpdate:modelValue":e[135]||(e[135]=m=>s.configFile.top_k=m),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),[[et,s.configFile.top_k]])])]),p("div",Aat,[p("div",wat,[p("div",Oat,[Nat,p("p",Mat,[we(p("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[136]||(e[136]=m=>s.configFile.top_p=m),onChange:e[137]||(e[137]=m=>r.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),[[et,s.configFile.top_p]])])]),we(p("input",{id:"top_p",type:"range","onUpdate:modelValue":e[138]||(e[138]=m=>s.configFile.top_p=m),min:"0",max:"1",step:"0.01",onChange:e[139]||(e[139]=m=>r.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),[[et,s.configFile.top_p]])])]),p("div",Iat,[p("div",Dat,[p("div",Lat,[kat,p("p",Pat,[we(p("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[140]||(e[140]=m=>s.configFile.repeat_penalty=m),onChange:e[141]||(e[141]=m=>r.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),[[et,s.configFile.repeat_penalty]])])]),we(p("input",{id:"repeat_penalty",onChange:e[142]||(e[142]=m=>r.settingsChanged=!0),type:"range","onUpdate:modelValue":e[143]||(e[143]=m=>s.configFile.repeat_penalty=m),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),[[et,s.configFile.repeat_penalty]])])]),p("div",Uat,[p("div",Fat,[p("div",Bat,[Gat,p("p",zat,[we(p("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[144]||(e[144]=m=>s.configFile.repeat_last_n=m),onChange:e[145]||(e[145]=m=>r.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),[[et,s.configFile.repeat_last_n]])])]),we(p("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[146]||(e[146]=m=>s.configFile.repeat_last_n=m),min:"0",max:"100",step:"1",onChange:e[147]||(e[147]=m=>r.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),[[et,s.configFile.repeat_last_n]])])])],2)],2)])],2)]),De(_,{ref:"toast"},null,512),De(f,{ref:"yesNoDialog",class:"z-20"},null,512),De(E,{ref:"addmodeldialog"},null,512),De(b,{ref:"messageBox"},null,512),De(g,{ref:"universalForm",class:"z-20"},null,512),De(h,{class:"z-20",show:r.variantSelectionDialogVisible,choices:r.variant_choices,onChoiceSelected:s.onVariantChoiceSelected,onCloseDialog:s.oncloseVariantChoiceDialog,onChoiceValidated:s.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const Vat=bt(Qet,[["render",Hat],["__scopeId","data-v-b0f524f9"]]),qat={components:{ClipBoardTextInput:_E,Card:Dl},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const n={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};Be.post("/start_training",n).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(n){const e=n.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(n){console.log("watching model_name",n),this.$refs.clipboardInput.inputValue=n}}},Yat={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"},$at={class:"mb-4"},Wat=p("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Kat=["value"],jat={class:"mb-4"},Qat=p("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),Xat={class:"mb-4"},Zat=p("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),Jat={class:"mb-4"},elt=p("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),tlt={class:"mb-4"},nlt=p("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),ilt={class:"mb-4"},rlt=p("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),slt={class:"mb-4"},olt=p("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),alt=p("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),llt={key:1};function clt(n,e,t,i,r,s){const o=ht("Card"),a=ht("ClipBoardTextInput");return s.selectedModel!==null&&s.selectedModel.toLowerCase().includes("gptq")?(D(),L("div",Yat,[p("form",{onSubmit:e[2]||(e[2]=Ie((...l)=>s.submitForm&&s.submitForm(...l),["prevent"])),class:""},[De(o,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(o,{title:"Model",class:"",isHorizontal:!1},{default:ot(()=>[p("div",$at,[Wat,we(p("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>n.setModel&&n.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(s.models,l=>(D(),L("option",{key:l,value:l},ge(l),9,Kat))),128))],544),[[Ci,s.selectedModel]])])]),_:1}),De(o,{title:"Data",isHorizontal:!1},{default:ot(()=>[p("div",jat,[Qat,De(a,{id:"model_path",inputType:"file",value:r.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),De(o,{title:"Training",isHorizontal:!1},{default:ot(()=>[p("div",Xat,[Zat,De(a,{id:"model_path",inputType:"integer",value:r.lr},null,8,["value"])]),p("div",Jat,[elt,De(a,{id:"model_path",inputType:"integer",value:r.num_epochs},null,8,["value"])]),p("div",tlt,[nlt,De(a,{id:"model_path",inputType:"integer",value:r.max_length},null,8,["value"])]),p("div",ilt,[rlt,De(a,{id:"model_path",inputType:"integer",value:r.batch_size},null,8,["value"])])]),_:1}),De(o,{title:"Output",isHorizontal:!1},{default:ot(()=>[p("div",slt,[olt,De(a,{id:"model_path",inputType:"text",value:n.output_dir},null,8,["value"])])]),_:1})]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[alt]),_:1})],32)])):(D(),L("div",llt,[De(o,{title:"Info",class:"",isHorizontal:!1},{default:ot(()=>[Ye(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const dlt=bt(qat,[["render",clt]]),ult={components:{ClipBoardTextInput:_E,Card:Dl},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(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(n){const e=n.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},_lt={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"},plt={class:"mb-4"},flt=p("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),hlt={class:"mb-4"},mlt=p("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),glt=p("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Elt(n,e,t,i,r,s){const o=ht("ClipBoardTextInput"),a=ht("Card");return D(),L("div",_lt,[p("form",{onSubmit:e[0]||(e[0]=Ie((...l)=>s.submitForm&&s.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[De(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(a,{title:"Model",class:"",isHorizontal:!1},{default:ot(()=>[p("div",plt,[flt,De(o,{id:"model_path",inputType:"text",value:r.model_name},null,8,["value"])]),p("div",hlt,[mlt,De(o,{id:"model_path",inputType:"text",value:r.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),De(a,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[glt]),_:1})],32)])}const blt=bt(ult,[["render",Elt]]),Slt={name:"Discussion",emits:["delete","select","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(n){this.newTitle=n},checkedChangeEvent(n,e){this.$emit("checked",n,e)}},mounted(){this.newTitle=this.title,Fe(()=>{ze.replace()})},watch:{showConfirmation(){Fe(()=>{ze.replace()})},editTitleMode(n){this.showConfirmation=n,this.editTitle=n,n&&Fe(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(n){this.showConfirmation=n,n&&Fe(()=>{this.$refs.titleBox.focus()})},makeTitleMode(n){this.showConfirmation=n},checkBoxValue(n,e){this.checkBoxValue_local=n}}},ylt=["id"],vlt={class:"flex flex-row items-center gap-2"},Tlt={key:0},xlt=["title"],Clt=["value"],Rlt={class:"flex items-center flex-1 max-h-6"},Alt={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},wlt=p("i",{"data-feather":"x"},null,-1),Olt=[wlt],Nlt=p("i",{"data-feather":"check"},null,-1),Mlt=[Nlt],Ilt={key:1,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Dlt=p("i",{"data-feather":"type"},null,-1),Llt=[Dlt],klt=p("i",{"data-feather":"edit-2"},null,-1),Plt=[klt],Ult=p("i",{"data-feather":"trash"},null,-1),Flt=[Ult];function Blt(n,e,t,i,r,s){return D(),L("div",{class:Ke([t.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-"+t.id,onClick:e[12]||(e[12]=Ie(o=>s.selectEvent(),["stop"]))},[p("div",vlt,[t.isCheckbox?(D(),L("div",Tlt,[we(p("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]=Ie(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=o=>r.checkBoxValue_local=o),onInput:e[2]||(e[2]=o=>s.checkedChangeEvent(o,t.id))},null,544),[[Ft,r.checkBoxValue_local]])])):se("",!0),t.selected?(D(),L("div",{key:1,class:Ke(["min-h-full w-2 rounded-xl self-stretch",t.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):se("",!0),t.selected?se("",!0):(D(),L("div",{key:2,class:Ke(["w-2",t.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":"  "])},null,2))]),r.editTitle?se("",!0):(D(),L("p",{key:0,title:t.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},ge(t.title?t.title==="untitled"?"New discussion":t.title:"New discussion"),9,xlt)),r.editTitle?(D(),L("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:t.title,required:"",onKeydown:[e[3]||(e[3]=Bo(Ie(o=>s.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Bo(Ie(o=>r.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=o=>s.chnageTitle(o.target.value)),onClick:e[6]||(e[6]=Ie(()=>{},["stop"]))},null,40,Clt)):se("",!0),p("div",Rlt,[r.showConfirmation?(D(),L("div",Alt,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=Ie(o=>s.cancel(),["stop"]))},Olt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=Ie(o=>r.editTitleMode?s.editTitleEvent():r.deleteMode?s.deleteEvent():s.makeTitleEvent(),["stop"]))},Mlt)])):se("",!0),r.showConfirmation?se("",!0):(D(),L("div",Ilt,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[9]||(e[9]=Ie(o=>r.makeTitleMode=!0,["stop"]))},Llt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[10]||(e[10]=Ie(o=>r.editTitleMode=!0,["stop"]))},Plt),p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[11]||(e[11]=Ie(o=>r.deleteMode=!0,["stop"]))},Flt)]))])],10,ylt)}const mw=bt(Slt,[["render",Blt]]),Glt={props:{htmlContent:{type:String,required:!0}}},zlt=["innerHTML"];function Hlt(n,e,t,i,r,s){return D(),L("div",null,[p("div",{innerHTML:t.htmlContent},null,8,zlt)])}const Vlt=bt(Glt,[["render",Hlt]]);const qlt={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,"<br>"):JSON.stringify(this.jsonData,null,"	").replace(/\n/g,"<br>")},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}}},Ylt={key:0},$lt={class:"toggle-icon mr-1"},Wlt={key:0,class:"fas fa-plus-circle text-gray-600"},Klt={key:1,class:"fas fa-minus-circle text-gray-600"},jlt={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},Qlt={key:0,class:"fas fa-plus-circle text-gray-600"},Xlt={key:1,class:"fas fa-minus-circle text-gray-600"},Zlt=["innerHTML"];function Jlt(n,e,t,i,r,s){return s.isContentPresent?(D(),L("div",Ylt,[p("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...o)=>s.toggleCollapsible&&s.toggleCollapsible(...o))},[p("span",$lt,[r.collapsed?(D(),L("i",Wlt)):(D(),L("i",Klt))]),Ye(" "+ge(t.jsonFormText),1)]),we(p("div",null,[p("div",jlt,[s.isObject?(D(),L("span",{key:0,onClick:e[1]||(e[1]=(...o)=>s.toggleCollapsed&&s.toggleCollapsed(...o)),class:"toggle-icon cursor-pointer mr-1"},[r.collapsed?(D(),L("i",Qlt)):(D(),L("i",Xlt))])):se("",!0),p("pre",{innerHTML:s.formattedJson},null,8,Zlt)])],512),[[Ot,!r.collapsed]])])):se("",!0)}const ect=bt(qlt,[["render",Jlt]]),tct={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},nct={class:"step flex items-center mb-4"},ict={class:"flex items-center justify-center w-6 h-6 mr-2"},rct={key:0},sct=p("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),oct=[sct],act={key:1},lct=p("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),cct=[lct],dct={key:2},uct=p("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),_ct=[uct],pct={key:0,role:"status"},fct=p("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"},[p("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"}),p("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),hct=[fct];function mct(n,e,t,i,r,s){return D(),L("div",nct,[p("div",ict,[t.done?se("",!0):(D(),L("div",rct,oct)),t.done&&t.status?(D(),L("div",act,cct)):se("",!0),t.done&&!t.status?(D(),L("div",dct,_ct)):se("",!0)]),t.done?se("",!0):(D(),L("div",pct,hct)),p("div",{class:Ke(["content flex-1 px-2",{"text-green-500":t.done,"text-yellow-500":!t.done}])},ge(t.message),3)])}const gct=bt(tct,[["render",mct]]);const ax="/",Ect={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:_w,Step:gct,RenderHTMLJS:Vlt,JsonViewer:ect,DynamicUIRenderer:hw},props:{host:{type:String,required:!1,default:"http://localhost:9600"},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."),Fe(()=>{ze.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{insertTab(n){const e=n.target,t=e.selectionStart,i=e.selectionEnd,r=e.value.substring(0,t),s=e.value.substring(i),o=r+"    "+s;this.message.content=o,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4}),n.preventDefault()},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let n=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(r=>r.name===this.$store.state.config.audio_out_voice)[0]);const t=r=>{let s=this.message.content.substring(r,r+e);const o=[".","!","?",`
-`];let a=-1;return o.forEach(l=>{const c=s.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=s.length),console.log(a),a+r+1},i=()=>{if(this.message.content.includes(".")){const r=t(n),s=this.message.content.substring(n,r);this.msg.text=s,n=r+1,this.msg.onend=o=>{n<this.message.content.length-2?setTimeout(()=>{i()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length,"  ",r))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{i()},1)};i()},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(n){this.$emit("resendMessage",this.message.id,this.message.content,n)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?(console.log("Avatar:",ax+this.avatar),ax+this.avatar):(console.log("No avatar found"),gl)},defaultImg(n){n.target.src=gl},parseDate(n){let e=new Date(Date.parse(n)),i=Math.floor((new Date-e)/1e3);return i<=1?"just now":i<20?i+" seconds ago":i<40?"half a minute ago":i<60?"less than a minute ago":i<=90?"one minute ago":i<=3540?Math.round(i/60)+" minutes ago":i<=5400?"1 hour ago":i<=86400?Math.round(i/3600)+" hours ago":i<=129600?"1 day ago":i<604800?Math.round(i/86400)+" days ago":i<=777600?"1 week ago":n},prettyDate(n){let e=new Date((n||"").replace(/-/g,"/").replace(/[TZ]/g," ")),t=(new Date().getTime()-e.getTime())/1e3,i=Math.floor(t/86400);if(!(isNaN(i)||i<0||i>=31))return i==0&&(t<60&&"just now"||t<120&&"1 minute ago"||t<3600&&Math.floor(t/60)+" minutes ago"||t<7200&&"1 hour ago"||t<86400&&Math.floor(t/3600)+" hours ago")||i==1&&"Yesterday"||i<7&&i+" days ago"||i<31&&Math.ceil(i/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(n){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},"message.ui":function(n){console.log("ui changed"),console.log(this.message.ui)},showConfirmation(){Fe(()=>{ze.replace()})},deleteMsgMode(){Fe(()=>{ze.replace()})}},computed:{editMsgMode:{get(){return this.message.hasOwnProperty("open")?this.editMsgMode_||this.message.open:this.editMsgMode_},set(n){this.message.open=n,this.editMsgMode_=n,Fe(()=>{ze.replace()})}},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 n=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===n.getTime()||!e.getTime())return;let i=e.getTime()-n.getTime();const r=Math.floor(i/(1e3*60*60));i-=r*(1e3*60*60);const s=Math.floor(i/(1e3*60));i-=s*(1e3*60);const o=Math.floor(i/1e3);i-=o*1e3;function a(c){return c<10&&(c="0"+c),c}return a(r)+"h:"+a(s)+"m:"+a(o)+"s"}}},bct={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"},Sct={class:"flex flex-row gap-2"},yct={class:"flex-shrink-0"},vct={class:"group/avatar"},Tct=["src","data-popover-target"],xct={class:"flex flex-col w-full flex-grow-0"},Cct={class:"flex flex-row flex-grow items-start"},Rct={class:"flex flex-col mb-2"},Act={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},wct=["title"],Oct=p("div",{class:"flex-grow"},null,-1),Nct={class:"flex-row justify-end mx-2"},Mct={class:"invisible group-hover:visible flex flex-row"},Ict={key:0,class:"flex items-center duration-75"},Dct=p("i",{"data-feather":"x"},null,-1),Lct=[Dct],kct=p("i",{"data-feather":"check"},null,-1),Pct=[kct],Uct=p("i",{"data-feather":"edit"},null,-1),Fct=[Uct],Bct=p("i",{"data-feather":"copy"},null,-1),Gct=[Bct],zct=p("i",{"data-feather":"send"},null,-1),Hct=[zct],Vct=p("i",{"data-feather":"send"},null,-1),qct=[Vct],Yct=p("i",{"data-feather":"fast-forward"},null,-1),$ct=[Yct],Wct={key:5,class:"flex items-center duration-75"},Kct=p("i",{"data-feather":"x"},null,-1),jct=[Kct],Qct=p("i",{"data-feather":"check"},null,-1),Xct=[Qct],Zct=p("i",{"data-feather":"trash"},null,-1),Jct=[Zct],edt=p("i",{"data-feather":"thumbs-up"},null,-1),tdt=[edt],ndt={class:"flex flex-row items-center"},idt=p("i",{"data-feather":"thumbs-down"},null,-1),rdt=[idt],sdt={class:"flex flex-row items-center"},odt=p("i",{"data-feather":"volume-2"},null,-1),adt=[odt],ldt={class:"overflow-x-auto w-full"},cdt={class:"flex flex-col items-start w-full"},ddt={class:"flex flex-col items-start w-full"},udt={key:1},_dt={class:"text-sm text-gray-400 mt-2"},pdt={class:"flex flex-row items-center gap-2"},fdt={key:0},hdt={class:"font-thin"},mdt={key:1},gdt={class:"font-thin"},Edt={key:2},bdt={class:"font-thin"},Sdt={key:3},ydt=["title"];function vdt(n,e,t,i,r,s){const o=ht("Step"),a=ht("RenderHTMLJS"),l=ht("MarkdownRenderer"),c=ht("JsonViewer"),d=ht("DynamicUIRenderer");return D(),L("div",bct,[p("div",Sct,[p("div",yct,[p("div",vct,[p("img",{src:s.getImgUrl(),onError:e[0]||(e[0]=u=>s.defaultImg(u)),"data-popover-target":"avatar"+t.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Tct)])]),p("div",xct,[p("div",Cct,[p("div",Rct,[p("div",Act,ge(t.message.sender)+" ",1),t.message.created_at?(D(),L("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+s.created_at_parsed},ge(s.created_at),9,wct)):se("",!0)]),Oct,p("div",Nct,[p("div",Mct,[s.editMsgMode?(D(),L("div",Ict,[p("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]=Ie(u=>s.editMsgMode=!1,["stop"]))},Lct),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=Ie((...u)=>s.updateMessage&&s.updateMessage(...u),["stop"]))},Pct)])):se("",!0),s.editMsgMode?se("",!0):(D(),L("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=Ie(u=>s.editMsgMode=!0,["stop"]))},Fct)),p("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=Ie(u=>s.copyContentToClipboard(),["stop"]))},Gct),!s.editMsgMode&&t.message.sender!=this.$store.state.mountedPers.name?(D(),L("div",{key:2,class:Ke(["text-lg text-red-500 hover:text-secondary duration-75 active:scale-90 p-2",{"text-5xl":s.editMsgMode}]),title:"Resend message with full context",onClick:e[5]||(e[5]=Ie(u=>s.resendMessage("full_context"),["stop"]))},Hct,2)):se("",!0),!s.editMsgMode&&t.message.sender!=this.$store.state.mountedPers.name?(D(),L("div",{key:3,class:Ke(["text-lg hover:text-secondary duration-75 active:scale-90 p-2",{"text-5xl":s.editMsgMode}]),title:"Resend message without the full context",onClick:e[6]||(e[6]=Ie(u=>s.resendMessage("simple_question"),["stop"]))},qct,2)):se("",!0),!s.editMsgMode&&t.message.sender==this.$store.state.mountedPers.name?(D(),L("div",{key:4,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[7]||(e[7]=Ie(u=>s.continueMessage(),["stop"]))},$ct)):se("",!0),r.deleteMsgMode?(D(),L("div",Wct,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=Ie(u=>r.deleteMsgMode=!1,["stop"]))},jct),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[9]||(e[9]=Ie(u=>s.deleteMsg(),["stop"]))},Xct)])):se("",!0),!s.editMsgMode&&!r.deleteMsgMode?(D(),L("div",{key:6,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[10]||(e[10]=u=>r.deleteMsgMode=!0)},Jct)):se("",!0),p("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[11]||(e[11]=Ie(u=>s.rankUp(),["stop"]))},tdt),p("div",ndt,[p("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[12]||(e[12]=Ie(u=>s.rankDown(),["stop"]))},rdt),t.message.rank!=0?(D(),L("div",{key:0,class:Ke(["rounded-full px-2 text-sm flex items-center justify-center font-bold",t.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ge(t.message.rank),3)):se("",!0)]),p("div",sdt,[p("div",{class:Ke(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":s.isTalking}]),title:"speak",onClick:e[13]||(e[13]=Ie(u=>s.speak(),["stop"]))},adt,2)])])])]),p("div",ldt,[p("div",cdt,[(D(!0),L(Xe,null,St(t.message.steps,(u,_)=>(D(),L("div",{key:"step-"+t.message.id+"-"+_,class:"step font-bold",style:Rn({backgroundColor:u.done?"transparent":"inherit"})},[De(o,{done:u.done,message:u.message,status:u.status},null,8,["done","message","status"])],4))),128))]),p("div",ddt,[(D(!0),L(Xe,null,St(t.message.html_js_s,(u,_)=>(D(),L("div",{key:"htmljs-"+t.message.id+"-"+_,class:"htmljs font-bold",style:Rn({backgroundColor:n.step.done?"transparent":"inherit"})},[De(a,{htmlContent:u},null,8,["htmlContent"])],4))),128))]),s.editMsgMode?se("",!0):(D(),jt(l,{key:0,ref:"mdRender",host:t.host,"markdown-text":t.message.content,message_id:t.message.id,discussion_id:t.message.discussion_id},null,8,["host","markdown-text","message_id","discussion_id"])),p("div",null,[t.message.open?we((D(),L("textarea",{key:0,ref:"mdTextarea",onKeydown:e[14]||(e[14]=Bo(Ie((...u)=>s.insertTab&&s.insertTab(...u),["prevent"]),["tab"])),class:"block p-2.5 w-full 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 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",rows:4,style:Rn({minHeight:r.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[15]||(e[15]=u=>t.message.content=u)},`\r
-                        `,36)),[[et,t.message.content]]):se("",!0)]),t.message.metadata!==null?(D(),L("div",udt,[(D(!0),L(Xe,null,St(t.message.metadata,(u,_)=>(D(),L("div",{key:"json-"+t.message.id+"-"+_,class:"json font-bold"},[De(c,{jsonFormText:u.title,jsonData:u.content},null,8,["jsonFormText","jsonData"])]))),128))])):se("",!0),t.message.ui!==null&&t.message.ui!==void 0&&t.message.ui!==""?(D(),jt(d,{key:2,class:"w-full h-full",code:t.message.ui},null,8,["code"])):se("",!0)]),p("div",_dt,[p("div",pdt,[t.message.binding?(D(),L("p",fdt,[Ye("Binding: "),p("span",hdt,ge(t.message.binding),1)])):se("",!0),t.message.model?(D(),L("p",mdt,[Ye("Model: "),p("span",gdt,ge(t.message.model),1)])):se("",!0),t.message.seed?(D(),L("p",Edt,[Ye("Seed: "),p("span",bdt,ge(t.message.seed),1)])):se("",!0),s.time_spent?(D(),L("p",Sdt,[Ye("Time spent: "),p("span",{class:"font-thin",title:"Finished generating: "+s.finished_generating_at_parsed},ge(s.time_spent),9,ydt)])):se("",!0)])])])])])}const gw=bt(Ect,[["render",vdt]]),Tdt="/";Be.defaults.baseURL="/";const xdt={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{Toast:Vs,UniversalForm:iu},data(){return{bUrl:Tdt,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(n){this.$store.commit("setConfig",n)}},mountedPers:{get(){return this.$store.state.mountedPers},set(n){this.$store.commit("setMountedPers",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{onSettingsPersonality(n){try{Be.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 - "+n.name,"Save changes","Cancel").then(t=>{try{Be.post("/set_active_personality_settings",t).then(i=>{i&&i.data?(console.log("personality set with new settings",i.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses.
+You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1}},Re=n=>(Gs("data-v-b0f524f9"),n=n(),zs(),n),Xet={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"},Zet={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"},Jet={key:0,class:"flex gap-3 flex-1 items-center duration-75"},ett=Re(()=>p("i",{"data-feather":"x"},null,-1)),ttt=[ett],ntt=Re(()=>p("i",{"data-feather":"check"},null,-1)),itt=[ntt],rtt={key:1,class:"flex gap-3 flex-1 items-center"},stt=Re(()=>p("i",{"data-feather":"save"},null,-1)),ott=[stt],att=Re(()=>p("i",{"data-feather":"refresh-ccw"},null,-1)),ltt=[att],ctt=Re(()=>p("i",{"data-feather":"list"},null,-1)),dtt=[ctt],utt={class:"flex gap-3 flex-1 items-center justify-end"},_tt=Re(()=>p("i",{"data-feather":"trash-2"},null,-1)),ptt=[_tt],ftt=Re(()=>p("i",{"data-feather":"refresh-ccw"},null,-1)),htt=[ftt],mtt=Re(()=>p("i",{"data-feather":"arrow-up-circle"},null,-1)),gtt={key:0},Ett=Re(()=>p("i",{"data-feather":"alert-circle"},null,-1)),btt=[Ett],Stt={class:"flex gap-3 items-center"},ytt={key:0,class:"flex gap-3 items-center"},vtt=Re(()=>p("p",{class:"text-red-600 font-bold"},"Apply changes:",-1)),Ttt=Re(()=>p("i",{"data-feather":"check"},null,-1)),xtt=[Ttt],Ctt={key:1,role:"status"},Rtt=Re(()=>p("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"},[p("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"}),p("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)),Att=Re(()=>p("span",{class:"sr-only"},"Loading...",-1)),wtt={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"},Ott={class:"flex flex-row p-3"},Ntt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Mtt=[Ntt],Itt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Dtt=[Itt],Ltt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),ktt=Re(()=>p("div",{class:"mr-2"},"|",-1)),Ptt={class:"text-base font-semibold cursor-pointer select-none items-center"},Utt={class:"flex gap-2 items-center"},Ftt={key:0},Btt={class:"flex gap-2 items-center"},Gtt=["src"],ztt={class:"font-bold font-large text-lg"},Htt={key:1},Vtt={class:"flex gap-2 items-center"},qtt=["src"],Ytt={class:"font-bold font-large text-lg"},$tt=Re(()=>p("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Wtt={class:"font-bold font-large text-lg"},Ktt=Re(()=>p("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),jtt={class:"font-bold font-large text-lg"},Qtt={class:"mb-2"},Xtt=Re(()=>p("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[p("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"})]),Ye(" CPU Ram usage: ")],-1)),Ztt={class:"flex flex-col mx-2"},Jtt=Re(()=>p("b",null,"Avaliable ram: ",-1)),ent=Re(()=>p("b",null,"Ram usage: ",-1)),tnt={class:"p-2"},nnt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},int={class:"mb-2"},rnt=Re(()=>p("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[p("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),Ye(" Disk usage: ")],-1)),snt={class:"flex flex-col mx-2"},ont=Re(()=>p("b",null,"Avaliable disk space: ",-1)),ant=Re(()=>p("b",null,"Disk usage: ",-1)),lnt={class:"p-2"},cnt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},dnt={class:"mb-2"},unt={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},_nt=["src"],pnt={class:"flex flex-col mx-2"},fnt=Re(()=>p("b",null,"Model: ",-1)),hnt=Re(()=>p("b",null,"Avaliable vram: ",-1)),mnt=Re(()=>p("b",null,"GPU usage: ",-1)),gnt={class:"p-2"},Ent={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},bnt={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"},Snt={class:"flex flex-row p-3"},ynt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),vnt=[ynt],Tnt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),xnt=[Tnt],Cnt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Rnt={class:"flex flex-col mb-2 px-3 pb-2"},Ant={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"},wnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),Ont={style:{width:"100%"}},Nnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),Mnt={style:{width:"100%"}},Int=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),Dnt={style:{width:"100%"}},Lnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),knt={class:"flex flex-row"},Pnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),Unt={class:"text-center items-center"},Fnt={class:"flex flex-row"},Bnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),Gnt={class:"flex flex-row"},znt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),Hnt={class:"flex flex-row"},Vnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto title:")],-1)),qnt={class:"flex flex-row"},Ynt={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"},$nt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),Wnt={style:{width:"100%"}},Knt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),jnt={style:{width:"100%"}},Qnt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),Xnt={style:{width:"100%"}},Znt=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),Jnt={style:{width:"100%"}},eit={for:"avatar-upload"},tit=["src"],nit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),iit={class:"flex flex-row"},rit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"min_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Minimum number of output tokens space (forces the model to have more space to speak):")],-1)),sit={style:{width:"100%"}},oit={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"},ait=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_files",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate files support:")],-1)),lit={class:"flex flex-row"},cit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"use_discussions_history",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate discussion vectorization:")],-1)),dit={class:"flex flex-row"},uit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"summerize_discussion",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Continuous Learning from discussions:")],-1)),_it={class:"flex flex-row"},pit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_visualize_on_vectorization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"show vectorized data:")],-1)),fit={class:"flex flex-row"},hit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate data Vectorization:")],-1)),mit={class:"flex flex-row"},git=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Build keywords when querying the vectorized database:")],-1)),Eit={class:"flex flex-row"},bit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),Sit=Re(()=>p("option",{value:"tfidf_vectorizer"},"tfidf Vectorizer",-1)),yit=Re(()=>p("option",{value:"model_embedding"},"Model Embedding",-1)),vit=[Sit,yit],Tit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),xit=Re(()=>p("option",{value:"PCA"},"PCA",-1)),Cit=Re(()=>p("option",{value:"TSNE"},"TSNE",-1)),Rit=[xit,Cit],Ait=Re(()=>p("td",{style:{"min-width":"200px"}},[p("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)),wit={class:"flex flex-row"},Oit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),Nit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),Mit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),Iit={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"},Dit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),Lit={class:"flex flex-row"},kit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),Pit={class:"flex flex-row"},Uit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),Fit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),Bit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),Git=["value"],zit=Re(()=>p("td",{style:{"min-width":"200px"}},[p("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),Hit=["value"],Vit={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"},qit={class:"flex flex-row p-3"},Yit=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),$it=[Yit],Wit=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Kit=[Wit],jit=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),Qit={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Xit=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),Zit={key:1,class:"mr-2"},Jit={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},ert={class:"flex gap-1 items-center"},trt=["src"],nrt={class:"font-bold font-large text-lg line-clamp-1"},irt={key:0,class:"mb-2"},rrt={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},srt=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),ort=[srt],art=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),lrt=[art],crt={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"},drt={class:"flex flex-row p-3"},urt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),_rt=[urt],prt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),frt=[prt],hrt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),mrt={class:"flex flex-row items-center"},grt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Ert=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),brt={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Srt=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),yrt={key:2,class:"mr-2"},vrt={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},Trt={class:"flex gap-1 items-center"},xrt=["src"],Crt={class:"font-bold font-large text-lg line-clamp-1"},Rrt={class:"mx-2 mb-4"},Art={class:"relative"},wrt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Ort={key:0},Nrt=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Mrt=[Nrt],Irt={key:1},Drt=Re(()=>p("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"},[p("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)),Lrt=[Drt],krt=Re(()=>p("label",{for:"only_installed"},"Show only installed models",-1)),Prt=Re(()=>p("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)),Urt={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},Frt=Re(()=>p("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"},[p("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"}),p("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)),Brt=Re(()=>p("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),Grt=[Frt,Brt],zrt={key:1,class:"mb-2"},Hrt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Vrt=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),qrt=[Vrt],Yrt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),$rt=[Yrt],Wrt={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"},Krt={class:"flex flex-row p-3"},jrt=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Qrt=[jrt],Xrt=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Zrt=[Xrt],Jrt=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),est={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},tst=Re(()=>p("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),nst={key:1,class:"mr-2"},ist={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},rst={class:"flex gap-1 items-center"},sst=["src"],ost={class:"font-bold font-large text-lg line-clamp-1"},ast={class:"mb-2"},lst={class:"p-2"},cst={class:"mb-3"},dst=Re(()=>p("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),ust={key:0},_st={class:"mb-3"},pst=Re(()=>p("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),fst={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},hst=Re(()=>p("div",{role:"status",class:"justify-center"},null,-1)),mst={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},gst={class:"w-full p-2"},Est={class:"flex justify-between mb-1"},bst=Ng('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-b0f524f9> Downloading <svg aria-hidden="true" class="w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-secondary" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-b0f524f9><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" data-v-b0f524f9></path><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" data-v-b0f524f9></path></svg><span class="sr-only" data-v-b0f524f9>Loading...</span></span>',1),Sst={class:"text-sm font-medium text-blue-700 dark:text-white"},yst=["title"],vst={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Tst={class:"flex justify-between mb-1"},xst={class:"text-base font-medium text-blue-700 dark:text-white"},Cst={class:"text-sm font-medium text-blue-700 dark:text-white"},Rst={class:"flex flex-grow"},Ast={class:"flex flex-row flex-grow gap-3"},wst={class:"p-2 text-center grow"},Ost={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"},Nst={class:"flex flex-row p-3 items-center"},Mst=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Ist=[Mst],Dst=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Lst=[Dst],kst=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),Pst={key:0,class:"mr-2"},Ust={class:"mr-2 font-bold font-large text-lg line-clamp-1"},Fst={key:1,class:"mr-2"},Bst={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},Gst={key:0,class:"flex -space-x-4 items-center"},zst={class:"group items-center flex flex-row"},Hst=["onClick"],Vst=["src","title"],qst=["onClick"],Yst=Re(()=>p("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"},[p("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"},[p("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)),$st=[Yst],Wst={class:"mx-2 mb-4"},Kst=Re(()=>p("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),jst={class:"relative"},Qst={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Xst={key:0},Zst=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Jst=[Zst],eot={key:1},tot=Re(()=>p("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"},[p("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)),not=[tot],iot={key:0,class:"mx-2 mb-4"},rot={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},sot=["selected"],oot={key:0,class:"mb-2"},aot={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},lot=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),cot=[lot],dot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),uot=[dot],_ot={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"},pot={class:"flex flex-row p-3 items-center"},fot=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),hot=[fot],mot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),got=[mot],Eot=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Extensions zoo",-1)),bot={key:0,class:"mr-2"},Sot={key:1,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},yot={key:0,class:"flex -space-x-4 items-center"},vot={class:"group items-center flex flex-row"},Tot=["onClick"],xot=["src","title"],Cot=["onClick"],Rot=Re(()=>p("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"},[p("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"},[p("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)),Aot=[Rot],wot={class:"mx-2 mb-4"},Oot=Re(()=>p("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),Not={class:"relative"},Mot={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Iot={key:0},Dot=Re(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Lot=[Dot],kot={key:1},Pot=Re(()=>p("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"},[p("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)),Uot=[Pot],Fot={key:0,class:"mx-2 mb-4"},Bot={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},Got=["selected"],zot={key:0,class:"mb-2"},Hot={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Vot=Re(()=>p("i",{"data-feather":"chevron-up"},null,-1)),qot=[Vot],Yot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),$ot=[Yot],Wot={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"},Kot={class:"flex flex-row p-3 items-center"},jot=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Qot=[jot],Xot=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Zot=[Xot],Jot=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Mounted Extensions Priority",-1)),eat={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"},tat={class:"flex flex-row"},nat=Re(()=>p("i",{"data-feather":"chevron-right"},null,-1)),iat=[nat],rat=Re(()=>p("i",{"data-feather":"chevron-down"},null,-1)),sat=[rat],oat=Re(()=>p("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),aat={class:"m-2"},lat={class:"flex flex-row gap-2 items-center"},cat=Re(()=>p("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),dat={class:"m-2"},uat=Re(()=>p("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),_at={class:"m-2"},pat={class:"flex flex-col align-bottom"},fat={class:"relative"},hat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),mat={class:"absolute right-0"},gat={class:"m-2"},Eat={class:"flex flex-col align-bottom"},bat={class:"relative"},Sat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),yat={class:"absolute right-0"},vat={class:"m-2"},Tat={class:"flex flex-col align-bottom"},xat={class:"relative"},Cat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),Rat={class:"absolute right-0"},Aat={class:"m-2"},wat={class:"flex flex-col align-bottom"},Oat={class:"relative"},Nat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Mat={class:"absolute right-0"},Iat={class:"m-2"},Dat={class:"flex flex-col align-bottom"},Lat={class:"relative"},kat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),Pat={class:"absolute right-0"},Uat={class:"m-2"},Fat={class:"flex flex-col align-bottom"},Bat={class:"relative"},Gat=Re(()=>p("p",{class:"absolute left-0 mt-6"},[p("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),zat={class:"absolute right-0"};function Hat(n,e,t,i,r,s){const o=ut("Card"),a=ut("BindingEntry"),l=ut("RadioOptions"),c=ut("model-entry"),d=ut("personality-entry"),u=ut("ExtensionEntry"),_=ut("Toast"),f=ut("YesNoDialog"),E=ut("AddModelDialog"),b=ut("MessageBox"),g=ut("UniversalForm"),h=ut("ChoiceDialog");return D(),L(Xe,null,[p("div",Xet,[p("div",Zet,[r.showConfirmation?(D(),L("div",Jet,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=Ie(m=>r.showConfirmation=!1,["stop"]))},ttt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=Ie(m=>s.save_configuration(),["stop"]))},itt)])):se("",!0),r.showConfirmation?se("",!0):(D(),L("div",rtt,[p("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=m=>r.showConfirmation=!0)},ott),p("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=m=>s.reset_configuration())},ltt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=Ie(m=>r.all_collapsed=!r.all_collapsed,["stop"]))},dtt)])),p("div",utt,[p("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=m=>s.api_get_req("clear_uploads").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},ptt),p("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=m=>s.api_get_req("restart_program").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))},htt),p("button",{title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[7]||(e[7]=m=>s.api_get_req("update_software").then(S=>{S.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[mtt,r.has_updates?(D(),L("div",gtt,btt)):se("",!0)]),p("div",Stt,[r.settingsChanged?(D(),L("div",ytt,[vtt,r.isLoading?se("",!0):(D(),L("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[8]||(e[8]=Ie(m=>s.applyConfiguration(),["stop"]))},xtt))])):se("",!0),r.isLoading?(D(),L("div",Ctt,[p("p",null,ge(r.loading_text),1),Rtt,Att])):se("",!0)])])]),p("div",{class:Ke(r.isLoading?"pointer-events-none opacity-30":"")},[p("div",wtt,[p("div",Ott,[p("button",{onClick:e[9]||(e[9]=Ie(m=>r.sc_collapsed=!r.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,Mtt,512),[[Ot,r.sc_collapsed]]),we(p("div",null,Dtt,512),[[Ot,!r.sc_collapsed]]),Ltt,ktt,p("div",Ptt,[p("div",Utt,[p("div",null,[s.vramUsage&&s.vramUsage.gpus&&s.vramUsage.gpus.length==1?(D(),L("div",Ftt,[(D(!0),L(Xe,null,St(s.vramUsage.gpus,m=>(D(),L("div",Btt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,Gtt),p("h3",ztt,[p("div",null,ge(s.computedFileSize(m.used_vram))+" / "+ge(s.computedFileSize(m.total_vram))+" ("+ge(m.percentage)+"%) ",1)])]))),256))])):se("",!0),s.vramUsage&&s.vramUsage.gpus&&s.vramUsage.gpus.length>1?(D(),L("div",Htt,[p("div",Vtt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,qtt),p("h3",Ytt,[p("div",null,ge(s.vramUsage.gpus.length)+"x ",1)])])])):se("",!0)]),$tt,p("h3",Wtt,[p("div",null,ge(s.ram_usage)+" / "+ge(s.ram_total_space)+" ("+ge(s.ram_percent_usage)+"%)",1)]),Ktt,p("h3",jtt,[p("div",null,ge(s.disk_binding_models_usage)+" / "+ge(s.disk_total_space)+" ("+ge(s.disk_percent_usage)+"%)",1)])])])])]),p("div",{class:Ke([{hidden:r.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Qtt,[Xtt,p("div",Ztt,[p("div",null,[Jtt,Ye(ge(s.ram_available_space),1)]),p("div",null,[ent,Ye(" "+ge(s.ram_usage)+" / "+ge(s.ram_total_space)+" ("+ge(s.ram_percent_usage)+")% ",1)])]),p("div",tnt,[p("div",nnt,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+s.ram_percent_usage+"%;")},null,4)])])]),p("div",int,[rnt,p("div",snt,[p("div",null,[ont,Ye(ge(s.disk_available_space),1)]),p("div",null,[ant,Ye(" "+ge(s.disk_binding_models_usage)+" / "+ge(s.disk_total_space)+" ("+ge(s.disk_percent_usage)+"%)",1)])]),p("div",lnt,[p("div",cnt,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+s.disk_percent_usage+"%;")},null,4)])])]),(D(!0),L(Xe,null,St(s.vramUsage.gpus,m=>(D(),L("div",dnt,[p("label",unt,[p("img",{src:r.SVGGPU,width:"25",height:"25"},null,8,_nt),Ye(" GPU usage: ")]),p("div",pnt,[p("div",null,[fnt,Ye(ge(m.gpu_model),1)]),p("div",null,[hnt,Ye(ge(this.computedFileSize(m.available_space)),1)]),p("div",null,[mnt,Ye(" "+ge(this.computedFileSize(m.used_vram))+" / "+ge(this.computedFileSize(m.total_vram))+" ("+ge(m.percentage)+"%)",1)])]),p("div",gnt,[p("div",Ent,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn("width: "+m.percentage+"%;")},null,4)])])]))),256))],2)]),p("div",bnt,[p("div",Snt,[p("button",{onClick:e[10]||(e[10]=Ie(m=>r.minconf_collapsed=!r.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,vnt,512),[[Ot,r.minconf_collapsed]]),we(p("div",null,xnt,512),[[Ot,!r.minconf_collapsed]]),Cnt])]),p("div",{class:Ke([{hidden:r.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Rnt,[De(o,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Ant,[p("tr",null,[wnt,p("td",Ont,[we(p("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[11]||(e[11]=m=>s.configFile.host=m),onChange:e[12]||(e[12]=m=>r.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),[[et,s.configFile.host]])])]),p("tr",null,[Nnt,p("td",Mnt,[we(p("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[13]||(e[13]=m=>s.configFile.port=m),onChange:e[14]||(e[14]=m=>r.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),[[et,s.configFile.port]])])]),p("tr",null,[Int,p("td",Dnt,[we(p("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[15]||(e[15]=m=>s.configFile.db_path=m),onChange:e[16]||(e[16]=m=>r.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),[[et,s.configFile.db_path]])])]),p("tr",null,[Lnt,p("td",null,[p("div",knt,[we(p("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[17]||(e[17]=m=>s.configFile.auto_show_browser=m),onChange:e[18]||(e[18]=m=>r.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_show_browser]])])])]),p("tr",null,[Pnt,p("td",Unt,[p("div",Fnt,[we(p("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[19]||(e[19]=m=>s.configFile.enable_gpu=m),onChange:e[20]||(e[20]=m=>r.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.enable_gpu]]),s.configFile.enable_gpu?se("",!0):(D(),L("button",{key:0,onClick:e[21]||(e[21]=Ie((...m)=>s.upgrade2GPU&&s.upgrade2GPU(...m),["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 "))])])]),p("tr",null,[Bnt,p("td",null,[p("div",Gnt,[we(p("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[22]||(e[22]=m=>s.configFile.auto_save=m),onChange:e[23]||(e[23]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_save]])])])]),p("tr",null,[znt,p("td",null,[p("div",Hnt,[we(p("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[24]||(e[24]=m=>s.configFile.auto_update=m),onChange:e[25]||(e[25]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_update]])])])]),p("tr",null,[Vnt,p("td",null,[p("div",qnt,[we(p("input",{type:"checkbox",id:"auto_title",required:"","onUpdate:modelValue":e[26]||(e[26]=m=>s.configFile.auto_title=m),onChange:e[27]||(e[27]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_title]])])])])])]),_:1}),De(o,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Ynt,[p("tr",null,[$nt,p("td",Wnt,[we(p("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[28]||(e[28]=m=>s.configFile.user_name=m),onChange:e[29]||(e[29]=m=>r.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.user_name]])])]),p("tr",null,[Knt,p("td",jnt,[we(p("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[30]||(e[30]=m=>s.configFile.user_description=m),onChange:e[31]||(e[31]=m=>r.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.user_description]])])]),p("tr",null,[Qnt,p("td",Xnt,[we(p("input",{type:"checkbox",id:"override_personality_model_parameters",required:"","onUpdate:modelValue":e[32]||(e[32]=m=>s.configFile.override_personality_model_parameters=m),onChange:e[33]||(e[33]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.override_personality_model_parameters]])])]),p("tr",null,[Znt,p("td",Jnt,[p("label",eit,[p("img",{src:"/user_infos/"+s.configFile.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,tit)]),p("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[34]||(e[34]=(...m)=>s.uploadAvatar&&s.uploadAvatar(...m))},null,32)])]),p("tr",null,[nit,p("td",null,[p("div",iit,[we(p("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[35]||(e[35]=m=>s.configFile.use_user_name_in_discussions=m),onChange:e[36]||(e[36]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_user_name_in_discussions]])])])]),p("tr",null,[rit,p("td",sit,[we(p("input",{type:"number",id:"min_n_predict",required:"","onUpdate:modelValue":e[37]||(e[37]=m=>s.configFile.min_n_predict=m),onChange:e[38]||(e[38]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.min_n_predict]])])])])]),_:1}),De(o,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",oit,[p("tr",null,[ait,p("td",null,[p("div",lit,[we(p("input",{type:"checkbox",id:"use_files",required:"","onUpdate:modelValue":e[39]||(e[39]=m=>s.configFile.use_files=m),onChange:e[40]||(e[40]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_files]])])])]),p("tr",null,[cit,p("td",null,[p("div",dit,[we(p("input",{type:"checkbox",id:"use_discussions_history",required:"","onUpdate:modelValue":e[41]||(e[41]=m=>s.configFile.use_discussions_history=m),onChange:e[42]||(e[42]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.use_discussions_history]])])])]),p("tr",null,[uit,p("td",null,[p("div",_it,[we(p("input",{type:"checkbox",id:"summerize_discussion",required:"","onUpdate:modelValue":e[43]||(e[43]=m=>s.configFile.summerize_discussion=m),onChange:e[44]||(e[44]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.summerize_discussion]])])])]),p("tr",null,[pit,p("td",null,[p("div",fit,[we(p("input",{type:"checkbox",id:"data_vectorization_visualize_on_vectorization",required:"","onUpdate:modelValue":e[45]||(e[45]=m=>s.configFile.data_vectorization_visualize_on_vectorization=m),onChange:e[46]||(e[46]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_visualize_on_vectorization]])])])]),p("tr",null,[hit,p("td",null,[p("div",mit,[we(p("input",{type:"checkbox",id:"data_vectorization_activate",required:"","onUpdate:modelValue":e[47]||(e[47]=m=>s.configFile.data_vectorization_activate=m),onChange:e[48]||(e[48]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_activate]])])])]),p("tr",null,[git,p("td",null,[p("div",Eit,[we(p("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[49]||(e[49]=m=>s.configFile.data_vectorization_build_keys_words=m),onChange:e[50]||(e[50]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_build_keys_words]])])])]),p("tr",null,[bit,p("td",null,[we(p("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[51]||(e[51]=m=>s.configFile.data_vectorization_method=m),onChange:e[52]||(e[52]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},vit,544),[[Ci,s.configFile.data_vectorization_method]])])]),p("tr",null,[Tit,p("td",null,[we(p("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[53]||(e[53]=m=>s.configFile.data_visualization_method=m),onChange:e[54]||(e[54]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Rit,544),[[Ci,s.configFile.data_visualization_method]])])]),p("tr",null,[Ait,p("td",null,[p("div",wit,[we(p("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[55]||(e[55]=m=>s.configFile.data_vectorization_save_db=m),onChange:e[56]||(e[56]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.data_vectorization_save_db]])])])]),p("tr",null,[Oit,p("td",null,[we(p("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[57]||(e[57]=m=>s.configFile.data_vectorization_chunk_size=m),onChange:e[58]||(e[58]=m=>r.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),[[et,s.configFile.data_vectorization_chunk_size]]),we(p("input",{"onUpdate:modelValue":e[59]||(e[59]=m=>s.configFile.data_vectorization_chunk_size=m),type:"number",onChange:e[60]||(e[60]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_chunk_size]])])]),p("tr",null,[Nit,p("td",null,[we(p("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[61]||(e[61]=m=>s.configFile.data_vectorization_overlap_size=m),onChange:e[62]||(e[62]=m=>r.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),[[et,s.configFile.data_vectorization_overlap_size]]),we(p("input",{"onUpdate:modelValue":e[63]||(e[63]=m=>s.configFile.data_vectorization_overlap_size=m),type:"number",onChange:e[64]||(e[64]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_overlap_size]])])]),p("tr",null,[Mit,p("td",null,[we(p("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[65]||(e[65]=m=>s.configFile.data_vectorization_nb_chunks=m),onChange:e[66]||(e[66]=m=>r.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),[[et,s.configFile.data_vectorization_nb_chunks]]),we(p("input",{"onUpdate:modelValue":e[67]||(e[67]=m=>s.configFile.data_vectorization_nb_chunks=m),type:"number",onChange:e[68]||(e[68]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.data_vectorization_nb_chunks]])])])])]),_:1}),De(o,{title:"Audio",is_subcard:!0,class:"pb-2 m-2"},{default:ot(()=>[p("table",Iit,[p("tr",null,[Dit,p("td",null,[p("div",Lit,[we(p("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[69]||(e[69]=m=>s.configFile.audio_auto_send_input=m),onChange:e[70]||(e[70]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.audio_auto_send_input]])])])]),p("tr",null,[kit,p("td",null,[p("div",Pit,[we(p("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[71]||(e[71]=m=>s.configFile.auto_speak=m),onChange:e[72]||(e[72]=m=>r.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ft,s.configFile.auto_speak]])])])]),p("tr",null,[Uit,p("td",null,[we(p("input",{id:"audio_pitch","onUpdate:modelValue":e[73]||(e[73]=m=>s.configFile.audio_pitch=m),onChange:e[74]||(e[74]=m=>r.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),[[et,s.configFile.audio_pitch]]),we(p("input",{"onUpdate:modelValue":e[75]||(e[75]=m=>s.configFile.audio_pitch=m),onChange:e[76]||(e[76]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.audio_pitch]])])]),p("tr",null,[Fit,p("td",null,[we(p("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[77]||(e[77]=m=>s.configFile.audio_silenceTimer=m),onChange:e[78]||(e[78]=m=>r.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),[[et,s.configFile.audio_silenceTimer]]),we(p("input",{"onUpdate:modelValue":e[79]||(e[79]=m=>s.configFile.audio_silenceTimer=m),onChange:e[80]||(e[80]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[et,s.configFile.audio_silenceTimer]])])]),p("tr",null,[Bit,p("td",null,[we(p("select",{id:"audio_in_language","onUpdate:modelValue":e[81]||(e[81]=m=>s.configFile.audio_in_language=m),onChange:e[82]||(e[82]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(D(!0),L(Xe,null,St(s.audioLanguages,m=>(D(),L("option",{key:m.code,value:m.code},ge(m.name),9,Git))),128))],544),[[Ci,s.configFile.audio_in_language]])])]),p("tr",null,[zit,p("td",null,[we(p("select",{id:"audio_out_voice","onUpdate:modelValue":e[83]||(e[83]=m=>s.configFile.audio_out_voice=m),onChange:e[84]||(e[84]=m=>r.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(D(!0),L(Xe,null,St(r.audioVoices,m=>(D(),L("option",{key:m.name,value:m.name},ge(m.name),9,Hit))),128))],544),[[Ci,s.configFile.audio_out_voice]])])])])]),_:1})])],2)]),p("div",Vit,[p("div",qit,[p("button",{onClick:e[85]||(e[85]=Ie(m=>r.bzc_collapsed=!r.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(p("div",null,$it,512),[[Ot,r.bzc_collapsed]]),we(p("div",null,Kit,512),[[Ot,!r.bzc_collapsed]]),jit,s.configFile.binding_name?se("",!0):(D(),L("div",Qit,[Xit,Ye(" No binding selected! ")])),s.configFile.binding_name?(D(),L("div",Zit,"|")):se("",!0),s.configFile.binding_name?(D(),L("div",Jit,[p("div",ert,[p("img",{src:s.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,trt),p("h3",nrt,ge(s.binding_name),1)])])):se("",!0)])]),p("div",{class:Ke([{hidden:r.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[s.bindingsZoo&&s.bindingsZoo.length>0?(D(),L("div",irt,[p("label",rrt," Bindings: ("+ge(s.bindingsZoo.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.bzl_collapsed?"":"max-h-96"])},[De(tr,{name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(s.bindingsZoo,(m,S)=>(D(),jt(a,{ref_for:!0,ref:"bindingZoo",key:"index-"+S+"-"+m.folder,binding:m,"on-selected":s.onBindingSelected,"on-reinstall":s.onReinstallBinding,"on-unInstall":s.onUnInstallBinding,"on-install":s.onInstallBinding,"on-settings":s.onSettingsBinding,"on-reload-binding":s.onReloadBinding,selected:m.folder===s.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):se("",!0),r.bzl_collapsed?(D(),L("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[86]||(e[86]=m=>r.bzl_collapsed=!r.bzl_collapsed)},ort)):(D(),L("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[87]||(e[87]=m=>r.bzl_collapsed=!r.bzl_collapsed)},lrt))],2)]),p("div",crt,[p("div",drt,[p("button",{onClick:e[88]||(e[88]=Ie(m=>s.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,_rt,512),[[Ot,r.mzc_collapsed]]),we(p("div",null,frt,512),[[Ot,!r.mzc_collapsed]]),hrt,p("div",mrt,[s.configFile.binding_name?se("",!0):(D(),L("div",grt,[Ert,Ye(" Select binding first! ")])),!r.isModelSelected&&s.configFile.binding_name?(D(),L("div",brt,[Srt,Ye(" No model selected! ")])):se("",!0),s.configFile.model_name?(D(),L("div",yrt,"|")):se("",!0),s.configFile.model_name?(D(),L("div",vrt,[p("div",Trt,[p("img",{src:s.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,xrt),p("h3",Crt,ge(s.configFile.model_name),1)])])):se("",!0)])])]),p("div",{class:Ke([{hidden:r.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Rrt,[p("div",Art,[p("div",wrt,[r.searchModelInProgress?(D(),L("div",Ort,Mrt)):se("",!0),r.searchModelInProgress?se("",!0):(D(),L("div",Irt,Lrt))]),we(p("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[89]||(e[89]=m=>r.searchModel=m),onKeyup:e[90]||(e[90]=Bo((...m)=>s.searchModel_func&&s.searchModel_func(...m),["enter"]))},null,544),[[et,r.searchModel]]),r.searchModel?(D(),L("button",{key:0,onClick:e[91]||(e[91]=Ie(m=>r.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")):se("",!0)])]),p("div",null,[we(p("input",{"onUpdate:modelValue":e[92]||(e[92]=m=>r.show_only_installed_models=m),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[Ft,r.show_only_installed_models]]),krt]),p("div",null,[De(l,{radioOptions:r.sortOptions,onRadioSelected:s.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),Prt,r.is_loading_zoo?(D(),L("div",Urt,Grt)):se("",!0),r.models_zoo&&r.models_zoo.length>0?(D(),L("div",zrt,[p("label",Hrt," Models: ("+ge(r.models_zoo.length)+") ",1),p("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",r.mzl_collapsed?"":"max-h-96"])},[De(tr,{name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(s.rendered_models_zoo,(m,S)=>(D(),jt(c,{ref_for:!0,ref:"modelZoo",key:"index-"+S+"-"+m.name,model:m,"is-installed":m.isInstalled,"on-install":s.onInstall,"on-uninstall":s.onUninstall,"on-selected":s.onModelSelected,selected:m.name===s.configFile.model_name,model_type:m.model_type,"on-copy":s.onCopy,"on-copy-link":s.onCopyLink,"on-cancel-install":s.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),p("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[93]||(e[93]=(...m)=>s.load_more_models&&s.load_more_models(...m))},"Load more models",512)]),_:1})],2)])):se("",!0),r.mzl_collapsed?(D(),L("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:"Collapse",type:"button",onClick:e[94]||(e[94]=(...m)=>s.open_mzl&&s.open_mzl(...m))},qrt)):(D(),L("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:"Expand",type:"button",onClick:e[95]||(e[95]=(...m)=>s.open_mzl&&s.open_mzl(...m))},$rt))],2)]),p("div",Wrt,[p("div",Krt,[p("button",{onClick:e[96]||(e[96]=Ie(m=>r.mzdc_collapsed=!r.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,Qrt,512),[[Ot,r.mzdc_collapsed]]),we(p("div",null,Zrt,512),[[Ot,!r.mzdc_collapsed]]),Jrt,s.binding_name?se("",!0):(D(),L("div",est,[tst,Ye(" No binding selected! ")])),s.configFile.binding_name?(D(),L("div",nst,"|")):se("",!0),s.configFile.binding_name?(D(),L("div",ist,[p("div",rst,[p("img",{src:s.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,sst),p("h3",ost,ge(s.binding_name),1)])])):se("",!0)])]),p("div",{class:Ke([{hidden:r.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",ast,[p("div",lst,[p("div",null,[p("div",cst,[dst,we(p("input",{type:"text","onUpdate:modelValue":e[97]||(e[97]=m=>r.reference_path=m),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),[[et,r.reference_path]])]),p("button",{type:"button",onClick:e[98]||(e[98]=Ie(m=>s.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")]),r.modelDownlaodInProgress?se("",!0):(D(),L("div",ust,[p("div",_st,[pst,we(p("input",{type:"text","onUpdate:modelValue":e[99]||(e[99]=m=>r.addModel.url=m),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),[[et,r.addModel.url]])]),p("button",{type:"button",onClick:e[100]||(e[100]=Ie(m=>s.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")])),r.modelDownlaodInProgress?(D(),L("div",fst,[hst,p("div",mst,[p("div",gst,[p("div",Est,[bst,p("span",Sst,ge(Math.floor(r.addModel.progress))+"%",1)]),p("div",{class:"mx-1 opacity-80 line-clamp-1",title:r.addModel.url},ge(r.addModel.url),9,yst),p("div",vst,[p("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Rn({width:r.addModel.progress+"%"})},null,4)]),p("div",Tst,[p("span",xst,"Download speed: "+ge(s.speed_computed)+"/s",1),p("span",Cst,ge(s.downloaded_size_computed)+"/"+ge(s.total_size_computed),1)])])]),p("div",Rst,[p("div",Ast,[p("div",wst,[p("button",{onClick:e[101]||(e[101]=Ie((...m)=>s.onCancelInstall&&s.onCancelInstall(...m),["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 ")])])])])):se("",!0)])])],2)]),p("div",Ost,[p("div",Nst,[p("button",{onClick:e[103]||(e[103]=Ie(m=>r.pzc_collapsed=!r.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,Ist,512),[[Ot,r.pzc_collapsed]]),we(p("div",null,Lst,512),[[Ot,!r.pzc_collapsed]]),kst,s.configFile.personalities?(D(),L("div",Pst,"|")):se("",!0),p("div",Ust,ge(s.active_pesonality),1),s.configFile.personalities?(D(),L("div",Fst,"|")):se("",!0),s.configFile.personalities?(D(),L("div",Bst,[s.mountedPersArr.length>0?(D(),L("div",Gst,[(D(!0),L(Xe,null,St(s.mountedPersArr,(m,S)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:S+"-"+m.name,ref_for:!0,ref:"mountedPersonalities"},[p("div",zst,[p("button",{onClick:Ie(v=>s.onPersonalitySelected(m),["stop"])},[p("img",{src:r.bUrl+m.avatar,onError:e[102]||(e[102]=(...v)=>s.personalityImgPlacehodler&&s.personalityImgPlacehodler(...v)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",s.configFile.active_personality_id==s.configFile.personalities.indexOf(m.full_path)?"border-secondary":"border-transparent z-0"]),title:m.name},null,42,Vst)],8,Hst),p("button",{onClick:Ie(v=>s.unmountPersonality(m),["stop"])},$st,8,qst)])]))),128))])):se("",!0)])):se("",!0)])]),p("div",{class:Ke([{hidden:r.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",Wst,[Kst,p("div",jst,[p("div",Qst,[r.searchPersonalityInProgress?(D(),L("div",Xst,Jst)):se("",!0),r.searchPersonalityInProgress?se("",!0):(D(),L("div",eot,not))]),we(p("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[104]||(e[104]=m=>r.searchPersonality=m),onKeyup:e[105]||(e[105]=Ie((...m)=>s.searchPersonality_func&&s.searchPersonality_func(...m),["stop"]))},null,544),[[et,r.searchPersonality]]),r.searchPersonality?(D(),L("button",{key:0,onClick:e[106]||(e[106]=Ie(m=>r.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")):se("",!0)])]),r.searchPersonality?se("",!0):(D(),L("div",iot,[p("label",rot," Personalities Category: ("+ge(r.persCatgArr.length)+") ",1),p("select",{id:"persCat",onChange:e[107]||(e[107]=m=>s.update_personality_category(m.target.value,s.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"},[(D(!0),L(Xe,null,St(r.persCatgArr,(m,S)=>(D(),L("option",{key:S,selected:m==this.configFile.personality_category},ge(m),9,sot))),128))],32)])),p("div",null,[r.personalitiesFiltered.length>0?(D(),L("div",oot,[p("label",aot,ge(r.searchPersonality?"Search results":"Personalities")+": ("+ge(r.personalitiesFiltered.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.pzl_collapsed?"":"max-h-96"])},[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.personalitiesFiltered,(m,S)=>(D(),jt(d,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+S+"-"+m.name,personality:m,select_language:!0,full_path:m.full_path,selected:s.configFile.active_personality_id==s.configFile.personalities.findIndex(v=>v===m.full_path||v===m.full_path+":"+m.language),"on-selected":s.onPersonalitySelected,"on-mount":s.mountPersonality,"on-un-mount":s.unmountPersonality,"on-remount":s.remountPersonality,"on-reinstall":s.onPersonalityReinstall,"on-settings":s.onSettingsPersonality,"on-copy-personality-name":s.onCopyPersonalityName},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings","on-copy-personality-name"]))),128))]),_:1})],2)])):se("",!0)]),r.pzl_collapsed?(D(),L("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[108]||(e[108]=m=>r.pzl_collapsed=!r.pzl_collapsed)},cot)):(D(),L("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[109]||(e[109]=m=>r.pzl_collapsed=!r.pzl_collapsed)},uot))],2)]),p("div",_ot,[p("div",pot,[p("button",{onClick:e[111]||(e[111]=Ie(m=>r.ezc_collapsed=!r.ezc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,hot,512),[[Ot,r.ezc_collapsed]]),we(p("div",null,got,512),[[Ot,!r.ezc_collapsed]]),Eot,s.configFile.extensions?(D(),L("div",bot,"|")):se("",!0),s.configFile.extensions?(D(),L("div",Sot,[s.mountedExtensions.length>0?(D(),L("div",yot,[(D(!0),L(Xe,null,St(s.mountedExtensions,(m,S)=>(D(),L("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:S+"-"+m.name,ref_for:!0,ref:"mountedExtensions"},[p("div",vot,[p("button",{onClick:Ie(v=>s.onExtensionSelected(m),["stop"])},[p("img",{src:r.bUrl+m.avatar,onError:e[110]||(e[110]=(...v)=>s.personalityImgPlacehodler&&s.personalityImgPlacehodler(...v)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",s.configFile.active_personality_id==s.configFile.extensions.indexOf(m.full_path)?"border-secondary":"border-transparent z-0"]),title:m.name},null,42,xot)],8,Tot),p("button",{onClick:Ie(v=>s.unmountExtension(m),["stop"])},Aot,8,Cot)])]))),128))])):se("",!0)])):se("",!0)])]),p("div",{class:Ke([{hidden:r.ezc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[p("div",wot,[Oot,p("div",Not,[p("div",Mot,[r.searchExtensionInProgress?(D(),L("div",Iot,Lot)):se("",!0),r.searchExtensionInProgress?se("",!0):(D(),L("div",kot,Uot))]),we(p("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 extension...",required:"","onUpdate:modelValue":e[112]||(e[112]=m=>r.searchExtension=m),onKeyup:e[113]||(e[113]=Ie((...m)=>n.searchExtension_func&&n.searchExtension_func(...m),["stop"]))},null,544),[[et,r.searchExtension]]),r.searchExtension?(D(),L("button",{key:0,onClick:e[114]||(e[114]=Ie(m=>r.searchExtension="",["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")):se("",!0)])]),r.searchExtension?se("",!0):(D(),L("div",Fot,[p("label",Bot," Extensions Category: ("+ge(r.extCatgArr.length)+") ",1),p("select",{id:"persCat",onChange:e[115]||(e[115]=m=>s.update_extension_category(m.target.value,s.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"},[(D(!0),L(Xe,null,St(r.extCatgArr,(m,S)=>(D(),L("option",{key:S,selected:m==this.extension_category},ge(m),9,Got))),128))],32)])),p("div",null,[r.extensionsFiltererd.length>0?(D(),L("div",zot,[p("label",Hot,ge(r.searchExtension?"Search results":"Personalities")+": ("+ge(r.extensionsFiltererd.length)+") ",1),p("div",{class:Ke(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",r.pzl_collapsed?"":"max-h-96"])},[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(r.extensionsFiltererd,(m,S)=>(D(),jt(u,{ref_for:!0,ref:"extensionsZoo",key:"index-"+S+"-"+m.name,extension:m,select_language:!0,full_path:m.full_path,"on-selected":s.onExtensionSelected,"on-mount":s.mountExtension,"on-un-mount":s.unmountExtension,"on-remount":s.remountExtension,"on-reinstall":s.onExtensionReinstall,"on-settings":n.onSettingsExtension},null,8,["extension","full_path","on-selected","on-mount","on-un-mount","on-remount","on-reinstall","on-settings"]))),128))]),_:1})],2)])):se("",!0)]),r.pzl_collapsed?(D(),L("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[116]||(e[116]=m=>r.pzl_collapsed=!r.pzl_collapsed)},qot)):(D(),L("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[117]||(e[117]=m=>r.pzl_collapsed=!r.pzl_collapsed)},$ot))],2)]),p("div",Wot,[p("div",Kot,[p("button",{onClick:e[118]||(e[118]=Ie(m=>r.mep_collapsed=!r.mep_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(p("div",null,Qot,512),[[Ot,r.mep_collapsed]]),we(p("div",null,Zot,512),[[Ot,!r.mep_collapsed]]),Jot])]),p("div",{class:Ke([{hidden:r.mep_collapsed},"flex flex-col mb-2 px-3 pb-0"])},null,2)]),p("div",eat,[p("div",tat,[p("button",{onClick:e[119]||(e[119]=Ie(m=>r.mc_collapsed=!r.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(p("div",null,iat,512),[[Ot,r.mc_collapsed]]),we(p("div",null,sat,512),[[Ot,!r.mc_collapsed]]),oat])]),p("div",{class:Ke([{hidden:r.mc_collapsed},"flex flex-col mb-2 p-2"])},[p("div",aat,[p("div",lat,[we(p("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[120]||(e[120]=Ie(()=>{},["stop"])),"onUpdate:modelValue":e[121]||(e[121]=m=>s.configFile.override_personality_model_parameters=m),onChange:e[122]||(e[122]=m=>s.update_setting("override_personality_model_parameters",s.configFile.override_personality_model_parameters))},null,544),[[Ft,s.configFile.override_personality_model_parameters]]),cat])]),p("div",{class:Ke(s.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[p("div",dat,[uat,we(p("input",{type:"text",id:"seed","onUpdate:modelValue":e[123]||(e[123]=m=>s.configFile.seed=m),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),[[et,s.configFile.seed]])]),p("div",_at,[p("div",pat,[p("div",fat,[hat,p("p",mat,[we(p("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[124]||(e[124]=m=>s.configFile.temperature=m),onChange:e[125]||(e[125]=m=>r.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),[[et,s.configFile.temperature]])])]),we(p("input",{id:"temperature",onChange:e[126]||(e[126]=m=>r.settingsChanged=!0),type:"range","onUpdate:modelValue":e[127]||(e[127]=m=>s.configFile.temperature=m),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),[[et,s.configFile.temperature]])])]),p("div",gat,[p("div",Eat,[p("div",bat,[Sat,p("p",yat,[we(p("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[128]||(e[128]=m=>s.configFile.n_predict=m),onChange:e[129]||(e[129]=m=>r.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),[[et,s.configFile.n_predict]])])]),we(p("input",{id:"predict",type:"range",onChange:e[130]||(e[130]=m=>r.settingsChanged=!0),"onUpdate:modelValue":e[131]||(e[131]=m=>s.configFile.n_predict=m),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),[[et,s.configFile.n_predict]])])]),p("div",vat,[p("div",Tat,[p("div",xat,[Cat,p("p",Rat,[we(p("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[132]||(e[132]=m=>s.configFile.top_k=m),onChange:e[133]||(e[133]=m=>r.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),[[et,s.configFile.top_k]])])]),we(p("input",{id:"top_k",type:"range",onChange:e[134]||(e[134]=m=>r.settingsChanged=!0),"onUpdate:modelValue":e[135]||(e[135]=m=>s.configFile.top_k=m),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),[[et,s.configFile.top_k]])])]),p("div",Aat,[p("div",wat,[p("div",Oat,[Nat,p("p",Mat,[we(p("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[136]||(e[136]=m=>s.configFile.top_p=m),onChange:e[137]||(e[137]=m=>r.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),[[et,s.configFile.top_p]])])]),we(p("input",{id:"top_p",type:"range","onUpdate:modelValue":e[138]||(e[138]=m=>s.configFile.top_p=m),min:"0",max:"1",step:"0.01",onChange:e[139]||(e[139]=m=>r.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),[[et,s.configFile.top_p]])])]),p("div",Iat,[p("div",Dat,[p("div",Lat,[kat,p("p",Pat,[we(p("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[140]||(e[140]=m=>s.configFile.repeat_penalty=m),onChange:e[141]||(e[141]=m=>r.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),[[et,s.configFile.repeat_penalty]])])]),we(p("input",{id:"repeat_penalty",onChange:e[142]||(e[142]=m=>r.settingsChanged=!0),type:"range","onUpdate:modelValue":e[143]||(e[143]=m=>s.configFile.repeat_penalty=m),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),[[et,s.configFile.repeat_penalty]])])]),p("div",Uat,[p("div",Fat,[p("div",Bat,[Gat,p("p",zat,[we(p("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[144]||(e[144]=m=>s.configFile.repeat_last_n=m),onChange:e[145]||(e[145]=m=>r.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),[[et,s.configFile.repeat_last_n]])])]),we(p("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[146]||(e[146]=m=>s.configFile.repeat_last_n=m),min:"0",max:"100",step:"1",onChange:e[147]||(e[147]=m=>r.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),[[et,s.configFile.repeat_last_n]])])])],2)],2)])],2)]),De(_,{ref:"toast"},null,512),De(f,{ref:"yesNoDialog",class:"z-20"},null,512),De(E,{ref:"addmodeldialog"},null,512),De(b,{ref:"messageBox"},null,512),De(g,{ref:"universalForm",class:"z-20"},null,512),De(h,{class:"z-20",show:r.variantSelectionDialogVisible,choices:r.variant_choices,onChoiceSelected:s.onVariantChoiceSelected,onCloseDialog:s.oncloseVariantChoiceDialog,onChoiceValidated:s.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const Vat=Et(Qet,[["render",Hat],["__scopeId","data-v-b0f524f9"]]),qat={components:{ClipBoardTextInput:_E,Card:Dl},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const n={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};Be.post("/start_training",n).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(n){const e=n.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(n){console.log("watching model_name",n),this.$refs.clipboardInput.inputValue=n}}},Yat={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"},$at={class:"mb-4"},Wat=p("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Kat=["value"],jat={class:"mb-4"},Qat=p("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),Xat={class:"mb-4"},Zat=p("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),Jat={class:"mb-4"},elt=p("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),tlt={class:"mb-4"},nlt=p("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),ilt={class:"mb-4"},rlt=p("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),slt={class:"mb-4"},olt=p("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),alt=p("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),llt={key:1};function clt(n,e,t,i,r,s){const o=ut("Card"),a=ut("ClipBoardTextInput");return s.selectedModel!==null&&s.selectedModel.toLowerCase().includes("gptq")?(D(),L("div",Yat,[p("form",{onSubmit:e[2]||(e[2]=Ie((...l)=>s.submitForm&&s.submitForm(...l),["prevent"])),class:""},[De(o,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(o,{title:"Model",class:"",isHorizontal:!1},{default:ot(()=>[p("div",$at,[Wat,we(p("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>n.setModel&&n.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(D(!0),L(Xe,null,St(s.models,l=>(D(),L("option",{key:l,value:l},ge(l),9,Kat))),128))],544),[[Ci,s.selectedModel]])])]),_:1}),De(o,{title:"Data",isHorizontal:!1},{default:ot(()=>[p("div",jat,[Qat,De(a,{id:"model_path",inputType:"file",value:r.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),De(o,{title:"Training",isHorizontal:!1},{default:ot(()=>[p("div",Xat,[Zat,De(a,{id:"model_path",inputType:"integer",value:r.lr},null,8,["value"])]),p("div",Jat,[elt,De(a,{id:"model_path",inputType:"integer",value:r.num_epochs},null,8,["value"])]),p("div",tlt,[nlt,De(a,{id:"model_path",inputType:"integer",value:r.max_length},null,8,["value"])]),p("div",ilt,[rlt,De(a,{id:"model_path",inputType:"integer",value:r.batch_size},null,8,["value"])])]),_:1}),De(o,{title:"Output",isHorizontal:!1},{default:ot(()=>[p("div",slt,[olt,De(a,{id:"model_path",inputType:"text",value:n.output_dir},null,8,["value"])])]),_:1})]),_:1}),De(o,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[alt]),_:1})],32)])):(D(),L("div",llt,[De(o,{title:"Info",class:"",isHorizontal:!1},{default:ot(()=>[Ye(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const dlt=Et(qat,[["render",clt]]),ult={components:{ClipBoardTextInput:_E,Card:Dl},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(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(n){const e=n.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},_lt={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"},plt={class:"mb-4"},flt=p("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),hlt={class:"mb-4"},mlt=p("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),glt=p("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function Elt(n,e,t,i,r,s){const o=ut("ClipBoardTextInput"),a=ut("Card");return D(),L("div",_lt,[p("form",{onSubmit:e[0]||(e[0]=Ie((...l)=>s.submitForm&&s.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[De(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[De(a,{title:"Model",class:"",isHorizontal:!1},{default:ot(()=>[p("div",plt,[flt,De(o,{id:"model_path",inputType:"text",value:r.model_name},null,8,["value"])]),p("div",hlt,[mlt,De(o,{id:"model_path",inputType:"text",value:r.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),De(a,{disableHoverAnimation:!0,disableFocus:!0},{default:ot(()=>[glt]),_:1})],32)])}const blt=Et(ult,[["render",Elt]]),Slt={name:"Discussion",emits:["delete","select","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(n){this.newTitle=n},checkedChangeEvent(n,e){this.$emit("checked",n,e)}},mounted(){this.newTitle=this.title,Fe(()=>{ze.replace()})},watch:{showConfirmation(){Fe(()=>{ze.replace()})},editTitleMode(n){this.showConfirmation=n,this.editTitle=n,n&&Fe(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(n){this.showConfirmation=n,n&&Fe(()=>{this.$refs.titleBox.focus()})},makeTitleMode(n){this.showConfirmation=n},checkBoxValue(n,e){this.checkBoxValue_local=n}}},ylt=["id"],vlt={class:"flex flex-row items-center gap-2"},Tlt={key:0},xlt=["title"],Clt=["value"],Rlt={class:"flex items-center flex-1 max-h-6"},Alt={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},wlt=p("i",{"data-feather":"x"},null,-1),Olt=[wlt],Nlt=p("i",{"data-feather":"check"},null,-1),Mlt=[Nlt],Ilt={key:1,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},Dlt=p("i",{"data-feather":"type"},null,-1),Llt=[Dlt],klt=p("i",{"data-feather":"edit-2"},null,-1),Plt=[klt],Ult=p("i",{"data-feather":"trash"},null,-1),Flt=[Ult];function Blt(n,e,t,i,r,s){return D(),L("div",{class:Ke([t.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-"+t.id,onClick:e[12]||(e[12]=Ie(o=>s.selectEvent(),["stop"]))},[p("div",vlt,[t.isCheckbox?(D(),L("div",Tlt,[we(p("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]=Ie(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=o=>r.checkBoxValue_local=o),onInput:e[2]||(e[2]=o=>s.checkedChangeEvent(o,t.id))},null,544),[[Ft,r.checkBoxValue_local]])])):se("",!0),t.selected?(D(),L("div",{key:1,class:Ke(["min-h-full w-2 rounded-xl self-stretch",t.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):se("",!0),t.selected?se("",!0):(D(),L("div",{key:2,class:Ke(["w-2",t.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":"  "])},null,2))]),r.editTitle?se("",!0):(D(),L("p",{key:0,title:t.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},ge(t.title?t.title==="untitled"?"New discussion":t.title:"New discussion"),9,xlt)),r.editTitle?(D(),L("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:t.title,required:"",onKeydown:[e[3]||(e[3]=Bo(Ie(o=>s.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Bo(Ie(o=>r.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=o=>s.chnageTitle(o.target.value)),onClick:e[6]||(e[6]=Ie(()=>{},["stop"]))},null,40,Clt)):se("",!0),p("div",Rlt,[r.showConfirmation?(D(),L("div",Alt,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=Ie(o=>s.cancel(),["stop"]))},Olt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=Ie(o=>r.editTitleMode?s.editTitleEvent():r.deleteMode?s.deleteEvent():s.makeTitleEvent(),["stop"]))},Mlt)])):se("",!0),r.showConfirmation?se("",!0):(D(),L("div",Ilt,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[9]||(e[9]=Ie(o=>r.makeTitleMode=!0,["stop"]))},Llt),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[10]||(e[10]=Ie(o=>r.editTitleMode=!0,["stop"]))},Plt),p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[11]||(e[11]=Ie(o=>r.deleteMode=!0,["stop"]))},Flt)]))])],10,ylt)}const mw=Et(Slt,[["render",Blt]]),Glt={props:{htmlContent:{type:String,required:!0}}},zlt=["innerHTML"];function Hlt(n,e,t,i,r,s){return D(),L("div",null,[p("div",{innerHTML:t.htmlContent},null,8,zlt)])}const Vlt=Et(Glt,[["render",Hlt]]);const qlt={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,"<br>"):JSON.stringify(this.jsonData,null,"	").replace(/\n/g,"<br>")},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}}},Ylt={key:0},$lt={class:"toggle-icon mr-1"},Wlt={key:0,class:"fas fa-plus-circle text-gray-600"},Klt={key:1,class:"fas fa-minus-circle text-gray-600"},jlt={class:"json-viewer max-h-64 overflow-auto p-4 bg-gray-100 border border-gray-300 rounded dark:bg-gray-600"},Qlt={key:0,class:"fas fa-plus-circle text-gray-600"},Xlt={key:1,class:"fas fa-minus-circle text-gray-600"},Zlt=["innerHTML"];function Jlt(n,e,t,i,r,s){return s.isContentPresent?(D(),L("div",Ylt,[p("div",{class:"collapsible-section cursor-pointer mb-4 font-bold hover:text-gray-900",onClick:e[0]||(e[0]=(...o)=>s.toggleCollapsible&&s.toggleCollapsible(...o))},[p("span",$lt,[r.collapsed?(D(),L("i",Wlt)):(D(),L("i",Klt))]),Ye(" "+ge(t.jsonFormText),1)]),we(p("div",null,[p("div",jlt,[s.isObject?(D(),L("span",{key:0,onClick:e[1]||(e[1]=(...o)=>s.toggleCollapsed&&s.toggleCollapsed(...o)),class:"toggle-icon cursor-pointer mr-1"},[r.collapsed?(D(),L("i",Qlt)):(D(),L("i",Xlt))])):se("",!0),p("pre",{innerHTML:s.formattedJson},null,8,Zlt)])],512),[[Ot,!r.collapsed]])])):se("",!0)}const ect=Et(qlt,[["render",Jlt]]),tct={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},nct={class:"step flex items-center mb-4"},ict={class:"flex items-center justify-center w-6 h-6 mr-2"},rct={key:0},sct=p("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),oct=[sct],act={key:1},lct=p("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),cct=[lct],dct={key:2},uct=p("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),_ct=[uct],pct={key:0,role:"status"},fct=p("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"},[p("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"}),p("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),hct=[fct];function mct(n,e,t,i,r,s){return D(),L("div",nct,[p("div",ict,[t.done?se("",!0):(D(),L("div",rct,oct)),t.done&&t.status?(D(),L("div",act,cct)):se("",!0),t.done&&!t.status?(D(),L("div",dct,_ct)):se("",!0)]),t.done?se("",!0):(D(),L("div",pct,hct)),p("div",{class:Ke(["content flex-1 px-2",{"text-green-500":t.done,"text-yellow-500":!t.done}])},ge(t.message),3)])}const gct=Et(tct,[["render",mct]]);const ax="/",Ect={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:_w,Step:gct,RenderHTMLJS:Vlt,JsonViewer:ect,DynamicUIRenderer:hw},props:{host:{type:String,required:!1,default:"http://localhost:9600"},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."),Fe(()=>{ze.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{insertTab(n){const e=n.target,t=e.selectionStart,i=e.selectionEnd,r=e.value.substring(0,t),s=e.value.substring(i),o=r+"    "+s;this.message.content=o,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4}),n.preventDefault()},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let n=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(r=>r.name===this.$store.state.config.audio_out_voice)[0]);const t=r=>{let s=this.message.content.substring(r,r+e);const o=[".","!","?",`
+`];let a=-1;return o.forEach(l=>{const c=s.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=s.length),console.log(a),a+r+1},i=()=>{if(this.message.content.includes(".")){const r=t(n),s=this.message.content.substring(n,r);this.msg.text=s,n=r+1,this.msg.onend=o=>{n<this.message.content.length-2?setTimeout(()=>{i()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length,"  ",r))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{i()},1)};i()},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(n){this.$emit("resendMessage",this.message.id,this.message.content,n)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?(console.log("Avatar:",ax+this.avatar),ax+this.avatar):(console.log("No avatar found"),gl)},defaultImg(n){n.target.src=gl},parseDate(n){let e=new Date(Date.parse(n)),i=Math.floor((new Date-e)/1e3);return i<=1?"just now":i<20?i+" seconds ago":i<40?"half a minute ago":i<60?"less than a minute ago":i<=90?"one minute ago":i<=3540?Math.round(i/60)+" minutes ago":i<=5400?"1 hour ago":i<=86400?Math.round(i/3600)+" hours ago":i<=129600?"1 day ago":i<604800?Math.round(i/86400)+" days ago":i<=777600?"1 week ago":n},prettyDate(n){let e=new Date((n||"").replace(/-/g,"/").replace(/[TZ]/g," ")),t=(new Date().getTime()-e.getTime())/1e3,i=Math.floor(t/86400);if(!(isNaN(i)||i<0||i>=31))return i==0&&(t<60&&"just now"||t<120&&"1 minute ago"||t<3600&&Math.floor(t/60)+" minutes ago"||t<7200&&"1 hour ago"||t<86400&&Math.floor(t/3600)+" hours ago")||i==1&&"Yesterday"||i<7&&i+" days ago"||i<31&&Math.ceil(i/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(n){this.$store.state.config.auto_speak&&(this.isSpeaking||this.checkForFullSentence())},"message.ui":function(n){console.log("ui changed"),console.log(this.message.ui)},showConfirmation(){Fe(()=>{ze.replace()})},deleteMsgMode(){Fe(()=>{ze.replace()})}},computed:{editMsgMode:{get(){return this.message.hasOwnProperty("open")?this.editMsgMode_||this.message.open:this.editMsgMode_},set(n){this.message.open=n,this.editMsgMode_=n,Fe(()=>{ze.replace()})}},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 n=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===n.getTime()||!e.getTime())return;let i=e.getTime()-n.getTime();const r=Math.floor(i/(1e3*60*60));i-=r*(1e3*60*60);const s=Math.floor(i/(1e3*60));i-=s*(1e3*60);const o=Math.floor(i/1e3);i-=o*1e3;function a(c){return c<10&&(c="0"+c),c}return a(r)+"h:"+a(s)+"m:"+a(o)+"s"}}},bct={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"},Sct={class:"flex flex-row gap-2"},yct={class:"flex-shrink-0"},vct={class:"group/avatar"},Tct=["src","data-popover-target"],xct={class:"flex flex-col w-full flex-grow-0"},Cct={class:"flex flex-row flex-grow items-start"},Rct={class:"flex flex-col mb-2"},Act={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},wct=["title"],Oct=p("div",{class:"flex-grow"},null,-1),Nct={class:"flex-row justify-end mx-2"},Mct={class:"invisible group-hover:visible flex flex-row"},Ict={key:0,class:"flex items-center duration-75"},Dct=p("i",{"data-feather":"x"},null,-1),Lct=[Dct],kct=p("i",{"data-feather":"check"},null,-1),Pct=[kct],Uct=p("i",{"data-feather":"edit"},null,-1),Fct=[Uct],Bct=p("i",{"data-feather":"copy"},null,-1),Gct=[Bct],zct=p("i",{"data-feather":"send"},null,-1),Hct=[zct],Vct=p("i",{"data-feather":"send"},null,-1),qct=[Vct],Yct=p("i",{"data-feather":"fast-forward"},null,-1),$ct=[Yct],Wct={key:5,class:"flex items-center duration-75"},Kct=p("i",{"data-feather":"x"},null,-1),jct=[Kct],Qct=p("i",{"data-feather":"check"},null,-1),Xct=[Qct],Zct=p("i",{"data-feather":"trash"},null,-1),Jct=[Zct],edt=p("i",{"data-feather":"thumbs-up"},null,-1),tdt=[edt],ndt={class:"flex flex-row items-center"},idt=p("i",{"data-feather":"thumbs-down"},null,-1),rdt=[idt],sdt={class:"flex flex-row items-center"},odt=p("i",{"data-feather":"volume-2"},null,-1),adt=[odt],ldt={class:"overflow-x-auto w-full"},cdt={class:"flex flex-col items-start w-full"},ddt={class:"flex flex-col items-start w-full"},udt={key:1},_dt={class:"text-sm text-gray-400 mt-2"},pdt={class:"flex flex-row items-center gap-2"},fdt={key:0},hdt={class:"font-thin"},mdt={key:1},gdt={class:"font-thin"},Edt={key:2},bdt={class:"font-thin"},Sdt={key:3},ydt=["title"];function vdt(n,e,t,i,r,s){const o=ut("Step"),a=ut("RenderHTMLJS"),l=ut("MarkdownRenderer"),c=ut("JsonViewer"),d=ut("DynamicUIRenderer");return D(),L("div",bct,[p("div",Sct,[p("div",yct,[p("div",vct,[p("img",{src:s.getImgUrl(),onError:e[0]||(e[0]=u=>s.defaultImg(u)),"data-popover-target":"avatar"+t.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Tct)])]),p("div",xct,[p("div",Cct,[p("div",Rct,[p("div",Act,ge(t.message.sender)+" ",1),t.message.created_at?(D(),L("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+s.created_at_parsed},ge(s.created_at),9,wct)):se("",!0)]),Oct,p("div",Nct,[p("div",Mct,[s.editMsgMode?(D(),L("div",Ict,[p("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]=Ie(u=>s.editMsgMode=!1,["stop"]))},Lct),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=Ie((...u)=>s.updateMessage&&s.updateMessage(...u),["stop"]))},Pct)])):se("",!0),s.editMsgMode?se("",!0):(D(),L("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=Ie(u=>s.editMsgMode=!0,["stop"]))},Fct)),p("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=Ie(u=>s.copyContentToClipboard(),["stop"]))},Gct),!s.editMsgMode&&t.message.sender!=this.$store.state.mountedPers.name?(D(),L("div",{key:2,class:Ke(["text-lg text-red-500 hover:text-secondary duration-75 active:scale-90 p-2",{"text-5xl":s.editMsgMode}]),title:"Resend message with full context",onClick:e[5]||(e[5]=Ie(u=>s.resendMessage("full_context"),["stop"]))},Hct,2)):se("",!0),!s.editMsgMode&&t.message.sender!=this.$store.state.mountedPers.name?(D(),L("div",{key:3,class:Ke(["text-lg hover:text-secondary duration-75 active:scale-90 p-2",{"text-5xl":s.editMsgMode}]),title:"Resend message without the full context",onClick:e[6]||(e[6]=Ie(u=>s.resendMessage("simple_question"),["stop"]))},qct,2)):se("",!0),!s.editMsgMode&&t.message.sender==this.$store.state.mountedPers.name?(D(),L("div",{key:4,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[7]||(e[7]=Ie(u=>s.continueMessage(),["stop"]))},$ct)):se("",!0),r.deleteMsgMode?(D(),L("div",Wct,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=Ie(u=>r.deleteMsgMode=!1,["stop"]))},jct),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[9]||(e[9]=Ie(u=>s.deleteMsg(),["stop"]))},Xct)])):se("",!0),!s.editMsgMode&&!r.deleteMsgMode?(D(),L("div",{key:6,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[10]||(e[10]=u=>r.deleteMsgMode=!0)},Jct)):se("",!0),p("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[11]||(e[11]=Ie(u=>s.rankUp(),["stop"]))},tdt),p("div",ndt,[p("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[12]||(e[12]=Ie(u=>s.rankDown(),["stop"]))},rdt),t.message.rank!=0?(D(),L("div",{key:0,class:Ke(["rounded-full px-2 text-sm flex items-center justify-center font-bold",t.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ge(t.message.rank),3)):se("",!0)]),p("div",sdt,[p("div",{class:Ke(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":s.isTalking}]),title:"speak",onClick:e[13]||(e[13]=Ie(u=>s.speak(),["stop"]))},adt,2)])])])]),p("div",ldt,[p("div",cdt,[(D(!0),L(Xe,null,St(t.message.steps,(u,_)=>(D(),L("div",{key:"step-"+t.message.id+"-"+_,class:"step font-bold",style:Rn({backgroundColor:u.done?"transparent":"inherit"})},[De(o,{done:u.done,message:u.message,status:u.status},null,8,["done","message","status"])],4))),128))]),p("div",ddt,[(D(!0),L(Xe,null,St(t.message.html_js_s,(u,_)=>(D(),L("div",{key:"htmljs-"+t.message.id+"-"+_,class:"htmljs font-bold",style:Rn({backgroundColor:n.step.done?"transparent":"inherit"})},[De(a,{htmlContent:u},null,8,["htmlContent"])],4))),128))]),s.editMsgMode?se("",!0):(D(),jt(l,{key:0,ref:"mdRender",host:t.host,"markdown-text":t.message.content,message_id:t.message.id,discussion_id:t.message.discussion_id},null,8,["host","markdown-text","message_id","discussion_id"])),p("div",null,[t.message.open?we((D(),L("textarea",{key:0,ref:"mdTextarea",onKeydown:e[14]||(e[14]=Bo(Ie((...u)=>s.insertTab&&s.insertTab(...u),["prevent"]),["tab"])),class:"block p-2.5 w-full 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 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",rows:4,style:Rn({minHeight:r.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[15]||(e[15]=u=>t.message.content=u)},`\r
+                        `,36)),[[et,t.message.content]]):se("",!0)]),t.message.metadata!==null?(D(),L("div",udt,[(D(!0),L(Xe,null,St(t.message.metadata,(u,_)=>(D(),L("div",{key:"json-"+t.message.id+"-"+_,class:"json font-bold"},[De(c,{jsonFormText:u.title,jsonData:u.content},null,8,["jsonFormText","jsonData"])]))),128))])):se("",!0),t.message.ui!==null&&t.message.ui!==void 0&&t.message.ui!==""?(D(),jt(d,{key:2,class:"w-full h-full",code:t.message.ui},null,8,["code"])):se("",!0)]),p("div",_dt,[p("div",pdt,[t.message.binding?(D(),L("p",fdt,[Ye("Binding: "),p("span",hdt,ge(t.message.binding),1)])):se("",!0),t.message.model?(D(),L("p",mdt,[Ye("Model: "),p("span",gdt,ge(t.message.model),1)])):se("",!0),t.message.seed?(D(),L("p",Edt,[Ye("Seed: "),p("span",bdt,ge(t.message.seed),1)])):se("",!0),s.time_spent?(D(),L("p",Sdt,[Ye("Time spent: "),p("span",{class:"font-thin",title:"Finished generating: "+s.finished_generating_at_parsed},ge(s.time_spent),9,ydt)])):se("",!0)])])])])])}const gw=Et(Ect,[["render",vdt]]),Tdt="/";Be.defaults.baseURL="/";const xdt={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{Toast:Vs,UniversalForm:iu},data(){return{bUrl:Tdt,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(n){this.$store.commit("setConfig",n)}},mountedPers:{get(){return this.$store.state.mountedPers},set(n){this.$store.commit("setMountedPers",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{onSettingsPersonality(n){try{Be.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 - "+n.name,"Save changes","Cancel").then(t=>{try{Be.post("/set_active_personality_settings",t).then(i=>{i&&i.data?(console.log("personality set with new settings",i.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses.
 `+i,4,!1)})}catch(i){this.$refs.toast.showToast(`Did not get Personality settings responses.
- Endpoint error: `+i.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(Fe(()=>{ze.replace()});this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100));this.onReady()},async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=ha}}},Cdt={class:"w-fit select-none"},Rdt={key:0,class:"flex -space-x-4"},Adt=["src","title"],wdt={key:1,class:"flex -space-x-4"},Odt=["src","title"],Ndt={key:2,title:"Loading personalities"},Mdt=p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1),Idt=[Mdt];function Ddt(n,e,t,i,r,s){const o=ht("UniversalForm");return D(),L(Xe,null,[p("div",Cdt,[s.mountedPersArr.length>1?(D(),L("div",Rdt,[p("img",{src:r.bUrl+s.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>s.personalityImgPlacehodler&&s.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: "+s.mountedPers.name,onClick:e[1]||(e[1]=a=>s.onSettingsPersonality(s.mountedPers))},null,40,Adt),p("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]=Ie((...a)=>s.toggleShowPersList&&s.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+ge(s.mountedPersArr.length-1),1)])):se("",!0),s.mountedPersArr.length==1?(D(),L("div",wdt,[p("img",{src:r.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>s.personalityImgPlacehodler&&s.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]=Ie((...a)=>s.toggleShowPersList&&s.toggleShowPersList(...a),["stop"]))},null,40,Odt)])):se("",!0),s.mountedPersArr.length==0?(D(),L("div",Ndt,Idt)):se("",!0)]),De(o,{ref:"universalForm",class:"z-20"},null,512)],64)}const Ldt=bt(xdt,[["render",Ddt]]);const kdt="/";Be.defaults.baseURL="/";const Pdt={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:fw,Toast:Vs,UniversalForm:iu},name:"MountedPersonalitiesList",data(){return{bUrl:kdt,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(n){this.$store.commit("setConfig",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=ha},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,Be.post("/reinstall_personality",{name:n.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: `+i.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(Fe(()=>{ze.replace()});this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100));this.onReady()},async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=ha}}},Cdt={class:"w-fit select-none"},Rdt={key:0,class:"flex -space-x-4"},Adt=["src","title"],wdt={key:1,class:"flex -space-x-4"},Odt=["src","title"],Ndt={key:2,title:"Loading personalities"},Mdt=p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1),Idt=[Mdt];function Ddt(n,e,t,i,r,s){const o=ut("UniversalForm");return D(),L(Xe,null,[p("div",Cdt,[s.mountedPersArr.length>1?(D(),L("div",Rdt,[p("img",{src:r.bUrl+s.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>s.personalityImgPlacehodler&&s.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: "+s.mountedPers.name,onClick:e[1]||(e[1]=a=>s.onSettingsPersonality(s.mountedPers))},null,40,Adt),p("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]=Ie((...a)=>s.toggleShowPersList&&s.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+ge(s.mountedPersArr.length-1),1)])):se("",!0),s.mountedPersArr.length==1?(D(),L("div",wdt,[p("img",{src:r.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>s.personalityImgPlacehodler&&s.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]=Ie((...a)=>s.toggleShowPersList&&s.toggleShowPersList(...a),["stop"]))},null,40,Odt)])):se("",!0),s.mountedPersArr.length==0?(D(),L("div",Ndt,Idt)):se("",!0)]),De(o,{ref:"universalForm",class:"z-20"},null,512)],64)}const Ldt=Et(xdt,[["render",Ddt]]);const kdt="/";Be.defaults.baseURL="/";const Pdt={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:fw,Toast:Vs,UniversalForm:iu},name:"MountedPersonalitiesList",data(){return{bUrl:kdt,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(n){this.$store.commit("setConfig",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=ha},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,Be.post("/reinstall_personality",{name:n.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(n){this.mountPersonality(n)},onPersonalityUnMounted(n){this.unmountPersonality(n)},onPersonalityRemount(n){this.reMountPersonality(n)},async handleOnTalk(n){if(ze.replace(),console.log("ppa",n),n){if(n.isMounted){const e=await this.select_personality(n);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality:
 `+n.name,4,!0))}else this.onPersonalityMounted(n);this.onTalk(n)}},async onPersonalitySelected(n){if(ze.replace(),console.log("Selected personality : ",JSON.stringify(n.personality)),n){if(n.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(n.isMounted){const e=await this.select_personality(n);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality:
 `+n.name,4,!0))}else this.onPersonalityMounted(n)}},onSettingsPersonality(n){try{Be.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 - "+n.personality.name,"Save changes","Cancel").then(t=>{try{Be.post("/set_active_personality_settings",t).then(i=>{i&&i.data?(console.log("personality set with new settings",i.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses.
@@ -168,17 +168,17 @@ You need to apply changes before you leave, or else.`,"Apply configuration","Can
 Error: `+e.error,4,!1))},async reMountPersonality(n){if(console.log("remount pers",n),!n)return;if(!this.configFile.personalities.includes(n.personality.full_path)){this.$refs.toast.showToast("Personality not mounted",4,!1);return}const e=await this.remount_personality(n.personality);console.log("remount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality remounted",4,!0),n.isMounted=!0,this.onMounted(this),(await this.select_personality(n.personality)).status&&this.$refs.toast.showToast(`Selected personality:
 `+n.personality.name,4,!0),this.getMountedPersonalities()):(n.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
 Error: `+e.error,4,!1))},async unmountPersonality(n){if(!n)return;console.log(`Unmounting ${JSON.stringify(n.personality)}`);const e=await this.unmount_personality(n.personality);if(e.status){console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities;const t=this.configFile.personalities[this.configFile.active_personality_id],i=this.personalities.findIndex(a=>a.full_path==t),r=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==n.full_path),s=this.personalities[i];s.isMounted=!1,s.selected=!0,this.$refs.personalitiesZoo[r].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(s)).status&&ze.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 n=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const t=this.configFile.personalities[e],i=this.personalities.findIndex(s=>s.full_path==t),r=this.personalities[i];if(r)console.log("adding from config"),n.push(r);else{console.log("adding default");const s=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),o=this.personalities[s];n.push(o)}}if(this.mountedPersArr=[],this.mountedPersArr=n,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;e<this.discussionPersonalities.length;e++){const t=this.discussionPersonalities[e];console.log("discussionPersonalities - per",t);const i=this.mountedPersArr.findIndex(r=>r.full_path==t);if(console.log("discussionPersonalities -includes",i),console.log("discussionPersonalities -mounted list",this.mountedPersArr),i==-1){const r=this.personalities.findIndex(o=>o.full_path==t),s=this.personalities[r];console.log("adding discucc121",s,t),s&&(this.mountedPersArr.push(s),console.log("adding discucc",s))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},hE=n=>(Gs("data-v-d16a58b9"),n=n(),zs(),n),Udt={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"},Fdt={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},Bdt=hE(()=>p("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"},[p("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"}),p("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)),Gdt=hE(()=>p("span",{class:"sr-only"},"Loading...",-1)),zdt=[Bdt,Gdt],Hdt=hE(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Vdt=[Hdt],qdt={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},Ydt={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function $dt(n,e,t,i,r,s){const o=ht("personality-entry"),a=ht("Toast"),l=ht("UniversalForm");return D(),L("div",Udt,[r.isLoading?(D(),L("div",Fdt,zdt)):se("",!0),p("div",null,[s.mountedPersArr.length>0?(D(),L("div",{key:0,class:Ke(r.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[p("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]=Ie((...c)=>s.toggleShowPersList&&s.toggleShowPersList(...c),["stop"]))},Vdt),p("label",qdt," Mounted Personalities: ("+ge(s.mountedPersArr.length)+") ",1),p("div",Ydt,[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(this.$store.state.mountedPersArr,(c,d)=>(D(),jt(o,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+d+"-"+c.name,personality:c,full_path:c.full_path,select_language:!1,selected:s.configFile.personalities[s.configFile.active_personality_id]===c.full_path||s.configFile.personalities[s.configFile.active_personality_id]===c.full_path+":"+c.language,"on-selected":s.onPersonalitySelected,"on-mount":s.onPersonalityMounted,"on-un-mount":s.onPersonalityUnMounted,"on-remount":s.onPersonalityRemount,"on-settings":s.onSettingsPersonality,"on-reinstall":s.onPersonalityReinstall,"on-talk":s.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)):se("",!0)]),De(a,{ref:"toast"},null,512),De(l,{ref:"universalForm",class:"z-20"},null,512)])}const Wdt=bt(Pdt,[["render",$dt],["__scopeId","data-v-d16a58b9"]]);const Kdt={components:{InteractiveMenu:Ll},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(()=>{ze.replace()})},methods:{isHTML(n){const t=new DOMParser().parseFromString(n,"text/html");return Array.from(t.body.childNodes).some(i=>i.nodeType===Node.ELEMENT_NODE)},selectFile(n,e){const t=document.createElement("input");t.type="file",t.accept=n,t.onchange=i=>{this.selectedFile=i.target.files[0],console.log("File selected"),e()},t.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const t={filename:this.selectedFile.name,fileData:e.result};We.on("file_received",i=>{i.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file
-`+i.error,4,!1),this.loading=!1,We.off("file_received")}),We.emit("send_file",t)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ze.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(n){this.showMenu=!this.showMenu,n.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(n.hasOwnProperty("file_types")?n.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(n.value)},handleClickOutside(n){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(n.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},jdt=n=>(Gs("data-v-52cfa09c"),n=n(),zs(),n),Qdt={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Xdt=jdt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Zdt=[Xdt];function Jdt(n,e,t,i,r,s){const o=ht("InteractiveMenu");return r.loading?(D(),L("div",Qdt,Zdt)):(D(),jt(o,{key:1,commands:t.commandsList,execute_cmd:s.execute_cmd},null,8,["commands","execute_cmd"]))}const eut=bt(Kdt,[["render",Jdt],["__scopeId","data-v-52cfa09c"]]);console.log("modelImgPlaceholder:",vi);const tut="/",nut={name:"ChatBox",emits:["messageSentEvent","sendCMDEvent","stopGenerating","loaded","createEmptyUserMessage","createEmptyAIMessage"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Vs,UniversalForm:iu,MountedPersonalities:Ldt,MountedPersonalitiesList:Wdt,PersonalitiesCommands:eut,InteractiveMenu:Ll},setup(){},data(){return{modelImgPlaceholder:vi,bUrl:tut,message:"",selecting_model:!1,selectedModel:"",isLesteningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:""}},computed:{currentModel(){if(this.$store.state.currentModel!=null)return console.log("Model found"),this.$store.state.currentModel;{console.log("No model found");let n={};return n.name="unknown",n}},installedModels(){return this.$store.state.installedModels},model_name(){return this.$store.state.config.model_name},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let n=[];for(let e=0;e<this.discussionList.length;e++)!n.includes(this.discussionList[e].personality)&&!this.discussionList[e].personality==""&&n.push(this.discussionList[e].personality);return console.log("conputer pers",n),console.log("dis conputer pers",this.discussionList),n}}},methods:{showModelConfig(){try{this.isLoading=!0,Be.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings ","Save changes","Cancel").then(e=>{try{Be.post("/set_active_binding_settings",e).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
+Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let n=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const t=this.configFile.personalities[e],i=this.personalities.findIndex(s=>s.full_path==t),r=this.personalities[i];if(r)console.log("adding from config"),n.push(r);else{console.log("adding default");const s=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),o=this.personalities[s];n.push(o)}}if(this.mountedPersArr=[],this.mountedPersArr=n,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;e<this.discussionPersonalities.length;e++){const t=this.discussionPersonalities[e];console.log("discussionPersonalities - per",t);const i=this.mountedPersArr.findIndex(r=>r.full_path==t);if(console.log("discussionPersonalities -includes",i),console.log("discussionPersonalities -mounted list",this.mountedPersArr),i==-1){const r=this.personalities.findIndex(o=>o.full_path==t),s=this.personalities[r];console.log("adding discucc121",s,t),s&&(this.mountedPersArr.push(s),console.log("adding discucc",s))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},hE=n=>(Gs("data-v-d16a58b9"),n=n(),zs(),n),Udt={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"},Fdt={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},Bdt=hE(()=>p("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"},[p("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"}),p("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)),Gdt=hE(()=>p("span",{class:"sr-only"},"Loading...",-1)),zdt=[Bdt,Gdt],Hdt=hE(()=>p("i",{"data-feather":"chevron-down"},null,-1)),Vdt=[Hdt],qdt={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},Ydt={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function $dt(n,e,t,i,r,s){const o=ut("personality-entry"),a=ut("Toast"),l=ut("UniversalForm");return D(),L("div",Udt,[r.isLoading?(D(),L("div",Fdt,zdt)):se("",!0),p("div",null,[s.mountedPersArr.length>0?(D(),L("div",{key:0,class:Ke(r.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[p("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]=Ie((...c)=>s.toggleShowPersList&&s.toggleShowPersList(...c),["stop"]))},Vdt),p("label",qdt," Mounted Personalities: ("+ge(s.mountedPersArr.length)+") ",1),p("div",Ydt,[De(tr,{name:"bounce"},{default:ot(()=>[(D(!0),L(Xe,null,St(this.$store.state.mountedPersArr,(c,d)=>(D(),jt(o,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+d+"-"+c.name,personality:c,full_path:c.full_path,select_language:!1,selected:s.configFile.personalities[s.configFile.active_personality_id]===c.full_path||s.configFile.personalities[s.configFile.active_personality_id]===c.full_path+":"+c.language,"on-selected":s.onPersonalitySelected,"on-mount":s.onPersonalityMounted,"on-un-mount":s.onPersonalityUnMounted,"on-remount":s.onPersonalityRemount,"on-settings":s.onSettingsPersonality,"on-reinstall":s.onPersonalityReinstall,"on-talk":s.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)):se("",!0)]),De(a,{ref:"toast"},null,512),De(l,{ref:"universalForm",class:"z-20"},null,512)])}const Wdt=Et(Pdt,[["render",$dt],["__scopeId","data-v-d16a58b9"]]);const Kdt={components:{InteractiveMenu:Ll},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(()=>{ze.replace()})},methods:{isHTML(n){const t=new DOMParser().parseFromString(n,"text/html");return Array.from(t.body.childNodes).some(i=>i.nodeType===Node.ELEMENT_NODE)},selectFile(n,e){const t=document.createElement("input");t.type="file",t.accept=n,t.onchange=i=>{this.selectedFile=i.target.files[0],console.log("File selected"),e()},t.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const t={filename:this.selectedFile.name,fileData:e.result};We.on("file_received",i=>{i.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file
+`+i.error,4,!1),this.loading=!1,We.off("file_received")}),We.emit("send_file",t)},e.readAsDataURL(this.selectedFile)},async constructor(){nextTick(()=>{ze.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(n){this.showMenu=!this.showMenu,n.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(n.hasOwnProperty("file_types")?n.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(n.value)},handleClickOutside(n){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(n.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},jdt=n=>(Gs("data-v-52cfa09c"),n=n(),zs(),n),Qdt={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Xdt=jdt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),Zdt=[Xdt];function Jdt(n,e,t,i,r,s){const o=ut("InteractiveMenu");return r.loading?(D(),L("div",Qdt,Zdt)):(D(),jt(o,{key:1,commands:t.commandsList,execute_cmd:s.execute_cmd},null,8,["commands","execute_cmd"]))}const eut=Et(Kdt,[["render",Jdt],["__scopeId","data-v-52cfa09c"]]);console.log("modelImgPlaceholder:",vi);const tut="/",nut={name:"ChatBox",emits:["messageSentEvent","sendCMDEvent","stopGenerating","loaded","createEmptyUserMessage","createEmptyAIMessage"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{Toast:Vs,UniversalForm:iu,MountedPersonalities:Ldt,MountedPersonalitiesList:Wdt,PersonalitiesCommands:eut,InteractiveMenu:Ll},setup(){},data(){return{modelImgPlaceholder:vi,bUrl:tut,message:"",selecting_model:!1,selectedModel:"",isLesteningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:""}},computed:{currentModel(){if(this.$store.state.currentModel!=null)return console.log("Model found"),this.$store.state.currentModel;{console.log("No model found");let n={};return n.name="unknown",n}},installedModels(){return this.$store.state.installedModels},model_name(){return this.$store.state.config.model_name},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let n=[];for(let e=0;e<this.discussionList.length;e++)!n.includes(this.discussionList[e].personality)&&!this.discussionList[e].personality==""&&n.push(this.discussionList[e].personality);return console.log("conputer pers",n),console.log("dis conputer pers",this.discussionList),n}}},methods:{showModelConfig(){try{this.isLoading=!0,Be.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings ","Save changes","Cancel").then(e=>{try{Be.post("/set_active_binding_settings",e).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
 `+t,4,!1),this.isLoading=!1)})}catch(t){this.$refs.toast.showToast(`Did not get binding settings responses.
  Endpoint error: `+t.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(n){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+n.message,4,!1)}},async unmountPersonality(n){if(this.loading=!0,!n)return;const e=await this.unmount_personality(n.personality||n);if(e.status){this.$store.state.config.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0),this.$store.dispatch("refreshMountedPersonalities");const t=this.$store.state.mountedPersArr[this.$store.state.mountedPersArr.length-1];console.log(t,this.$store.state.mountedPersArr.length),(await this.select_personality(n.personality)).status&&this.$refs.toast.showToast(`Selected personality:
 `+t.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
 Error: `+e.error,4,!1);this.loading=!1},async unmount_personality(n){if(!n)return{status:!1,error:"no personality - unmount_personality"};const e={language:n.language,category:n.category,folder:n.folder};try{const t=await Be.post("/unmount_personality",e);if(t)return t.data}catch(t){console.log(t.message,"unmount_personality - settings");return}},async onPersonalitySelected(n){if(console.log("on pers",n),console.log("selecting ",n),n){if(n.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(n.isMounted&&this.$store.state.config.personalities.includes(n.full_path)){const e=await this.select_personality(n);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality:
 `+n.name,4,!0):this.$refs.toast.showToast(`Error on select personality:
-`+n.name,4,!1)}else console.log("mounting pers"),this.mountPersonality(n);Fe(()=>{ze.replace()})}},async select_personality(n){if(!n)return{status:!1,error:"no personality - select_personality"};const t={id:this.$store.state.config.personalities.findIndex(i=>i===n.full_path)};try{const i=await Be.post("/select_personality",t);if(i)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),i.data}catch(i){console.log(i.message,"select_personality - settings");return}},emitloaded(){this.$emit("loaded")},showModels(n){n.preventDefault();const e=this.$refs.modelsSelectionList;console.log(e);const t=new MouseEvent("click");e.dispatchEvent(t)},setModel(n){console.log("Setting model to "+n.name),this.selecting_model=!0,this.selectedModel=n,Be.post("/update_setting",{setting_name:"model_name",setting_value:n.name}).then(async e=>{console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshModels"),this.$refs.toast.showToast(`Model changed to ${this.currentModel.name}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$refs.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},clear_files(){Be.get("/clear_personality_files_list").then(n=>{n.data.status?console.log("Files removed"):console.log("Files couldn't be removed")}),this.filesList=[],this.isFileSentList=[]},send_file(n,e){const t=new FileReader,i=24*1024;let r=0,s=0;t.onloadend=()=>{if(t.error){console.error("Error reading file:",t.error);return}const a=t.result,l=r+a.byteLength>=n.size;We.emit("send_file_chunk",{filename:n.name,chunk:a,offset:r,isLastChunk:l,chunkIndex:s}),r+=a.byteLength,s++,l?(console.log("File sent successfully"),this.isFileSentList[this.filesList.length-1]=!0,console.log(this.isFileSentList),this.onShowToastMessage("File uploaded successfully",4,!0),this.loading=!1,e()):o()};function o(){const a=n.slice(r,r+i);t.readAsArrayBuffer(a)}console.log("Uploading file"),o()},makeAnEmptyUserMessage(){this.$emit("createEmptyUserMessage")},makeAnEmptyAIMessage(){this.$emit("createEmptyAIMessage")},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=n=>{let e="";for(let t=n.resultIndex;t<n.results.length;t++)e+=n.results[t][0].transcript;this.message=e,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.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(n){this.showPersonalities=!this.showPersonalities},handleOnTalk(n){this.showPersonalities=!1,this.onTalk(n)},onMountFun(n){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(n){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(n){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(n){return Fe(()=>{ze.replace()}),Oi(n)},removeItem(n){this.filesList=this.filesList.filter(e=>e!=n)},sendMessageEvent(n){this.filesList=[],this.$emit("messageSentEvent",n)},sendCMDEvent(n){this.$emit("sendCMDEvent",n)},submitOnEnter(n){this.loading||n.which===13&&(n.preventDefault(),n.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(n){console.log("Adding files");const e=[...n.target.files];let t=0;const i=()=>{if(t>=e.length){console.log(`Files_list: ${this.filesList}`);return}const r=e[t];this.filesList.push(r),this.isFileSentList.push(!1),this.send_file(r,()=>{t++,i()})};i()}},watch:{installedModels:{immediate:!0,handler(n){this.$nextTick(()=>{this.installedModels=n})}},model_name:{immediate:!0,handler(n){this.$nextTick(()=>{this.model_name=n})}},showfilesList(){Fe(()=>{ze.replace()})},loading(n,e){Fe(()=>{ze.replace()})},filesList:{handler(n,e){let t=0;if(n.length>0)for(let i=0;i<n.length;i++)t=t+parseInt(n[i].size);this.totalSize=Oi(t,!0),console.log("filesList changed")},deep:!0},discussionList(n){console.log("discussion arr",n)}},mounted(){this.emitloaded(),Fe(()=>{ze.replace()})},activated(){Fe(()=>{ze.replace()})}},Xt=n=>(Gs("data-v-84cf73cd"),n=n(),zs(),n),iut={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},rut={key:0,class:"flex items-center justify-center w-full"},sut={class:"flex flex-row p-2 rounded-t-lg"},out=Xt(()=>p("label",{for:"chat",class:"sr-only"},"Send message",-1)),aut={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},lut={class:"flex flex-col gap-2"},cut={class:"flex"},dut=["title"],uut=Xt(()=>p("i",{"data-feather":"list"},null,-1)),_ut=[uut],put={key:0},fut={class:"flex flex-col max-h-64"},hut=["title"],mut={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"},gut={key:0,filesList:"",role:"status"},Eut=Xt(()=>p("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"},[p("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"}),p("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)),but=Xt(()=>p("span",{class:"sr-only"},"Loading...",-1)),Sut=[Eut,but],yut=Xt(()=>p("div",null,[p("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),vut=Xt(()=>p("div",{class:"grow"},null,-1)),Tut={class:"flex flex-row items-center"},xut={class:"whitespace-nowrap"},Cut=["onClick"],Rut=Xt(()=>p("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),Aut=[Rut],wut={key:1,class:"flex items-center mx-1"},Out={class:"whitespace-nowrap flex flex-row gap-2"},Nut=Xt(()=>p("p",{class:"font-bold"}," Total size: ",-1)),Mut=Xt(()=>p("div",{class:"grow"},null,-1)),Iut=Xt(()=>p("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),Dut=[Iut],Lut={key:2,class:"mx-1"},kut={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},Put={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},Uut=Xt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Selecting model...")],-1)),Fut=[Uut],But={key:1,class:"w-fit group relative"},Gut={class:"group w-full inline-flex absolute opacity-0 group-hover:opacity-100 transform group-hover:-translate-y-10 group-hover:translate-x-15 transition-all duration-300"},zut={key:0,class:"group items-center flex flex-row"},Hut=["onClick"],Vut=["src","title"],qut={class:"group items-center flex flex-row"},Yut=["src","title"],$ut={class:"w-fit group relative"},Wut={class:"group w-full inline-flex absolute opacity-0 group-hover:opacity-100 transform group-hover:-translate-y-10 group-hover:translate-x-15 transition-all duration-300"},Kut={key:0,class:"group items-center flex flex-row"},jut=["onClick"],Qut=["src","title"],Xut=["onClick"],Zut=Xt(()=>p("span",{class:"hidden hover:block top-3 left-9 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[p("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"},[p("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)),Jut=[Zut],e_t={class:"w-fit"},t_t={class:"relative grow"},n_t=Xt(()=>p("i",{"data-feather":"file-plus"},null,-1)),i_t=[n_t],r_t={class:"inline-flex justify-center rounded-full"},s_t=Xt(()=>p("i",{"data-feather":"mic"},null,-1)),o_t=[s_t],a_t=Xt(()=>p("i",{"data-feather":"message-square"},null,-1)),l_t=Xt(()=>p("span",{class:"sr-only"},"New empty User message",-1)),c_t=[a_t,l_t],d_t=Xt(()=>p("i",{"data-feather":"message-square"},null,-1)),u_t=Xt(()=>p("span",{class:"sr-only"},"New empty message",-1)),__t=[d_t,u_t],p_t=Xt(()=>p("i",{"data-feather":"send"},null,-1)),f_t=Xt(()=>p("span",{class:"sr-only"},"Send message",-1)),h_t=[p_t,f_t],m_t={key:4,title:"Waiting for reply"},g_t=Xt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),E_t=[g_t];function b_t(n,e,t,i,r,s){const o=ht("MountedPersonalitiesList"),a=ht("MountedPersonalities"),l=ht("PersonalitiesCommands"),c=ht("Toast"),d=ht("UniversalForm");return D(),L(Xe,null,[p("div",iut,[t.loading?(D(),L("div",rut,[p("div",sut,[p("button",{type:"button",class:"bg-red-500 dark:bg-red-800 hover:bg-red-600 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]=Ie((...u)=>s.stopGenerating&&s.stopGenerating(...u),["stop"]))}," Stop generating ")])])):se("",!0),p("form",null,[out,p("div",aut,[p("div",lut,[p("div",cut,[r.filesList.length>0?(D(),L("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:r.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=Ie(u=>r.showfilesList=!r.showfilesList,["stop"]))},_ut,8,dut)):se("",!0)]),r.filesList.length>0&&r.showfilesList==!0?(D(),L("div",put,[p("div",fut,[De(tr,{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:ot(()=>[(D(!0),L(Xe,null,St(r.filesList,(u,_)=>(D(),L("div",{key:_+"-"+u.name},[p("div",{class:"m-1",title:u.name},[p("div",mut,[r.isFileSentList[_]?se("",!0):(D(),L("div",gut,Sut)),yut,p("div",{class:Ke(["line-clamp-1 w-3/5",r.isFileSentList[_]?"text-green-200":"text-red-200"])},ge(u.name),3),vut,p("div",Tut,[p("p",xut,ge(s.computedFileSize(u.size)),1),p("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:f=>s.removeItem(u)},Aut,8,Cut)])])],8,hut)]))),128))]),_:1})])])):se("",!0),r.filesList.length>0?(D(),L("div",wut,[p("div",Out,[Nut,Ye(" "+ge(r.totalSize)+" ("+ge(r.filesList.length)+") ",1)]),Mut,p("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]=(...u)=>s.clear_files&&s.clear_files(...u))},Dut)])):se("",!0),r.showPersonalities?(D(),L("div",Lut,[De(o,{ref:"mountedPersList",onShowPersList:s.onShowPersListFun,"on-mounted":s.onMountFun,"on-un-mounted":s.onUnmountFun,"on-remounted":n.onRemountFun,"on-talk":s.handleOnTalk,discussionPersonalities:s.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):se("",!0),p("div",kut,[r.selecting_model?(D(),L("div",Put,Fut)):se("",!0),t.loading?se("",!0):(D(),L("div",But,[p("div",Gut,[(D(!0),L(Xe,null,St(s.installedModels,(u,_)=>(D(),L("div",{class:"w-full",key:_+"-"+u.name,ref_for:!0,ref:"installedModels"},[u.name!=s.model_name?(D(),L("div",zut,[p("button",{onClick:Ie(f=>s.setModel(u),["prevent"]),class:"w-8 h-8"},[p("img",{src:u.icon?u.icon:r.modelImgPlaceholder,onError:e[3]||(e[3]=(...f)=>r.modelImgPlaceholder&&r.modelImgPlaceholder(...f)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",title:u.name},null,40,Vut)],8,Hut)])):se("",!0)]))),128))]),p("div",qut,[p("button",{onClick:e[5]||(e[5]=Ie(u=>s.showModelConfig(),["prevent"])),class:"w-8 h-8"},[p("img",{src:s.currentModel.icon?s.currentModel.icon:r.modelImgPlaceholder,onError:e[4]||(e[4]=(...u)=>r.modelImgPlaceholder&&r.modelImgPlaceholder(...u)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",title:s.currentModel?s.currentModel.name:"unknown"},null,40,Yut)])])])),p("div",$ut,[p("div",Wut,[(D(!0),L(Xe,null,St(this.$store.state.mountedPersArr,(u,_)=>(D(),L("div",{class:"w-full",key:_+"-"+u.name,ref_for:!0,ref:"mountedPersonalities"},[_!=this.$store.state.config.active_personality_id?(D(),L("div",Kut,[p("button",{onClick:Ie(f=>s.onPersonalitySelected(u),["prevent"]),class:"w-8 h-8"},[p("img",{src:r.bUrl+u.avatar,onError:e[6]||(e[6]=(...f)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...f)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",this.$store.state.active_personality_id==this.$store.state.personalities.indexOf(u.full_path)?"border-secondary":"border-transparent z-0"]),title:u.name},null,42,Qut)],8,jut),p("button",{onClick:Ie(f=>s.unmountPersonality(u),["prevent"])},Jut,8,Xut)])):se("",!0)]))),128))]),De(a,{ref:"mountedPers",onShowPersList:s.onShowPersListFun,onReady:s.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),p("div",e_t,[r.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(D(),jt(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:s.sendCMDEvent,"on-show-toast-message":t.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):se("",!0)]),p("div",t_t,[we(p("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[7]||(e[7]=u=>r.message=u),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[8]||(e[8]=Bo(Ie(u=>s.submitOnEnter(u),["exact"]),["enter"]))},`\r
+`+n.name,4,!1)}else console.log("mounting pers"),this.mountPersonality(n);Fe(()=>{ze.replace()})}},async select_personality(n){if(!n)return{status:!1,error:"no personality - select_personality"};const t={id:this.$store.state.config.personalities.findIndex(i=>i===n.full_path)};try{const i=await Be.post("/select_personality",t);if(i)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),i.data}catch(i){console.log(i.message,"select_personality - settings");return}},emitloaded(){this.$emit("loaded")},showModels(n){n.preventDefault();const e=this.$refs.modelsSelectionList;console.log(e);const t=new MouseEvent("click");e.dispatchEvent(t)},setModel(n){console.log("Setting model to "+n.name),this.selecting_model=!0,this.selectedModel=n,Be.post("/update_setting",{setting_name:"model_name",setting_value:n.name}).then(async e=>{console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshModels"),this.$refs.toast.showToast(`Model changed to ${this.currentModel.name}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$refs.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},clear_files(){Be.get("/clear_personality_files_list").then(n=>{n.data.status?console.log("Files removed"):console.log("Files couldn't be removed")}),this.filesList=[],this.isFileSentList=[]},send_file(n,e){const t=new FileReader,i=24*1024;let r=0,s=0;t.onloadend=()=>{if(t.error){console.error("Error reading file:",t.error);return}const a=t.result,l=r+a.byteLength>=n.size;We.emit("send_file_chunk",{filename:n.name,chunk:a,offset:r,isLastChunk:l,chunkIndex:s}),r+=a.byteLength,s++,l?(console.log("File sent successfully"),this.isFileSentList[this.filesList.length-1]=!0,console.log(this.isFileSentList),this.onShowToastMessage("File uploaded successfully",4,!0),this.loading=!1,e()):o()};function o(){const a=n.slice(r,r+i);t.readAsArrayBuffer(a)}console.log("Uploading file"),o()},makeAnEmptyUserMessage(){this.$emit("createEmptyUserMessage")},makeAnEmptyAIMessage(){this.$emit("createEmptyAIMessage")},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=n=>{let e="";for(let t=n.resultIndex;t<n.results.length;t++)e+=n.results[t][0].transcript;this.message=e,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.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(n){this.showPersonalities=!this.showPersonalities},handleOnTalk(n){this.showPersonalities=!1,this.onTalk(n)},onMountFun(n){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(n){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(n){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(n){return Fe(()=>{ze.replace()}),Oi(n)},removeItem(n){this.filesList=this.filesList.filter(e=>e!=n)},sendMessageEvent(n){this.filesList=[],this.$emit("messageSentEvent",n)},sendCMDEvent(n){this.$emit("sendCMDEvent",n)},submitOnEnter(n){this.loading||n.which===13&&(n.preventDefault(),n.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(n){console.log("Adding files");const e=[...n.target.files];let t=0;const i=()=>{if(t>=e.length){console.log(`Files_list: ${this.filesList}`);return}const r=e[t];this.filesList.push(r),this.isFileSentList.push(!1),this.send_file(r,()=>{t++,i()})};i()}},watch:{installedModels:{immediate:!0,handler(n){this.$nextTick(()=>{this.installedModels=n})}},model_name:{immediate:!0,handler(n){this.$nextTick(()=>{this.model_name=n})}},showfilesList(){Fe(()=>{ze.replace()})},loading(n,e){Fe(()=>{ze.replace()})},filesList:{handler(n,e){let t=0;if(n.length>0)for(let i=0;i<n.length;i++)t=t+parseInt(n[i].size);this.totalSize=Oi(t,!0),console.log("filesList changed")},deep:!0},discussionList(n){console.log("discussion arr",n)}},mounted(){this.emitloaded(),Fe(()=>{ze.replace()})},activated(){Fe(()=>{ze.replace()})}},Xt=n=>(Gs("data-v-84cf73cd"),n=n(),zs(),n),iut={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},rut={key:0,class:"flex items-center justify-center w-full"},sut={class:"flex flex-row p-2 rounded-t-lg"},out=Xt(()=>p("label",{for:"chat",class:"sr-only"},"Send message",-1)),aut={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},lut={class:"flex flex-col gap-2"},cut={class:"flex"},dut=["title"],uut=Xt(()=>p("i",{"data-feather":"list"},null,-1)),_ut=[uut],put={key:0},fut={class:"flex flex-col max-h-64"},hut=["title"],mut={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"},gut={key:0,filesList:"",role:"status"},Eut=Xt(()=>p("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"},[p("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"}),p("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)),but=Xt(()=>p("span",{class:"sr-only"},"Loading...",-1)),Sut=[Eut,but],yut=Xt(()=>p("div",null,[p("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),vut=Xt(()=>p("div",{class:"grow"},null,-1)),Tut={class:"flex flex-row items-center"},xut={class:"whitespace-nowrap"},Cut=["onClick"],Rut=Xt(()=>p("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),Aut=[Rut],wut={key:1,class:"flex items-center mx-1"},Out={class:"whitespace-nowrap flex flex-row gap-2"},Nut=Xt(()=>p("p",{class:"font-bold"}," Total size: ",-1)),Mut=Xt(()=>p("div",{class:"grow"},null,-1)),Iut=Xt(()=>p("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),Dut=[Iut],Lut={key:2,class:"mx-1"},kut={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},Put={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},Uut=Xt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Selecting model...")],-1)),Fut=[Uut],But={key:1,class:"w-fit group relative"},Gut={class:"group w-full inline-flex absolute opacity-0 group-hover:opacity-100 transform group-hover:-translate-y-10 group-hover:translate-x-15 transition-all duration-300"},zut={key:0,class:"group items-center flex flex-row"},Hut=["onClick"],Vut=["src","title"],qut={class:"group items-center flex flex-row"},Yut=["src","title"],$ut={class:"w-fit group relative"},Wut={class:"group w-full inline-flex absolute opacity-0 group-hover:opacity-100 transform group-hover:-translate-y-10 group-hover:translate-x-15 transition-all duration-300"},Kut={key:0,class:"group items-center flex flex-row"},jut=["onClick"],Qut=["src","title"],Xut=["onClick"],Zut=Xt(()=>p("span",{class:"hidden hover:block top-3 left-9 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[p("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"},[p("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)),Jut=[Zut],e_t={class:"w-fit"},t_t={class:"relative grow"},n_t=Xt(()=>p("i",{"data-feather":"file-plus"},null,-1)),i_t=[n_t],r_t={class:"inline-flex justify-center rounded-full"},s_t=Xt(()=>p("i",{"data-feather":"mic"},null,-1)),o_t=[s_t],a_t=Xt(()=>p("i",{"data-feather":"message-square"},null,-1)),l_t=Xt(()=>p("span",{class:"sr-only"},"New empty User message",-1)),c_t=[a_t,l_t],d_t=Xt(()=>p("i",{"data-feather":"message-square"},null,-1)),u_t=Xt(()=>p("span",{class:"sr-only"},"New empty message",-1)),__t=[d_t,u_t],p_t=Xt(()=>p("i",{"data-feather":"send"},null,-1)),f_t=Xt(()=>p("span",{class:"sr-only"},"Send message",-1)),h_t=[p_t,f_t],m_t={key:4,title:"Waiting for reply"},g_t=Xt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),E_t=[g_t];function b_t(n,e,t,i,r,s){const o=ut("MountedPersonalitiesList"),a=ut("MountedPersonalities"),l=ut("PersonalitiesCommands"),c=ut("Toast"),d=ut("UniversalForm");return D(),L(Xe,null,[p("div",iut,[t.loading?(D(),L("div",rut,[p("div",sut,[p("button",{type:"button",class:"bg-red-500 dark:bg-red-800 hover:bg-red-600 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]=Ie((...u)=>s.stopGenerating&&s.stopGenerating(...u),["stop"]))}," Stop generating ")])])):se("",!0),p("form",null,[out,p("div",aut,[p("div",lut,[p("div",cut,[r.filesList.length>0?(D(),L("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:r.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=Ie(u=>r.showfilesList=!r.showfilesList,["stop"]))},_ut,8,dut)):se("",!0)]),r.filesList.length>0&&r.showfilesList==!0?(D(),L("div",put,[p("div",fut,[De(tr,{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:ot(()=>[(D(!0),L(Xe,null,St(r.filesList,(u,_)=>(D(),L("div",{key:_+"-"+u.name},[p("div",{class:"m-1",title:u.name},[p("div",mut,[r.isFileSentList[_]?se("",!0):(D(),L("div",gut,Sut)),yut,p("div",{class:Ke(["line-clamp-1 w-3/5",r.isFileSentList[_]?"text-green-200":"text-red-200"])},ge(u.name),3),vut,p("div",Tut,[p("p",xut,ge(s.computedFileSize(u.size)),1),p("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:f=>s.removeItem(u)},Aut,8,Cut)])])],8,hut)]))),128))]),_:1})])])):se("",!0),r.filesList.length>0?(D(),L("div",wut,[p("div",Out,[Nut,Ye(" "+ge(r.totalSize)+" ("+ge(r.filesList.length)+") ",1)]),Mut,p("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]=(...u)=>s.clear_files&&s.clear_files(...u))},Dut)])):se("",!0),r.showPersonalities?(D(),L("div",Lut,[De(o,{ref:"mountedPersList",onShowPersList:s.onShowPersListFun,"on-mounted":s.onMountFun,"on-un-mounted":s.onUnmountFun,"on-remounted":n.onRemountFun,"on-talk":s.handleOnTalk,discussionPersonalities:s.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):se("",!0),p("div",kut,[r.selecting_model?(D(),L("div",Put,Fut)):se("",!0),t.loading?se("",!0):(D(),L("div",But,[p("div",Gut,[(D(!0),L(Xe,null,St(s.installedModels,(u,_)=>(D(),L("div",{class:"w-full",key:_+"-"+u.name,ref_for:!0,ref:"installedModels"},[u.name!=s.model_name?(D(),L("div",zut,[p("button",{onClick:Ie(f=>s.setModel(u),["prevent"]),class:"w-8 h-8"},[p("img",{src:u.icon?u.icon:r.modelImgPlaceholder,onError:e[3]||(e[3]=(...f)=>r.modelImgPlaceholder&&r.modelImgPlaceholder(...f)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",title:u.name},null,40,Vut)],8,Hut)])):se("",!0)]))),128))]),p("div",qut,[p("button",{onClick:e[5]||(e[5]=Ie(u=>s.showModelConfig(),["prevent"])),class:"w-8 h-8"},[p("img",{src:s.currentModel.icon?s.currentModel.icon:r.modelImgPlaceholder,onError:e[4]||(e[4]=(...u)=>r.modelImgPlaceholder&&r.modelImgPlaceholder(...u)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",title:s.currentModel?s.currentModel.name:"unknown"},null,40,Yut)])])])),p("div",$ut,[p("div",Wut,[(D(!0),L(Xe,null,St(this.$store.state.mountedPersArr,(u,_)=>(D(),L("div",{class:"w-full",key:_+"-"+u.name,ref_for:!0,ref:"mountedPersonalities"},[_!=this.$store.state.config.active_personality_id?(D(),L("div",Kut,[p("button",{onClick:Ie(f=>s.onPersonalitySelected(u),["prevent"]),class:"w-8 h-8"},[p("img",{src:r.bUrl+u.avatar,onError:e[6]||(e[6]=(...f)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...f)),class:Ke(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary",this.$store.state.active_personality_id==this.$store.state.personalities.indexOf(u.full_path)?"border-secondary":"border-transparent z-0"]),title:u.name},null,42,Qut)],8,jut),p("button",{onClick:Ie(f=>s.unmountPersonality(u),["prevent"])},Jut,8,Xut)])):se("",!0)]))),128))]),De(a,{ref:"mountedPers",onShowPersList:s.onShowPersListFun,onReady:s.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),p("div",e_t,[r.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(D(),jt(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:s.sendCMDEvent,"on-show-toast-message":t.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):se("",!0)]),p("div",t_t,[we(p("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[7]||(e[7]=u=>r.message=u),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[8]||(e[8]=Bo(Ie(u=>s.submitOnEnter(u),["exact"]),["enter"]))},`\r
 \r
 \r
-                            `,544),[[et,r.message]]),p("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[9]||(e[9]=(...u)=>s.addFiles&&s.addFiles(...u)),multiple:""},null,544),p("button",{type:"button",onClick:e[10]||(e[10]=Ie(u=>n.$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"},i_t)]),p("div",r_t,[t.loading?se("",!0):(D(),L("button",{key:0,type:"button",onClick:e[11]||(e[11]=(...u)=>s.startSpeechRecognition&&s.startSpeechRecognition(...u)),class:Ke([{"text-red-500":r.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},o_t,2)),t.loading?se("",!0):(D(),L("button",{key:1,type:"button",onClick:e[12]||(e[12]=(...u)=>s.makeAnEmptyUserMessage&&s.makeAnEmptyUserMessage(...u)),title:"New empty user message",class:"w-6 text-blue-400 hover:text-secondary duration-75 active:scale-90"},c_t)),t.loading?se("",!0):(D(),L("button",{key:2,type:"button",onClick:e[13]||(e[13]=(...u)=>s.makeAnEmptyAIMessage&&s.makeAnEmptyAIMessage(...u)),title:"New empty ai message",class:"w-6 text-red-400 hover:text-secondary duration-75 active:scale-90"},__t)),t.loading?se("",!0):(D(),L("button",{key:3,type:"button",onClick:e[14]||(e[14]=(...u)=>s.submit&&s.submit(...u)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},h_t)),t.loading?(D(),L("div",m_t,E_t)):se("",!0)])])])])])]),De(c,{ref:"toast"},null,512),De(d,{ref:"universalForm",class:"z-20"},null,512)],64)}const Ew=bt(nut,[["render",b_t],["__scopeId","data-v-84cf73cd"]]),S_t={name:"WelcomeComponent",setup(){return{}}},y_t={class:"flex flex-col text-center"},v_t=Ng('<div class="flex flex-col text-center items-center"><div class="flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"><img class="w-24 animate-bounce" title="LoLLMS WebUI" src="'+gl+'" alt="Logo"><div class="flex flex-col items-start"><p class="text-2xl">Lord of Large Language Models</p><p class="text-gray-400 text-base">One tool to rule them all</p></div></div><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"><p class="text-2xl">Welcome</p><p class="text-lg">Please create a new discussion or select existing one to start</p></div>',1),T_t=[v_t];function x_t(n,e,t,i,r,s){return D(),L("div",y_t,T_t)}const bw=bt(S_t,[["render",x_t]]);const C_t={props:{progress:{type:Number,required:!0}}},R_t={class:"progress-bar-container"};function A_t(n,e,t,i,r,s){return D(),L("div",R_t,[p("div",{class:"progress-bar",style:Rn({width:`${t.progress}%`})},null,4)])}const Ym=bt(C_t,[["render",A_t]]);var w_t=function(){function n(e,t){t===void 0&&(t=[]),this._eventType=e,this._eventFunctions=t}return n.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(t){typeof window<"u"&&window.addEventListener(e._eventType,t)})},n}(),cd=globalThis&&globalThis.__assign||function(){return cd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},cd.apply(this,arguments)},dd={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},Sw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=dd),this._items=e,this._options=cd(cd({},dd),t),this._init()}return n.prototype._init=function(){var e=this;this._items.length&&this._items.map(function(t){t.active&&e.open(t.id),t.triggerEl.addEventListener("click",function(){e.toggle(t.id)})})},n.prototype.getItem=function(e){return this._items.filter(function(t){return t.id===e})[0]},n.prototype.open=function(e){var t,i,r=this,s=this.getItem(e);this._options.alwaysOpen||this._items.map(function(o){var a,l;o!==s&&((a=o.triggerEl.classList).remove.apply(a,r._options.activeClasses.split(" ")),(l=o.triggerEl.classList).add.apply(l,r._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"))}),(t=s.triggerEl.classList).add.apply(t,this._options.activeClasses.split(" ")),(i=s.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),s.triggerEl.setAttribute("aria-expanded","true"),s.targetEl.classList.remove("hidden"),s.active=!0,s.iconEl&&s.iconEl.classList.add("rotate-180"),this._options.onOpen(this,s)},n.prototype.toggle=function(e){var t=this.getItem(e);t.active?this.close(e):this.open(e),this._options.onToggle(this,t)},n.prototype.close=function(e){var t,i,r=this.getItem(e);(t=r.triggerEl.classList).remove.apply(t,this._options.activeClasses.split(" ")),(i=r.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},n}();function mE(){document.querySelectorAll("[data-accordion]").forEach(function(n){var e=n.getAttribute("data-accordion"),t=n.getAttribute("data-active-classes"),i=n.getAttribute("data-inactive-classes"),r=[];n.querySelectorAll("[data-accordion-target]").forEach(function(s){if(s.closest("[data-accordion]")===n){var o={id:s.getAttribute("data-accordion-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-accordion-target")),iconEl:s.querySelector("[data-accordion-icon]"),active:s.getAttribute("aria-expanded")==="true"};r.push(o)}}),new Sw(r,{alwaysOpen:e==="open",activeClasses:t||dd.activeClasses,inactiveClasses:i||dd.inactiveClasses})})}typeof window<"u"&&(window.Accordion=Sw,window.initAccordions=mE);var ud=globalThis&&globalThis.__assign||function(){return ud=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},ud.apply(this,arguments)},lx={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},yw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=lx),this._targetEl=e,this._triggerEl=t,this._options=ud(ud({},lx),i),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){e.toggle()}))},n.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},n.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},n.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},n}();function gE(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(n){var e=n.getAttribute("data-collapse-toggle"),t=document.getElementById(e);t?new yw(t,n):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=yw,window.initCollapses=gE);var gs=globalThis&&globalThis.__assign||function(){return gs=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},gs.apply(this,arguments)},$c={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},vw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=$c),this._items=e,this._options=gs(gs(gs({},$c),t),{indicators:gs(gs({},$c.indicators),t.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return n.prototype._init=function(){var e=this;this._items.map(function(t){t.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(t,i){t.el.addEventListener("click",function(){e.slideTo(i)})})},n.prototype.getItem=function(e){return this._items[e]},n.prototype.slideTo=function(e){var t=this._items[e],i={left:t.position===0?this._items[this._items.length-1]:this._items[t.position-1],middle:t,right:t.position===this._items.length-1?this._items[0]:this._items[t.position+1]};this._rotate(i),this._setActiveItem(t),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},n.prototype.next=function(){var e=this._getActiveItem(),t=null;e.position===this._items.length-1?t=this._items[0]:t=this._items[e.position+1],this.slideTo(t.position),this._options.onNext(this)},n.prototype.prev=function(){var e=this._getActiveItem(),t=null;e.position===0?t=this._items[this._items.length-1]:t=this._items[e.position-1],this.slideTo(t.position),this._options.onPrev(this)},n.prototype._rotate=function(e){this._items.map(function(t){t.el.classList.add("hidden")}),e.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.left.el.classList.add("-translate-x-full","z-10"),e.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),e.middle.el.classList.add("translate-x-0","z-20"),e.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.right.el.classList.add("translate-x-full","z-10")},n.prototype.cycle=function(){var e=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){e.next()},this._intervalDuration))},n.prototype.pause=function(){clearInterval(this._intervalInstance)},n.prototype._getActiveItem=function(){return this._activeItem},n.prototype._setActiveItem=function(e){var t,i,r=this;this._activeItem=e;var s=e.position;this._indicators.length&&(this._indicators.map(function(o){var a,l;o.el.setAttribute("aria-current","false"),(a=o.el.classList).remove.apply(a,r._options.indicators.activeClasses.split(" ")),(l=o.el.classList).add.apply(l,r._options.indicators.inactiveClasses.split(" "))}),(t=this._indicators[s].el.classList).add.apply(t,this._options.indicators.activeClasses.split(" ")),(i=this._indicators[s].el.classList).remove.apply(i,this._options.indicators.inactiveClasses.split(" ")),this._indicators[s].el.setAttribute("aria-current","true"))},n}();function EE(){document.querySelectorAll("[data-carousel]").forEach(function(n){var e=n.getAttribute("data-carousel-interval"),t=n.getAttribute("data-carousel")==="slide",i=[],r=0;n.querySelectorAll("[data-carousel-item]").length&&Array.from(n.querySelectorAll("[data-carousel-item]")).map(function(c,d){i.push({position:d,el:c}),c.getAttribute("data-carousel-item")==="active"&&(r=d)});var s=[];n.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(n.querySelectorAll("[data-carousel-slide-to]")).map(function(c){s.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var o=new vw(i,{defaultPosition:r,indicators:{items:s},interval:e||$c.interval});t&&o.cycle();var a=n.querySelector("[data-carousel-next]"),l=n.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){o.next()}),l&&l.addEventListener("click",function(){o.prev()})})}typeof window<"u"&&(window.Carousel=vw,window.initCarousels=EE);var _d=globalThis&&globalThis.__assign||function(){return _d=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},_d.apply(this,arguments)},cx={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Tw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=cx),this._targetEl=e,this._triggerEl=t,this._options=_d(_d({},cx),i),this._init()}return n.prototype._init=function(){var e=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){e.hide()})},n.prototype.hide=function(){var e=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){e._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},n}();function bE(){document.querySelectorAll("[data-dismiss-target]").forEach(function(n){var e=n.getAttribute("data-dismiss-target"),t=document.querySelector(e);t?new Tw(t,n):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=Tw,window.initDismisses=bE);var In="top",ti="bottom",ni="right",Dn="left",SE="auto",kl=[In,ti,ni,Dn],Yo="start",yl="end",O_t="clippingParents",xw="viewport",La="popper",N_t="reference",dx=kl.reduce(function(n,e){return n.concat([e+"-"+Yo,e+"-"+yl])},[]),Cw=[].concat(kl,[SE]).reduce(function(n,e){return n.concat([e,e+"-"+Yo,e+"-"+yl])},[]),M_t="beforeRead",I_t="read",D_t="afterRead",L_t="beforeMain",k_t="main",P_t="afterMain",U_t="beforeWrite",F_t="write",B_t="afterWrite",G_t=[M_t,I_t,D_t,L_t,k_t,P_t,U_t,F_t,B_t];function Di(n){return n?(n.nodeName||"").toLowerCase():null}function Gn(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Ls(n){var e=Gn(n).Element;return n instanceof e||n instanceof Element}function Jn(n){var e=Gn(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function yE(n){if(typeof ShadowRoot>"u")return!1;var e=Gn(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function z_t(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];!Jn(s)||!Di(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function H_t(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!Jn(r)||!Di(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}const V_t={name:"applyStyles",enabled:!0,phase:"write",fn:z_t,effect:H_t,requires:["computeStyles"]};function Ni(n){return n.split("-")[0]}var As=Math.max,pd=Math.min,$o=Math.round;function $m(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Rw(){return!/^((?!chrome|android).)*safari/i.test($m())}function Wo(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&Jn(n)&&(r=n.offsetWidth>0&&$o(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&$o(i.height)/n.offsetHeight||1);var o=Ls(n)?Gn(n):window,a=o.visualViewport,l=!Rw()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/r,d=(i.top+(l&&a?a.offsetTop:0))/s,u=i.width/r,_=i.height/s;return{width:u,height:_,top:d,right:c+u,bottom:d+_,left:c,x:c,y:d}}function vE(n){var e=Wo(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Aw(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&yE(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function cr(n){return Gn(n).getComputedStyle(n)}function q_t(n){return["table","td","th"].indexOf(Di(n))>=0}function Xr(n){return((Ls(n)?n.ownerDocument:n.document)||window.document).documentElement}function ru(n){return Di(n)==="html"?n:n.assignedSlot||n.parentNode||(yE(n)?n.host:null)||Xr(n)}function ux(n){return!Jn(n)||cr(n).position==="fixed"?null:n.offsetParent}function Y_t(n){var e=/firefox/i.test($m()),t=/Trident/i.test($m());if(t&&Jn(n)){var i=cr(n);if(i.position==="fixed")return null}var r=ru(n);for(yE(r)&&(r=r.host);Jn(r)&&["html","body"].indexOf(Di(r))<0;){var s=cr(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function Pl(n){for(var e=Gn(n),t=ux(n);t&&q_t(t)&&cr(t).position==="static";)t=ux(t);return t&&(Di(t)==="html"||Di(t)==="body"&&cr(t).position==="static")?e:t||Y_t(n)||e}function TE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ja(n,e,t){return As(n,pd(e,t))}function $_t(n,e,t){var i=Ja(n,e,t);return i>t?t:i}function ww(){return{top:0,right:0,bottom:0,left:0}}function Ow(n){return Object.assign({},ww(),n)}function Nw(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var W_t=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Ow(typeof e!="number"?e:Nw(e,kl))};function K_t(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,a=Ni(t.placement),l=TE(a),c=[Dn,ni].indexOf(a)>=0,d=c?"height":"width";if(!(!s||!o)){var u=W_t(r.padding,t),_=vE(s),f=l==="y"?In:Dn,E=l==="y"?ti:ni,b=t.rects.reference[d]+t.rects.reference[l]-o[l]-t.rects.popper[d],g=o[l]-t.rects.reference[l],h=Pl(s),m=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,S=b/2-g/2,v=u[f],T=m-_[d]-u[E],C=m/2-_[d]/2+S,N=Ja(v,C,T),x=l;t.modifiersData[i]=(e={},e[x]=N,e.centerOffset=N-C,e)}}function j_t(n){var e=n.state,t=n.options,i=t.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Aw(e.elements.popper,r)&&(e.elements.arrow=r))}const Q_t={name:"arrow",enabled:!0,phase:"main",fn:K_t,effect:j_t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ko(n){return n.split("-")[1]}var X_t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z_t(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:$o(t*r)/r||0,y:$o(i*r)/r||0}}function _x(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,o=n.offsets,a=n.position,l=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,u=n.isFixed,_=o.x,f=_===void 0?0:_,E=o.y,b=E===void 0?0:E,g=typeof d=="function"?d({x:f,y:b}):{x:f,y:b};f=g.x,b=g.y;var h=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),S=Dn,v=In,T=window;if(c){var C=Pl(t),N="clientHeight",x="clientWidth";if(C===Gn(t)&&(C=Xr(t),cr(C).position!=="static"&&a==="absolute"&&(N="scrollHeight",x="scrollWidth")),C=C,r===In||(r===Dn||r===ni)&&s===yl){v=ti;var y=u&&C===T&&T.visualViewport?T.visualViewport.height:C[N];b-=y-i.height,b*=l?1:-1}if(r===Dn||(r===In||r===ti)&&s===yl){S=ni;var R=u&&C===T&&T.visualViewport?T.visualViewport.width:C[x];f-=R-i.width,f*=l?1:-1}}var P=Object.assign({position:a},c&&X_t),k=d===!0?Z_t({x:f,y:b},Gn(t)):{x:f,y:b};if(f=k.x,b=k.y,l){var W;return Object.assign({},P,(W={},W[v]=m?"0":"",W[S]=h?"0":"",W.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",W))}return Object.assign({},P,(e={},e[v]=m?b+"px":"",e[S]=h?f+"px":"",e.transform="",e))}function J_t(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,o=s===void 0?!0:s,a=t.roundOffsets,l=a===void 0?!0:a,c={placement:Ni(e.placement),variation:Ko(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,_x(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,_x(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ept={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:J_t,data:{}};var tc={passive:!0};function tpt(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,l=Gn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,tc)}),a&&l.addEventListener("resize",t.update,tc),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,tc)}),a&&l.removeEventListener("resize",t.update,tc)}}const npt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tpt,data:{}};var ipt={left:"right",right:"left",bottom:"top",top:"bottom"};function Wc(n){return n.replace(/left|right|bottom|top/g,function(e){return ipt[e]})}var rpt={start:"end",end:"start"};function px(n){return n.replace(/start|end/g,function(e){return rpt[e]})}function xE(n){var e=Gn(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function CE(n){return Wo(Xr(n)).left+xE(n).scrollLeft}function spt(n,e){var t=Gn(n),i=Xr(n),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Rw();(c||!c&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+CE(n),y:l}}function opt(n){var e,t=Xr(n),i=xE(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=As(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=As(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+CE(n),l=-i.scrollTop;return cr(r||t).direction==="rtl"&&(a+=As(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function RE(n){var e=cr(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function Mw(n){return["html","body","#document"].indexOf(Di(n))>=0?n.ownerDocument.body:Jn(n)&&RE(n)?n:Mw(ru(n))}function el(n,e){var t;e===void 0&&(e=[]);var i=Mw(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=Gn(i),o=r?[s].concat(s.visualViewport||[],RE(i)?i:[]):i,a=e.concat(o);return r?a:a.concat(el(ru(o)))}function Wm(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function apt(n,e){var t=Wo(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function fx(n,e,t){return e===xw?Wm(spt(n,t)):Ls(e)?apt(e,t):Wm(opt(Xr(n)))}function lpt(n){var e=el(ru(n)),t=["absolute","fixed"].indexOf(cr(n).position)>=0,i=t&&Jn(n)?Pl(n):n;return Ls(i)?e.filter(function(r){return Ls(r)&&Aw(r,i)&&Di(r)!=="body"}):[]}function cpt(n,e,t,i){var r=e==="clippingParents"?lpt(n):[].concat(e),s=[].concat(r,[t]),o=s[0],a=s.reduce(function(l,c){var d=fx(n,c,i);return l.top=As(d.top,l.top),l.right=pd(d.right,l.right),l.bottom=pd(d.bottom,l.bottom),l.left=As(d.left,l.left),l},fx(n,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Iw(n){var e=n.reference,t=n.element,i=n.placement,r=i?Ni(i):null,s=i?Ko(i):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,l;switch(r){case In:l={x:o,y:e.y-t.height};break;case ti:l={x:o,y:e.y+e.height};break;case ni:l={x:e.x+e.width,y:a};break;case Dn:l={x:e.x-t.width,y:a};break;default:l={x:e.x,y:e.y}}var c=r?TE(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Yo:l[c]=l[c]-(e[d]/2-t[d]/2);break;case yl:l[c]=l[c]+(e[d]/2-t[d]/2);break}}return l}function vl(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,o=s===void 0?n.strategy:s,a=t.boundary,l=a===void 0?O_t:a,c=t.rootBoundary,d=c===void 0?xw:c,u=t.elementContext,_=u===void 0?La:u,f=t.altBoundary,E=f===void 0?!1:f,b=t.padding,g=b===void 0?0:b,h=Ow(typeof g!="number"?g:Nw(g,kl)),m=_===La?N_t:La,S=n.rects.popper,v=n.elements[E?m:_],T=cpt(Ls(v)?v:v.contextElement||Xr(n.elements.popper),l,d,o),C=Wo(n.elements.reference),N=Iw({reference:C,element:S,strategy:"absolute",placement:r}),x=Wm(Object.assign({},S,N)),y=_===La?x:C,R={top:T.top-y.top+h.top,bottom:y.bottom-T.bottom+h.bottom,left:T.left-y.left+h.left,right:y.right-T.right+h.right},P=n.modifiersData.offset;if(_===La&&P){var k=P[r];Object.keys(R).forEach(function(W){var M=[ni,ti].indexOf(W)>=0?1:-1,H=[In,ti].indexOf(W)>=0?"y":"x";R[W]+=k[H]*M})}return R}function dpt(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=l===void 0?Cw:l,d=Ko(i),u=d?a?dx:dx.filter(function(E){return Ko(E)===d}):kl,_=u.filter(function(E){return c.indexOf(E)>=0});_.length===0&&(_=u);var f=_.reduce(function(E,b){return E[b]=vl(n,{placement:b,boundary:r,rootBoundary:s,padding:o})[Ni(b)],E},{});return Object.keys(f).sort(function(E,b){return f[E]-f[b]})}function upt(n){if(Ni(n)===SE)return[];var e=Wc(n);return[px(n),e,px(e)]}function _pt(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!0:o,l=t.fallbackPlacements,c=t.padding,d=t.boundary,u=t.rootBoundary,_=t.altBoundary,f=t.flipVariations,E=f===void 0?!0:f,b=t.allowedAutoPlacements,g=e.options.placement,h=Ni(g),m=h===g,S=l||(m||!E?[Wc(g)]:upt(g)),v=[g].concat(S).reduce(function(_e,fe){return _e.concat(Ni(fe)===SE?dpt(e,{placement:fe,boundary:d,rootBoundary:u,padding:c,flipVariations:E,allowedAutoPlacements:b}):fe)},[]),T=e.rects.reference,C=e.rects.popper,N=new Map,x=!0,y=v[0],R=0;R<v.length;R++){var P=v[R],k=Ni(P),W=Ko(P)===Yo,M=[In,ti].indexOf(k)>=0,H=M?"width":"height",z=vl(e,{placement:P,boundary:d,rootBoundary:u,altBoundary:_,padding:c}),I=M?W?ni:Dn:W?ti:In;T[H]>C[H]&&(I=Wc(I));var Y=Wc(I),K=[];if(s&&K.push(z[k]<=0),a&&K.push(z[I]<=0,z[Y]<=0),K.every(function(_e){return _e})){y=P,x=!1;break}N.set(P,K)}if(x)for(var q=E?3:1,le=function(fe){var ye=v.find(function(j){var de=N.get(j);if(de)return de.slice(0,fe).every(function(Q){return Q})});if(ye)return y=ye,"break"},X=q;X>0;X--){var Z=le(X);if(Z==="break")break}e.placement!==y&&(e.modifiersData[i]._skip=!0,e.placement=y,e.reset=!0)}}const ppt={name:"flip",enabled:!0,phase:"main",fn:_pt,requiresIfExists:["offset"],data:{_skip:!1}};function hx(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function mx(n){return[In,ni,ti,Dn].some(function(e){return n[e]>=0})}function fpt(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=vl(e,{elementContext:"reference"}),a=vl(e,{altBoundary:!0}),l=hx(o,i),c=hx(a,r,s),d=mx(l),u=mx(c);e.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}const hpt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fpt};function mpt(n,e,t){var i=Ni(n),r=[Dn,In].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[Dn,ni].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function gpt(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,o=Cw.reduce(function(d,u){return d[u]=mpt(u,e.rects,s),d},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Ept={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gpt};function bpt(n){var e=n.state,t=n.name;e.modifiersData[t]=Iw({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Spt={name:"popperOffsets",enabled:!0,phase:"read",fn:bpt,data:{}};function ypt(n){return n==="x"?"y":"x"}function vpt(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!1:o,l=t.boundary,c=t.rootBoundary,d=t.altBoundary,u=t.padding,_=t.tether,f=_===void 0?!0:_,E=t.tetherOffset,b=E===void 0?0:E,g=vl(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),h=Ni(e.placement),m=Ko(e.placement),S=!m,v=TE(h),T=ypt(v),C=e.modifiersData.popperOffsets,N=e.rects.reference,x=e.rects.popper,y=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,R=typeof y=="number"?{mainAxis:y,altAxis:y}:Object.assign({mainAxis:0,altAxis:0},y),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(C){if(s){var W,M=v==="y"?In:Dn,H=v==="y"?ti:ni,z=v==="y"?"height":"width",I=C[v],Y=I+g[M],K=I-g[H],q=f?-x[z]/2:0,le=m===Yo?N[z]:x[z],X=m===Yo?-x[z]:-N[z],Z=e.elements.arrow,_e=f&&Z?vE(Z):{width:0,height:0},fe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ww(),ye=fe[M],j=fe[H],de=Ja(0,N[z],_e[z]),Q=S?N[z]/2-q-de-ye-R.mainAxis:le-de-ye-R.mainAxis,he=S?-N[z]/2+q+de+j+R.mainAxis:X+de+j+R.mainAxis,Ae=e.elements.arrow&&Pl(e.elements.arrow),O=Ae?v==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,F=(W=P==null?void 0:P[v])!=null?W:0,V=I+Q-F-O,re=I+he-F,ee=Ja(f?pd(Y,V):Y,I,f?As(K,re):K);C[v]=ee,k[v]=ee-I}if(a){var be,xe=v==="x"?In:Dn,B=v==="x"?ti:ni,ae=C[T],te=T==="y"?"height":"width",ie=ae+g[xe],w=ae-g[B],A=[In,Dn].indexOf(h)!==-1,G=(be=P==null?void 0:P[T])!=null?be:0,ce=A?ie:ae-N[te]-x[te]-G+R.altAxis,$=A?ae+N[te]+x[te]-G-R.altAxis:w,J=f&&A?$_t(ce,ae,$):Ja(f?ce:ie,ae,f?$:w);C[T]=J,k[T]=J-ae}e.modifiersData[i]=k}}const Tpt={name:"preventOverflow",enabled:!0,phase:"main",fn:vpt,requiresIfExists:["offset"]};function xpt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Cpt(n){return n===Gn(n)||!Jn(n)?xE(n):xpt(n)}function Rpt(n){var e=n.getBoundingClientRect(),t=$o(e.width)/n.offsetWidth||1,i=$o(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Apt(n,e,t){t===void 0&&(t=!1);var i=Jn(e),r=Jn(e)&&Rpt(e),s=Xr(e),o=Wo(n,r,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&((Di(e)!=="body"||RE(s))&&(a=Cpt(e)),Jn(e)?(l=Wo(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=CE(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function wpt(n){var e=new Map,t=new Set,i=[];n.forEach(function(s){e.set(s.name,s)});function r(s){t.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var l=e.get(a);l&&r(l)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function Opt(n){var e=wpt(n);return G_t.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function Npt(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Mpt(n){var e=n.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var gx={placement:"bottom",modifiers:[],strategy:"absolute"};function Ex(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Ipt(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?gx:r;return function(a,l,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},gx,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},u=[],_=!1,f={state:d,setOptions:function(h){var m=typeof h=="function"?h(d.options):h;b(),d.options=Object.assign({},s,d.options,m),d.scrollParents={reference:Ls(a)?el(a):a.contextElement?el(a.contextElement):[],popper:el(l)};var S=Opt(Mpt([].concat(i,d.options.modifiers)));return d.orderedModifiers=S.filter(function(v){return v.enabled}),E(),f.update()},forceUpdate:function(){if(!_){var h=d.elements,m=h.reference,S=h.popper;if(Ex(m,S)){d.rects={reference:Apt(m,Pl(S),d.options.strategy==="fixed"),popper:vE(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(R){return d.modifiersData[R.name]=Object.assign({},R.data)});for(var v=0;v<d.orderedModifiers.length;v++){if(d.reset===!0){d.reset=!1,v=-1;continue}var T=d.orderedModifiers[v],C=T.fn,N=T.options,x=N===void 0?{}:N,y=T.name;typeof C=="function"&&(d=C({state:d,options:x,name:y,instance:f})||d)}}}},update:Npt(function(){return new Promise(function(g){f.forceUpdate(),g(d)})}),destroy:function(){b(),_=!0}};if(!Ex(a,l))return f;f.setOptions(c).then(function(g){!_&&c.onFirstUpdate&&c.onFirstUpdate(g)});function E(){d.orderedModifiers.forEach(function(g){var h=g.name,m=g.options,S=m===void 0?{}:m,v=g.effect;if(typeof v=="function"){var T=v({state:d,name:h,instance:f,options:S}),C=function(){};u.push(T||C)}})}function b(){u.forEach(function(g){return g()}),u=[]}return f}}var Dpt=[npt,Spt,ept,V_t,Ept,ppt,Tpt,Q_t,hpt],AE=Ipt({defaultModifiers:Dpt}),Mr=globalThis&&globalThis.__assign||function(){return Mr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Mr.apply(this,arguments)},nc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},Ir={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},Dw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=Ir),this._targetEl=e,this._triggerEl=t,this._options=Mr(Mr({},Ir),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();this._options.triggerType==="click"&&t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.toggle()})}),this._options.triggerType==="hover"&&(t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){i==="click"?e.toggle():setTimeout(function(){e.show()},e._options.delay)}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},e._options.delay)}),e._targetEl.addEventListener(i,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},e._options.delay)})}))},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target,r=this._options.ignoreClickOutsideClass,s=!1;if(r){var o=document.querySelectorAll(".".concat(r));o.forEach(function(a){if(a.contains(i)){s=!0;return}})}i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&!s&&this.isVisible()&&this.hide()},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},n.prototype.isVisible=function(){return this._visible},n.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(e){return Mr(Mr({},e),{modifiers:nc(nc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(e){return Mr(Mr({},e),{modifiers:nc(nc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},n}();function wE(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(n){var e=n.getAttribute("data-dropdown-toggle"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-dropdown-placement"),r=n.getAttribute("data-dropdown-offset-skidding"),s=n.getAttribute("data-dropdown-offset-distance"),o=n.getAttribute("data-dropdown-trigger"),a=n.getAttribute("data-dropdown-delay"),l=n.getAttribute("data-dropdown-ignore-click-outside-class");new Dw(t,n,{placement:i||Ir.placement,triggerType:o||Ir.triggerType,offsetSkidding:r?parseInt(r):Ir.offsetSkidding,offsetDistance:s?parseInt(s):Ir.offsetDistance,delay:a?parseInt(a):Ir.delay,ignoreClickOutsideClass:l||Ir.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=Dw,window.initDropdowns=wE);var fd=globalThis&&globalThis.__assign||function(){return fd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},fd.apply(this,arguments)},yo={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},Km=function(){function n(e,t){e===void 0&&(e=null),t===void 0&&(t=yo),this._targetEl=e,this._options=fd(fd({},yo),t),this._isHidden=!0,this._backdropEl=null,this._init()}return n.prototype._init=function(){var e=this;this._targetEl&&this._getPlacementClasses().map(function(t){e._targetEl.classList.add(t)})},n.prototype._createBackdrop=function(){var e;if(this._isHidden){var t=document.createElement("div");t.setAttribute("modal-backdrop",""),(e=t.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(t),this._backdropEl=t}},n.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},n.prototype._setupModalCloseEventListeners=function(){var e=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(t){e._handleOutsideClick(t.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._handleOutsideClick=function(e){(e===this._targetEl||e===this._backdropEl&&this.isVisible())&&this.hide()},n.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},n.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},n.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},n.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},n.prototype.isVisible=function(){return!this._isHidden},n.prototype.isHidden=function(){return this._isHidden},n}(),ic=function(n,e){return e.some(function(t){return t.id===n})?e.find(function(t){return t.id===n}):null};function OE(){var n=[];document.querySelectorAll("[data-modal-target]").forEach(function(e){var t=e.getAttribute("data-modal-target"),i=document.getElementById(t);if(i){var r=i.getAttribute("data-modal-placement"),s=i.getAttribute("data-modal-backdrop");ic(t,n)||n.push({id:t,object:new Km(i,{placement:r||yo.placement,backdrop:s||yo.backdrop})})}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(e){var t=e.getAttribute("data-modal-toggle"),i=document.getElementById(t);if(i){var r=i.getAttribute("data-modal-placement"),s=i.getAttribute("data-modal-backdrop"),o=ic(t,n);o||(o={id:t,object:new Km(i,{placement:r||yo.placement,backdrop:s||yo.backdrop})},n.push(o)),e.addEventListener("click",function(){o.object.toggle()})}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(e){var t=e.getAttribute("data-modal-show"),i=document.getElementById(t);if(i){var r=ic(t,n);r?e.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(e){var t=e.getAttribute("data-modal-hide"),i=document.getElementById(t);if(i){var r=ic(t,n);r?e.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=Km,window.initModals=OE);var hd=globalThis&&globalThis.__assign||function(){return hd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},hd.apply(this,arguments)},Es={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},Lw=function(){function n(e,t){e===void 0&&(e=null),t===void 0&&(t=Es),this._targetEl=e,this._options=hd(hd({},Es),t),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(t){e._targetEl.classList.add(t)}),document.addEventListener("keydown",function(t){t.key==="Escape"&&e.isVisible()&&e.hide()})},n.prototype.hide=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(t){e._targetEl.classList.remove(t)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(t){e._targetEl.classList.add(t)})):(this._getPlacementClasses(this._options.placement).active.map(function(t){e._targetEl.classList.remove(t)}),this._getPlacementClasses(this._options.placement).inactive.map(function(t){e._targetEl.classList.add(t)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},n.prototype.show=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(t){e._targetEl.classList.add(t)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(t){e._targetEl.classList.remove(t)})):(this._getPlacementClasses(this._options.placement).active.map(function(t){e._targetEl.classList.add(t)}),this._getPlacementClasses(this._options.placement).inactive.map(function(t){e._targetEl.classList.remove(t)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},n.prototype._createBackdrop=function(){var e,t=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(e=i.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",function(){t.hide()})}},n.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},n.prototype._getPlacementClasses=function(e){switch(e){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},n.prototype.isHidden=function(){return!this._visible},n.prototype.isVisible=function(){return this._visible},n}(),rc=function(n,e){if(e.some(function(t){return t.id===n}))return e.find(function(t){return t.id===n})};function NE(){var n=[];document.querySelectorAll("[data-drawer-target]").forEach(function(e){var t=e.getAttribute("data-drawer-target"),i=document.getElementById(t);if(i){var r=e.getAttribute("data-drawer-placement"),s=e.getAttribute("data-drawer-body-scrolling"),o=e.getAttribute("data-drawer-backdrop"),a=e.getAttribute("data-drawer-edge"),l=e.getAttribute("data-drawer-edge-offset");rc(t,n)||n.push({id:t,object:new Lw(i,{placement:r||Es.placement,bodyScrolling:s?s==="true":Es.bodyScrolling,backdrop:o?o==="true":Es.backdrop,edge:a?a==="true":Es.edge,edgeOffset:l||Es.edgeOffset})})}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(e){var t=e.getAttribute("data-drawer-toggle"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(e){var t=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(e){var t=e.getAttribute("data-drawer-show"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=Lw,window.initDrawers=NE);var md=globalThis&&globalThis.__assign||function(){return md=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},md.apply(this,arguments)},bx={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},kw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=bx),this._items=e,this._activeTab=t?this.getTab(t.defaultTabId):null,this._options=md(md({},bx),t),this._init()}return n.prototype._init=function(){var e=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(t){t.triggerEl.addEventListener("click",function(){e.show(t.id)})}))},n.prototype.getActiveTab=function(){return this._activeTab},n.prototype._setActiveTab=function(e){this._activeTab=e},n.prototype.getTab=function(e){return this._items.filter(function(t){return t.id===e})[0]},n.prototype.show=function(e,t){var i,r,s=this;t===void 0&&(t=!1);var o=this.getTab(e);o===this._activeTab&&!t||(this._items.map(function(a){var l,c;a!==o&&((l=a.triggerEl.classList).remove.apply(l,s._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,s._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(i=o.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(r=o.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-selected","true"),o.targetEl.classList.remove("hidden"),this._setActiveTab(o),this._options.onShow(this,o))},n}();function ME(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(n){var e=[],t=null;n.querySelectorAll('[role="tab"]').forEach(function(i){var r=i.getAttribute("aria-selected")==="true",s={id:i.getAttribute("data-tabs-target"),triggerEl:i,targetEl:document.querySelector(i.getAttribute("data-tabs-target"))};e.push(s),r&&(t=s.id)}),new kw(e,{defaultTabId:t})})}typeof window<"u"&&(window.Tabs=kw,window.initTabs=ME);var Dr=globalThis&&globalThis.__assign||function(){return Dr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Dr.apply(this,arguments)},sc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},gd={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Pw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=gd),this._targetEl=e,this._triggerEl=t,this._options=Dr(Dr({},gd),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.hide()})})},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target;i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&this.isVisible()&&this.hide()},n.prototype.isVisible=function(){return this._visible},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},n.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return Dr(Dr({},e),{modifiers:sc(sc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return Dr(Dr({},e),{modifiers:sc(sc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},n}();function IE(){document.querySelectorAll("[data-tooltip-target]").forEach(function(n){var e=n.getAttribute("data-tooltip-target"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-tooltip-trigger"),r=n.getAttribute("data-tooltip-placement");new Pw(t,n,{placement:r||gd.placement,triggerType:i||gd.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Pw,window.initTooltips=IE);var Lr=globalThis&&globalThis.__assign||function(){return Lr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Lr.apply(this,arguments)},oc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},tl={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Uw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=tl),this._targetEl=e,this._triggerEl=t,this._options=Lr(Lr({},tl),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},100)}),e._targetEl.addEventListener(i,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},100)})})},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target;i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&this.isVisible()&&this.hide()},n.prototype.isVisible=function(){return this._visible},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},n.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return Lr(Lr({},e),{modifiers:oc(oc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return Lr(Lr({},e),{modifiers:oc(oc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},n}();function DE(){document.querySelectorAll("[data-popover-target]").forEach(function(n){var e=n.getAttribute("data-popover-target"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-popover-trigger"),r=n.getAttribute("data-popover-placement"),s=n.getAttribute("data-popover-offset");new Uw(t,n,{placement:r||tl.placement,offset:s?parseInt(s):tl.offset,triggerType:i||tl.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=Uw,window.initPopovers=DE);var Ed=globalThis&&globalThis.__assign||function(){return Ed=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Ed.apply(this,arguments)},jm={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Fw=function(){function n(e,t,i,r){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=null),r===void 0&&(r=jm),this._parentEl=e,this._triggerEl=t,this._targetEl=i,this._options=Ed(Ed({},jm),r),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;if(this._triggerEl){var t=this._getTriggerEventTypes(this._options.triggerType);t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._parentEl.addEventListener(i,function(){e._parentEl.matches(":hover")||e.hide()})})}},n.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},n.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},n.prototype.toggle=function(){this._visible?this.hide():this.show()},n.prototype.isHidden=function(){return!this._visible},n.prototype.isVisible=function(){return this._visible},n.prototype._getTriggerEventTypes=function(e){switch(e){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n}();function LE(){document.querySelectorAll("[data-dial-init]").forEach(function(n){var e=n.querySelector("[data-dial-toggle]");if(e){var t=e.getAttribute("data-dial-toggle"),i=document.getElementById(t);if(i){var r=e.getAttribute("data-dial-trigger");new Fw(n,e,i,{triggerType:r||jm.triggerType})}else console.error("Dial with id ".concat(t," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(n.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=Fw,window.initDials=LE);function Bw(){mE(),gE(),EE(),bE(),wE(),OE(),NE(),ME(),IE(),DE(),LE()}typeof window<"u"&&(window.initFlowbite=Bw);var Lpt=new w_t("load",[mE,gE,EE,bE,wE,OE,NE,ME,IE,DE,LE]);Lpt.init();const kpt="/assets/brain_red-f4d79882.svg",Ppt="/assets/brain_orange-41aa94f7.svg",Upt="/assets/brain_green-97e4d230.svg";const Lt=n=>(Gs("data-v-32aed454"),n=n(),zs(),n),Fpt={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},Bpt={class:"flex flex-col text-center"},Gpt={class:"flex flex-col text-center items-center"},zpt={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},Hpt=Lt(()=>p("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:gl,alt:"Logo"},null,-1)),Vpt={class:"flex flex-col items-start"},qpt={class:"text-2xl"},Ypt=Lt(()=>p("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),$pt=Lt(()=>p("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),Wpt=Lt(()=>p("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)),Kpt=Lt(()=>p("p",{class:"text-2xl mb-10"},"Welcome",-1)),jpt={role:"status",class:"text-center w-full display: flex; flex-row align-items: center;"},Qpt={class:"text-2xl animate-pulse mt-2"},Xpt=Lt(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Zpt=[Xpt],Jpt=Lt(()=>p("i",{"data-feather":"chevron-left"},null,-1)),eft=[Jpt],tft={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"},nft={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},ift={class:"flex-row p-4 flex items-center gap-3 flex-0"},rft=Lt(()=>p("i",{"data-feather":"plus"},null,-1)),sft=[rft],oft=Lt(()=>p("i",{"data-feather":"check-square"},null,-1)),aft=[oft],lft=Lt(()=>p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[p("i",{"data-feather":"refresh-ccw"})],-1)),cft=Lt(()=>p("i",{"data-feather":"database"},null,-1)),dft=[cft],uft=Lt(()=>p("i",{"data-feather":"log-in"},null,-1)),_ft=[uft],pft={key:0,class:"dropdown"},fft=Lt(()=>p("i",{"data-feather":"search"},null,-1)),hft=[fft],mft=Lt(()=>p("i",{"data-feather":"save"},null,-1)),gft=[mft],Eft={key:2,class:"flex gap-3 flex-1 items-center duration-75"},bft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),Sft=[bft],yft=Lt(()=>p("i",{"data-feather":"check"},null,-1)),vft=[yft],Tft=["src"],xft=["src"],Cft=["src"],Rft={key:4,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Aft=Lt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),wft=[Aft],Oft={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},Nft={class:"p-4 pt-2"},Mft={class:"relative"},Ift=Lt(()=>p("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[p("div",{class:"scale-75"},[p("i",{"data-feather":"search"})])],-1)),Dft={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Lft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),kft=[Lft],Pft={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Uft={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Fft={class:"flex flex-row flex-grow"},Bft={key:0},Gft={class:"flex flex-row"},zft={key:0,class:"flex gap-3"},Hft=Lt(()=>p("i",{"data-feather":"trash"},null,-1)),Vft=[Hft],qft={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},Yft=Lt(()=>p("i",{"data-feather":"check"},null,-1)),$ft=[Yft],Wft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),Kft=[Wft],jft={class:"flex gap-3"},Qft=Lt(()=>p("i",{"data-feather":"log-out"},null,-1)),Xft=[Qft],Zft=Lt(()=>p("i",{"data-feather":"bookmark"},null,-1)),Jft=[Zft],eht=Lt(()=>p("i",{"data-feather":"list"},null,-1)),tht=[eht],nht={class:"relative flex flex-row flex-grow mb-10 z-0"},iht={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"},rht=Lt(()=>p("p",{class:"px-3"},"No discussions are found",-1)),sht=[rht],oht=Lt(()=>p("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)),aht={class:"ml-2"},lht={key:1,class:"relative flex flex-col flex-grow"},cht={class:"container pt-4 pb-10 mb-28"},dht=Lt(()=>p("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)),uht={key:0,class:"bottom-0 flex flex-row items-center justify-center"},_ht={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},pht={class:"text-2xl animate-pulse mt-2 text-white"},fht={setup(){},data(){return{host:"",progress_visibility_val:!0,progress_value:0,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,isCheckbox:!1,isSelectAll:!1,showSaveConfirmation:!1,showBrainConfirmation:!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,discussion_id:0}},methods:{show_progress(n){this.progress_visibility_val=!0},hide_progress(n){this.progress_visibility_val=!1},update_progress(n){console.log("Progress update"),this.progress_value=n.value},onSettingsBinding(){try{this.isLoading=!0,Be.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings - "+bindingEntry.binding.name,"Save changes","Cancel").then(e=>{try{Be.post("/set_active_binding_settings",e).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
+                            `,544),[[et,r.message]]),p("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[9]||(e[9]=(...u)=>s.addFiles&&s.addFiles(...u)),multiple:""},null,544),p("button",{type:"button",onClick:e[10]||(e[10]=Ie(u=>n.$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"},i_t)]),p("div",r_t,[t.loading?se("",!0):(D(),L("button",{key:0,type:"button",onClick:e[11]||(e[11]=(...u)=>s.startSpeechRecognition&&s.startSpeechRecognition(...u)),class:Ke([{"text-red-500":r.isLesteningToVoice},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},o_t,2)),t.loading?se("",!0):(D(),L("button",{key:1,type:"button",onClick:e[12]||(e[12]=(...u)=>s.makeAnEmptyUserMessage&&s.makeAnEmptyUserMessage(...u)),title:"New empty user message",class:"w-6 text-blue-400 hover:text-secondary duration-75 active:scale-90"},c_t)),t.loading?se("",!0):(D(),L("button",{key:2,type:"button",onClick:e[13]||(e[13]=(...u)=>s.makeAnEmptyAIMessage&&s.makeAnEmptyAIMessage(...u)),title:"New empty ai message",class:"w-6 text-red-400 hover:text-secondary duration-75 active:scale-90"},__t)),t.loading?se("",!0):(D(),L("button",{key:3,type:"button",onClick:e[14]||(e[14]=(...u)=>s.submit&&s.submit(...u)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},h_t)),t.loading?(D(),L("div",m_t,E_t)):se("",!0)])])])])])]),De(c,{ref:"toast"},null,512),De(d,{ref:"universalForm",class:"z-20"},null,512)],64)}const Ew=Et(nut,[["render",b_t],["__scopeId","data-v-84cf73cd"]]),S_t={name:"WelcomeComponent",setup(){return{}}},y_t={class:"flex flex-col text-center"},v_t=Ng('<div class="flex flex-col text-center items-center"><div class="flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"><img class="w-24 animate-bounce" title="LoLLMS WebUI" src="'+gl+'" alt="Logo"><div class="flex flex-col items-start"><p class="text-2xl">Lord of Large Language Models</p><p class="text-gray-400 text-base">One tool to rule them all</p></div></div><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"><p class="text-2xl">Welcome</p><p class="text-lg">Please create a new discussion or select existing one to start</p></div>',1),T_t=[v_t];function x_t(n,e,t,i,r,s){return D(),L("div",y_t,T_t)}const bw=Et(S_t,[["render",x_t]]);const C_t={props:{progress:{type:Number,required:!0}}},R_t={class:"progress-bar-container"};function A_t(n,e,t,i,r,s){return D(),L("div",R_t,[p("div",{class:"progress-bar",style:Rn({width:`${t.progress}%`})},null,4)])}const Ym=Et(C_t,[["render",A_t]]);var w_t=function(){function n(e,t){t===void 0&&(t=[]),this._eventType=e,this._eventFunctions=t}return n.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(t){typeof window<"u"&&window.addEventListener(e._eventType,t)})},n}(),cd=globalThis&&globalThis.__assign||function(){return cd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},cd.apply(this,arguments)},dd={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},Sw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=dd),this._items=e,this._options=cd(cd({},dd),t),this._init()}return n.prototype._init=function(){var e=this;this._items.length&&this._items.map(function(t){t.active&&e.open(t.id),t.triggerEl.addEventListener("click",function(){e.toggle(t.id)})})},n.prototype.getItem=function(e){return this._items.filter(function(t){return t.id===e})[0]},n.prototype.open=function(e){var t,i,r=this,s=this.getItem(e);this._options.alwaysOpen||this._items.map(function(o){var a,l;o!==s&&((a=o.triggerEl.classList).remove.apply(a,r._options.activeClasses.split(" ")),(l=o.triggerEl.classList).add.apply(l,r._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"))}),(t=s.triggerEl.classList).add.apply(t,this._options.activeClasses.split(" ")),(i=s.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),s.triggerEl.setAttribute("aria-expanded","true"),s.targetEl.classList.remove("hidden"),s.active=!0,s.iconEl&&s.iconEl.classList.add("rotate-180"),this._options.onOpen(this,s)},n.prototype.toggle=function(e){var t=this.getItem(e);t.active?this.close(e):this.open(e),this._options.onToggle(this,t)},n.prototype.close=function(e){var t,i,r=this.getItem(e);(t=r.triggerEl.classList).remove.apply(t,this._options.activeClasses.split(" ")),(i=r.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},n}();function mE(){document.querySelectorAll("[data-accordion]").forEach(function(n){var e=n.getAttribute("data-accordion"),t=n.getAttribute("data-active-classes"),i=n.getAttribute("data-inactive-classes"),r=[];n.querySelectorAll("[data-accordion-target]").forEach(function(s){if(s.closest("[data-accordion]")===n){var o={id:s.getAttribute("data-accordion-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-accordion-target")),iconEl:s.querySelector("[data-accordion-icon]"),active:s.getAttribute("aria-expanded")==="true"};r.push(o)}}),new Sw(r,{alwaysOpen:e==="open",activeClasses:t||dd.activeClasses,inactiveClasses:i||dd.inactiveClasses})})}typeof window<"u"&&(window.Accordion=Sw,window.initAccordions=mE);var ud=globalThis&&globalThis.__assign||function(){return ud=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},ud.apply(this,arguments)},lx={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},yw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=lx),this._targetEl=e,this._triggerEl=t,this._options=ud(ud({},lx),i),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){e.toggle()}))},n.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},n.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},n.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},n}();function gE(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(n){var e=n.getAttribute("data-collapse-toggle"),t=document.getElementById(e);t?new yw(t,n):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=yw,window.initCollapses=gE);var gs=globalThis&&globalThis.__assign||function(){return gs=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},gs.apply(this,arguments)},$c={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},vw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=$c),this._items=e,this._options=gs(gs(gs({},$c),t),{indicators:gs(gs({},$c.indicators),t.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return n.prototype._init=function(){var e=this;this._items.map(function(t){t.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(t,i){t.el.addEventListener("click",function(){e.slideTo(i)})})},n.prototype.getItem=function(e){return this._items[e]},n.prototype.slideTo=function(e){var t=this._items[e],i={left:t.position===0?this._items[this._items.length-1]:this._items[t.position-1],middle:t,right:t.position===this._items.length-1?this._items[0]:this._items[t.position+1]};this._rotate(i),this._setActiveItem(t),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},n.prototype.next=function(){var e=this._getActiveItem(),t=null;e.position===this._items.length-1?t=this._items[0]:t=this._items[e.position+1],this.slideTo(t.position),this._options.onNext(this)},n.prototype.prev=function(){var e=this._getActiveItem(),t=null;e.position===0?t=this._items[this._items.length-1]:t=this._items[e.position-1],this.slideTo(t.position),this._options.onPrev(this)},n.prototype._rotate=function(e){this._items.map(function(t){t.el.classList.add("hidden")}),e.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.left.el.classList.add("-translate-x-full","z-10"),e.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),e.middle.el.classList.add("translate-x-0","z-20"),e.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.right.el.classList.add("translate-x-full","z-10")},n.prototype.cycle=function(){var e=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){e.next()},this._intervalDuration))},n.prototype.pause=function(){clearInterval(this._intervalInstance)},n.prototype._getActiveItem=function(){return this._activeItem},n.prototype._setActiveItem=function(e){var t,i,r=this;this._activeItem=e;var s=e.position;this._indicators.length&&(this._indicators.map(function(o){var a,l;o.el.setAttribute("aria-current","false"),(a=o.el.classList).remove.apply(a,r._options.indicators.activeClasses.split(" ")),(l=o.el.classList).add.apply(l,r._options.indicators.inactiveClasses.split(" "))}),(t=this._indicators[s].el.classList).add.apply(t,this._options.indicators.activeClasses.split(" ")),(i=this._indicators[s].el.classList).remove.apply(i,this._options.indicators.inactiveClasses.split(" ")),this._indicators[s].el.setAttribute("aria-current","true"))},n}();function EE(){document.querySelectorAll("[data-carousel]").forEach(function(n){var e=n.getAttribute("data-carousel-interval"),t=n.getAttribute("data-carousel")==="slide",i=[],r=0;n.querySelectorAll("[data-carousel-item]").length&&Array.from(n.querySelectorAll("[data-carousel-item]")).map(function(c,d){i.push({position:d,el:c}),c.getAttribute("data-carousel-item")==="active"&&(r=d)});var s=[];n.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(n.querySelectorAll("[data-carousel-slide-to]")).map(function(c){s.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var o=new vw(i,{defaultPosition:r,indicators:{items:s},interval:e||$c.interval});t&&o.cycle();var a=n.querySelector("[data-carousel-next]"),l=n.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){o.next()}),l&&l.addEventListener("click",function(){o.prev()})})}typeof window<"u"&&(window.Carousel=vw,window.initCarousels=EE);var _d=globalThis&&globalThis.__assign||function(){return _d=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},_d.apply(this,arguments)},cx={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Tw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=cx),this._targetEl=e,this._triggerEl=t,this._options=_d(_d({},cx),i),this._init()}return n.prototype._init=function(){var e=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){e.hide()})},n.prototype.hide=function(){var e=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){e._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},n}();function bE(){document.querySelectorAll("[data-dismiss-target]").forEach(function(n){var e=n.getAttribute("data-dismiss-target"),t=document.querySelector(e);t?new Tw(t,n):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=Tw,window.initDismisses=bE);var In="top",ti="bottom",ni="right",Dn="left",SE="auto",kl=[In,ti,ni,Dn],Yo="start",yl="end",O_t="clippingParents",xw="viewport",La="popper",N_t="reference",dx=kl.reduce(function(n,e){return n.concat([e+"-"+Yo,e+"-"+yl])},[]),Cw=[].concat(kl,[SE]).reduce(function(n,e){return n.concat([e,e+"-"+Yo,e+"-"+yl])},[]),M_t="beforeRead",I_t="read",D_t="afterRead",L_t="beforeMain",k_t="main",P_t="afterMain",U_t="beforeWrite",F_t="write",B_t="afterWrite",G_t=[M_t,I_t,D_t,L_t,k_t,P_t,U_t,F_t,B_t];function Di(n){return n?(n.nodeName||"").toLowerCase():null}function Gn(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Ls(n){var e=Gn(n).Element;return n instanceof e||n instanceof Element}function Jn(n){var e=Gn(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function yE(n){if(typeof ShadowRoot>"u")return!1;var e=Gn(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function z_t(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];!Jn(s)||!Di(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function H_t(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!Jn(r)||!Di(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}const V_t={name:"applyStyles",enabled:!0,phase:"write",fn:z_t,effect:H_t,requires:["computeStyles"]};function Ni(n){return n.split("-")[0]}var As=Math.max,pd=Math.min,$o=Math.round;function $m(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Rw(){return!/^((?!chrome|android).)*safari/i.test($m())}function Wo(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&Jn(n)&&(r=n.offsetWidth>0&&$o(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&$o(i.height)/n.offsetHeight||1);var o=Ls(n)?Gn(n):window,a=o.visualViewport,l=!Rw()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/r,d=(i.top+(l&&a?a.offsetTop:0))/s,u=i.width/r,_=i.height/s;return{width:u,height:_,top:d,right:c+u,bottom:d+_,left:c,x:c,y:d}}function vE(n){var e=Wo(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Aw(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&yE(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function cr(n){return Gn(n).getComputedStyle(n)}function q_t(n){return["table","td","th"].indexOf(Di(n))>=0}function Xr(n){return((Ls(n)?n.ownerDocument:n.document)||window.document).documentElement}function ru(n){return Di(n)==="html"?n:n.assignedSlot||n.parentNode||(yE(n)?n.host:null)||Xr(n)}function ux(n){return!Jn(n)||cr(n).position==="fixed"?null:n.offsetParent}function Y_t(n){var e=/firefox/i.test($m()),t=/Trident/i.test($m());if(t&&Jn(n)){var i=cr(n);if(i.position==="fixed")return null}var r=ru(n);for(yE(r)&&(r=r.host);Jn(r)&&["html","body"].indexOf(Di(r))<0;){var s=cr(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function Pl(n){for(var e=Gn(n),t=ux(n);t&&q_t(t)&&cr(t).position==="static";)t=ux(t);return t&&(Di(t)==="html"||Di(t)==="body"&&cr(t).position==="static")?e:t||Y_t(n)||e}function TE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ja(n,e,t){return As(n,pd(e,t))}function $_t(n,e,t){var i=Ja(n,e,t);return i>t?t:i}function ww(){return{top:0,right:0,bottom:0,left:0}}function Ow(n){return Object.assign({},ww(),n)}function Nw(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var W_t=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Ow(typeof e!="number"?e:Nw(e,kl))};function K_t(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,a=Ni(t.placement),l=TE(a),c=[Dn,ni].indexOf(a)>=0,d=c?"height":"width";if(!(!s||!o)){var u=W_t(r.padding,t),_=vE(s),f=l==="y"?In:Dn,E=l==="y"?ti:ni,b=t.rects.reference[d]+t.rects.reference[l]-o[l]-t.rects.popper[d],g=o[l]-t.rects.reference[l],h=Pl(s),m=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,S=b/2-g/2,v=u[f],T=m-_[d]-u[E],C=m/2-_[d]/2+S,N=Ja(v,C,T),x=l;t.modifiersData[i]=(e={},e[x]=N,e.centerOffset=N-C,e)}}function j_t(n){var e=n.state,t=n.options,i=t.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Aw(e.elements.popper,r)&&(e.elements.arrow=r))}const Q_t={name:"arrow",enabled:!0,phase:"main",fn:K_t,effect:j_t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ko(n){return n.split("-")[1]}var X_t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z_t(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:$o(t*r)/r||0,y:$o(i*r)/r||0}}function _x(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,o=n.offsets,a=n.position,l=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,u=n.isFixed,_=o.x,f=_===void 0?0:_,E=o.y,b=E===void 0?0:E,g=typeof d=="function"?d({x:f,y:b}):{x:f,y:b};f=g.x,b=g.y;var h=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),S=Dn,v=In,T=window;if(c){var C=Pl(t),N="clientHeight",x="clientWidth";if(C===Gn(t)&&(C=Xr(t),cr(C).position!=="static"&&a==="absolute"&&(N="scrollHeight",x="scrollWidth")),C=C,r===In||(r===Dn||r===ni)&&s===yl){v=ti;var y=u&&C===T&&T.visualViewport?T.visualViewport.height:C[N];b-=y-i.height,b*=l?1:-1}if(r===Dn||(r===In||r===ti)&&s===yl){S=ni;var R=u&&C===T&&T.visualViewport?T.visualViewport.width:C[x];f-=R-i.width,f*=l?1:-1}}var P=Object.assign({position:a},c&&X_t),k=d===!0?Z_t({x:f,y:b},Gn(t)):{x:f,y:b};if(f=k.x,b=k.y,l){var W;return Object.assign({},P,(W={},W[v]=m?"0":"",W[S]=h?"0":"",W.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",W))}return Object.assign({},P,(e={},e[v]=m?b+"px":"",e[S]=h?f+"px":"",e.transform="",e))}function J_t(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,o=s===void 0?!0:s,a=t.roundOffsets,l=a===void 0?!0:a,c={placement:Ni(e.placement),variation:Ko(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,_x(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,_x(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ept={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:J_t,data:{}};var tc={passive:!0};function tpt(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,l=Gn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,tc)}),a&&l.addEventListener("resize",t.update,tc),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,tc)}),a&&l.removeEventListener("resize",t.update,tc)}}const npt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tpt,data:{}};var ipt={left:"right",right:"left",bottom:"top",top:"bottom"};function Wc(n){return n.replace(/left|right|bottom|top/g,function(e){return ipt[e]})}var rpt={start:"end",end:"start"};function px(n){return n.replace(/start|end/g,function(e){return rpt[e]})}function xE(n){var e=Gn(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function CE(n){return Wo(Xr(n)).left+xE(n).scrollLeft}function spt(n,e){var t=Gn(n),i=Xr(n),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Rw();(c||!c&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+CE(n),y:l}}function opt(n){var e,t=Xr(n),i=xE(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=As(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=As(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+CE(n),l=-i.scrollTop;return cr(r||t).direction==="rtl"&&(a+=As(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function RE(n){var e=cr(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function Mw(n){return["html","body","#document"].indexOf(Di(n))>=0?n.ownerDocument.body:Jn(n)&&RE(n)?n:Mw(ru(n))}function el(n,e){var t;e===void 0&&(e=[]);var i=Mw(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=Gn(i),o=r?[s].concat(s.visualViewport||[],RE(i)?i:[]):i,a=e.concat(o);return r?a:a.concat(el(ru(o)))}function Wm(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function apt(n,e){var t=Wo(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function fx(n,e,t){return e===xw?Wm(spt(n,t)):Ls(e)?apt(e,t):Wm(opt(Xr(n)))}function lpt(n){var e=el(ru(n)),t=["absolute","fixed"].indexOf(cr(n).position)>=0,i=t&&Jn(n)?Pl(n):n;return Ls(i)?e.filter(function(r){return Ls(r)&&Aw(r,i)&&Di(r)!=="body"}):[]}function cpt(n,e,t,i){var r=e==="clippingParents"?lpt(n):[].concat(e),s=[].concat(r,[t]),o=s[0],a=s.reduce(function(l,c){var d=fx(n,c,i);return l.top=As(d.top,l.top),l.right=pd(d.right,l.right),l.bottom=pd(d.bottom,l.bottom),l.left=As(d.left,l.left),l},fx(n,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Iw(n){var e=n.reference,t=n.element,i=n.placement,r=i?Ni(i):null,s=i?Ko(i):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,l;switch(r){case In:l={x:o,y:e.y-t.height};break;case ti:l={x:o,y:e.y+e.height};break;case ni:l={x:e.x+e.width,y:a};break;case Dn:l={x:e.x-t.width,y:a};break;default:l={x:e.x,y:e.y}}var c=r?TE(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Yo:l[c]=l[c]-(e[d]/2-t[d]/2);break;case yl:l[c]=l[c]+(e[d]/2-t[d]/2);break}}return l}function vl(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,o=s===void 0?n.strategy:s,a=t.boundary,l=a===void 0?O_t:a,c=t.rootBoundary,d=c===void 0?xw:c,u=t.elementContext,_=u===void 0?La:u,f=t.altBoundary,E=f===void 0?!1:f,b=t.padding,g=b===void 0?0:b,h=Ow(typeof g!="number"?g:Nw(g,kl)),m=_===La?N_t:La,S=n.rects.popper,v=n.elements[E?m:_],T=cpt(Ls(v)?v:v.contextElement||Xr(n.elements.popper),l,d,o),C=Wo(n.elements.reference),N=Iw({reference:C,element:S,strategy:"absolute",placement:r}),x=Wm(Object.assign({},S,N)),y=_===La?x:C,R={top:T.top-y.top+h.top,bottom:y.bottom-T.bottom+h.bottom,left:T.left-y.left+h.left,right:y.right-T.right+h.right},P=n.modifiersData.offset;if(_===La&&P){var k=P[r];Object.keys(R).forEach(function(W){var M=[ni,ti].indexOf(W)>=0?1:-1,H=[In,ti].indexOf(W)>=0?"y":"x";R[W]+=k[H]*M})}return R}function dpt(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=l===void 0?Cw:l,d=Ko(i),u=d?a?dx:dx.filter(function(E){return Ko(E)===d}):kl,_=u.filter(function(E){return c.indexOf(E)>=0});_.length===0&&(_=u);var f=_.reduce(function(E,b){return E[b]=vl(n,{placement:b,boundary:r,rootBoundary:s,padding:o})[Ni(b)],E},{});return Object.keys(f).sort(function(E,b){return f[E]-f[b]})}function upt(n){if(Ni(n)===SE)return[];var e=Wc(n);return[px(n),e,px(e)]}function _pt(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!0:o,l=t.fallbackPlacements,c=t.padding,d=t.boundary,u=t.rootBoundary,_=t.altBoundary,f=t.flipVariations,E=f===void 0?!0:f,b=t.allowedAutoPlacements,g=e.options.placement,h=Ni(g),m=h===g,S=l||(m||!E?[Wc(g)]:upt(g)),v=[g].concat(S).reduce(function(_e,fe){return _e.concat(Ni(fe)===SE?dpt(e,{placement:fe,boundary:d,rootBoundary:u,padding:c,flipVariations:E,allowedAutoPlacements:b}):fe)},[]),T=e.rects.reference,C=e.rects.popper,N=new Map,x=!0,y=v[0],R=0;R<v.length;R++){var P=v[R],k=Ni(P),W=Ko(P)===Yo,M=[In,ti].indexOf(k)>=0,H=M?"width":"height",z=vl(e,{placement:P,boundary:d,rootBoundary:u,altBoundary:_,padding:c}),I=M?W?ni:Dn:W?ti:In;T[H]>C[H]&&(I=Wc(I));var Y=Wc(I),K=[];if(s&&K.push(z[k]<=0),a&&K.push(z[I]<=0,z[Y]<=0),K.every(function(_e){return _e})){y=P,x=!1;break}N.set(P,K)}if(x)for(var q=E?3:1,le=function(fe){var ye=v.find(function(j){var de=N.get(j);if(de)return de.slice(0,fe).every(function(Q){return Q})});if(ye)return y=ye,"break"},X=q;X>0;X--){var Z=le(X);if(Z==="break")break}e.placement!==y&&(e.modifiersData[i]._skip=!0,e.placement=y,e.reset=!0)}}const ppt={name:"flip",enabled:!0,phase:"main",fn:_pt,requiresIfExists:["offset"],data:{_skip:!1}};function hx(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function mx(n){return[In,ni,ti,Dn].some(function(e){return n[e]>=0})}function fpt(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=vl(e,{elementContext:"reference"}),a=vl(e,{altBoundary:!0}),l=hx(o,i),c=hx(a,r,s),d=mx(l),u=mx(c);e.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}const hpt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fpt};function mpt(n,e,t){var i=Ni(n),r=[Dn,In].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[Dn,ni].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function gpt(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,o=Cw.reduce(function(d,u){return d[u]=mpt(u,e.rects,s),d},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Ept={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gpt};function bpt(n){var e=n.state,t=n.name;e.modifiersData[t]=Iw({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Spt={name:"popperOffsets",enabled:!0,phase:"read",fn:bpt,data:{}};function ypt(n){return n==="x"?"y":"x"}function vpt(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,a=o===void 0?!1:o,l=t.boundary,c=t.rootBoundary,d=t.altBoundary,u=t.padding,_=t.tether,f=_===void 0?!0:_,E=t.tetherOffset,b=E===void 0?0:E,g=vl(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),h=Ni(e.placement),m=Ko(e.placement),S=!m,v=TE(h),T=ypt(v),C=e.modifiersData.popperOffsets,N=e.rects.reference,x=e.rects.popper,y=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,R=typeof y=="number"?{mainAxis:y,altAxis:y}:Object.assign({mainAxis:0,altAxis:0},y),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(C){if(s){var W,M=v==="y"?In:Dn,H=v==="y"?ti:ni,z=v==="y"?"height":"width",I=C[v],Y=I+g[M],K=I-g[H],q=f?-x[z]/2:0,le=m===Yo?N[z]:x[z],X=m===Yo?-x[z]:-N[z],Z=e.elements.arrow,_e=f&&Z?vE(Z):{width:0,height:0},fe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ww(),ye=fe[M],j=fe[H],de=Ja(0,N[z],_e[z]),Q=S?N[z]/2-q-de-ye-R.mainAxis:le-de-ye-R.mainAxis,he=S?-N[z]/2+q+de+j+R.mainAxis:X+de+j+R.mainAxis,Ae=e.elements.arrow&&Pl(e.elements.arrow),O=Ae?v==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,F=(W=P==null?void 0:P[v])!=null?W:0,V=I+Q-F-O,re=I+he-F,ee=Ja(f?pd(Y,V):Y,I,f?As(K,re):K);C[v]=ee,k[v]=ee-I}if(a){var be,xe=v==="x"?In:Dn,B=v==="x"?ti:ni,ae=C[T],te=T==="y"?"height":"width",ie=ae+g[xe],w=ae-g[B],A=[In,Dn].indexOf(h)!==-1,G=(be=P==null?void 0:P[T])!=null?be:0,ce=A?ie:ae-N[te]-x[te]-G+R.altAxis,$=A?ae+N[te]+x[te]-G-R.altAxis:w,J=f&&A?$_t(ce,ae,$):Ja(f?ce:ie,ae,f?$:w);C[T]=J,k[T]=J-ae}e.modifiersData[i]=k}}const Tpt={name:"preventOverflow",enabled:!0,phase:"main",fn:vpt,requiresIfExists:["offset"]};function xpt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Cpt(n){return n===Gn(n)||!Jn(n)?xE(n):xpt(n)}function Rpt(n){var e=n.getBoundingClientRect(),t=$o(e.width)/n.offsetWidth||1,i=$o(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Apt(n,e,t){t===void 0&&(t=!1);var i=Jn(e),r=Jn(e)&&Rpt(e),s=Xr(e),o=Wo(n,r,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&((Di(e)!=="body"||RE(s))&&(a=Cpt(e)),Jn(e)?(l=Wo(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=CE(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function wpt(n){var e=new Map,t=new Set,i=[];n.forEach(function(s){e.set(s.name,s)});function r(s){t.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var l=e.get(a);l&&r(l)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function Opt(n){var e=wpt(n);return G_t.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function Npt(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Mpt(n){var e=n.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var gx={placement:"bottom",modifiers:[],strategy:"absolute"};function Ex(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Ipt(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?gx:r;return function(a,l,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},gx,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},u=[],_=!1,f={state:d,setOptions:function(h){var m=typeof h=="function"?h(d.options):h;b(),d.options=Object.assign({},s,d.options,m),d.scrollParents={reference:Ls(a)?el(a):a.contextElement?el(a.contextElement):[],popper:el(l)};var S=Opt(Mpt([].concat(i,d.options.modifiers)));return d.orderedModifiers=S.filter(function(v){return v.enabled}),E(),f.update()},forceUpdate:function(){if(!_){var h=d.elements,m=h.reference,S=h.popper;if(Ex(m,S)){d.rects={reference:Apt(m,Pl(S),d.options.strategy==="fixed"),popper:vE(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(R){return d.modifiersData[R.name]=Object.assign({},R.data)});for(var v=0;v<d.orderedModifiers.length;v++){if(d.reset===!0){d.reset=!1,v=-1;continue}var T=d.orderedModifiers[v],C=T.fn,N=T.options,x=N===void 0?{}:N,y=T.name;typeof C=="function"&&(d=C({state:d,options:x,name:y,instance:f})||d)}}}},update:Npt(function(){return new Promise(function(g){f.forceUpdate(),g(d)})}),destroy:function(){b(),_=!0}};if(!Ex(a,l))return f;f.setOptions(c).then(function(g){!_&&c.onFirstUpdate&&c.onFirstUpdate(g)});function E(){d.orderedModifiers.forEach(function(g){var h=g.name,m=g.options,S=m===void 0?{}:m,v=g.effect;if(typeof v=="function"){var T=v({state:d,name:h,instance:f,options:S}),C=function(){};u.push(T||C)}})}function b(){u.forEach(function(g){return g()}),u=[]}return f}}var Dpt=[npt,Spt,ept,V_t,Ept,ppt,Tpt,Q_t,hpt],AE=Ipt({defaultModifiers:Dpt}),Mr=globalThis&&globalThis.__assign||function(){return Mr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Mr.apply(this,arguments)},nc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},Ir={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},Dw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=Ir),this._targetEl=e,this._triggerEl=t,this._options=Mr(Mr({},Ir),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();this._options.triggerType==="click"&&t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.toggle()})}),this._options.triggerType==="hover"&&(t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){i==="click"?e.toggle():setTimeout(function(){e.show()},e._options.delay)}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},e._options.delay)}),e._targetEl.addEventListener(i,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},e._options.delay)})}))},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target,r=this._options.ignoreClickOutsideClass,s=!1;if(r){var o=document.querySelectorAll(".".concat(r));o.forEach(function(a){if(a.contains(i)){s=!0;return}})}i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&!s&&this.isVisible()&&this.hide()},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},n.prototype.isVisible=function(){return this._visible},n.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(e){return Mr(Mr({},e),{modifiers:nc(nc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(e){return Mr(Mr({},e),{modifiers:nc(nc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},n}();function wE(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(n){var e=n.getAttribute("data-dropdown-toggle"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-dropdown-placement"),r=n.getAttribute("data-dropdown-offset-skidding"),s=n.getAttribute("data-dropdown-offset-distance"),o=n.getAttribute("data-dropdown-trigger"),a=n.getAttribute("data-dropdown-delay"),l=n.getAttribute("data-dropdown-ignore-click-outside-class");new Dw(t,n,{placement:i||Ir.placement,triggerType:o||Ir.triggerType,offsetSkidding:r?parseInt(r):Ir.offsetSkidding,offsetDistance:s?parseInt(s):Ir.offsetDistance,delay:a?parseInt(a):Ir.delay,ignoreClickOutsideClass:l||Ir.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=Dw,window.initDropdowns=wE);var fd=globalThis&&globalThis.__assign||function(){return fd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},fd.apply(this,arguments)},yo={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},Km=function(){function n(e,t){e===void 0&&(e=null),t===void 0&&(t=yo),this._targetEl=e,this._options=fd(fd({},yo),t),this._isHidden=!0,this._backdropEl=null,this._init()}return n.prototype._init=function(){var e=this;this._targetEl&&this._getPlacementClasses().map(function(t){e._targetEl.classList.add(t)})},n.prototype._createBackdrop=function(){var e;if(this._isHidden){var t=document.createElement("div");t.setAttribute("modal-backdrop",""),(e=t.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(t),this._backdropEl=t}},n.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},n.prototype._setupModalCloseEventListeners=function(){var e=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(t){e._handleOutsideClick(t.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._handleOutsideClick=function(e){(e===this._targetEl||e===this._backdropEl&&this.isVisible())&&this.hide()},n.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},n.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},n.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},n.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},n.prototype.isVisible=function(){return!this._isHidden},n.prototype.isHidden=function(){return this._isHidden},n}(),ic=function(n,e){return e.some(function(t){return t.id===n})?e.find(function(t){return t.id===n}):null};function OE(){var n=[];document.querySelectorAll("[data-modal-target]").forEach(function(e){var t=e.getAttribute("data-modal-target"),i=document.getElementById(t);if(i){var r=i.getAttribute("data-modal-placement"),s=i.getAttribute("data-modal-backdrop");ic(t,n)||n.push({id:t,object:new Km(i,{placement:r||yo.placement,backdrop:s||yo.backdrop})})}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(e){var t=e.getAttribute("data-modal-toggle"),i=document.getElementById(t);if(i){var r=i.getAttribute("data-modal-placement"),s=i.getAttribute("data-modal-backdrop"),o=ic(t,n);o||(o={id:t,object:new Km(i,{placement:r||yo.placement,backdrop:s||yo.backdrop})},n.push(o)),e.addEventListener("click",function(){o.object.toggle()})}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(e){var t=e.getAttribute("data-modal-show"),i=document.getElementById(t);if(i){var r=ic(t,n);r?e.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(e){var t=e.getAttribute("data-modal-hide"),i=document.getElementById(t);if(i){var r=ic(t,n);r?e.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(t," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(t," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=Km,window.initModals=OE);var hd=globalThis&&globalThis.__assign||function(){return hd=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},hd.apply(this,arguments)},Es={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},Lw=function(){function n(e,t){e===void 0&&(e=null),t===void 0&&(t=Es),this._targetEl=e,this._options=hd(hd({},Es),t),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(t){e._targetEl.classList.add(t)}),document.addEventListener("keydown",function(t){t.key==="Escape"&&e.isVisible()&&e.hide()})},n.prototype.hide=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(t){e._targetEl.classList.remove(t)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(t){e._targetEl.classList.add(t)})):(this._getPlacementClasses(this._options.placement).active.map(function(t){e._targetEl.classList.remove(t)}),this._getPlacementClasses(this._options.placement).inactive.map(function(t){e._targetEl.classList.add(t)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},n.prototype.show=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(t){e._targetEl.classList.add(t)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(t){e._targetEl.classList.remove(t)})):(this._getPlacementClasses(this._options.placement).active.map(function(t){e._targetEl.classList.add(t)}),this._getPlacementClasses(this._options.placement).inactive.map(function(t){e._targetEl.classList.remove(t)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},n.prototype._createBackdrop=function(){var e,t=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(e=i.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",function(){t.hide()})}},n.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},n.prototype._getPlacementClasses=function(e){switch(e){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},n.prototype.isHidden=function(){return!this._visible},n.prototype.isVisible=function(){return this._visible},n}(),rc=function(n,e){if(e.some(function(t){return t.id===n}))return e.find(function(t){return t.id===n})};function NE(){var n=[];document.querySelectorAll("[data-drawer-target]").forEach(function(e){var t=e.getAttribute("data-drawer-target"),i=document.getElementById(t);if(i){var r=e.getAttribute("data-drawer-placement"),s=e.getAttribute("data-drawer-body-scrolling"),o=e.getAttribute("data-drawer-backdrop"),a=e.getAttribute("data-drawer-edge"),l=e.getAttribute("data-drawer-edge-offset");rc(t,n)||n.push({id:t,object:new Lw(i,{placement:r||Es.placement,bodyScrolling:s?s==="true":Es.bodyScrolling,backdrop:o?o==="true":Es.backdrop,edge:a?a==="true":Es.edge,edgeOffset:l||Es.edgeOffset})})}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(e){var t=e.getAttribute("data-drawer-toggle"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(e){var t=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(e){var t=e.getAttribute("data-drawer-show"),i=document.getElementById(t);if(i){var r=rc(t,n);r?e.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(t," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(t," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=Lw,window.initDrawers=NE);var md=globalThis&&globalThis.__assign||function(){return md=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},md.apply(this,arguments)},bx={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},kw=function(){function n(e,t){e===void 0&&(e=[]),t===void 0&&(t=bx),this._items=e,this._activeTab=t?this.getTab(t.defaultTabId):null,this._options=md(md({},bx),t),this._init()}return n.prototype._init=function(){var e=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(t){t.triggerEl.addEventListener("click",function(){e.show(t.id)})}))},n.prototype.getActiveTab=function(){return this._activeTab},n.prototype._setActiveTab=function(e){this._activeTab=e},n.prototype.getTab=function(e){return this._items.filter(function(t){return t.id===e})[0]},n.prototype.show=function(e,t){var i,r,s=this;t===void 0&&(t=!1);var o=this.getTab(e);o===this._activeTab&&!t||(this._items.map(function(a){var l,c;a!==o&&((l=a.triggerEl.classList).remove.apply(l,s._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,s._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(i=o.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(r=o.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-selected","true"),o.targetEl.classList.remove("hidden"),this._setActiveTab(o),this._options.onShow(this,o))},n}();function ME(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(n){var e=[],t=null;n.querySelectorAll('[role="tab"]').forEach(function(i){var r=i.getAttribute("aria-selected")==="true",s={id:i.getAttribute("data-tabs-target"),triggerEl:i,targetEl:document.querySelector(i.getAttribute("data-tabs-target"))};e.push(s),r&&(t=s.id)}),new kw(e,{defaultTabId:t})})}typeof window<"u"&&(window.Tabs=kw,window.initTabs=ME);var Dr=globalThis&&globalThis.__assign||function(){return Dr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Dr.apply(this,arguments)},sc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},gd={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Pw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=gd),this._targetEl=e,this._triggerEl=t,this._options=Dr(Dr({},gd),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.hide()})})},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target;i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&this.isVisible()&&this.hide()},n.prototype.isVisible=function(){return this._visible},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},n.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return Dr(Dr({},e),{modifiers:sc(sc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return Dr(Dr({},e),{modifiers:sc(sc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},n}();function IE(){document.querySelectorAll("[data-tooltip-target]").forEach(function(n){var e=n.getAttribute("data-tooltip-target"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-tooltip-trigger"),r=n.getAttribute("data-tooltip-placement");new Pw(t,n,{placement:r||gd.placement,triggerType:i||gd.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Pw,window.initTooltips=IE);var Lr=globalThis&&globalThis.__assign||function(){return Lr=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Lr.apply(this,arguments)},oc=globalThis&&globalThis.__spreadArray||function(n,e,t){if(t||arguments.length===2)for(var i=0,r=e.length,s;i<r;i++)(s||!(i in e))&&(s||(s=Array.prototype.slice.call(e,0,i)),s[i]=e[i]);return n.concat(s||Array.prototype.slice.call(e))},tl={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Uw=function(){function n(e,t,i){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=tl),this._targetEl=e,this._triggerEl=t,this._options=Lr(Lr({},tl),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return n.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},n.prototype._setupEventListeners=function(){var e=this,t=this._getTriggerEvents();t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},100)}),e._targetEl.addEventListener(i,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},100)})})},n.prototype._createPopperInstance=function(){return AE(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},n.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(t){t.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},n.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},n.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(t){e._handleClickOutside(t,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},n.prototype._handleClickOutside=function(e,t){var i=e.target;i!==t&&!t.contains(i)&&!this._triggerEl.contains(i)&&this.isVisible()&&this.hide()},n.prototype.isVisible=function(){return this._visible},n.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},n.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return Lr(Lr({},e),{modifiers:oc(oc([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},n.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return Lr(Lr({},e),{modifiers:oc(oc([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},n}();function DE(){document.querySelectorAll("[data-popover-target]").forEach(function(n){var e=n.getAttribute("data-popover-target"),t=document.getElementById(e);if(t){var i=n.getAttribute("data-popover-trigger"),r=n.getAttribute("data-popover-placement"),s=n.getAttribute("data-popover-offset");new Uw(t,n,{placement:r||tl.placement,offset:s?parseInt(s):tl.offset,triggerType:i||tl.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=Uw,window.initPopovers=DE);var Ed=globalThis&&globalThis.__assign||function(){return Ed=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Ed.apply(this,arguments)},jm={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Fw=function(){function n(e,t,i,r){e===void 0&&(e=null),t===void 0&&(t=null),i===void 0&&(i=null),r===void 0&&(r=jm),this._parentEl=e,this._triggerEl=t,this._targetEl=i,this._options=Ed(Ed({},jm),r),this._visible=!1,this._init()}return n.prototype._init=function(){var e=this;if(this._triggerEl){var t=this._getTriggerEventTypes(this._options.triggerType);t.showEvents.forEach(function(i){e._triggerEl.addEventListener(i,function(){e.show()}),e._targetEl.addEventListener(i,function(){e.show()})}),t.hideEvents.forEach(function(i){e._parentEl.addEventListener(i,function(){e._parentEl.matches(":hover")||e.hide()})})}},n.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},n.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},n.prototype.toggle=function(){this._visible?this.hide():this.show()},n.prototype.isHidden=function(){return!this._visible},n.prototype.isVisible=function(){return this._visible},n.prototype._getTriggerEventTypes=function(e){switch(e){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},n}();function LE(){document.querySelectorAll("[data-dial-init]").forEach(function(n){var e=n.querySelector("[data-dial-toggle]");if(e){var t=e.getAttribute("data-dial-toggle"),i=document.getElementById(t);if(i){var r=e.getAttribute("data-dial-trigger");new Fw(n,e,i,{triggerType:r||jm.triggerType})}else console.error("Dial with id ".concat(t," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(n.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=Fw,window.initDials=LE);function Bw(){mE(),gE(),EE(),bE(),wE(),OE(),NE(),ME(),IE(),DE(),LE()}typeof window<"u"&&(window.initFlowbite=Bw);var Lpt=new w_t("load",[mE,gE,EE,bE,wE,OE,NE,ME,IE,DE,LE]);Lpt.init();const kpt="/assets/brain_red-f4d79882.svg",Ppt="/assets/brain_orange-41aa94f7.svg",Upt="/assets/brain_green-97e4d230.svg";const Lt=n=>(Gs("data-v-32aed454"),n=n(),zs(),n),Fpt={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},Bpt={class:"flex flex-col text-center"},Gpt={class:"flex flex-col text-center items-center"},zpt={class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},Hpt=Lt(()=>p("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:gl,alt:"Logo"},null,-1)),Vpt={class:"flex flex-col items-start"},qpt={class:"text-2xl"},Ypt=Lt(()=>p("p",{class:"text-gray-400 text-base"},"One tool to rule them all",-1)),$pt=Lt(()=>p("p",{class:"text-gray-400 text-base"},"by ParisNeo",-1)),Wpt=Lt(()=>p("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)),Kpt=Lt(()=>p("p",{class:"text-2xl mb-10"},"Welcome",-1)),jpt={role:"status",class:"text-center w-full display: flex; flex-row align-items: center;"},Qpt={class:"text-2xl animate-pulse mt-2"},Xpt=Lt(()=>p("i",{"data-feather":"chevron-right"},null,-1)),Zpt=[Xpt],Jpt=Lt(()=>p("i",{"data-feather":"chevron-left"},null,-1)),eft=[Jpt],tft={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"},nft={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},ift={class:"flex-row p-4 flex items-center gap-3 flex-0"},rft=Lt(()=>p("i",{"data-feather":"plus"},null,-1)),sft=[rft],oft=Lt(()=>p("i",{"data-feather":"check-square"},null,-1)),aft=[oft],lft=Lt(()=>p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[p("i",{"data-feather":"refresh-ccw"})],-1)),cft=Lt(()=>p("i",{"data-feather":"database"},null,-1)),dft=[cft],uft=Lt(()=>p("i",{"data-feather":"log-in"},null,-1)),_ft=[uft],pft={key:0,class:"dropdown"},fft=Lt(()=>p("i",{"data-feather":"search"},null,-1)),hft=[fft],mft=Lt(()=>p("i",{"data-feather":"save"},null,-1)),gft=[mft],Eft={key:2,class:"flex gap-3 flex-1 items-center duration-75"},bft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),Sft=[bft],yft=Lt(()=>p("i",{"data-feather":"check"},null,-1)),vft=[yft],Tft=["src"],xft=["src"],Cft=["src"],Rft={key:4,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Aft=Lt(()=>p("div",{role:"status"},[p("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"},[p("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"}),p("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"})]),p("span",{class:"sr-only"},"Loading...")],-1)),wft=[Aft],Oft={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},Nft={class:"p-4 pt-2"},Mft={class:"relative"},Ift=Lt(()=>p("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[p("div",{class:"scale-75"},[p("i",{"data-feather":"search"})])],-1)),Dft={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Lft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),kft=[Lft],Pft={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Uft={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Fft={class:"flex flex-row flex-grow"},Bft={key:0},Gft={class:"flex flex-row"},zft={key:0,class:"flex gap-3"},Hft=Lt(()=>p("i",{"data-feather":"trash"},null,-1)),Vft=[Hft],qft={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},Yft=Lt(()=>p("i",{"data-feather":"check"},null,-1)),$ft=[Yft],Wft=Lt(()=>p("i",{"data-feather":"x"},null,-1)),Kft=[Wft],jft={class:"flex gap-3"},Qft=Lt(()=>p("i",{"data-feather":"log-out"},null,-1)),Xft=[Qft],Zft=Lt(()=>p("i",{"data-feather":"bookmark"},null,-1)),Jft=[Zft],eht=Lt(()=>p("i",{"data-feather":"list"},null,-1)),tht=[eht],nht={class:"relative flex flex-row flex-grow mb-10 z-0"},iht={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"},rht=Lt(()=>p("p",{class:"px-3"},"No discussions are found",-1)),sht=[rht],oht=Lt(()=>p("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)),aht={class:"ml-2"},lht={key:1,class:"relative flex flex-col flex-grow"},cht={class:"container pt-4 pb-10 mb-28"},dht=Lt(()=>p("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)),uht={key:0,class:"bottom-0 flex flex-row items-center justify-center"},_ht={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},pht={class:"text-2xl animate-pulse mt-2 text-white"},fht={setup(){},data(){return{host:"",progress_visibility_val:!0,progress_value:0,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,isCheckbox:!1,isSelectAll:!1,showSaveConfirmation:!1,showBrainConfirmation:!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,discussion_id:0}},methods:{show_progress(n){this.progress_visibility_val=!0},hide_progress(n){this.progress_visibility_val=!1},update_progress(n){console.log("Progress update"),this.progress_value=n.value},onSettingsBinding(){try{this.isLoading=!0,Be.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings - "+bindingEntry.binding.name,"Save changes","Cancel").then(e=>{try{Be.post("/set_active_binding_settings",e).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
 `+t,4,!1),this.isLoading=!1)})}catch(t){this.$refs.toast.showToast(`Did not get binding settings responses.
  Endpoint error: `+t.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(n){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+n.message,4,!1)}},showDatabaseSelector(){this.database_selectorDialogVisible=!0},async ondatabase_selectorDialogSelected(n){console.log("Selected:",n)},onclosedatabase_selectorDialog(){this.database_selectorDialogVisible=!1},async onvalidatedatabase_selectorChoice(n){if(this.database_selectorDialogVisible=!1,(await Be.post("/select_database",{name:n})).status){console.log("Selected database"),this.$store.state.config=await Be.get("/get_config"),console.log("new config loaded :",this.$store.state.config);let t=await Be.get("/list_databases").data;console.log("New list of database: ",t),this.$store.state.databases=t,console.log("New list of database: ",this.$store.state.databases),location.reload()}},async toggleLTM(){this.$store.state.config.use_discussions_history=!this.$store.state.config.use_discussions_history,await this.applyConfiguration(),We.emit("upgrade_vectorization")},async applyConfiguration(){this.loading=!0;const n=await Be.post("/apply_settings",{config:this.$store.state.config});this.loading=!1,n.data.status?this.$refs.toast.showToast("Configuration changed successfully.",4,!0):this.$refs.toast.showToast("Configuration change failed.",4,!1),Fe(()=>{ze.replace()})},save_configuration(){this.showConfirmation=!1,Be.post("/save_settings",{}).then(n=>{if(n)return n.status?this.$refs.toast.showToast("Settings saved!",4,!0):this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),n.data}).catch(n=>(console.log(n.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},showToastMessage(n,e,t){console.log("sending",n),this.$refs.toast.showToast(n,e,t)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const n=await Be.get("/list_discussions");if(n)return this.createDiscussionList(n.data),n.data}catch(n){return console.log("Error: Could not list discussions",n.message),[]}},load_discussion(n,e){n&&(console.log("Loading discussion",n),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(n,this.loading),We.on("discussion",t=>{this.loading=!1,this.setDiscussionLoading(n,this.loading),t&&(this.discussionArr=t.filter(i=>i.message_type==this.msgTypes.MSG_TYPE_CHUNK||i.message_type==this.msgTypes.MSG_TYPE_FULL||i.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI||i.message_type==this.msgTypes.MSG_TYPE_CODE||i.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS||i.message_type==this.msgTypes.MSG_TYPE_UI),console.log("this.discussionArr"),console.log(this.discussionArr),e&&e()),We.off("discussion")}),We.emit("load_discussion",{id:n}))},recoverFiles(){console.log("Recovering files"),Be.get("/get_current_personality_files_list").then(n=>{this.$refs.chatBox.filesList=n.data.files,this.$refs.chatBox.isFileSentList=n.data.files.map(e=>!0),console.log(`Files recovered: ${this.$refs.chatBox.filesList}`)})},new_discussion(n){try{this.loading=!0,We.on("discussion_created",e=>{We.off("discussion_created"),this.list_discussions().then(()=>{const t=this.list.findIndex(r=>r.id==e.id),i=this.list[t];this.selectDiscussion(i),this.load_discussion(e.id,()=>{this.loading=!1,Be.get("/get_current_personality_files_list").then(r=>{console.log("Files recovered"),this.fileList=r.files}),Fe(()=>{const r=document.getElementById("dis-"+e.id);this.scrollToElement(r),console.log("Scrolling tp "+r)})})})}),console.log("new_discussion ",n),We.emit("new_discussion",{title:n})}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(n){try{n&&(this.loading=!0,this.setDiscussionLoading(n,this.loading),await Be.post("/delete_discussion",{client_id:this.client_id,id:n}),this.loading=!1,this.setDiscussionLoading(n,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(n,this.loading)}},async edit_title(n,e){try{if(n){this.loading=!0,this.setDiscussionLoading(n,this.loading);const t=await Be.post("/edit_title",{client_id:this.client_id,id:n,title:e});if(this.loading=!1,this.setDiscussionLoading(n,this.loading),t.status==200){const i=this.list.findIndex(s=>s.id==n),r=this.list[i];r.title=e,this.tempList=this.list}}}catch(t){console.log("Error: Could not edit title",t.message),this.loading=!1,this.setDiscussionLoading(n,this.loading)}},async make_title(n){try{if(n){this.loading=!0,this.setDiscussionLoading(n,this.loading);const e=await Be.post("/make_title",{client_id:this.client_id,id:n});if(console.log("Making title:",e),this.loading=!1,this.setDiscussionLoading(n,this.loading),e.status==200){const t=this.list.findIndex(r=>r.id==n),i=this.list[t];i.title=e.data.title,this.tempList=this.list}}}catch(e){console.log("Error: Could not edit title",e.message),this.loading=!1,this.setDiscussionLoading(n,this.loading)}},async delete_message(n){try{const e=await Be.get("/delete_message",{params:{client_id:this.client_id,id:n}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(We.emit("cancel_generation"),res)return res.data}catch(n){return console.log("Error: Could not stop generating",n.message),{}}},async message_rank_up(n){try{const e=await Be.get("/message_rank_up",{params:{client_id:this.client_id,id:n}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(n){try{const e=await Be.get("/message_rank_down",{params:{client_id:this.client_id,id:n}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async edit_message(n,e){try{const t=await Be.get("/edit_message",{params:{client_id:this.client_id,id:n,message:e}});if(t)return t.data}catch(t){return console.log("Error: Could not update message",t.message),{}}},async export_multiple_discussions(n,e){try{if(n.length>0){const t=await Be.post("/export_multiple_discussions",{discussion_ids:n,export_format:e});if(t)return t.data}}catch(t){return console.log("Error: Could not export multiple discussions",t.message),{}}},async import_multiple_discussions(n){try{if(n.length>0){console.log("sending import",n);const e=await Be.post("/import_multiple_discussions",{jArray:n});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(n=>n.title&&n.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(n){if(this.isGenerating){this.$refs.toast.showToast("You are currently generating a text. Please wait for text generation to finish or stop it before trying to select another discussion",4,!1);return}n&&(this.currentDiscussion===void 0?(this.currentDiscussion=n,this.setPageTitle(n),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(n.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})):this.currentDiscussion.id!=n.id&&(this.currentDiscussion=n,this.setPageTitle(n),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(n.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)})),Fe(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const t=document.getElementById("messages-list");this.scrollBottom(t)}))},scrollToElement(n){n?n.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(n,e){try{const t=n.offsetTop;document.getElementById(e).scrollTo({top:t,behavior:"smooth"})}catch{}},scrollBottom(n){n?n.scrollTo({top:n.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(n){n?n.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(n){let e={content:n.message,id:n.id,rank:0,sender:n.user,created_at:n.created_at,steps:[],html_js_s:[]};this.discussionArr.push(e),Fe(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},updateLastUserMsg(n){const e=this.discussionArr.indexOf(i=>i.id=n.user_id),t={binding:n.binding,content:n.message,created_at:n.created_at,type:n.type,finished_generating_at:n.finished_generating_at,id:n.user_id,model:n.model,personality:n.personality,sender:n.user,steps:[]};e!==-1&&(this.discussionArr[e]=t)},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(n){console.log("Making a new message"),console.log("New message",n);let e={sender:n.sender,message_type:n.message_type,sender_type:n.sender_type,content:n.content,id:n.id,discussion_id:n.discussion_id,parent_id:n.parent_id,binding:n.binding,model:n.model,personality:n.personality,created_at:n.created_at,finished_generating_at:n.finished_generating_at,rank:0,ui:n.ui,steps:[],parameters:n.parameters,metadata:n.metadata,open:n.open};console.log(e),this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,n.message),console.log("infos",n)},talk(n){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Be.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),We.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)})},createEmptyUserMessage(){We.emit("create_empty_message",{type:0})},createEmptyAIMessage(){We.emit("create_empty_message",{type:1})},sendMsg(n){if(!n){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Be.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{We.emit("generate_msg",{prompt:n});let t=0;this.discussionArr.length>0&&(t=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let i={message:n,id:t,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:n,id:t,discussion_id:this.discussion_id,parent_id:t,binding:"",model:"",personality:"",created_at:new Date().toLocaleString(),finished_generating_at:new Date().toLocaleString(),rank:0,steps:[],parameters:null,metadata:[],ui:null};this.createUserMsg(i)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},sendCmd(n){this.isGenerating=!0,We.emit("execute_command",{command:n,parameters:[]})},notify(n){self.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Fe(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),n.notification_type==0?this.$refs.toast.showToast(n.content,n.duration,n.status):n.notification_type==1&&this.$refs.messageBox.showMessage(n.content),this.chime.play()},streamMessageContent(n){if(this.discussion_id=n.discussion_id,this.setDiscussionLoading(this.discussion_id,!0),this.currentDiscussion.id==this.discussion_id){const e=this.discussionArr.findIndex(i=>i.id==n.id),t=this.discussionArr[e];if(t&&(n.message_type==this.msgTypes.MSG_TYPE_FULL||n.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI))t.content=n.content,t.finished_generating_at=n.finished_generating_at;else if(t&&n.message_type==this.msgTypes.MSG_TYPE_CHUNK)t.content+=n.content;else if(n.message_type==this.msgTypes.MSG_TYPE_STEP)t.steps.push({message:n.content,done:!0,status:!0});else if(n.message_type==this.msgTypes.MSG_TYPE_STEP_START)t.steps.push({message:n.content,done:!1,status:!0});else if(n.message_type==this.msgTypes.MSG_TYPE_STEP_END){const i=t.steps.find(r=>r.message===n.content);if(i){i.done=!0;try{console.log(n.parameters);const r=n.parameters;i.status=r.status,console.log(r)}catch(r){console.error("Error parsing JSON:",r.message)}}}else n.message_type==this.msgTypes.MSG_TYPE_JSON_INFOS?(console.log("JSON message"),console.log(n.metadata),t.metadata=n.metadata):n.message_type==this.msgTypes.MSG_TYPE_UI?(console.log("UI message"),t.ui=n.ui,console.log(t.ui)):n.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(n.content,5,!1)}this.$nextTick(()=>{ze.replace()})},async changeTitleUsingUserMSG(n,e){const t=this.list.findIndex(r=>r.id==n),i=this.list[t];e&&(i.title=e,this.tempList=this.list,await this.edit_title(n,e))},async createNewDiscussion(){this.new_discussion(null)},loadLastUsedDiscussion(){console.log("Loading last discussion");const n=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",n),n){const e=this.list.findIndex(i=>i.id==n),t=this.list[e];t&&this.selectDiscussion(t)}},onCopyPersonalityName(n){this.$refs.toast.showToast("Copied name to clipboard!",4,!0),navigator.clipboard.writeText(n.name)},async deleteDiscussion(n){await this.delete_discussion(n),this.currentDiscussion.id==n&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==n),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const n=this.selectedDiscussions;for(let e=0;e<n.length;e++){const t=n[e];await this.delete_discussion(t.id),this.currentDiscussion.id==t.id&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(i=>i.id==t.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+n.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(n){await this.delete_message(n).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==n),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(n){const e=this.list.findIndex(i=>i.id==n.id),t=this.list[e];t.title=n.title,t.loading=!0,await this.edit_title(n.id,n.title),t.loading=!1},async makeTitle(n){this.list.findIndex(e=>e.id==n.id),await this.make_title(n.id)},checkUncheckDiscussion(n,e){const t=this.list.findIndex(r=>r.id==e),i=this.list[t];i.checkBoxValue=n.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(n=>n.checkBoxValue==!1).length>0;for(let n=0;n<this.tempList.length;n++)this.tempList[n].checkBoxValue=!this.isSelectAll;this.tempList=this.list,this.isSelectAll=!this.isSelectAll},createDiscussionList(n){if(n){const e=n.map(t=>({id:t.id,title:t.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(t,i){return i.id-t.id});this.list=e,this.tempList=e}},setDiscussionLoading(n,e){const t=this.list.findIndex(r=>r.id==n),i=this.list[t];i.loading=e},setPageTitle(n){if(n)if(n.id){const e=n.title?n.title==="untitled"?"New discussion":n.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=n||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=n||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(n){await this.message_rank_up(n).then(e=>{const t=this.discussionArr[this.discussionArr.findIndex(i=>i.id==n)];t.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(n){await this.message_rank_down(n).then(e=>{const t=this.discussionArr[this.discussionArr.findIndex(i=>i.id==n)];t.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(n,e){await this.edit_message(n,e).then(()=>{const t=this.discussionArr[this.discussionArr.findIndex(i=>i.id==n)];t.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(n,e,t){Fe(()=>{ze.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Be.get("/get_generation_status",{}).then(i=>{i&&(i.data.status?(this.$refs.toast.showToast("The server is busy. Wait",4,!1),console.log("Already generating")):We.emit("generate_msg_from",{prompt:e,id:n,msg_type:t}))}).catch(i=>{console.log("Error: Could not get generation status",i)})},continueMessage(n,e){Fe(()=>{ze.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Be.get("/get_generation_status",{}).then(t=>{t&&(t.data.status?console.log("Already generating"):We.emit("continue_generate_msg_from",{prompt:e,id:n}))}).catch(t=>{console.log("Error: Could not get generation status",t)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),Fe(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},finalMsgEvent(n){if(console.log("final",n),n.parent_id,this.discussion_id=n.discussion_id,this.currentDiscussion.id==this.discussion_id){const e=this.discussionArr.findIndex(t=>t.id==n.id);this.discussionArr[e].content=n.content,this.discussionArr[e].finished_generating_at=n.finished_generating_at}Fe(()=>{const e=document.getElementById("messages-list");this.scrollBottom(e)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(n){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";n.message.binding&&(e=`Binding: ${n.message.binding}`);let t="";n.message.personality&&(t=`
 Personality: ${n.message.personality}`);let i="";n.created_at_parsed&&(i=`
@@ -189,7 +189,7 @@ ${r}
 
 ${l}`;navigator.clipboard.writeText(c),Fe(()=>{ze.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(n,e){e=e||"data.json";const t=document.createElement("a");t.href=URL.createObjectURL(new Blob([JSON.stringify(n,null,2)],{type:"text/plain"})),t.setAttribute("download",e),document.body.appendChild(t),t.click(),document.body.removeChild(t)},saveMarkdowntoFile(n,e){e=e||"data.md";const t=document.createElement("a");t.href=URL.createObjectURL(new Blob([n],{type:"text/plain"})),t.setAttribute("download",e),document.body.appendChild(t),t.click(),document.body.removeChild(t)},parseJsonObj(n){try{return JSON.parse(n)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. 
 `+e.message,4,!1),null}},async parseJsonFile(n){return new Promise((e,t)=>{const i=new FileReader;i.onload=r=>e(this.parseJsonObj(r.target.result)),i.onerror=r=>t(r),i.readAsText(n)})},async exportDiscussionsAsMarkdown(){const n=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(n.length>0){console.log("export",n);let e=new Date;const t=e.getFullYear(),i=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(t+"."+i+"."+r+"."+s+o+a)+".md";this.loading=!0;const d=await this.export_multiple_discussions(n,"markdown");d?(this.saveMarkdowntoFile(d,c),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 exportDiscussionsAsJson(){const n=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(n.length>0){console.log("export",n);let e=new Date;const t=e.getFullYear(),i=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(t+"."+i+"."+r+"."+s+o+a)+".json";this.loading=!0;const d=await this.export_multiple_discussions(n,"json");d?(this.saveJSONtoFile(d,c),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(n){const e=await this.parseJsonFile(n.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 n=this.$store.state.personalities;this.personalityAvatars=n.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(n){if(n.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(i=>i.name===n),t=this.personalityAvatars[e];if(t)return console.log("Avatar",t.avatar),t.avatar},setFileListChat(n){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(n)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox
-`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(n){if(n.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(n[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}},async created(){for(this.$nextTick(()=>{ze.replace()}),We.on("disucssion_renamed",n=>{console.log("Received new title",n.discussion_id,n.title);const e=this.list.findIndex(i=>i.id==n.discussion_id),t=this.list[e];t.title=n.title}),We.onclose=n=>{console.log("WebSocket connection closed:",n.code,n.reason),this.socketIODisconnected()},We.on("connect_error",n=>{n.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",n),this.$store.state.isConnected=!1}),We.onerror=n=>{console.log("WebSocket connection error:",n.code,n.reason),this.socketIODisconnected(),We.disconnect()},We.on("connected",this.socketIOConnected),We.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100)),console.log(this.$store.state.ready);console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),We.on("show_progress",this.show_progress),We.on("hide_progress",this.hide_progress),We.on("update_progress",this.update_progress),We.on("notification",this.notify),We.on("new_message",this.new_message),We.on("update_message",this.streamMessageContent),We.on("close_message",this.finalMsgEvent),We.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(){let n="http://localhost:9600/";try{n=await(await fetch("/get_server_address")).text(),n.includes("<")&&(console.log("Server address not found"),n="http://localhost:9600/"),console.log(`Server address: ${n}`)}catch(e){console.error("Error fetching server address:",e),n="http://localhost:9600/"}this.host=`${n}`,Be.defaults.baseURL=n,this.$nextTick(()=>{ze.replace()})},async activated(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Fe(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},components:{Discussion:mw,Message:gw,ChatBox:Ew,WelcomeComponent:bw,Toast:Vs,ChoiceDialog:fE,MessageBox:pE,ProgressBar:Ym},watch:{progress_visibility_val(n){console.log("progress_visibility changed")},filterTitle(n){n==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(n){Fe(()=>{ze.replace()}),n||(this.isSelectAll=!1)},socketConnected(n){console.log("Websocket connected (watch)",n)},showConfirmation(){Fe(()=>{ze.replace()})},isSearch(){Fe(()=>{ze.replace()})}},computed:{progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?" v"+this.$store.state.version:""}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(n){this.$store.state.isModelOk=n}},isGenerating:{get(){return this.$store.state.isGenerating},set(n){this.$store.state.isGenerating=n}},formatted_database_name(){const n=this.$store.state.config.db_path;return n.slice(0,n.length-3)},UseDiscussionHistory(){return this.$store.state.config.use_discussions_history},isReady:{get(){return this.$store.state.ready}},databases(){return this.$store.state.databases},client_id(){return We.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 Fe(()=>{ze.replace()}),this.list.filter(n=>n.checkBoxValue==!0)}}},hht=Object.assign(fht,{__name:"DiscussionsView",setup(n){return Al(()=>{Bw()}),Be.defaults.baseURL="/",(e,t)=>(D(),L(Xe,null,[De(Uo,{name:"fade-and-fly"},{default:ot(()=>[e.isReady?se("",!0):(D(),L("div",Fpt,[p("div",Bpt,[p("div",Gpt,[p("div",zpt,[Hpt,p("div",Vpt,[p("p",qpt,"Lord of Large Language Models "+ge(e.version_info),1),Ypt,$pt])]),Wpt,Kpt,p("div",jpt,[De(Ym,{ref:"loading_progress",progress:e.loading_progress},null,8,["progress"]),p("p",Qpt,ge(e.loading_infos)+" ...",1)])])])]))]),_:1}),e.isReady?(D(),L("button",{key:0,onClick:t[0]||(t[0]=(...i)=>e.togglePanel&&e.togglePanel(...i)),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"},[we(p("div",null,Zpt,512),[[Ot,e.panelCollapsed]]),we(p("div",null,eft,512),[[Ot,!e.panelCollapsed]])])):se("",!0),De(Uo,{name:"slide-right"},{default:ot(()=>[e.showPanel?(D(),L("div",tft,[p("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:t[22]||(t[22]=Ie(i=>e.setDropZoneDiscussion(),["stop","prevent"]))},[p("div",nft,[p("div",ift,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:t[1]||(t[1]=i=>e.createNewDiscussion())},sft),p("button",{class:Ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:t[2]||(t[2]=i=>e.isCheckbox=!e.isCheckbox)},aft,2),lft,p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button",onClick:t[3]||(t[3]=Ie(i=>e.database_selectorDialogVisible=!0,["stop"]))},dft),p("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:t[4]||(t[4]=(...i)=>e.importDiscussions&&e.importDiscussions(...i))},null,544),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:t[5]||(t[5]=Ie(i=>e.$refs.fileDialog.click(),["stop"]))},_ft),e.isOpen?(D(),L("div",pft,[p("button",{onClick:t[6]||(t[6]=(...i)=>e.importDiscussions&&e.importDiscussions(...i))},"LOLLMS"),p("button",{onClick:t[7]||(t[7]=(...i)=>e.importChatGPT&&e.importChatGPT(...i))},"ChatGPT")])):se("",!0),p("button",{class:Ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:t[8]||(t[8]=i=>e.isSearch=!e.isSearch)},hft,2),e.showSaveConfirmation?se("",!0):(D(),L("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:t[9]||(t[9]=i=>e.showSaveConfirmation=!0)},gft)),e.showSaveConfirmation?(D(),L("div",Eft,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:t[10]||(t[10]=Ie(i=>e.showSaveConfirmation=!1,["stop"]))},Sft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:t[11]||(t[11]=Ie(i=>e.save_configuration(),["stop"]))},vft)])):se("",!0),e.showBrainConfirmation?se("",!0):(D(),L("button",{key:3,title:"Activate Long term Memory",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:t[12]||(t[12]=i=>e.toggleLTM())},[e.loading?(D(),L("img",{key:0,src:nn(Ppt),width:"25",height:"25",class:"animate-pulse",title:"Applying config, please stand by..."},null,8,Tft)):e.UseDiscussionHistory?(D(),L("img",{key:1,src:nn(Upt),width:"25",height:"25"},null,8,xft)):(D(),L("img",{key:2,src:nn(kpt),width:"25",height:"25"},null,8,Cft))])),e.loading?(D(),L("div",Rft,wft)):se("",!0)]),e.isSearch?(D(),L("div",Oft,[p("div",Nft,[p("div",Mft,[Ift,p("div",Dft,[p("div",{class:Ke(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:t[13]||(t[13]=i=>e.filterTitle="")},kft,2)]),we(p("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":t[14]||(t[14]=i=>e.filterTitle=i),onInput:t[15]||(t[15]=i=>e.filterDiscussions())},null,544),[[et,e.filterTitle]])])])])):se("",!0),e.isCheckbox?(D(),L("hr",Pft)):se("",!0),e.isCheckbox?(D(),L("div",Uft,[p("div",Fft,[e.selectedDiscussions.length>0?(D(),L("p",Bft,"Selected: "+ge(e.selectedDiscussions.length),1)):se("",!0)]),p("div",Gft,[e.selectedDiscussions.length>0?(D(),L("div",zft,[e.showConfirmation?se("",!0):(D(),L("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:t[16]||(t[16]=Ie(i=>e.showConfirmation=!0,["stop"]))},Vft)),e.showConfirmation?(D(),L("div",qft,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:t[17]||(t[17]=Ie((...i)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...i),["stop"]))},$ft),p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:t[18]||(t[18]=Ie(i=>e.showConfirmation=!1,["stop"]))},Kft)])):se("",!0)])):se("",!0),p("div",jft,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:t[19]||(t[19]=Ie((...i)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...i),["stop"]))},Xft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[20]||(t[20]=Ie((...i)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...i),["stop"]))},Jft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:t[21]||(t[21]=Ie((...i)=>e.selectAllDiscussions&&e.selectAllDiscussions(...i),["stop"]))},tht)])])])):se("",!0)]),p("div",nht,[p("div",{class:Ke(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[p("div",{id:"dis-list",class:Ke([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(D(),jt(tr,{key:0,name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(e.list,(i,r)=>(D(),jt(mw,{key:i.id,id:i.id,title:i.title,selected:e.currentDiscussion.id==i.id,loading:i.loading,isCheckbox:e.isCheckbox,checkBoxValue:i.checkBoxValue,onSelect:s=>e.selectDiscussion(i),onDelete:s=>e.deleteDiscussion(i.id),onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):se("",!0),e.list.length<1?(D(),L("div",iht,sht)):se("",!0),oht],2)],2)])],32),p("div",{class:"absolute bottom-0 left-0 w-full bg-blue-200 dark:bg-blue-800 text-white py-2 cursor-pointer hover:text-green-500",onClick:t[23]||(t[23]=(...i)=>e.showDatabaseSelector&&e.showDatabaseSelector(...i))},[p("p",aht,"Current database: "+ge(e.formatted_database_name),1)])])):se("",!0)]),_:1}),e.isReady?(D(),L("div",lht,[p("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":""])},[p("div",cht,[e.discussionArr.length>0?(D(),jt(tr,{key:0,name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(e.discussionArr,(i,r)=>(D(),jt(gw,{key:i.id,message:i,id:"msg-"+i.id,host:e.host,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(i.sender)},null,8,["message","id","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):se("",!0),e.currentDiscussion.id?se("",!0):(D(),jt(bw,{key:1}))]),dht,e.currentDiscussion.id?(D(),L("div",uht,[De(Ew,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onMessageSentEvent","onSendCMDEvent","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):se("",!0)],2)])):se("",!0),De(Vs,{ref:"toast"},null,512),De(pE,{ref:"messageBox"},null,512),De(fE,{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"]),we(p("div",_ht,[De(Ym,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),p("p",pht,ge(e.loading_infos)+" ...",1)],512),[[Ot,e.progress_visibility]])],64))}}),mht=bt(hht,[["__scopeId","data-v-32aed454"]]);/**
+`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(n){if(n.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(n[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}},async created(){for(this.$nextTick(()=>{ze.replace()}),We.on("disucssion_renamed",n=>{console.log("Received new title",n.discussion_id,n.title);const e=this.list.findIndex(i=>i.id==n.discussion_id),t=this.list[e];t.title=n.title}),We.onclose=n=>{console.log("WebSocket connection closed:",n.code,n.reason),this.socketIODisconnected()},We.on("connect_error",n=>{n.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",n),this.$store.state.isConnected=!1}),We.onerror=n=>{console.log("WebSocket connection error:",n.code,n.reason),this.socketIODisconnected(),We.disconnect()},We.on("connected",this.socketIOConnected),We.on("disconnected",this.socketIODisconnected),console.log("Added events"),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100)),console.log(this.$store.state.ready);console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),We.on("show_progress",this.show_progress),We.on("hide_progress",this.hide_progress),We.on("update_progress",this.update_progress),We.on("notification",this.notify),We.on("new_message",this.new_message),We.on("update_message",this.streamMessageContent),We.on("close_message",this.finalMsgEvent),We.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(){let n="http://localhost:9600/";try{n=await(await fetch("/get_server_address")).text(),n.includes("<")&&(console.log("Server address not found"),n="http://localhost:9600/"),console.log(`Server address: ${n}`)}catch(e){console.error("Error fetching server address:",e),n="http://localhost:9600/"}this.host=`${n}`,Be.defaults.baseURL=n,this.$nextTick(()=>{ze.replace()})},async activated(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Fe(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},components:{Discussion:mw,Message:gw,ChatBox:Ew,WelcomeComponent:bw,Toast:Vs,ChoiceDialog:fE,MessageBox:pE,ProgressBar:Ym},watch:{progress_visibility_val(n){console.log("progress_visibility changed")},filterTitle(n){n==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(n){Fe(()=>{ze.replace()}),n||(this.isSelectAll=!1)},socketConnected(n){console.log("Websocket connected (watch)",n)},showConfirmation(){Fe(()=>{ze.replace()})},isSearch(){Fe(()=>{ze.replace()})}},computed:{progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?" v"+this.$store.state.version:""}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(n){this.$store.state.isModelOk=n}},isGenerating:{get(){return this.$store.state.isGenerating},set(n){this.$store.state.isGenerating=n}},formatted_database_name(){const n=this.$store.state.config.db_path;return n.slice(0,n.length-3)},UseDiscussionHistory(){return this.$store.state.config.use_discussions_history},isReady:{get(){return this.$store.state.ready}},databases(){return this.$store.state.databases},client_id(){return We.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 Fe(()=>{ze.replace()}),this.list.filter(n=>n.checkBoxValue==!0)}}},hht=Object.assign(fht,{__name:"DiscussionsView",setup(n){return Al(()=>{Bw()}),Be.defaults.baseURL="/",(e,t)=>(D(),L(Xe,null,[De(Uo,{name:"fade-and-fly"},{default:ot(()=>[e.isReady?se("",!0):(D(),L("div",Fpt,[p("div",Bpt,[p("div",Gpt,[p("div",zpt,[Hpt,p("div",Vpt,[p("p",qpt,"Lord of Large Language Models "+ge(e.version_info),1),Ypt,$pt])]),Wpt,Kpt,p("div",jpt,[De(Ym,{ref:"loading_progress",progress:e.loading_progress},null,8,["progress"]),p("p",Qpt,ge(e.loading_infos)+" ...",1)])])])]))]),_:1}),e.isReady?(D(),L("button",{key:0,onClick:t[0]||(t[0]=(...i)=>e.togglePanel&&e.togglePanel(...i)),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"},[we(p("div",null,Zpt,512),[[Ot,e.panelCollapsed]]),we(p("div",null,eft,512),[[Ot,!e.panelCollapsed]])])):se("",!0),De(Uo,{name:"slide-right"},{default:ot(()=>[e.showPanel?(D(),L("div",tft,[p("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:t[22]||(t[22]=Ie(i=>e.setDropZoneDiscussion(),["stop","prevent"]))},[p("div",nft,[p("div",ift,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:t[1]||(t[1]=i=>e.createNewDiscussion())},sft),p("button",{class:Ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:t[2]||(t[2]=i=>e.isCheckbox=!e.isCheckbox)},aft,2),lft,p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button",onClick:t[3]||(t[3]=Ie(i=>e.database_selectorDialogVisible=!0,["stop"]))},dft),p("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:t[4]||(t[4]=(...i)=>e.importDiscussions&&e.importDiscussions(...i))},null,544),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:t[5]||(t[5]=Ie(i=>e.$refs.fileDialog.click(),["stop"]))},_ft),e.isOpen?(D(),L("div",pft,[p("button",{onClick:t[6]||(t[6]=(...i)=>e.importDiscussions&&e.importDiscussions(...i))},"LOLLMS"),p("button",{onClick:t[7]||(t[7]=(...i)=>e.importChatGPT&&e.importChatGPT(...i))},"ChatGPT")])):se("",!0),p("button",{class:Ke(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:t[8]||(t[8]=i=>e.isSearch=!e.isSearch)},hft,2),e.showSaveConfirmation?se("",!0):(D(),L("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:t[9]||(t[9]=i=>e.showSaveConfirmation=!0)},gft)),e.showSaveConfirmation?(D(),L("div",Eft,[p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:t[10]||(t[10]=Ie(i=>e.showSaveConfirmation=!1,["stop"]))},Sft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:t[11]||(t[11]=Ie(i=>e.save_configuration(),["stop"]))},vft)])):se("",!0),e.showBrainConfirmation?se("",!0):(D(),L("button",{key:3,title:"Activate Long term Memory",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:t[12]||(t[12]=i=>e.toggleLTM())},[e.loading?(D(),L("img",{key:0,src:nn(Ppt),width:"25",height:"25",class:"animate-pulse",title:"Applying config, please stand by..."},null,8,Tft)):e.UseDiscussionHistory?(D(),L("img",{key:1,src:nn(Upt),width:"25",height:"25"},null,8,xft)):(D(),L("img",{key:2,src:nn(kpt),width:"25",height:"25"},null,8,Cft))])),e.loading?(D(),L("div",Rft,wft)):se("",!0)]),e.isSearch?(D(),L("div",Oft,[p("div",Nft,[p("div",Mft,[Ift,p("div",Dft,[p("div",{class:Ke(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:t[13]||(t[13]=i=>e.filterTitle="")},kft,2)]),we(p("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":t[14]||(t[14]=i=>e.filterTitle=i),onInput:t[15]||(t[15]=i=>e.filterDiscussions())},null,544),[[et,e.filterTitle]])])])])):se("",!0),e.isCheckbox?(D(),L("hr",Pft)):se("",!0),e.isCheckbox?(D(),L("div",Uft,[p("div",Fft,[e.selectedDiscussions.length>0?(D(),L("p",Bft,"Selected: "+ge(e.selectedDiscussions.length),1)):se("",!0)]),p("div",Gft,[e.selectedDiscussions.length>0?(D(),L("div",zft,[e.showConfirmation?se("",!0):(D(),L("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:t[16]||(t[16]=Ie(i=>e.showConfirmation=!0,["stop"]))},Vft)),e.showConfirmation?(D(),L("div",qft,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:t[17]||(t[17]=Ie((...i)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...i),["stop"]))},$ft),p("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:t[18]||(t[18]=Ie(i=>e.showConfirmation=!1,["stop"]))},Kft)])):se("",!0)])):se("",!0),p("div",jft,[p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:t[19]||(t[19]=Ie((...i)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...i),["stop"]))},Xft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[20]||(t[20]=Ie((...i)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...i),["stop"]))},Jft),p("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:t[21]||(t[21]=Ie((...i)=>e.selectAllDiscussions&&e.selectAllDiscussions(...i),["stop"]))},tht)])])])):se("",!0)]),p("div",nht,[p("div",{class:Ke(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[p("div",{id:"dis-list",class:Ke([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(D(),jt(tr,{key:0,name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(e.list,(i,r)=>(D(),jt(mw,{key:i.id,id:i.id,title:i.title,selected:e.currentDiscussion.id==i.id,loading:i.loading,isCheckbox:e.isCheckbox,checkBoxValue:i.checkBoxValue,onSelect:s=>e.selectDiscussion(i),onDelete:s=>e.deleteDiscussion(i.id),onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):se("",!0),e.list.length<1?(D(),L("div",iht,sht)):se("",!0),oht],2)],2)])],32),p("div",{class:"absolute bottom-0 left-0 w-full bg-blue-200 dark:bg-blue-800 text-white py-2 cursor-pointer hover:text-green-500",onClick:t[23]||(t[23]=(...i)=>e.showDatabaseSelector&&e.showDatabaseSelector(...i))},[p("p",aht,"Current database: "+ge(e.formatted_database_name),1)])])):se("",!0)]),_:1}),e.isReady?(D(),L("div",lht,[p("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":""])},[p("div",cht,[e.discussionArr.length>0?(D(),jt(tr,{key:0,name:"list"},{default:ot(()=>[(D(!0),L(Xe,null,St(e.discussionArr,(i,r)=>(D(),jt(gw,{key:i.id,message:i,id:"msg-"+i.id,host:e.host,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(i.sender)},null,8,["message","id","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):se("",!0),e.currentDiscussion.id?se("",!0):(D(),jt(bw,{key:1}))]),dht,e.currentDiscussion.id?(D(),L("div",uht,[De(Ew,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onMessageSentEvent","onSendCMDEvent","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):se("",!0)],2)])):se("",!0),De(Vs,{ref:"toast"},null,512),De(pE,{ref:"messageBox"},null,512),De(fE,{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"]),we(p("div",_ht,[De(Ym,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),p("p",pht,ge(e.loading_infos)+" ...",1)],512),[[Ot,e.progress_visibility]])],64))}}),mht=Et(hht,[["__scopeId","data-v-32aed454"]]);/**
  * @license
  * Copyright 2010-2023 Three.js Authors
  * SPDX-License-Identifier: MIT
@@ -3625,7 +3625,7 @@ void main() {
 	#include <tonemapping_fragment>
 	#include <colorspace_fragment>
 	#include <fog_fragment>
-}`,ft={alphahash_fragment:rgt,alphahash_pars_fragment:sgt,alphamap_fragment:ogt,alphamap_pars_fragment:agt,alphatest_fragment:lgt,alphatest_pars_fragment:cgt,aomap_fragment:dgt,aomap_pars_fragment:ugt,batching_pars_vertex:_gt,batching_vertex:pgt,begin_vertex:fgt,beginnormal_vertex:hgt,bsdfs:mgt,iridescence_fragment:ggt,bumpmap_pars_fragment:Egt,clipping_planes_fragment:bgt,clipping_planes_pars_fragment:Sgt,clipping_planes_pars_vertex:ygt,clipping_planes_vertex:vgt,color_fragment:Tgt,color_pars_fragment:xgt,color_pars_vertex:Cgt,color_vertex:Rgt,common:Agt,cube_uv_reflection_fragment:wgt,defaultnormal_vertex:Ogt,displacementmap_pars_vertex:Ngt,displacementmap_vertex:Mgt,emissivemap_fragment:Igt,emissivemap_pars_fragment:Dgt,colorspace_fragment:Lgt,colorspace_pars_fragment:kgt,envmap_fragment:Pgt,envmap_common_pars_fragment:Ugt,envmap_pars_fragment:Fgt,envmap_pars_vertex:Bgt,envmap_physical_pars_fragment:Xgt,envmap_vertex:Ggt,fog_vertex:zgt,fog_pars_vertex:Hgt,fog_fragment:Vgt,fog_pars_fragment:qgt,gradientmap_pars_fragment:Ygt,lightmap_fragment:$gt,lightmap_pars_fragment:Wgt,lights_lambert_fragment:Kgt,lights_lambert_pars_fragment:jgt,lights_pars_begin:Qgt,lights_toon_fragment:Zgt,lights_toon_pars_fragment:Jgt,lights_phong_fragment:eEt,lights_phong_pars_fragment:tEt,lights_physical_fragment:nEt,lights_physical_pars_fragment:iEt,lights_fragment_begin:rEt,lights_fragment_maps:sEt,lights_fragment_end:oEt,logdepthbuf_fragment:aEt,logdepthbuf_pars_fragment:lEt,logdepthbuf_pars_vertex:cEt,logdepthbuf_vertex:dEt,map_fragment:uEt,map_pars_fragment:_Et,map_particle_fragment:pEt,map_particle_pars_fragment:fEt,metalnessmap_fragment:hEt,metalnessmap_pars_fragment:mEt,morphcolor_vertex:gEt,morphnormal_vertex:EEt,morphtarget_pars_vertex:bEt,morphtarget_vertex:SEt,normal_fragment_begin:yEt,normal_fragment_maps:vEt,normal_pars_fragment:TEt,normal_pars_vertex:xEt,normal_vertex:CEt,normalmap_pars_fragment:REt,clearcoat_normal_fragment_begin:AEt,clearcoat_normal_fragment_maps:wEt,clearcoat_pars_fragment:OEt,iridescence_pars_fragment:NEt,opaque_fragment:MEt,packing:IEt,premultiplied_alpha_fragment:DEt,project_vertex:LEt,dithering_fragment:kEt,dithering_pars_fragment:PEt,roughnessmap_fragment:UEt,roughnessmap_pars_fragment:FEt,shadowmap_pars_fragment:BEt,shadowmap_pars_vertex:GEt,shadowmap_vertex:zEt,shadowmask_pars_fragment:HEt,skinbase_vertex:VEt,skinning_pars_vertex:qEt,skinning_vertex:YEt,skinnormal_vertex:$Et,specularmap_fragment:WEt,specularmap_pars_fragment:KEt,tonemapping_fragment:jEt,tonemapping_pars_fragment:QEt,transmission_fragment:XEt,transmission_pars_fragment:ZEt,uv_pars_fragment:JEt,uv_pars_vertex:ebt,uv_vertex:tbt,worldpos_vertex:nbt,background_vert:ibt,background_frag:rbt,backgroundCube_vert:sbt,backgroundCube_frag:obt,cube_vert:abt,cube_frag:lbt,depth_vert:cbt,depth_frag:dbt,distanceRGBA_vert:ubt,distanceRGBA_frag:_bt,equirect_vert:pbt,equirect_frag:fbt,linedashed_vert:hbt,linedashed_frag:mbt,meshbasic_vert:gbt,meshbasic_frag:Ebt,meshlambert_vert:bbt,meshlambert_frag:Sbt,meshmatcap_vert:ybt,meshmatcap_frag:vbt,meshnormal_vert:Tbt,meshnormal_frag:xbt,meshphong_vert:Cbt,meshphong_frag:Rbt,meshphysical_vert:Abt,meshphysical_frag:wbt,meshtoon_vert:Obt,meshtoon_frag:Nbt,points_vert:Mbt,points_frag:Ibt,shadow_vert:Dbt,shadow_frag:Lbt,sprite_vert:kbt,sprite_frag:Pbt},Ge={common:{diffuse:{value:new at(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new mt},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new mt}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new mt}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new mt}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new mt},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new mt},normalScale:{value:new vt(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new mt},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new mt}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new mt}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new mt}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new at(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new at(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0},uvTransform:{value:new mt}},sprite:{diffuse:{value:new at(16777215)},opacity:{value:1},center:{value:new vt(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new mt},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0}}},Si={basic:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.fog]),vertexShader:ft.meshbasic_vert,fragmentShader:ft.meshbasic_frag},lambert:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)}}]),vertexShader:ft.meshlambert_vert,fragmentShader:ft.meshlambert_frag},phong:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)},specular:{value:new at(1118481)},shininess:{value:30}}]),vertexShader:ft.meshphong_vert,fragmentShader:ft.meshphong_frag},standard:{uniforms:xn([Ge.common,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.roughnessmap,Ge.metalnessmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:ft.meshphysical_vert,fragmentShader:ft.meshphysical_frag},toon:{uniforms:xn([Ge.common,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.gradientmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)}}]),vertexShader:ft.meshtoon_vert,fragmentShader:ft.meshtoon_frag},matcap:{uniforms:xn([Ge.common,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,{matcap:{value:null}}]),vertexShader:ft.meshmatcap_vert,fragmentShader:ft.meshmatcap_frag},points:{uniforms:xn([Ge.points,Ge.fog]),vertexShader:ft.points_vert,fragmentShader:ft.points_frag},dashed:{uniforms:xn([Ge.common,Ge.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:ft.linedashed_vert,fragmentShader:ft.linedashed_frag},depth:{uniforms:xn([Ge.common,Ge.displacementmap]),vertexShader:ft.depth_vert,fragmentShader:ft.depth_frag},normal:{uniforms:xn([Ge.common,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,{opacity:{value:1}}]),vertexShader:ft.meshnormal_vert,fragmentShader:ft.meshnormal_frag},sprite:{uniforms:xn([Ge.sprite,Ge.fog]),vertexShader:ft.sprite_vert,fragmentShader:ft.sprite_frag},background:{uniforms:{uvTransform:{value:new mt},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:ft.background_vert,fragmentShader:ft.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:ft.backgroundCube_vert,fragmentShader:ft.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:ft.cube_vert,fragmentShader:ft.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:ft.equirect_vert,fragmentShader:ft.equirect_frag},distanceRGBA:{uniforms:xn([Ge.common,Ge.displacementmap,{referencePosition:{value:new ue},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:ft.distanceRGBA_vert,fragmentShader:ft.distanceRGBA_frag},shadow:{uniforms:xn([Ge.lights,Ge.fog,{color:{value:new at(0)},opacity:{value:1}}]),vertexShader:ft.shadow_vert,fragmentShader:ft.shadow_frag}};Si.physical={uniforms:xn([Si.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new mt},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new mt},clearcoatNormalScale:{value:new vt(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new mt},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new mt},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new mt},sheen:{value:0},sheenColor:{value:new at(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new mt},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new mt},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new mt},transmissionSamplerSize:{value:new vt},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new mt},attenuationDistance:{value:0},attenuationColor:{value:new at(0)},specularColor:{value:new at(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new mt},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new mt},anisotropyVector:{value:new vt},anisotropyMap:{value:null},anisotropyMapTransform:{value:new mt}}]),vertexShader:ft.meshphysical_vert,fragmentShader:ft.meshphysical_frag};const Ac={r:0,b:0,g:0};function Ubt(n,e,t,i,r,s,o){const a=new at(0);let l=s===!0?0:1,c,d,u=null,_=0,f=null;function E(g,h){let m=!1,S=h.isScene===!0?h.background:null;S&&S.isTexture&&(S=(h.backgroundBlurriness>0?t:e).get(S)),S===null?b(a,l):S&&S.isColor&&(b(S,1),m=!0);const v=n.xr.getEnvironmentBlendMode();v==="additive"?i.buffers.color.setClear(0,0,0,1,o):v==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,o),(n.autoClear||m)&&n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil),S&&(S.isCubeTexture||S.mapping===su)?(d===void 0&&(d=new An(new $r(1,1,1),new Us({name:"BackgroundCubeMaterial",uniforms:ta(Si.backgroundCube.uniforms),vertexShader:Si.backgroundCube.vertexShader,fragmentShader:Si.backgroundCube.fragmentShader,side:Ln,depthTest:!1,depthWrite:!1,fog:!1})),d.geometry.deleteAttribute("normal"),d.geometry.deleteAttribute("uv"),d.onBeforeRender=function(T,C,N){this.matrixWorld.copyPosition(N.matrixWorld)},Object.defineProperty(d.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(d)),d.material.uniforms.envMap.value=S,d.material.uniforms.flipEnvMap.value=S.isCubeTexture&&S.isRenderTargetTexture===!1?-1:1,d.material.uniforms.backgroundBlurriness.value=h.backgroundBlurriness,d.material.uniforms.backgroundIntensity.value=h.backgroundIntensity,d.material.toneMapped=Nt.getTransfer(S.colorSpace)!==Gt,(u!==S||_!==S.version||f!==n.toneMapping)&&(d.material.needsUpdate=!0,u=S,_=S.version,f=n.toneMapping),d.layers.enableAll(),g.unshift(d,d.geometry,d.material,0,0,null)):S&&S.isTexture&&(c===void 0&&(c=new An(new HE(2,2),new Us({name:"BackgroundMaterial",uniforms:ta(Si.background.uniforms),vertexShader:Si.background.vertexShader,fragmentShader:Si.background.fragmentShader,side:dr,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=S,c.material.uniforms.backgroundIntensity.value=h.backgroundIntensity,c.material.toneMapped=Nt.getTransfer(S.colorSpace)!==Gt,S.matrixAutoUpdate===!0&&S.updateMatrix(),c.material.uniforms.uvTransform.value.copy(S.matrix),(u!==S||_!==S.version||f!==n.toneMapping)&&(c.material.needsUpdate=!0,u=S,_=S.version,f=n.toneMapping),c.layers.enableAll(),g.unshift(c,c.geometry,c.material,0,0,null))}function b(g,h){g.getRGB(Ac,aO(n)),i.buffers.color.setClear(Ac.r,Ac.g,Ac.b,h,o)}return{getClearColor:function(){return a},setClearColor:function(g,h=1){a.set(g),l=h,b(a,l)},getClearAlpha:function(){return l},setClearAlpha:function(g){l=g,b(a,l)},render:E}}function Fbt(n,e,t,i){const r=n.getParameter(n.MAX_VERTEX_ATTRIBS),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),o=i.isWebGL2||s!==null,a={},l=g(null);let c=l,d=!1;function u(M,H,z,I,Y){let K=!1;if(o){const q=b(I,z,H);c!==q&&(c=q,f(c.object)),K=h(M,I,z,Y),K&&m(M,I,z,Y)}else{const q=H.wireframe===!0;(c.geometry!==I.id||c.program!==z.id||c.wireframe!==q)&&(c.geometry=I.id,c.program=z.id,c.wireframe=q,K=!0)}Y!==null&&t.update(Y,n.ELEMENT_ARRAY_BUFFER),(K||d)&&(d=!1,x(M,H,z,I),Y!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.get(Y).buffer))}function _(){return i.isWebGL2?n.createVertexArray():s.createVertexArrayOES()}function f(M){return i.isWebGL2?n.bindVertexArray(M):s.bindVertexArrayOES(M)}function E(M){return i.isWebGL2?n.deleteVertexArray(M):s.deleteVertexArrayOES(M)}function b(M,H,z){const I=z.wireframe===!0;let Y=a[M.id];Y===void 0&&(Y={},a[M.id]=Y);let K=Y[H.id];K===void 0&&(K={},Y[H.id]=K);let q=K[I];return q===void 0&&(q=g(_()),K[I]=q),q}function g(M){const H=[],z=[],I=[];for(let Y=0;Y<r;Y++)H[Y]=0,z[Y]=0,I[Y]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:H,enabledAttributes:z,attributeDivisors:I,object:M,attributes:{},index:null}}function h(M,H,z,I){const Y=c.attributes,K=H.attributes;let q=0;const le=z.getAttributes();for(const X in le)if(le[X].location>=0){const _e=Y[X];let fe=K[X];if(fe===void 0&&(X==="instanceMatrix"&&M.instanceMatrix&&(fe=M.instanceMatrix),X==="instanceColor"&&M.instanceColor&&(fe=M.instanceColor)),_e===void 0||_e.attribute!==fe||fe&&_e.data!==fe.data)return!0;q++}return c.attributesNum!==q||c.index!==I}function m(M,H,z,I){const Y={},K=H.attributes;let q=0;const le=z.getAttributes();for(const X in le)if(le[X].location>=0){let _e=K[X];_e===void 0&&(X==="instanceMatrix"&&M.instanceMatrix&&(_e=M.instanceMatrix),X==="instanceColor"&&M.instanceColor&&(_e=M.instanceColor));const fe={};fe.attribute=_e,_e&&_e.data&&(fe.data=_e.data),Y[X]=fe,q++}c.attributes=Y,c.attributesNum=q,c.index=I}function S(){const M=c.newAttributes;for(let H=0,z=M.length;H<z;H++)M[H]=0}function v(M){T(M,0)}function T(M,H){const z=c.newAttributes,I=c.enabledAttributes,Y=c.attributeDivisors;z[M]=1,I[M]===0&&(n.enableVertexAttribArray(M),I[M]=1),Y[M]!==H&&((i.isWebGL2?n:e.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](M,H),Y[M]=H)}function C(){const M=c.newAttributes,H=c.enabledAttributes;for(let z=0,I=H.length;z<I;z++)H[z]!==M[z]&&(n.disableVertexAttribArray(z),H[z]=0)}function N(M,H,z,I,Y,K,q){q===!0?n.vertexAttribIPointer(M,H,z,Y,K):n.vertexAttribPointer(M,H,z,I,Y,K)}function x(M,H,z,I){if(i.isWebGL2===!1&&(M.isInstancedMesh||I.isInstancedBufferGeometry)&&e.get("ANGLE_instanced_arrays")===null)return;S();const Y=I.attributes,K=z.getAttributes(),q=H.defaultAttributeValues;for(const le in K){const X=K[le];if(X.location>=0){let Z=Y[le];if(Z===void 0&&(le==="instanceMatrix"&&M.instanceMatrix&&(Z=M.instanceMatrix),le==="instanceColor"&&M.instanceColor&&(Z=M.instanceColor)),Z!==void 0){const _e=Z.normalized,fe=Z.itemSize,ye=t.get(Z);if(ye===void 0)continue;const j=ye.buffer,de=ye.type,Q=ye.bytesPerElement,he=i.isWebGL2===!0&&(de===n.INT||de===n.UNSIGNED_INT||Z.gpuType===Vw);if(Z.isInterleavedBufferAttribute){const Ae=Z.data,O=Ae.stride,F=Z.offset;if(Ae.isInstancedInterleavedBuffer){for(let V=0;V<X.locationSize;V++)T(X.location+V,Ae.meshPerAttribute);M.isInstancedMesh!==!0&&I._maxInstanceCount===void 0&&(I._maxInstanceCount=Ae.meshPerAttribute*Ae.count)}else for(let V=0;V<X.locationSize;V++)v(X.location+V);n.bindBuffer(n.ARRAY_BUFFER,j);for(let V=0;V<X.locationSize;V++)N(X.location+V,fe/X.locationSize,de,_e,O*Q,(F+fe/X.locationSize*V)*Q,he)}else{if(Z.isInstancedBufferAttribute){for(let Ae=0;Ae<X.locationSize;Ae++)T(X.location+Ae,Z.meshPerAttribute);M.isInstancedMesh!==!0&&I._maxInstanceCount===void 0&&(I._maxInstanceCount=Z.meshPerAttribute*Z.count)}else for(let Ae=0;Ae<X.locationSize;Ae++)v(X.location+Ae);n.bindBuffer(n.ARRAY_BUFFER,j);for(let Ae=0;Ae<X.locationSize;Ae++)N(X.location+Ae,fe/X.locationSize,de,_e,fe*Q,fe/X.locationSize*Ae*Q,he)}}else if(q!==void 0){const _e=q[le];if(_e!==void 0)switch(_e.length){case 2:n.vertexAttrib2fv(X.location,_e);break;case 3:n.vertexAttrib3fv(X.location,_e);break;case 4:n.vertexAttrib4fv(X.location,_e);break;default:n.vertexAttrib1fv(X.location,_e)}}}}C()}function y(){k();for(const M in a){const H=a[M];for(const z in H){const I=H[z];for(const Y in I)E(I[Y].object),delete I[Y];delete H[z]}delete a[M]}}function R(M){if(a[M.id]===void 0)return;const H=a[M.id];for(const z in H){const I=H[z];for(const Y in I)E(I[Y].object),delete I[Y];delete H[z]}delete a[M.id]}function P(M){for(const H in a){const z=a[H];if(z[M.id]===void 0)continue;const I=z[M.id];for(const Y in I)E(I[Y].object),delete I[Y];delete z[M.id]}}function k(){W(),d=!0,c!==l&&(c=l,f(c.object))}function W(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:u,reset:k,resetDefaultState:W,dispose:y,releaseStatesOfGeometry:R,releaseStatesOfProgram:P,initAttributes:S,enableAttribute:v,disableUnusedAttributes:C}}function Bbt(n,e,t,i){const r=i.isWebGL2;let s;function o(d){s=d}function a(d,u){n.drawArrays(s,d,u),t.update(u,s,1)}function l(d,u,_){if(_===0)return;let f,E;if(r)f=n,E="drawArraysInstanced";else if(f=e.get("ANGLE_instanced_arrays"),E="drawArraysInstancedANGLE",f===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}f[E](s,d,u,_),t.update(u,s,_)}function c(d,u,_){if(_===0)return;const f=e.get("WEBGL_multi_draw");if(f===null)for(let E=0;E<_;E++)this.render(d[E],u[E]);else{f.multiDrawArraysWEBGL(s,d,0,u,0,_);let E=0;for(let b=0;b<_;b++)E+=u[b];t.update(E,s,1)}}this.setMode=o,this.render=a,this.renderInstances=l,this.renderMultiDraw=c}function Gbt(n,e,t){let i;function r(){if(i!==void 0)return i;if(e.has("EXT_texture_filter_anisotropic")===!0){const N=e.get("EXT_texture_filter_anisotropic");i=n.getParameter(N.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i}function s(N){if(N==="highp"){if(n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.HIGH_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";N="mediump"}return N==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}const o=typeof WebGL2RenderingContext<"u"&&n.constructor.name==="WebGL2RenderingContext";let a=t.precision!==void 0?t.precision:"highp";const l=s(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);const c=o||e.has("WEBGL_draw_buffers"),d=t.logarithmicDepthBuffer===!0,u=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),_=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),f=n.getParameter(n.MAX_TEXTURE_SIZE),E=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),b=n.getParameter(n.MAX_VERTEX_ATTRIBS),g=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),h=n.getParameter(n.MAX_VARYING_VECTORS),m=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),S=_>0,v=o||e.has("OES_texture_float"),T=S&&v,C=o?n.getParameter(n.MAX_SAMPLES):0;return{isWebGL2:o,drawBuffers:c,getMaxAnisotropy:r,getMaxPrecision:s,precision:a,logarithmicDepthBuffer:d,maxTextures:u,maxVertexTextures:_,maxTextureSize:f,maxCubemapSize:E,maxAttributes:b,maxVertexUniforms:g,maxVaryings:h,maxFragmentUniforms:m,vertexTextures:S,floatFragmentTextures:v,floatVertexTextures:T,maxSamples:C}}function zbt(n){const e=this;let t=null,i=0,r=!1,s=!1;const o=new ps,a=new mt,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(u,_){const f=u.length!==0||_||i!==0||r;return r=_,i=u.length,f},this.beginShadows=function(){s=!0,d(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(u,_){t=d(u,_,0)},this.setState=function(u,_,f){const E=u.clippingPlanes,b=u.clipIntersection,g=u.clipShadows,h=n.get(u);if(!r||E===null||E.length===0||s&&!g)s?d(null):c();else{const m=s?0:i,S=m*4;let v=h.clippingState||null;l.value=v,v=d(E,_,S,f);for(let T=0;T!==S;++T)v[T]=t[T];h.clippingState=v,this.numIntersection=b?this.numPlanes:0,this.numPlanes+=m}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function d(u,_,f,E){const b=u!==null?u.length:0;let g=null;if(b!==0){if(g=l.value,E!==!0||g===null){const h=f+b*4,m=_.matrixWorldInverse;a.getNormalMatrix(m),(g===null||g.length<h)&&(g=new Float32Array(h));for(let S=0,v=f;S!==b;++S,v+=4)o.copy(u[S]).applyMatrix4(m,a),o.normal.toArray(g,v),g[v+3]=o.constant}l.value=g,l.needsUpdate=!0}return e.numPlanes=b,e.numIntersection=0,g}}function Hbt(n){let e=new WeakMap;function t(o,a){return a===Zm?o.mapping=jo:a===Jm&&(o.mapping=Qo),o}function i(o){if(o&&o.isTexture){const a=o.mapping;if(a===Zm||a===Jm)if(e.has(o)){const l=e.get(o).texture;return t(l,o.mapping)}else{const l=o.image;if(l&&l.height>0){const c=new egt(l.height/2);return c.fromEquirectangularTexture(n,o),e.set(o,c),o.addEventListener("dispose",r),t(c.texture,o.mapping)}else return null}}return o}function r(o){const a=o.target;a.removeEventListener("dispose",r);const l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}class VE extends lO{constructor(e=-1,t=1,i=1,r=-1,s=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=i,this.bottom=r,this.near=s,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,i,r,s,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let s=i-e,o=i+e,a=r+t,l=r-t;if(this.view!==null&&this.view.enabled){const c=(this.right-this.left)/this.view.fullWidth/this.zoom,d=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=c*this.view.offsetX,o=s+c*this.view.width,a-=d*this.view.offsetY,l=a-d*this.view.height}this.projectionMatrix.makeOrthographic(s,o,a,l,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}}const vo=4,SC=[.125,.215,.35,.446,.526,.582],Ss=20,Qh=new VE,yC=new at;let Xh=null,Zh=0,Jh=0;const fs=(1+Math.sqrt(5))/2,mo=1/fs,vC=[new ue(1,1,1),new ue(-1,1,1),new ue(1,1,-1),new ue(-1,1,-1),new ue(0,fs,mo),new ue(0,fs,-mo),new ue(mo,0,fs),new ue(-mo,0,fs),new ue(fs,mo,0),new ue(-fs,mo,0)];class TC{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,r=100){Xh=this._renderer.getRenderTarget(),Zh=this._renderer.getActiveCubeFace(),Jh=this._renderer.getActiveMipmapLevel(),this._setSize(256);const s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(e,i,r,s),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=RC(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=CC(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(Xh,Zh,Jh),e.scissorTest=!1,wc(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===jo||e.mapping===Qo?this._setSize(e.image.length===0?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),Xh=this._renderer.getRenderTarget(),Zh=this._renderer.getActiveCubeFace(),Jh=this._renderer.getActiveMipmapLevel();const i=t||this._allocateTargets();return this._textureToCubeUV(e,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(){const e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,i={magFilter:Mn,minFilter:Mn,generateMipmaps:!1,type:Tl,format:Kn,colorSpace:fn,depthBuffer:!1},r=xC(e,t,i);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=xC(e,t,i);const{_lodMax:s}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=Vbt(s)),this._blurMaterial=qbt(s,e,t)}return r}_compileMaterial(e){const t=new An(this._lodPlanes[0],e);this._renderer.compile(t,Qh)}_sceneToCubeUV(e,t,i,r){const a=new Cn(90,1,t,i),l=[1,-1,1,1,1,1],c=[1,1,1,-1,-1,-1],d=this._renderer,u=d.autoClear,_=d.toneMapping;d.getClearColor(yC),d.toneMapping=qr,d.autoClear=!1;const f=new Br({name:"PMREM.Background",side:Ln,depthWrite:!1,depthTest:!1}),E=new An(new $r,f);let b=!1;const g=e.background;g?g.isColor&&(f.color.copy(g),e.background=null,b=!0):(f.color.copy(yC),b=!0);for(let h=0;h<6;h++){const m=h%3;m===0?(a.up.set(0,l[h],0),a.lookAt(c[h],0,0)):m===1?(a.up.set(0,0,l[h]),a.lookAt(0,c[h],0)):(a.up.set(0,l[h],0),a.lookAt(0,0,c[h]));const S=this._cubeSize;wc(r,m*S,h>2?S:0,S,S),d.setRenderTarget(r),b&&d.render(E,a),d.render(e,a)}E.geometry.dispose(),E.material.dispose(),d.toneMapping=_,d.autoClear=u,e.background=g}_textureToCubeUV(e,t){const i=this._renderer,r=e.mapping===jo||e.mapping===Qo;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=RC()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=CC());const s=r?this._cubemapMaterial:this._equirectMaterial,o=new An(this._lodPlanes[0],s),a=s.uniforms;a.envMap.value=e;const l=this._cubeSize;wc(t,0,0,3*l,2*l),i.setRenderTarget(t),i.render(o,Qh)}_applyPMREM(e){const t=this._renderer,i=t.autoClear;t.autoClear=!1;for(let r=1;r<this._lodPlanes.length;r++){const s=Math.sqrt(this._sigmas[r]*this._sigmas[r]-this._sigmas[r-1]*this._sigmas[r-1]),o=vC[(r-1)%vC.length];this._blur(e,r-1,r,s,o)}t.autoClear=i}_blur(e,t,i,r,s){const o=this._pingPongRenderTarget;this._halfBlur(e,o,t,i,r,"latitudinal",s),this._halfBlur(o,e,i,i,r,"longitudinal",s)}_halfBlur(e,t,i,r,s,o,a){const l=this._renderer,c=this._blurMaterial;o!=="latitudinal"&&o!=="longitudinal"&&console.error("blur direction must be either latitudinal or longitudinal!");const d=3,u=new An(this._lodPlanes[r],c),_=c.uniforms,f=this._sizeLods[i]-1,E=isFinite(s)?Math.PI/(2*f):2*Math.PI/(2*Ss-1),b=s/E,g=isFinite(s)?1+Math.floor(d*b):Ss;g>Ss&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${Ss}`);const h=[];let m=0;for(let N=0;N<Ss;++N){const x=N/b,y=Math.exp(-x*x/2);h.push(y),N===0?m+=y:N<g&&(m+=2*y)}for(let N=0;N<h.length;N++)h[N]=h[N]/m;_.envMap.value=e.texture,_.samples.value=g,_.weights.value=h,_.latitudinal.value=o==="latitudinal",a&&(_.poleAxis.value=a);const{_lodMax:S}=this;_.dTheta.value=E,_.mipInt.value=S-i;const v=this._sizeLods[r],T=3*v*(r>S-vo?r-S+vo:0),C=4*(this._cubeSize-v);wc(t,T,C,3*v,2*v),l.setRenderTarget(t),l.render(u,Qh)}}function Vbt(n){const e=[],t=[],i=[];let r=n;const s=n-vo+1+SC.length;for(let o=0;o<s;o++){const a=Math.pow(2,r);t.push(a);let l=1/a;o>n-vo?l=SC[o-n+vo-1]:o===0&&(l=0),i.push(l);const c=1/(a-2),d=-c,u=1+c,_=[d,d,u,d,u,u,d,d,u,u,d,u],f=6,E=6,b=3,g=2,h=1,m=new Float32Array(b*E*f),S=new Float32Array(g*E*f),v=new Float32Array(h*E*f);for(let C=0;C<f;C++){const N=C%3*2/3-1,x=C>2?0:-1,y=[N,x,0,N+2/3,x,0,N+2/3,x+1,0,N,x,0,N+2/3,x+1,0,N,x+1,0];m.set(y,b*E*C),S.set(_,g*E*C);const R=[C,C,C,C,C,C];v.set(R,h*E*C)}const T=new Fi;T.setAttribute("position",new wn(m,b)),T.setAttribute("uv",new wn(S,g)),T.setAttribute("faceIndex",new wn(v,h)),e.push(T),r>vo&&r--}return{lodPlanes:e,sizeLods:t,sigmas:i}}function xC(n,e,t){const i=new Ps(n,e,t);return i.texture.mapping=su,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function wc(n,e,t,i,r){n.viewport.set(e,t,i,r),n.scissor.set(e,t,i,r)}function qbt(n,e,t){const i=new Float32Array(Ss),r=new ue(0,1,0);return new Us({name:"SphericalGaussianBlur",defines:{n:Ss,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:qE(),fragmentShader:`
+}`,ht={alphahash_fragment:rgt,alphahash_pars_fragment:sgt,alphamap_fragment:ogt,alphamap_pars_fragment:agt,alphatest_fragment:lgt,alphatest_pars_fragment:cgt,aomap_fragment:dgt,aomap_pars_fragment:ugt,batching_pars_vertex:_gt,batching_vertex:pgt,begin_vertex:fgt,beginnormal_vertex:hgt,bsdfs:mgt,iridescence_fragment:ggt,bumpmap_pars_fragment:Egt,clipping_planes_fragment:bgt,clipping_planes_pars_fragment:Sgt,clipping_planes_pars_vertex:ygt,clipping_planes_vertex:vgt,color_fragment:Tgt,color_pars_fragment:xgt,color_pars_vertex:Cgt,color_vertex:Rgt,common:Agt,cube_uv_reflection_fragment:wgt,defaultnormal_vertex:Ogt,displacementmap_pars_vertex:Ngt,displacementmap_vertex:Mgt,emissivemap_fragment:Igt,emissivemap_pars_fragment:Dgt,colorspace_fragment:Lgt,colorspace_pars_fragment:kgt,envmap_fragment:Pgt,envmap_common_pars_fragment:Ugt,envmap_pars_fragment:Fgt,envmap_pars_vertex:Bgt,envmap_physical_pars_fragment:Xgt,envmap_vertex:Ggt,fog_vertex:zgt,fog_pars_vertex:Hgt,fog_fragment:Vgt,fog_pars_fragment:qgt,gradientmap_pars_fragment:Ygt,lightmap_fragment:$gt,lightmap_pars_fragment:Wgt,lights_lambert_fragment:Kgt,lights_lambert_pars_fragment:jgt,lights_pars_begin:Qgt,lights_toon_fragment:Zgt,lights_toon_pars_fragment:Jgt,lights_phong_fragment:eEt,lights_phong_pars_fragment:tEt,lights_physical_fragment:nEt,lights_physical_pars_fragment:iEt,lights_fragment_begin:rEt,lights_fragment_maps:sEt,lights_fragment_end:oEt,logdepthbuf_fragment:aEt,logdepthbuf_pars_fragment:lEt,logdepthbuf_pars_vertex:cEt,logdepthbuf_vertex:dEt,map_fragment:uEt,map_pars_fragment:_Et,map_particle_fragment:pEt,map_particle_pars_fragment:fEt,metalnessmap_fragment:hEt,metalnessmap_pars_fragment:mEt,morphcolor_vertex:gEt,morphnormal_vertex:EEt,morphtarget_pars_vertex:bEt,morphtarget_vertex:SEt,normal_fragment_begin:yEt,normal_fragment_maps:vEt,normal_pars_fragment:TEt,normal_pars_vertex:xEt,normal_vertex:CEt,normalmap_pars_fragment:REt,clearcoat_normal_fragment_begin:AEt,clearcoat_normal_fragment_maps:wEt,clearcoat_pars_fragment:OEt,iridescence_pars_fragment:NEt,opaque_fragment:MEt,packing:IEt,premultiplied_alpha_fragment:DEt,project_vertex:LEt,dithering_fragment:kEt,dithering_pars_fragment:PEt,roughnessmap_fragment:UEt,roughnessmap_pars_fragment:FEt,shadowmap_pars_fragment:BEt,shadowmap_pars_vertex:GEt,shadowmap_vertex:zEt,shadowmask_pars_fragment:HEt,skinbase_vertex:VEt,skinning_pars_vertex:qEt,skinning_vertex:YEt,skinnormal_vertex:$Et,specularmap_fragment:WEt,specularmap_pars_fragment:KEt,tonemapping_fragment:jEt,tonemapping_pars_fragment:QEt,transmission_fragment:XEt,transmission_pars_fragment:ZEt,uv_pars_fragment:JEt,uv_pars_vertex:ebt,uv_vertex:tbt,worldpos_vertex:nbt,background_vert:ibt,background_frag:rbt,backgroundCube_vert:sbt,backgroundCube_frag:obt,cube_vert:abt,cube_frag:lbt,depth_vert:cbt,depth_frag:dbt,distanceRGBA_vert:ubt,distanceRGBA_frag:_bt,equirect_vert:pbt,equirect_frag:fbt,linedashed_vert:hbt,linedashed_frag:mbt,meshbasic_vert:gbt,meshbasic_frag:Ebt,meshlambert_vert:bbt,meshlambert_frag:Sbt,meshmatcap_vert:ybt,meshmatcap_frag:vbt,meshnormal_vert:Tbt,meshnormal_frag:xbt,meshphong_vert:Cbt,meshphong_frag:Rbt,meshphysical_vert:Abt,meshphysical_frag:wbt,meshtoon_vert:Obt,meshtoon_frag:Nbt,points_vert:Mbt,points_frag:Ibt,shadow_vert:Dbt,shadow_frag:Lbt,sprite_vert:kbt,sprite_frag:Pbt},Ge={common:{diffuse:{value:new at(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new mt},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new mt}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new mt}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new mt}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new mt},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new mt},normalScale:{value:new vt(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new mt},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new mt}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new mt}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new mt}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new at(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new at(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0},uvTransform:{value:new mt}},sprite:{diffuse:{value:new at(16777215)},opacity:{value:1},center:{value:new vt(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new mt},alphaMap:{value:null},alphaMapTransform:{value:new mt},alphaTest:{value:0}}},Si={basic:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.fog]),vertexShader:ht.meshbasic_vert,fragmentShader:ht.meshbasic_frag},lambert:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)}}]),vertexShader:ht.meshlambert_vert,fragmentShader:ht.meshlambert_frag},phong:{uniforms:xn([Ge.common,Ge.specularmap,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)},specular:{value:new at(1118481)},shininess:{value:30}}]),vertexShader:ht.meshphong_vert,fragmentShader:ht.meshphong_frag},standard:{uniforms:xn([Ge.common,Ge.envmap,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.roughnessmap,Ge.metalnessmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:ht.meshphysical_vert,fragmentShader:ht.meshphysical_frag},toon:{uniforms:xn([Ge.common,Ge.aomap,Ge.lightmap,Ge.emissivemap,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.gradientmap,Ge.fog,Ge.lights,{emissive:{value:new at(0)}}]),vertexShader:ht.meshtoon_vert,fragmentShader:ht.meshtoon_frag},matcap:{uniforms:xn([Ge.common,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,Ge.fog,{matcap:{value:null}}]),vertexShader:ht.meshmatcap_vert,fragmentShader:ht.meshmatcap_frag},points:{uniforms:xn([Ge.points,Ge.fog]),vertexShader:ht.points_vert,fragmentShader:ht.points_frag},dashed:{uniforms:xn([Ge.common,Ge.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:ht.linedashed_vert,fragmentShader:ht.linedashed_frag},depth:{uniforms:xn([Ge.common,Ge.displacementmap]),vertexShader:ht.depth_vert,fragmentShader:ht.depth_frag},normal:{uniforms:xn([Ge.common,Ge.bumpmap,Ge.normalmap,Ge.displacementmap,{opacity:{value:1}}]),vertexShader:ht.meshnormal_vert,fragmentShader:ht.meshnormal_frag},sprite:{uniforms:xn([Ge.sprite,Ge.fog]),vertexShader:ht.sprite_vert,fragmentShader:ht.sprite_frag},background:{uniforms:{uvTransform:{value:new mt},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:ht.background_vert,fragmentShader:ht.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:ht.backgroundCube_vert,fragmentShader:ht.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:ht.cube_vert,fragmentShader:ht.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:ht.equirect_vert,fragmentShader:ht.equirect_frag},distanceRGBA:{uniforms:xn([Ge.common,Ge.displacementmap,{referencePosition:{value:new ue},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:ht.distanceRGBA_vert,fragmentShader:ht.distanceRGBA_frag},shadow:{uniforms:xn([Ge.lights,Ge.fog,{color:{value:new at(0)},opacity:{value:1}}]),vertexShader:ht.shadow_vert,fragmentShader:ht.shadow_frag}};Si.physical={uniforms:xn([Si.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new mt},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new mt},clearcoatNormalScale:{value:new vt(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new mt},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new mt},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new mt},sheen:{value:0},sheenColor:{value:new at(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new mt},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new mt},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new mt},transmissionSamplerSize:{value:new vt},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new mt},attenuationDistance:{value:0},attenuationColor:{value:new at(0)},specularColor:{value:new at(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new mt},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new mt},anisotropyVector:{value:new vt},anisotropyMap:{value:null},anisotropyMapTransform:{value:new mt}}]),vertexShader:ht.meshphysical_vert,fragmentShader:ht.meshphysical_frag};const Ac={r:0,b:0,g:0};function Ubt(n,e,t,i,r,s,o){const a=new at(0);let l=s===!0?0:1,c,d,u=null,_=0,f=null;function E(g,h){let m=!1,S=h.isScene===!0?h.background:null;S&&S.isTexture&&(S=(h.backgroundBlurriness>0?t:e).get(S)),S===null?b(a,l):S&&S.isColor&&(b(S,1),m=!0);const v=n.xr.getEnvironmentBlendMode();v==="additive"?i.buffers.color.setClear(0,0,0,1,o):v==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,o),(n.autoClear||m)&&n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil),S&&(S.isCubeTexture||S.mapping===su)?(d===void 0&&(d=new An(new $r(1,1,1),new Us({name:"BackgroundCubeMaterial",uniforms:ta(Si.backgroundCube.uniforms),vertexShader:Si.backgroundCube.vertexShader,fragmentShader:Si.backgroundCube.fragmentShader,side:Ln,depthTest:!1,depthWrite:!1,fog:!1})),d.geometry.deleteAttribute("normal"),d.geometry.deleteAttribute("uv"),d.onBeforeRender=function(T,C,N){this.matrixWorld.copyPosition(N.matrixWorld)},Object.defineProperty(d.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(d)),d.material.uniforms.envMap.value=S,d.material.uniforms.flipEnvMap.value=S.isCubeTexture&&S.isRenderTargetTexture===!1?-1:1,d.material.uniforms.backgroundBlurriness.value=h.backgroundBlurriness,d.material.uniforms.backgroundIntensity.value=h.backgroundIntensity,d.material.toneMapped=Nt.getTransfer(S.colorSpace)!==Gt,(u!==S||_!==S.version||f!==n.toneMapping)&&(d.material.needsUpdate=!0,u=S,_=S.version,f=n.toneMapping),d.layers.enableAll(),g.unshift(d,d.geometry,d.material,0,0,null)):S&&S.isTexture&&(c===void 0&&(c=new An(new HE(2,2),new Us({name:"BackgroundMaterial",uniforms:ta(Si.background.uniforms),vertexShader:Si.background.vertexShader,fragmentShader:Si.background.fragmentShader,side:dr,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=S,c.material.uniforms.backgroundIntensity.value=h.backgroundIntensity,c.material.toneMapped=Nt.getTransfer(S.colorSpace)!==Gt,S.matrixAutoUpdate===!0&&S.updateMatrix(),c.material.uniforms.uvTransform.value.copy(S.matrix),(u!==S||_!==S.version||f!==n.toneMapping)&&(c.material.needsUpdate=!0,u=S,_=S.version,f=n.toneMapping),c.layers.enableAll(),g.unshift(c,c.geometry,c.material,0,0,null))}function b(g,h){g.getRGB(Ac,aO(n)),i.buffers.color.setClear(Ac.r,Ac.g,Ac.b,h,o)}return{getClearColor:function(){return a},setClearColor:function(g,h=1){a.set(g),l=h,b(a,l)},getClearAlpha:function(){return l},setClearAlpha:function(g){l=g,b(a,l)},render:E}}function Fbt(n,e,t,i){const r=n.getParameter(n.MAX_VERTEX_ATTRIBS),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),o=i.isWebGL2||s!==null,a={},l=g(null);let c=l,d=!1;function u(M,H,z,I,Y){let K=!1;if(o){const q=b(I,z,H);c!==q&&(c=q,f(c.object)),K=h(M,I,z,Y),K&&m(M,I,z,Y)}else{const q=H.wireframe===!0;(c.geometry!==I.id||c.program!==z.id||c.wireframe!==q)&&(c.geometry=I.id,c.program=z.id,c.wireframe=q,K=!0)}Y!==null&&t.update(Y,n.ELEMENT_ARRAY_BUFFER),(K||d)&&(d=!1,x(M,H,z,I),Y!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.get(Y).buffer))}function _(){return i.isWebGL2?n.createVertexArray():s.createVertexArrayOES()}function f(M){return i.isWebGL2?n.bindVertexArray(M):s.bindVertexArrayOES(M)}function E(M){return i.isWebGL2?n.deleteVertexArray(M):s.deleteVertexArrayOES(M)}function b(M,H,z){const I=z.wireframe===!0;let Y=a[M.id];Y===void 0&&(Y={},a[M.id]=Y);let K=Y[H.id];K===void 0&&(K={},Y[H.id]=K);let q=K[I];return q===void 0&&(q=g(_()),K[I]=q),q}function g(M){const H=[],z=[],I=[];for(let Y=0;Y<r;Y++)H[Y]=0,z[Y]=0,I[Y]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:H,enabledAttributes:z,attributeDivisors:I,object:M,attributes:{},index:null}}function h(M,H,z,I){const Y=c.attributes,K=H.attributes;let q=0;const le=z.getAttributes();for(const X in le)if(le[X].location>=0){const _e=Y[X];let fe=K[X];if(fe===void 0&&(X==="instanceMatrix"&&M.instanceMatrix&&(fe=M.instanceMatrix),X==="instanceColor"&&M.instanceColor&&(fe=M.instanceColor)),_e===void 0||_e.attribute!==fe||fe&&_e.data!==fe.data)return!0;q++}return c.attributesNum!==q||c.index!==I}function m(M,H,z,I){const Y={},K=H.attributes;let q=0;const le=z.getAttributes();for(const X in le)if(le[X].location>=0){let _e=K[X];_e===void 0&&(X==="instanceMatrix"&&M.instanceMatrix&&(_e=M.instanceMatrix),X==="instanceColor"&&M.instanceColor&&(_e=M.instanceColor));const fe={};fe.attribute=_e,_e&&_e.data&&(fe.data=_e.data),Y[X]=fe,q++}c.attributes=Y,c.attributesNum=q,c.index=I}function S(){const M=c.newAttributes;for(let H=0,z=M.length;H<z;H++)M[H]=0}function v(M){T(M,0)}function T(M,H){const z=c.newAttributes,I=c.enabledAttributes,Y=c.attributeDivisors;z[M]=1,I[M]===0&&(n.enableVertexAttribArray(M),I[M]=1),Y[M]!==H&&((i.isWebGL2?n:e.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](M,H),Y[M]=H)}function C(){const M=c.newAttributes,H=c.enabledAttributes;for(let z=0,I=H.length;z<I;z++)H[z]!==M[z]&&(n.disableVertexAttribArray(z),H[z]=0)}function N(M,H,z,I,Y,K,q){q===!0?n.vertexAttribIPointer(M,H,z,Y,K):n.vertexAttribPointer(M,H,z,I,Y,K)}function x(M,H,z,I){if(i.isWebGL2===!1&&(M.isInstancedMesh||I.isInstancedBufferGeometry)&&e.get("ANGLE_instanced_arrays")===null)return;S();const Y=I.attributes,K=z.getAttributes(),q=H.defaultAttributeValues;for(const le in K){const X=K[le];if(X.location>=0){let Z=Y[le];if(Z===void 0&&(le==="instanceMatrix"&&M.instanceMatrix&&(Z=M.instanceMatrix),le==="instanceColor"&&M.instanceColor&&(Z=M.instanceColor)),Z!==void 0){const _e=Z.normalized,fe=Z.itemSize,ye=t.get(Z);if(ye===void 0)continue;const j=ye.buffer,de=ye.type,Q=ye.bytesPerElement,he=i.isWebGL2===!0&&(de===n.INT||de===n.UNSIGNED_INT||Z.gpuType===Vw);if(Z.isInterleavedBufferAttribute){const Ae=Z.data,O=Ae.stride,F=Z.offset;if(Ae.isInstancedInterleavedBuffer){for(let V=0;V<X.locationSize;V++)T(X.location+V,Ae.meshPerAttribute);M.isInstancedMesh!==!0&&I._maxInstanceCount===void 0&&(I._maxInstanceCount=Ae.meshPerAttribute*Ae.count)}else for(let V=0;V<X.locationSize;V++)v(X.location+V);n.bindBuffer(n.ARRAY_BUFFER,j);for(let V=0;V<X.locationSize;V++)N(X.location+V,fe/X.locationSize,de,_e,O*Q,(F+fe/X.locationSize*V)*Q,he)}else{if(Z.isInstancedBufferAttribute){for(let Ae=0;Ae<X.locationSize;Ae++)T(X.location+Ae,Z.meshPerAttribute);M.isInstancedMesh!==!0&&I._maxInstanceCount===void 0&&(I._maxInstanceCount=Z.meshPerAttribute*Z.count)}else for(let Ae=0;Ae<X.locationSize;Ae++)v(X.location+Ae);n.bindBuffer(n.ARRAY_BUFFER,j);for(let Ae=0;Ae<X.locationSize;Ae++)N(X.location+Ae,fe/X.locationSize,de,_e,fe*Q,fe/X.locationSize*Ae*Q,he)}}else if(q!==void 0){const _e=q[le];if(_e!==void 0)switch(_e.length){case 2:n.vertexAttrib2fv(X.location,_e);break;case 3:n.vertexAttrib3fv(X.location,_e);break;case 4:n.vertexAttrib4fv(X.location,_e);break;default:n.vertexAttrib1fv(X.location,_e)}}}}C()}function y(){k();for(const M in a){const H=a[M];for(const z in H){const I=H[z];for(const Y in I)E(I[Y].object),delete I[Y];delete H[z]}delete a[M]}}function R(M){if(a[M.id]===void 0)return;const H=a[M.id];for(const z in H){const I=H[z];for(const Y in I)E(I[Y].object),delete I[Y];delete H[z]}delete a[M.id]}function P(M){for(const H in a){const z=a[H];if(z[M.id]===void 0)continue;const I=z[M.id];for(const Y in I)E(I[Y].object),delete I[Y];delete z[M.id]}}function k(){W(),d=!0,c!==l&&(c=l,f(c.object))}function W(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:u,reset:k,resetDefaultState:W,dispose:y,releaseStatesOfGeometry:R,releaseStatesOfProgram:P,initAttributes:S,enableAttribute:v,disableUnusedAttributes:C}}function Bbt(n,e,t,i){const r=i.isWebGL2;let s;function o(d){s=d}function a(d,u){n.drawArrays(s,d,u),t.update(u,s,1)}function l(d,u,_){if(_===0)return;let f,E;if(r)f=n,E="drawArraysInstanced";else if(f=e.get("ANGLE_instanced_arrays"),E="drawArraysInstancedANGLE",f===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}f[E](s,d,u,_),t.update(u,s,_)}function c(d,u,_){if(_===0)return;const f=e.get("WEBGL_multi_draw");if(f===null)for(let E=0;E<_;E++)this.render(d[E],u[E]);else{f.multiDrawArraysWEBGL(s,d,0,u,0,_);let E=0;for(let b=0;b<_;b++)E+=u[b];t.update(E,s,1)}}this.setMode=o,this.render=a,this.renderInstances=l,this.renderMultiDraw=c}function Gbt(n,e,t){let i;function r(){if(i!==void 0)return i;if(e.has("EXT_texture_filter_anisotropic")===!0){const N=e.get("EXT_texture_filter_anisotropic");i=n.getParameter(N.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i}function s(N){if(N==="highp"){if(n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.HIGH_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";N="mediump"}return N==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}const o=typeof WebGL2RenderingContext<"u"&&n.constructor.name==="WebGL2RenderingContext";let a=t.precision!==void 0?t.precision:"highp";const l=s(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);const c=o||e.has("WEBGL_draw_buffers"),d=t.logarithmicDepthBuffer===!0,u=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),_=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),f=n.getParameter(n.MAX_TEXTURE_SIZE),E=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),b=n.getParameter(n.MAX_VERTEX_ATTRIBS),g=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),h=n.getParameter(n.MAX_VARYING_VECTORS),m=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),S=_>0,v=o||e.has("OES_texture_float"),T=S&&v,C=o?n.getParameter(n.MAX_SAMPLES):0;return{isWebGL2:o,drawBuffers:c,getMaxAnisotropy:r,getMaxPrecision:s,precision:a,logarithmicDepthBuffer:d,maxTextures:u,maxVertexTextures:_,maxTextureSize:f,maxCubemapSize:E,maxAttributes:b,maxVertexUniforms:g,maxVaryings:h,maxFragmentUniforms:m,vertexTextures:S,floatFragmentTextures:v,floatVertexTextures:T,maxSamples:C}}function zbt(n){const e=this;let t=null,i=0,r=!1,s=!1;const o=new ps,a=new mt,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(u,_){const f=u.length!==0||_||i!==0||r;return r=_,i=u.length,f},this.beginShadows=function(){s=!0,d(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(u,_){t=d(u,_,0)},this.setState=function(u,_,f){const E=u.clippingPlanes,b=u.clipIntersection,g=u.clipShadows,h=n.get(u);if(!r||E===null||E.length===0||s&&!g)s?d(null):c();else{const m=s?0:i,S=m*4;let v=h.clippingState||null;l.value=v,v=d(E,_,S,f);for(let T=0;T!==S;++T)v[T]=t[T];h.clippingState=v,this.numIntersection=b?this.numPlanes:0,this.numPlanes+=m}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function d(u,_,f,E){const b=u!==null?u.length:0;let g=null;if(b!==0){if(g=l.value,E!==!0||g===null){const h=f+b*4,m=_.matrixWorldInverse;a.getNormalMatrix(m),(g===null||g.length<h)&&(g=new Float32Array(h));for(let S=0,v=f;S!==b;++S,v+=4)o.copy(u[S]).applyMatrix4(m,a),o.normal.toArray(g,v),g[v+3]=o.constant}l.value=g,l.needsUpdate=!0}return e.numPlanes=b,e.numIntersection=0,g}}function Hbt(n){let e=new WeakMap;function t(o,a){return a===Zm?o.mapping=jo:a===Jm&&(o.mapping=Qo),o}function i(o){if(o&&o.isTexture){const a=o.mapping;if(a===Zm||a===Jm)if(e.has(o)){const l=e.get(o).texture;return t(l,o.mapping)}else{const l=o.image;if(l&&l.height>0){const c=new egt(l.height/2);return c.fromEquirectangularTexture(n,o),e.set(o,c),o.addEventListener("dispose",r),t(c.texture,o.mapping)}else return null}}return o}function r(o){const a=o.target;a.removeEventListener("dispose",r);const l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}class VE extends lO{constructor(e=-1,t=1,i=1,r=-1,s=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=i,this.bottom=r,this.near=s,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,i,r,s,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let s=i-e,o=i+e,a=r+t,l=r-t;if(this.view!==null&&this.view.enabled){const c=(this.right-this.left)/this.view.fullWidth/this.zoom,d=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=c*this.view.offsetX,o=s+c*this.view.width,a-=d*this.view.offsetY,l=a-d*this.view.height}this.projectionMatrix.makeOrthographic(s,o,a,l,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}}const vo=4,SC=[.125,.215,.35,.446,.526,.582],Ss=20,Qh=new VE,yC=new at;let Xh=null,Zh=0,Jh=0;const fs=(1+Math.sqrt(5))/2,mo=1/fs,vC=[new ue(1,1,1),new ue(-1,1,1),new ue(1,1,-1),new ue(-1,1,-1),new ue(0,fs,mo),new ue(0,fs,-mo),new ue(mo,0,fs),new ue(-mo,0,fs),new ue(fs,mo,0),new ue(-fs,mo,0)];class TC{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,r=100){Xh=this._renderer.getRenderTarget(),Zh=this._renderer.getActiveCubeFace(),Jh=this._renderer.getActiveMipmapLevel(),this._setSize(256);const s=this._allocateTargets();return s.depthBuffer=!0,this._sceneToCubeUV(e,i,r,s),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=RC(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=CC(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(Xh,Zh,Jh),e.scissorTest=!1,wc(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===jo||e.mapping===Qo?this._setSize(e.image.length===0?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),Xh=this._renderer.getRenderTarget(),Zh=this._renderer.getActiveCubeFace(),Jh=this._renderer.getActiveMipmapLevel();const i=t||this._allocateTargets();return this._textureToCubeUV(e,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(){const e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,i={magFilter:Mn,minFilter:Mn,generateMipmaps:!1,type:Tl,format:Kn,colorSpace:fn,depthBuffer:!1},r=xC(e,t,i);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=xC(e,t,i);const{_lodMax:s}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=Vbt(s)),this._blurMaterial=qbt(s,e,t)}return r}_compileMaterial(e){const t=new An(this._lodPlanes[0],e);this._renderer.compile(t,Qh)}_sceneToCubeUV(e,t,i,r){const a=new Cn(90,1,t,i),l=[1,-1,1,1,1,1],c=[1,1,1,-1,-1,-1],d=this._renderer,u=d.autoClear,_=d.toneMapping;d.getClearColor(yC),d.toneMapping=qr,d.autoClear=!1;const f=new Br({name:"PMREM.Background",side:Ln,depthWrite:!1,depthTest:!1}),E=new An(new $r,f);let b=!1;const g=e.background;g?g.isColor&&(f.color.copy(g),e.background=null,b=!0):(f.color.copy(yC),b=!0);for(let h=0;h<6;h++){const m=h%3;m===0?(a.up.set(0,l[h],0),a.lookAt(c[h],0,0)):m===1?(a.up.set(0,0,l[h]),a.lookAt(0,c[h],0)):(a.up.set(0,l[h],0),a.lookAt(0,0,c[h]));const S=this._cubeSize;wc(r,m*S,h>2?S:0,S,S),d.setRenderTarget(r),b&&d.render(E,a),d.render(e,a)}E.geometry.dispose(),E.material.dispose(),d.toneMapping=_,d.autoClear=u,e.background=g}_textureToCubeUV(e,t){const i=this._renderer,r=e.mapping===jo||e.mapping===Qo;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=RC()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=CC());const s=r?this._cubemapMaterial:this._equirectMaterial,o=new An(this._lodPlanes[0],s),a=s.uniforms;a.envMap.value=e;const l=this._cubeSize;wc(t,0,0,3*l,2*l),i.setRenderTarget(t),i.render(o,Qh)}_applyPMREM(e){const t=this._renderer,i=t.autoClear;t.autoClear=!1;for(let r=1;r<this._lodPlanes.length;r++){const s=Math.sqrt(this._sigmas[r]*this._sigmas[r]-this._sigmas[r-1]*this._sigmas[r-1]),o=vC[(r-1)%vC.length];this._blur(e,r-1,r,s,o)}t.autoClear=i}_blur(e,t,i,r,s){const o=this._pingPongRenderTarget;this._halfBlur(e,o,t,i,r,"latitudinal",s),this._halfBlur(o,e,i,i,r,"longitudinal",s)}_halfBlur(e,t,i,r,s,o,a){const l=this._renderer,c=this._blurMaterial;o!=="latitudinal"&&o!=="longitudinal"&&console.error("blur direction must be either latitudinal or longitudinal!");const d=3,u=new An(this._lodPlanes[r],c),_=c.uniforms,f=this._sizeLods[i]-1,E=isFinite(s)?Math.PI/(2*f):2*Math.PI/(2*Ss-1),b=s/E,g=isFinite(s)?1+Math.floor(d*b):Ss;g>Ss&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${Ss}`);const h=[];let m=0;for(let N=0;N<Ss;++N){const x=N/b,y=Math.exp(-x*x/2);h.push(y),N===0?m+=y:N<g&&(m+=2*y)}for(let N=0;N<h.length;N++)h[N]=h[N]/m;_.envMap.value=e.texture,_.samples.value=g,_.weights.value=h,_.latitudinal.value=o==="latitudinal",a&&(_.poleAxis.value=a);const{_lodMax:S}=this;_.dTheta.value=E,_.mipInt.value=S-i;const v=this._sizeLods[r],T=3*v*(r>S-vo?r-S+vo:0),C=4*(this._cubeSize-v);wc(t,T,C,3*v,2*v),l.setRenderTarget(t),l.render(u,Qh)}}function Vbt(n){const e=[],t=[],i=[];let r=n;const s=n-vo+1+SC.length;for(let o=0;o<s;o++){const a=Math.pow(2,r);t.push(a);let l=1/a;o>n-vo?l=SC[o-n+vo-1]:o===0&&(l=0),i.push(l);const c=1/(a-2),d=-c,u=1+c,_=[d,d,u,d,u,u,d,d,u,u,d,u],f=6,E=6,b=3,g=2,h=1,m=new Float32Array(b*E*f),S=new Float32Array(g*E*f),v=new Float32Array(h*E*f);for(let C=0;C<f;C++){const N=C%3*2/3-1,x=C>2?0:-1,y=[N,x,0,N+2/3,x,0,N+2/3,x+1,0,N,x,0,N+2/3,x+1,0,N,x+1,0];m.set(y,b*E*C),S.set(_,g*E*C);const R=[C,C,C,C,C,C];v.set(R,h*E*C)}const T=new Fi;T.setAttribute("position",new wn(m,b)),T.setAttribute("uv",new wn(S,g)),T.setAttribute("faceIndex",new wn(v,h)),e.push(T),r>vo&&r--}return{lodPlanes:e,sizeLods:t,sigmas:i}}function xC(n,e,t){const i=new Ps(n,e,t);return i.texture.mapping=su,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function wc(n,e,t,i,r){n.viewport.set(e,t,i,r),n.scissor.set(e,t,i,r)}function qbt(n,e,t){const i=new Float32Array(Ss),r=new ue(0,1,0);return new Us({name:"SphericalGaussianBlur",defines:{n:Ss,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:qE(),fragmentShader:`
 
 			precision mediump float;
 			precision mediump int;
@@ -3783,7 +3783,7 @@ void main() {
 
 `+$St(n.getShaderSource(e),o)}else return r}function KSt(n,e){const t=WSt(e);return`vec4 ${n}( vec4 value ) { return ${t[0]}( ${t[1]}( value ) ); }`}function jSt(n,e){let t;switch(e){case Yht:t="Linear";break;case $ht:t="Reinhard";break;case Wht:t="OptimizedCineon";break;case Kht:t="ACESFilmic";break;case jht:t="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),t="Linear"}return"vec3 "+n+"( vec3 color ) { return "+t+"ToneMapping( color ); }"}function QSt(n){return[n.extensionDerivatives||n.envMapCubeUVHeight||n.bumpMap||n.normalMapTangentSpace||n.clearcoatNormalMap||n.flatShading||n.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(n.extensionFragDepth||n.logarithmicDepthBuffer)&&n.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",n.extensionDrawBuffers&&n.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(n.extensionShaderTextureLOD||n.envMap||n.transmission)&&n.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Wa).join(`
 `)}function XSt(n){const e=[];for(const t in n){const i=n[t];i!==!1&&e.push("#define "+t+" "+i)}return e.join(`
-`)}function ZSt(n,e){const t={},i=n.getProgramParameter(e,n.ACTIVE_ATTRIBUTES);for(let r=0;r<i;r++){const s=n.getActiveAttrib(e,r),o=s.name;let a=1;s.type===n.FLOAT_MAT2&&(a=2),s.type===n.FLOAT_MAT3&&(a=3),s.type===n.FLOAT_MAT4&&(a=4),t[o]={type:s.type,location:n.getAttribLocation(e,o),locationSize:a}}return t}function Wa(n){return n!==""}function kC(n,e){const t=e.numSpotLightShadows+e.numSpotLightMaps-e.numSpotLightShadowsWithMaps;return n.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,e.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,t).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,e.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function PC(n,e){return n.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const JSt=/^[ \t]*#include +<([\w\d./]+)>/gm;function sg(n){return n.replace(JSt,tyt)}const eyt=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function tyt(n,e){let t=ft[e];if(t===void 0){const i=eyt.get(e);if(i!==void 0)t=ft[i],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,i);else throw new Error("Can not resolve #include <"+e+">")}return sg(t)}const nyt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function UC(n){return n.replace(nyt,iyt)}function iyt(n,e,t,i){let r="";for(let s=parseInt(e);s<parseInt(t);s++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+s+" ]").replace(/UNROLLED_LOOP_INDEX/g,s);return r}function FC(n){let e="precision "+n.precision+` float;
+`)}function ZSt(n,e){const t={},i=n.getProgramParameter(e,n.ACTIVE_ATTRIBUTES);for(let r=0;r<i;r++){const s=n.getActiveAttrib(e,r),o=s.name;let a=1;s.type===n.FLOAT_MAT2&&(a=2),s.type===n.FLOAT_MAT3&&(a=3),s.type===n.FLOAT_MAT4&&(a=4),t[o]={type:s.type,location:n.getAttribLocation(e,o),locationSize:a}}return t}function Wa(n){return n!==""}function kC(n,e){const t=e.numSpotLightShadows+e.numSpotLightMaps-e.numSpotLightShadowsWithMaps;return n.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,e.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,t).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,e.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function PC(n,e){return n.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const JSt=/^[ \t]*#include +<([\w\d./]+)>/gm;function sg(n){return n.replace(JSt,tyt)}const eyt=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function tyt(n,e){let t=ht[e];if(t===void 0){const i=eyt.get(e);if(i!==void 0)t=ht[i],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,i);else throw new Error("Can not resolve #include <"+e+">")}return sg(t)}const nyt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function UC(n){return n.replace(nyt,iyt)}function iyt(n,e,t,i){let r="";for(let s=parseInt(e);s<parseInt(t);s++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+s+" ]").replace(/UNROLLED_LOOP_INDEX/g,s);return r}function FC(n){let e="precision "+n.precision+` float;
 precision `+n.precision+" int;";return n.precision==="highp"?e+=`
 #define HIGH_PRECISION`:n.precision==="mediump"?e+=`
 #define MEDIUM_PRECISION`:n.precision==="lowp"&&(e+=`
@@ -3794,7 +3794,7 @@ precision `+n.precision+" int;";return n.precision==="highp"?e+=`
 `),h.length>0&&(h+=`
 `)):(g=[FC(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,E,t.batching?"#define USE_BATCHING":"",t.instancing?"#define USE_INSTANCING":"",t.instancingColor?"#define USE_INSTANCING_COLOR":"",t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+d:"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.displacementMap?"#define USE_DISPLACEMENTMAP":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.mapUv?"#define MAP_UV "+t.mapUv:"",t.alphaMapUv?"#define ALPHAMAP_UV "+t.alphaMapUv:"",t.lightMapUv?"#define LIGHTMAP_UV "+t.lightMapUv:"",t.aoMapUv?"#define AOMAP_UV "+t.aoMapUv:"",t.emissiveMapUv?"#define EMISSIVEMAP_UV "+t.emissiveMapUv:"",t.bumpMapUv?"#define BUMPMAP_UV "+t.bumpMapUv:"",t.normalMapUv?"#define NORMALMAP_UV "+t.normalMapUv:"",t.displacementMapUv?"#define DISPLACEMENTMAP_UV "+t.displacementMapUv:"",t.metalnessMapUv?"#define METALNESSMAP_UV "+t.metalnessMapUv:"",t.roughnessMapUv?"#define ROUGHNESSMAP_UV "+t.roughnessMapUv:"",t.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+t.anisotropyMapUv:"",t.clearcoatMapUv?"#define CLEARCOATMAP_UV "+t.clearcoatMapUv:"",t.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+t.clearcoatNormalMapUv:"",t.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+t.clearcoatRoughnessMapUv:"",t.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+t.iridescenceMapUv:"",t.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+t.iridescenceThicknessMapUv:"",t.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+t.sheenColorMapUv:"",t.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+t.sheenRoughnessMapUv:"",t.specularMapUv?"#define SPECULARMAP_UV "+t.specularMapUv:"",t.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+t.specularColorMapUv:"",t.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+t.specularIntensityMapUv:"",t.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+t.transmissionMapUv:"",t.thicknessMapUv?"#define THICKNESSMAP_UV "+t.thicknessMapUv:"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.flatShading?"#define FLAT_SHADED":"",t.skinning?"#define USE_SKINNING":"",t.morphTargets?"#define USE_MORPHTARGETS":"",t.morphNormals&&t.flatShading===!1?"#define USE_MORPHNORMALS":"",t.morphColors&&t.isWebGL2?"#define USE_MORPHCOLORS":"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+t.morphTextureStride:"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_COUNT "+t.morphTargetsCount:"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+l:"",t.sizeAttenuation?"#define USE_SIZEATTENUATION":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","	attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","	attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1","	attribute vec2 uv1;","#endif","#ifdef USE_UV2","	attribute vec2 uv2;","#endif","#ifdef USE_UV3","	attribute vec2 uv3;","#endif","#ifdef USE_TANGENT","	attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","	attribute vec4 color;","#elif defined( USE_COLOR )","	attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )","	attribute vec3 morphTarget0;","	attribute vec3 morphTarget1;","	attribute vec3 morphTarget2;","	attribute vec3 morphTarget3;","	#ifdef USE_MORPHNORMALS","		attribute vec3 morphNormal0;","		attribute vec3 morphNormal1;","		attribute vec3 morphNormal2;","		attribute vec3 morphNormal3;","	#else","		attribute vec3 morphTarget4;","		attribute vec3 morphTarget5;","		attribute vec3 morphTarget6;","		attribute vec3 morphTarget7;","	#endif","#endif","#ifdef USE_SKINNING","	attribute vec4 skinIndex;","	attribute vec4 skinWeight;","#endif",`
 `].filter(Wa).join(`
-`),h=[f,FC(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,E,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.matcap?"#define USE_MATCAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+c:"",t.envMap?"#define "+d:"",t.envMap?"#define "+u:"",_?"#define CUBEUV_TEXEL_WIDTH "+_.texelWidth:"",_?"#define CUBEUV_TEXEL_HEIGHT "+_.texelHeight:"",_?"#define CUBEUV_MAX_MIP "+_.maxMip+".0":"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoat?"#define USE_CLEARCOAT":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescence?"#define USE_IRIDESCENCE":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaTest?"#define USE_ALPHATEST":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.sheen?"#define USE_SHEEN":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors||t.instancingColor?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.gradientMap?"#define USE_GRADIENTMAP":"",t.flatShading?"#define FLAT_SHADED":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+l:"",t.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",t.toneMapping!==qr?"#define TONE_MAPPING":"",t.toneMapping!==qr?ft.tonemapping_pars_fragment:"",t.toneMapping!==qr?jSt("toneMapping",t.toneMapping):"",t.dithering?"#define DITHERING":"",t.opaque?"#define OPAQUE":"",ft.colorspace_pars_fragment,KSt("linearToOutputTexel",t.outputColorSpace),t.useDepthPacking?"#define DEPTH_PACKING "+t.depthPacking:"",`
+`),h=[f,FC(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,E,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.matcap?"#define USE_MATCAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+c:"",t.envMap?"#define "+d:"",t.envMap?"#define "+u:"",_?"#define CUBEUV_TEXEL_WIDTH "+_.texelWidth:"",_?"#define CUBEUV_TEXEL_HEIGHT "+_.texelHeight:"",_?"#define CUBEUV_MAX_MIP "+_.maxMip+".0":"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoat?"#define USE_CLEARCOAT":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescence?"#define USE_IRIDESCENCE":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaTest?"#define USE_ALPHATEST":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.sheen?"#define USE_SHEEN":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors||t.instancingColor?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.gradientMap?"#define USE_GRADIENTMAP":"",t.flatShading?"#define FLAT_SHADED":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+l:"",t.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",t.toneMapping!==qr?"#define TONE_MAPPING":"",t.toneMapping!==qr?ht.tonemapping_pars_fragment:"",t.toneMapping!==qr?jSt("toneMapping",t.toneMapping):"",t.dithering?"#define DITHERING":"",t.opaque?"#define OPAQUE":"",ht.colorspace_pars_fragment,KSt("linearToOutputTexel",t.outputColorSpace),t.useDepthPacking?"#define DEPTH_PACKING "+t.depthPacking:"",`
 `].filter(Wa).join(`
 `)),o=sg(o),o=kC(o,t),o=PC(o,t),a=sg(a),a=kC(a,t),a=PC(a,t),o=UC(o),a=UC(a),t.isWebGL2&&t.isRawShaderMaterial!==!0&&(m=`#version 300 es
 `,g=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(`
@@ -3805,7 +3805,7 @@ precision `+n.precision+" int;";return n.precision==="highp"?e+=`
 
 Program Info Log: `+k+`
 `+I+`
-`+Y)}else k!==""?console.warn("THREE.WebGLProgram: Program Info Log:",k):(W===""||M==="")&&(z=!1);z&&(P.diagnostics={runnable:H,programLog:k,vertexShader:{log:W,prefix:g},fragmentShader:{log:M,prefix:h}})}r.deleteShader(T),r.deleteShader(C),x=new jc(r,b),y=ZSt(r,b)}let x;this.getUniforms=function(){return x===void 0&&N(this),x};let y;this.getAttributes=function(){return y===void 0&&N(this),y};let R=t.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return R===!1&&(R=r.getProgramParameter(b,qSt)),R},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(b),this.program=void 0},this.type=t.shaderType,this.name=t.shaderName,this.id=YSt++,this.cacheKey=e,this.usedTimes=1,this.program=b,this.vertexShader=T,this.fragmentShader=C,this}let dyt=0;class uyt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,i=e.fragmentShader,r=this._getShaderStage(t),s=this._getShaderStage(i),o=this._getShaderCacheForMaterial(e);return o.has(r)===!1&&(o.add(r),r.usedTimes++),o.has(s)===!1&&(o.add(s),s.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const i of t)i.usedTimes--,i.usedTimes===0&&this.shaderCache.delete(i.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let i=t.get(e);return i===void 0&&(i=new Set,t.set(e,i)),i}_getShaderStage(e){const t=this.shaderCache;let i=t.get(e);return i===void 0&&(i=new _yt(e),t.set(e,i)),i}}class _yt{constructor(e){this.id=dyt++,this.code=e,this.usedTimes=0}}function pyt(n,e,t,i,r,s,o){const a=new iO,l=new uyt,c=[],d=r.isWebGL2,u=r.logarithmicDepthBuffer,_=r.vertexTextures;let f=r.precision;const E={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function b(y){return y===0?"uv":`uv${y}`}function g(y,R,P,k,W){const M=k.fog,H=W.geometry,z=y.isMeshStandardMaterial?k.environment:null,I=(y.isMeshStandardMaterial?t:e).get(y.envMap||z),Y=I&&I.mapping===su?I.image.height:null,K=E[y.type];y.precision!==null&&(f=r.getMaxPrecision(y.precision),f!==y.precision&&console.warn("THREE.WebGLProgram.getParameters:",y.precision,"not supported, using",f,"instead."));const q=H.morphAttributes.position||H.morphAttributes.normal||H.morphAttributes.color,le=q!==void 0?q.length:0;let X=0;H.morphAttributes.position!==void 0&&(X=1),H.morphAttributes.normal!==void 0&&(X=2),H.morphAttributes.color!==void 0&&(X=3);let Z,_e,fe,ye;if(K){const tn=Si[K];Z=tn.vertexShader,_e=tn.fragmentShader}else Z=y.vertexShader,_e=y.fragmentShader,l.update(y),fe=l.getVertexShaderID(y),ye=l.getFragmentShaderID(y);const j=n.getRenderTarget(),de=W.isInstancedMesh===!0,Q=W.isBatchedMesh===!0,he=!!y.map,Ae=!!y.matcap,O=!!I,F=!!y.aoMap,V=!!y.lightMap,re=!!y.bumpMap,ee=!!y.normalMap,be=!!y.displacementMap,xe=!!y.emissiveMap,B=!!y.metalnessMap,ae=!!y.roughnessMap,te=y.anisotropy>0,ie=y.clearcoat>0,w=y.iridescence>0,A=y.sheen>0,G=y.transmission>0,ce=te&&!!y.anisotropyMap,$=ie&&!!y.clearcoatMap,J=ie&&!!y.clearcoatNormalMap,ve=ie&&!!y.clearcoatRoughnessMap,Ee=w&&!!y.iridescenceMap,Me=w&&!!y.iridescenceThicknessMap,Ue=A&&!!y.sheenColorMap,Je=A&&!!y.sheenRoughnessMap,Ne=!!y.specularMap,tt=!!y.specularColorMap,$e=!!y.specularIntensityMap,Pe=G&&!!y.transmissionMap,je=G&&!!y.thicknessMap,Ve=!!y.gradientMap,ct=!!y.alphaMap,oe=y.alphaTest>0,He=!!y.alphaHash,Le=!!y.extensions,Ce=!!H.attributes.uv1,ke=!!H.attributes.uv2,it=!!H.attributes.uv3;let _t=qr;return y.toneMapped&&(j===null||j.isXRRenderTarget===!0)&&(_t=n.toneMapping),{isWebGL2:d,shaderID:K,shaderType:y.type,shaderName:y.name,vertexShader:Z,fragmentShader:_e,defines:y.defines,customVertexShaderID:fe,customFragmentShaderID:ye,isRawShaderMaterial:y.isRawShaderMaterial===!0,glslVersion:y.glslVersion,precision:f,batching:Q,instancing:de,instancingColor:de&&W.instanceColor!==null,supportsVertexTextures:_,outputColorSpace:j===null?n.outputColorSpace:j.isXRRenderTarget===!0?j.texture.colorSpace:fn,map:he,matcap:Ae,envMap:O,envMapMode:O&&I.mapping,envMapCubeUVHeight:Y,aoMap:F,lightMap:V,bumpMap:re,normalMap:ee,displacementMap:_&&be,emissiveMap:xe,normalMapObjectSpace:ee&&y.normalMapType===cmt,normalMapTangentSpace:ee&&y.normalMapType===FE,metalnessMap:B,roughnessMap:ae,anisotropy:te,anisotropyMap:ce,clearcoat:ie,clearcoatMap:$,clearcoatNormalMap:J,clearcoatRoughnessMap:ve,iridescence:w,iridescenceMap:Ee,iridescenceThicknessMap:Me,sheen:A,sheenColorMap:Ue,sheenRoughnessMap:Je,specularMap:Ne,specularColorMap:tt,specularIntensityMap:$e,transmission:G,transmissionMap:Pe,thicknessMap:je,gradientMap:Ve,opaque:y.transparent===!1&&y.blending===Mo,alphaMap:ct,alphaTest:oe,alphaHash:He,combine:y.combine,mapUv:he&&b(y.map.channel),aoMapUv:F&&b(y.aoMap.channel),lightMapUv:V&&b(y.lightMap.channel),bumpMapUv:re&&b(y.bumpMap.channel),normalMapUv:ee&&b(y.normalMap.channel),displacementMapUv:be&&b(y.displacementMap.channel),emissiveMapUv:xe&&b(y.emissiveMap.channel),metalnessMapUv:B&&b(y.metalnessMap.channel),roughnessMapUv:ae&&b(y.roughnessMap.channel),anisotropyMapUv:ce&&b(y.anisotropyMap.channel),clearcoatMapUv:$&&b(y.clearcoatMap.channel),clearcoatNormalMapUv:J&&b(y.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ve&&b(y.clearcoatRoughnessMap.channel),iridescenceMapUv:Ee&&b(y.iridescenceMap.channel),iridescenceThicknessMapUv:Me&&b(y.iridescenceThicknessMap.channel),sheenColorMapUv:Ue&&b(y.sheenColorMap.channel),sheenRoughnessMapUv:Je&&b(y.sheenRoughnessMap.channel),specularMapUv:Ne&&b(y.specularMap.channel),specularColorMapUv:tt&&b(y.specularColorMap.channel),specularIntensityMapUv:$e&&b(y.specularIntensityMap.channel),transmissionMapUv:Pe&&b(y.transmissionMap.channel),thicknessMapUv:je&&b(y.thicknessMap.channel),alphaMapUv:ct&&b(y.alphaMap.channel),vertexTangents:!!H.attributes.tangent&&(ee||te),vertexColors:y.vertexColors,vertexAlphas:y.vertexColors===!0&&!!H.attributes.color&&H.attributes.color.itemSize===4,vertexUv1s:Ce,vertexUv2s:ke,vertexUv3s:it,pointsUvs:W.isPoints===!0&&!!H.attributes.uv&&(he||ct),fog:!!M,useFog:y.fog===!0,fogExp2:M&&M.isFogExp2,flatShading:y.flatShading===!0,sizeAttenuation:y.sizeAttenuation===!0,logarithmicDepthBuffer:u,skinning:W.isSkinnedMesh===!0,morphTargets:H.morphAttributes.position!==void 0,morphNormals:H.morphAttributes.normal!==void 0,morphColors:H.morphAttributes.color!==void 0,morphTargetsCount:le,morphTextureStride:X,numDirLights:R.directional.length,numPointLights:R.point.length,numSpotLights:R.spot.length,numSpotLightMaps:R.spotLightMap.length,numRectAreaLights:R.rectArea.length,numHemiLights:R.hemi.length,numDirLightShadows:R.directionalShadowMap.length,numPointLightShadows:R.pointShadowMap.length,numSpotLightShadows:R.spotShadowMap.length,numSpotLightShadowsWithMaps:R.numSpotLightShadowsWithMaps,numLightProbes:R.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:y.dithering,shadowMapEnabled:n.shadowMap.enabled&&P.length>0,shadowMapType:n.shadowMap.type,toneMapping:_t,useLegacyLights:n._useLegacyLights,decodeVideoTexture:he&&y.map.isVideoTexture===!0&&Nt.getTransfer(y.map.colorSpace)===Gt,premultipliedAlpha:y.premultipliedAlpha,doubleSided:y.side===Ti,flipSided:y.side===Ln,useDepthPacking:y.depthPacking>=0,depthPacking:y.depthPacking||0,index0AttributeName:y.index0AttributeName,extensionDerivatives:Le&&y.extensions.derivatives===!0,extensionFragDepth:Le&&y.extensions.fragDepth===!0,extensionDrawBuffers:Le&&y.extensions.drawBuffers===!0,extensionShaderTextureLOD:Le&&y.extensions.shaderTextureLOD===!0,rendererExtensionFragDepth:d||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:d||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:d||i.has("EXT_shader_texture_lod"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:y.customProgramCacheKey()}}function h(y){const R=[];if(y.shaderID?R.push(y.shaderID):(R.push(y.customVertexShaderID),R.push(y.customFragmentShaderID)),y.defines!==void 0)for(const P in y.defines)R.push(P),R.push(y.defines[P]);return y.isRawShaderMaterial===!1&&(m(R,y),S(R,y),R.push(n.outputColorSpace)),R.push(y.customProgramCacheKey),R.join()}function m(y,R){y.push(R.precision),y.push(R.outputColorSpace),y.push(R.envMapMode),y.push(R.envMapCubeUVHeight),y.push(R.mapUv),y.push(R.alphaMapUv),y.push(R.lightMapUv),y.push(R.aoMapUv),y.push(R.bumpMapUv),y.push(R.normalMapUv),y.push(R.displacementMapUv),y.push(R.emissiveMapUv),y.push(R.metalnessMapUv),y.push(R.roughnessMapUv),y.push(R.anisotropyMapUv),y.push(R.clearcoatMapUv),y.push(R.clearcoatNormalMapUv),y.push(R.clearcoatRoughnessMapUv),y.push(R.iridescenceMapUv),y.push(R.iridescenceThicknessMapUv),y.push(R.sheenColorMapUv),y.push(R.sheenRoughnessMapUv),y.push(R.specularMapUv),y.push(R.specularColorMapUv),y.push(R.specularIntensityMapUv),y.push(R.transmissionMapUv),y.push(R.thicknessMapUv),y.push(R.combine),y.push(R.fogExp2),y.push(R.sizeAttenuation),y.push(R.morphTargetsCount),y.push(R.morphAttributeCount),y.push(R.numDirLights),y.push(R.numPointLights),y.push(R.numSpotLights),y.push(R.numSpotLightMaps),y.push(R.numHemiLights),y.push(R.numRectAreaLights),y.push(R.numDirLightShadows),y.push(R.numPointLightShadows),y.push(R.numSpotLightShadows),y.push(R.numSpotLightShadowsWithMaps),y.push(R.numLightProbes),y.push(R.shadowMapType),y.push(R.toneMapping),y.push(R.numClippingPlanes),y.push(R.numClipIntersection),y.push(R.depthPacking)}function S(y,R){a.disableAll(),R.isWebGL2&&a.enable(0),R.supportsVertexTextures&&a.enable(1),R.instancing&&a.enable(2),R.instancingColor&&a.enable(3),R.matcap&&a.enable(4),R.envMap&&a.enable(5),R.normalMapObjectSpace&&a.enable(6),R.normalMapTangentSpace&&a.enable(7),R.clearcoat&&a.enable(8),R.iridescence&&a.enable(9),R.alphaTest&&a.enable(10),R.vertexColors&&a.enable(11),R.vertexAlphas&&a.enable(12),R.vertexUv1s&&a.enable(13),R.vertexUv2s&&a.enable(14),R.vertexUv3s&&a.enable(15),R.vertexTangents&&a.enable(16),R.anisotropy&&a.enable(17),R.alphaHash&&a.enable(18),R.batching&&a.enable(19),y.push(a.mask),a.disableAll(),R.fog&&a.enable(0),R.useFog&&a.enable(1),R.flatShading&&a.enable(2),R.logarithmicDepthBuffer&&a.enable(3),R.skinning&&a.enable(4),R.morphTargets&&a.enable(5),R.morphNormals&&a.enable(6),R.morphColors&&a.enable(7),R.premultipliedAlpha&&a.enable(8),R.shadowMapEnabled&&a.enable(9),R.useLegacyLights&&a.enable(10),R.doubleSided&&a.enable(11),R.flipSided&&a.enable(12),R.useDepthPacking&&a.enable(13),R.dithering&&a.enable(14),R.transmission&&a.enable(15),R.sheen&&a.enable(16),R.opaque&&a.enable(17),R.pointsUvs&&a.enable(18),R.decodeVideoTexture&&a.enable(19),y.push(a.mask)}function v(y){const R=E[y.type];let P;if(R){const k=Si[R];P=Qmt.clone(k.uniforms)}else P=y.uniforms;return P}function T(y,R){let P;for(let k=0,W=c.length;k<W;k++){const M=c[k];if(M.cacheKey===R){P=M,++P.usedTimes;break}}return P===void 0&&(P=new cyt(n,R,y,s),c.push(P)),P}function C(y){if(--y.usedTimes===0){const R=c.indexOf(y);c[R]=c[c.length-1],c.pop(),y.destroy()}}function N(y){l.remove(y)}function x(){l.dispose()}return{getParameters:g,getProgramCacheKey:h,getUniforms:v,acquireProgram:T,releaseProgram:C,releaseShaderCache:N,programs:c,dispose:x}}function fyt(){let n=new WeakMap;function e(s){let o=n.get(s);return o===void 0&&(o={},n.set(s,o)),o}function t(s){n.delete(s)}function i(s,o,a){n.get(s)[o]=a}function r(){n=new WeakMap}return{get:e,remove:t,update:i,dispose:r}}function hyt(n,e){return n.groupOrder!==e.groupOrder?n.groupOrder-e.groupOrder:n.renderOrder!==e.renderOrder?n.renderOrder-e.renderOrder:n.material.id!==e.material.id?n.material.id-e.material.id:n.z!==e.z?n.z-e.z:n.id-e.id}function BC(n,e){return n.groupOrder!==e.groupOrder?n.groupOrder-e.groupOrder:n.renderOrder!==e.renderOrder?n.renderOrder-e.renderOrder:n.z!==e.z?e.z-n.z:n.id-e.id}function GC(){const n=[];let e=0;const t=[],i=[],r=[];function s(){e=0,t.length=0,i.length=0,r.length=0}function o(u,_,f,E,b,g){let h=n[e];return h===void 0?(h={id:u.id,object:u,geometry:_,material:f,groupOrder:E,renderOrder:u.renderOrder,z:b,group:g},n[e]=h):(h.id=u.id,h.object=u,h.geometry=_,h.material=f,h.groupOrder=E,h.renderOrder=u.renderOrder,h.z=b,h.group=g),e++,h}function a(u,_,f,E,b,g){const h=o(u,_,f,E,b,g);f.transmission>0?i.push(h):f.transparent===!0?r.push(h):t.push(h)}function l(u,_,f,E,b,g){const h=o(u,_,f,E,b,g);f.transmission>0?i.unshift(h):f.transparent===!0?r.unshift(h):t.unshift(h)}function c(u,_){t.length>1&&t.sort(u||hyt),i.length>1&&i.sort(_||BC),r.length>1&&r.sort(_||BC)}function d(){for(let u=e,_=n.length;u<_;u++){const f=n[u];if(f.id===null)break;f.id=null,f.object=null,f.geometry=null,f.material=null,f.group=null}}return{opaque:t,transmissive:i,transparent:r,init:s,push:a,unshift:l,finish:d,sort:c}}function myt(){let n=new WeakMap;function e(i,r){const s=n.get(i);let o;return s===void 0?(o=new GC,n.set(i,[o])):r>=s.length?(o=new GC,s.push(o)):o=s[r],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function gyt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new ue,color:new at};break;case"SpotLight":t={position:new ue,direction:new ue,color:new at,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new ue,color:new at,distance:0,decay:0};break;case"HemisphereLight":t={direction:new ue,skyColor:new at,groundColor:new at};break;case"RectAreaLight":t={color:new at,position:new ue,halfWidth:new ue,halfHeight:new ue};break}return n[e.id]=t,t}}}function Eyt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt};break;case"SpotLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt};break;case"PointLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let byt=0;function Syt(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function yyt(n,e){const t=new gyt,i=Eyt(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let d=0;d<9;d++)r.probe.push(new ue);const s=new ue,o=new gt,a=new gt;function l(d,u){let _=0,f=0,E=0;for(let k=0;k<9;k++)r.probe[k].set(0,0,0);let b=0,g=0,h=0,m=0,S=0,v=0,T=0,C=0,N=0,x=0,y=0;d.sort(Syt);const R=u===!0?Math.PI:1;for(let k=0,W=d.length;k<W;k++){const M=d[k],H=M.color,z=M.intensity,I=M.distance,Y=M.shadow&&M.shadow.map?M.shadow.map.texture:null;if(M.isAmbientLight)_+=H.r*z*R,f+=H.g*z*R,E+=H.b*z*R;else if(M.isLightProbe){for(let K=0;K<9;K++)r.probe[K].addScaledVector(M.sh.coefficients[K],z);y++}else if(M.isDirectionalLight){const K=t.get(M);if(K.color.copy(M.color).multiplyScalar(M.intensity*R),M.castShadow){const q=M.shadow,le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,r.directionalShadow[b]=le,r.directionalShadowMap[b]=Y,r.directionalShadowMatrix[b]=M.shadow.matrix,v++}r.directional[b]=K,b++}else if(M.isSpotLight){const K=t.get(M);K.position.setFromMatrixPosition(M.matrixWorld),K.color.copy(H).multiplyScalar(z*R),K.distance=I,K.coneCos=Math.cos(M.angle),K.penumbraCos=Math.cos(M.angle*(1-M.penumbra)),K.decay=M.decay,r.spot[h]=K;const q=M.shadow;if(M.map&&(r.spotLightMap[N]=M.map,N++,q.updateMatrices(M),M.castShadow&&x++),r.spotLightMatrix[h]=q.matrix,M.castShadow){const le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,r.spotShadow[h]=le,r.spotShadowMap[h]=Y,C++}h++}else if(M.isRectAreaLight){const K=t.get(M);K.color.copy(H).multiplyScalar(z),K.halfWidth.set(M.width*.5,0,0),K.halfHeight.set(0,M.height*.5,0),r.rectArea[m]=K,m++}else if(M.isPointLight){const K=t.get(M);if(K.color.copy(M.color).multiplyScalar(M.intensity*R),K.distance=M.distance,K.decay=M.decay,M.castShadow){const q=M.shadow,le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,le.shadowCameraNear=q.camera.near,le.shadowCameraFar=q.camera.far,r.pointShadow[g]=le,r.pointShadowMap[g]=Y,r.pointShadowMatrix[g]=M.shadow.matrix,T++}r.point[g]=K,g++}else if(M.isHemisphereLight){const K=t.get(M);K.skyColor.copy(M.color).multiplyScalar(z*R),K.groundColor.copy(M.groundColor).multiplyScalar(z*R),r.hemi[S]=K,S++}}m>0&&(e.isWebGL2||n.has("OES_texture_float_linear")===!0?(r.rectAreaLTC1=Ge.LTC_FLOAT_1,r.rectAreaLTC2=Ge.LTC_FLOAT_2):n.has("OES_texture_half_float_linear")===!0?(r.rectAreaLTC1=Ge.LTC_HALF_1,r.rectAreaLTC2=Ge.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=_,r.ambient[1]=f,r.ambient[2]=E;const P=r.hash;(P.directionalLength!==b||P.pointLength!==g||P.spotLength!==h||P.rectAreaLength!==m||P.hemiLength!==S||P.numDirectionalShadows!==v||P.numPointShadows!==T||P.numSpotShadows!==C||P.numSpotMaps!==N||P.numLightProbes!==y)&&(r.directional.length=b,r.spot.length=h,r.rectArea.length=m,r.point.length=g,r.hemi.length=S,r.directionalShadow.length=v,r.directionalShadowMap.length=v,r.pointShadow.length=T,r.pointShadowMap.length=T,r.spotShadow.length=C,r.spotShadowMap.length=C,r.directionalShadowMatrix.length=v,r.pointShadowMatrix.length=T,r.spotLightMatrix.length=C+N-x,r.spotLightMap.length=N,r.numSpotLightShadowsWithMaps=x,r.numLightProbes=y,P.directionalLength=b,P.pointLength=g,P.spotLength=h,P.rectAreaLength=m,P.hemiLength=S,P.numDirectionalShadows=v,P.numPointShadows=T,P.numSpotShadows=C,P.numSpotMaps=N,P.numLightProbes=y,r.version=byt++)}function c(d,u){let _=0,f=0,E=0,b=0,g=0;const h=u.matrixWorldInverse;for(let m=0,S=d.length;m<S;m++){const v=d[m];if(v.isDirectionalLight){const T=r.directional[_];T.direction.setFromMatrixPosition(v.matrixWorld),s.setFromMatrixPosition(v.target.matrixWorld),T.direction.sub(s),T.direction.transformDirection(h),_++}else if(v.isSpotLight){const T=r.spot[E];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),T.direction.setFromMatrixPosition(v.matrixWorld),s.setFromMatrixPosition(v.target.matrixWorld),T.direction.sub(s),T.direction.transformDirection(h),E++}else if(v.isRectAreaLight){const T=r.rectArea[b];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),a.identity(),o.copy(v.matrixWorld),o.premultiply(h),a.extractRotation(o),T.halfWidth.set(v.width*.5,0,0),T.halfHeight.set(0,v.height*.5,0),T.halfWidth.applyMatrix4(a),T.halfHeight.applyMatrix4(a),b++}else if(v.isPointLight){const T=r.point[f];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),f++}else if(v.isHemisphereLight){const T=r.hemi[g];T.direction.setFromMatrixPosition(v.matrixWorld),T.direction.transformDirection(h),g++}}}return{setup:l,setupView:c,state:r}}function zC(n,e){const t=new yyt(n,e),i=[],r=[];function s(){i.length=0,r.length=0}function o(u){i.push(u)}function a(u){r.push(u)}function l(u){t.setup(i,u)}function c(u){t.setupView(i,u)}return{init:s,state:{lightsArray:i,shadowsArray:r,lights:t},setupLights:l,setupLightsView:c,pushLight:o,pushShadow:a}}function vyt(n,e){let t=new WeakMap;function i(s,o=0){const a=t.get(s);let l;return a===void 0?(l=new zC(n,e),t.set(s,[l])):o>=a.length?(l=new zC(n,e),a.push(l)):l=a[o],l}function r(){t=new WeakMap}return{get:i,dispose:r}}class Tyt extends fi{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=amt,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class xyt extends fi{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const Cyt=`void main() {
+`+Y)}else k!==""?console.warn("THREE.WebGLProgram: Program Info Log:",k):(W===""||M==="")&&(z=!1);z&&(P.diagnostics={runnable:H,programLog:k,vertexShader:{log:W,prefix:g},fragmentShader:{log:M,prefix:h}})}r.deleteShader(T),r.deleteShader(C),x=new jc(r,b),y=ZSt(r,b)}let x;this.getUniforms=function(){return x===void 0&&N(this),x};let y;this.getAttributes=function(){return y===void 0&&N(this),y};let R=t.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return R===!1&&(R=r.getProgramParameter(b,qSt)),R},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(b),this.program=void 0},this.type=t.shaderType,this.name=t.shaderName,this.id=YSt++,this.cacheKey=e,this.usedTimes=1,this.program=b,this.vertexShader=T,this.fragmentShader=C,this}let dyt=0;class uyt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,i=e.fragmentShader,r=this._getShaderStage(t),s=this._getShaderStage(i),o=this._getShaderCacheForMaterial(e);return o.has(r)===!1&&(o.add(r),r.usedTimes++),o.has(s)===!1&&(o.add(s),s.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const i of t)i.usedTimes--,i.usedTimes===0&&this.shaderCache.delete(i.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let i=t.get(e);return i===void 0&&(i=new Set,t.set(e,i)),i}_getShaderStage(e){const t=this.shaderCache;let i=t.get(e);return i===void 0&&(i=new _yt(e),t.set(e,i)),i}}class _yt{constructor(e){this.id=dyt++,this.code=e,this.usedTimes=0}}function pyt(n,e,t,i,r,s,o){const a=new iO,l=new uyt,c=[],d=r.isWebGL2,u=r.logarithmicDepthBuffer,_=r.vertexTextures;let f=r.precision;const E={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function b(y){return y===0?"uv":`uv${y}`}function g(y,R,P,k,W){const M=k.fog,H=W.geometry,z=y.isMeshStandardMaterial?k.environment:null,I=(y.isMeshStandardMaterial?t:e).get(y.envMap||z),Y=I&&I.mapping===su?I.image.height:null,K=E[y.type];y.precision!==null&&(f=r.getMaxPrecision(y.precision),f!==y.precision&&console.warn("THREE.WebGLProgram.getParameters:",y.precision,"not supported, using",f,"instead."));const q=H.morphAttributes.position||H.morphAttributes.normal||H.morphAttributes.color,le=q!==void 0?q.length:0;let X=0;H.morphAttributes.position!==void 0&&(X=1),H.morphAttributes.normal!==void 0&&(X=2),H.morphAttributes.color!==void 0&&(X=3);let Z,_e,fe,ye;if(K){const tn=Si[K];Z=tn.vertexShader,_e=tn.fragmentShader}else Z=y.vertexShader,_e=y.fragmentShader,l.update(y),fe=l.getVertexShaderID(y),ye=l.getFragmentShaderID(y);const j=n.getRenderTarget(),de=W.isInstancedMesh===!0,Q=W.isBatchedMesh===!0,he=!!y.map,Ae=!!y.matcap,O=!!I,F=!!y.aoMap,V=!!y.lightMap,re=!!y.bumpMap,ee=!!y.normalMap,be=!!y.displacementMap,xe=!!y.emissiveMap,B=!!y.metalnessMap,ae=!!y.roughnessMap,te=y.anisotropy>0,ie=y.clearcoat>0,w=y.iridescence>0,A=y.sheen>0,G=y.transmission>0,ce=te&&!!y.anisotropyMap,$=ie&&!!y.clearcoatMap,J=ie&&!!y.clearcoatNormalMap,ve=ie&&!!y.clearcoatRoughnessMap,Ee=w&&!!y.iridescenceMap,Me=w&&!!y.iridescenceThicknessMap,Ue=A&&!!y.sheenColorMap,Je=A&&!!y.sheenRoughnessMap,Ne=!!y.specularMap,tt=!!y.specularColorMap,$e=!!y.specularIntensityMap,Pe=G&&!!y.transmissionMap,je=G&&!!y.thicknessMap,Ve=!!y.gradientMap,ct=!!y.alphaMap,oe=y.alphaTest>0,He=!!y.alphaHash,Le=!!y.extensions,Ce=!!H.attributes.uv1,ke=!!H.attributes.uv2,it=!!H.attributes.uv3;let pt=qr;return y.toneMapped&&(j===null||j.isXRRenderTarget===!0)&&(pt=n.toneMapping),{isWebGL2:d,shaderID:K,shaderType:y.type,shaderName:y.name,vertexShader:Z,fragmentShader:_e,defines:y.defines,customVertexShaderID:fe,customFragmentShaderID:ye,isRawShaderMaterial:y.isRawShaderMaterial===!0,glslVersion:y.glslVersion,precision:f,batching:Q,instancing:de,instancingColor:de&&W.instanceColor!==null,supportsVertexTextures:_,outputColorSpace:j===null?n.outputColorSpace:j.isXRRenderTarget===!0?j.texture.colorSpace:fn,map:he,matcap:Ae,envMap:O,envMapMode:O&&I.mapping,envMapCubeUVHeight:Y,aoMap:F,lightMap:V,bumpMap:re,normalMap:ee,displacementMap:_&&be,emissiveMap:xe,normalMapObjectSpace:ee&&y.normalMapType===cmt,normalMapTangentSpace:ee&&y.normalMapType===FE,metalnessMap:B,roughnessMap:ae,anisotropy:te,anisotropyMap:ce,clearcoat:ie,clearcoatMap:$,clearcoatNormalMap:J,clearcoatRoughnessMap:ve,iridescence:w,iridescenceMap:Ee,iridescenceThicknessMap:Me,sheen:A,sheenColorMap:Ue,sheenRoughnessMap:Je,specularMap:Ne,specularColorMap:tt,specularIntensityMap:$e,transmission:G,transmissionMap:Pe,thicknessMap:je,gradientMap:Ve,opaque:y.transparent===!1&&y.blending===Mo,alphaMap:ct,alphaTest:oe,alphaHash:He,combine:y.combine,mapUv:he&&b(y.map.channel),aoMapUv:F&&b(y.aoMap.channel),lightMapUv:V&&b(y.lightMap.channel),bumpMapUv:re&&b(y.bumpMap.channel),normalMapUv:ee&&b(y.normalMap.channel),displacementMapUv:be&&b(y.displacementMap.channel),emissiveMapUv:xe&&b(y.emissiveMap.channel),metalnessMapUv:B&&b(y.metalnessMap.channel),roughnessMapUv:ae&&b(y.roughnessMap.channel),anisotropyMapUv:ce&&b(y.anisotropyMap.channel),clearcoatMapUv:$&&b(y.clearcoatMap.channel),clearcoatNormalMapUv:J&&b(y.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ve&&b(y.clearcoatRoughnessMap.channel),iridescenceMapUv:Ee&&b(y.iridescenceMap.channel),iridescenceThicknessMapUv:Me&&b(y.iridescenceThicknessMap.channel),sheenColorMapUv:Ue&&b(y.sheenColorMap.channel),sheenRoughnessMapUv:Je&&b(y.sheenRoughnessMap.channel),specularMapUv:Ne&&b(y.specularMap.channel),specularColorMapUv:tt&&b(y.specularColorMap.channel),specularIntensityMapUv:$e&&b(y.specularIntensityMap.channel),transmissionMapUv:Pe&&b(y.transmissionMap.channel),thicknessMapUv:je&&b(y.thicknessMap.channel),alphaMapUv:ct&&b(y.alphaMap.channel),vertexTangents:!!H.attributes.tangent&&(ee||te),vertexColors:y.vertexColors,vertexAlphas:y.vertexColors===!0&&!!H.attributes.color&&H.attributes.color.itemSize===4,vertexUv1s:Ce,vertexUv2s:ke,vertexUv3s:it,pointsUvs:W.isPoints===!0&&!!H.attributes.uv&&(he||ct),fog:!!M,useFog:y.fog===!0,fogExp2:M&&M.isFogExp2,flatShading:y.flatShading===!0,sizeAttenuation:y.sizeAttenuation===!0,logarithmicDepthBuffer:u,skinning:W.isSkinnedMesh===!0,morphTargets:H.morphAttributes.position!==void 0,morphNormals:H.morphAttributes.normal!==void 0,morphColors:H.morphAttributes.color!==void 0,morphTargetsCount:le,morphTextureStride:X,numDirLights:R.directional.length,numPointLights:R.point.length,numSpotLights:R.spot.length,numSpotLightMaps:R.spotLightMap.length,numRectAreaLights:R.rectArea.length,numHemiLights:R.hemi.length,numDirLightShadows:R.directionalShadowMap.length,numPointLightShadows:R.pointShadowMap.length,numSpotLightShadows:R.spotShadowMap.length,numSpotLightShadowsWithMaps:R.numSpotLightShadowsWithMaps,numLightProbes:R.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:y.dithering,shadowMapEnabled:n.shadowMap.enabled&&P.length>0,shadowMapType:n.shadowMap.type,toneMapping:pt,useLegacyLights:n._useLegacyLights,decodeVideoTexture:he&&y.map.isVideoTexture===!0&&Nt.getTransfer(y.map.colorSpace)===Gt,premultipliedAlpha:y.premultipliedAlpha,doubleSided:y.side===Ti,flipSided:y.side===Ln,useDepthPacking:y.depthPacking>=0,depthPacking:y.depthPacking||0,index0AttributeName:y.index0AttributeName,extensionDerivatives:Le&&y.extensions.derivatives===!0,extensionFragDepth:Le&&y.extensions.fragDepth===!0,extensionDrawBuffers:Le&&y.extensions.drawBuffers===!0,extensionShaderTextureLOD:Le&&y.extensions.shaderTextureLOD===!0,rendererExtensionFragDepth:d||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:d||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:d||i.has("EXT_shader_texture_lod"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:y.customProgramCacheKey()}}function h(y){const R=[];if(y.shaderID?R.push(y.shaderID):(R.push(y.customVertexShaderID),R.push(y.customFragmentShaderID)),y.defines!==void 0)for(const P in y.defines)R.push(P),R.push(y.defines[P]);return y.isRawShaderMaterial===!1&&(m(R,y),S(R,y),R.push(n.outputColorSpace)),R.push(y.customProgramCacheKey),R.join()}function m(y,R){y.push(R.precision),y.push(R.outputColorSpace),y.push(R.envMapMode),y.push(R.envMapCubeUVHeight),y.push(R.mapUv),y.push(R.alphaMapUv),y.push(R.lightMapUv),y.push(R.aoMapUv),y.push(R.bumpMapUv),y.push(R.normalMapUv),y.push(R.displacementMapUv),y.push(R.emissiveMapUv),y.push(R.metalnessMapUv),y.push(R.roughnessMapUv),y.push(R.anisotropyMapUv),y.push(R.clearcoatMapUv),y.push(R.clearcoatNormalMapUv),y.push(R.clearcoatRoughnessMapUv),y.push(R.iridescenceMapUv),y.push(R.iridescenceThicknessMapUv),y.push(R.sheenColorMapUv),y.push(R.sheenRoughnessMapUv),y.push(R.specularMapUv),y.push(R.specularColorMapUv),y.push(R.specularIntensityMapUv),y.push(R.transmissionMapUv),y.push(R.thicknessMapUv),y.push(R.combine),y.push(R.fogExp2),y.push(R.sizeAttenuation),y.push(R.morphTargetsCount),y.push(R.morphAttributeCount),y.push(R.numDirLights),y.push(R.numPointLights),y.push(R.numSpotLights),y.push(R.numSpotLightMaps),y.push(R.numHemiLights),y.push(R.numRectAreaLights),y.push(R.numDirLightShadows),y.push(R.numPointLightShadows),y.push(R.numSpotLightShadows),y.push(R.numSpotLightShadowsWithMaps),y.push(R.numLightProbes),y.push(R.shadowMapType),y.push(R.toneMapping),y.push(R.numClippingPlanes),y.push(R.numClipIntersection),y.push(R.depthPacking)}function S(y,R){a.disableAll(),R.isWebGL2&&a.enable(0),R.supportsVertexTextures&&a.enable(1),R.instancing&&a.enable(2),R.instancingColor&&a.enable(3),R.matcap&&a.enable(4),R.envMap&&a.enable(5),R.normalMapObjectSpace&&a.enable(6),R.normalMapTangentSpace&&a.enable(7),R.clearcoat&&a.enable(8),R.iridescence&&a.enable(9),R.alphaTest&&a.enable(10),R.vertexColors&&a.enable(11),R.vertexAlphas&&a.enable(12),R.vertexUv1s&&a.enable(13),R.vertexUv2s&&a.enable(14),R.vertexUv3s&&a.enable(15),R.vertexTangents&&a.enable(16),R.anisotropy&&a.enable(17),R.alphaHash&&a.enable(18),R.batching&&a.enable(19),y.push(a.mask),a.disableAll(),R.fog&&a.enable(0),R.useFog&&a.enable(1),R.flatShading&&a.enable(2),R.logarithmicDepthBuffer&&a.enable(3),R.skinning&&a.enable(4),R.morphTargets&&a.enable(5),R.morphNormals&&a.enable(6),R.morphColors&&a.enable(7),R.premultipliedAlpha&&a.enable(8),R.shadowMapEnabled&&a.enable(9),R.useLegacyLights&&a.enable(10),R.doubleSided&&a.enable(11),R.flipSided&&a.enable(12),R.useDepthPacking&&a.enable(13),R.dithering&&a.enable(14),R.transmission&&a.enable(15),R.sheen&&a.enable(16),R.opaque&&a.enable(17),R.pointsUvs&&a.enable(18),R.decodeVideoTexture&&a.enable(19),y.push(a.mask)}function v(y){const R=E[y.type];let P;if(R){const k=Si[R];P=Qmt.clone(k.uniforms)}else P=y.uniforms;return P}function T(y,R){let P;for(let k=0,W=c.length;k<W;k++){const M=c[k];if(M.cacheKey===R){P=M,++P.usedTimes;break}}return P===void 0&&(P=new cyt(n,R,y,s),c.push(P)),P}function C(y){if(--y.usedTimes===0){const R=c.indexOf(y);c[R]=c[c.length-1],c.pop(),y.destroy()}}function N(y){l.remove(y)}function x(){l.dispose()}return{getParameters:g,getProgramCacheKey:h,getUniforms:v,acquireProgram:T,releaseProgram:C,releaseShaderCache:N,programs:c,dispose:x}}function fyt(){let n=new WeakMap;function e(s){let o=n.get(s);return o===void 0&&(o={},n.set(s,o)),o}function t(s){n.delete(s)}function i(s,o,a){n.get(s)[o]=a}function r(){n=new WeakMap}return{get:e,remove:t,update:i,dispose:r}}function hyt(n,e){return n.groupOrder!==e.groupOrder?n.groupOrder-e.groupOrder:n.renderOrder!==e.renderOrder?n.renderOrder-e.renderOrder:n.material.id!==e.material.id?n.material.id-e.material.id:n.z!==e.z?n.z-e.z:n.id-e.id}function BC(n,e){return n.groupOrder!==e.groupOrder?n.groupOrder-e.groupOrder:n.renderOrder!==e.renderOrder?n.renderOrder-e.renderOrder:n.z!==e.z?e.z-n.z:n.id-e.id}function GC(){const n=[];let e=0;const t=[],i=[],r=[];function s(){e=0,t.length=0,i.length=0,r.length=0}function o(u,_,f,E,b,g){let h=n[e];return h===void 0?(h={id:u.id,object:u,geometry:_,material:f,groupOrder:E,renderOrder:u.renderOrder,z:b,group:g},n[e]=h):(h.id=u.id,h.object=u,h.geometry=_,h.material=f,h.groupOrder=E,h.renderOrder=u.renderOrder,h.z=b,h.group=g),e++,h}function a(u,_,f,E,b,g){const h=o(u,_,f,E,b,g);f.transmission>0?i.push(h):f.transparent===!0?r.push(h):t.push(h)}function l(u,_,f,E,b,g){const h=o(u,_,f,E,b,g);f.transmission>0?i.unshift(h):f.transparent===!0?r.unshift(h):t.unshift(h)}function c(u,_){t.length>1&&t.sort(u||hyt),i.length>1&&i.sort(_||BC),r.length>1&&r.sort(_||BC)}function d(){for(let u=e,_=n.length;u<_;u++){const f=n[u];if(f.id===null)break;f.id=null,f.object=null,f.geometry=null,f.material=null,f.group=null}}return{opaque:t,transmissive:i,transparent:r,init:s,push:a,unshift:l,finish:d,sort:c}}function myt(){let n=new WeakMap;function e(i,r){const s=n.get(i);let o;return s===void 0?(o=new GC,n.set(i,[o])):r>=s.length?(o=new GC,s.push(o)):o=s[r],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function gyt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new ue,color:new at};break;case"SpotLight":t={position:new ue,direction:new ue,color:new at,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new ue,color:new at,distance:0,decay:0};break;case"HemisphereLight":t={direction:new ue,skyColor:new at,groundColor:new at};break;case"RectAreaLight":t={color:new at,position:new ue,halfWidth:new ue,halfHeight:new ue};break}return n[e.id]=t,t}}}function Eyt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt};break;case"SpotLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt};break;case"PointLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new vt,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let byt=0;function Syt(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function yyt(n,e){const t=new gyt,i=Eyt(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let d=0;d<9;d++)r.probe.push(new ue);const s=new ue,o=new gt,a=new gt;function l(d,u){let _=0,f=0,E=0;for(let k=0;k<9;k++)r.probe[k].set(0,0,0);let b=0,g=0,h=0,m=0,S=0,v=0,T=0,C=0,N=0,x=0,y=0;d.sort(Syt);const R=u===!0?Math.PI:1;for(let k=0,W=d.length;k<W;k++){const M=d[k],H=M.color,z=M.intensity,I=M.distance,Y=M.shadow&&M.shadow.map?M.shadow.map.texture:null;if(M.isAmbientLight)_+=H.r*z*R,f+=H.g*z*R,E+=H.b*z*R;else if(M.isLightProbe){for(let K=0;K<9;K++)r.probe[K].addScaledVector(M.sh.coefficients[K],z);y++}else if(M.isDirectionalLight){const K=t.get(M);if(K.color.copy(M.color).multiplyScalar(M.intensity*R),M.castShadow){const q=M.shadow,le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,r.directionalShadow[b]=le,r.directionalShadowMap[b]=Y,r.directionalShadowMatrix[b]=M.shadow.matrix,v++}r.directional[b]=K,b++}else if(M.isSpotLight){const K=t.get(M);K.position.setFromMatrixPosition(M.matrixWorld),K.color.copy(H).multiplyScalar(z*R),K.distance=I,K.coneCos=Math.cos(M.angle),K.penumbraCos=Math.cos(M.angle*(1-M.penumbra)),K.decay=M.decay,r.spot[h]=K;const q=M.shadow;if(M.map&&(r.spotLightMap[N]=M.map,N++,q.updateMatrices(M),M.castShadow&&x++),r.spotLightMatrix[h]=q.matrix,M.castShadow){const le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,r.spotShadow[h]=le,r.spotShadowMap[h]=Y,C++}h++}else if(M.isRectAreaLight){const K=t.get(M);K.color.copy(H).multiplyScalar(z),K.halfWidth.set(M.width*.5,0,0),K.halfHeight.set(0,M.height*.5,0),r.rectArea[m]=K,m++}else if(M.isPointLight){const K=t.get(M);if(K.color.copy(M.color).multiplyScalar(M.intensity*R),K.distance=M.distance,K.decay=M.decay,M.castShadow){const q=M.shadow,le=i.get(M);le.shadowBias=q.bias,le.shadowNormalBias=q.normalBias,le.shadowRadius=q.radius,le.shadowMapSize=q.mapSize,le.shadowCameraNear=q.camera.near,le.shadowCameraFar=q.camera.far,r.pointShadow[g]=le,r.pointShadowMap[g]=Y,r.pointShadowMatrix[g]=M.shadow.matrix,T++}r.point[g]=K,g++}else if(M.isHemisphereLight){const K=t.get(M);K.skyColor.copy(M.color).multiplyScalar(z*R),K.groundColor.copy(M.groundColor).multiplyScalar(z*R),r.hemi[S]=K,S++}}m>0&&(e.isWebGL2||n.has("OES_texture_float_linear")===!0?(r.rectAreaLTC1=Ge.LTC_FLOAT_1,r.rectAreaLTC2=Ge.LTC_FLOAT_2):n.has("OES_texture_half_float_linear")===!0?(r.rectAreaLTC1=Ge.LTC_HALF_1,r.rectAreaLTC2=Ge.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=_,r.ambient[1]=f,r.ambient[2]=E;const P=r.hash;(P.directionalLength!==b||P.pointLength!==g||P.spotLength!==h||P.rectAreaLength!==m||P.hemiLength!==S||P.numDirectionalShadows!==v||P.numPointShadows!==T||P.numSpotShadows!==C||P.numSpotMaps!==N||P.numLightProbes!==y)&&(r.directional.length=b,r.spot.length=h,r.rectArea.length=m,r.point.length=g,r.hemi.length=S,r.directionalShadow.length=v,r.directionalShadowMap.length=v,r.pointShadow.length=T,r.pointShadowMap.length=T,r.spotShadow.length=C,r.spotShadowMap.length=C,r.directionalShadowMatrix.length=v,r.pointShadowMatrix.length=T,r.spotLightMatrix.length=C+N-x,r.spotLightMap.length=N,r.numSpotLightShadowsWithMaps=x,r.numLightProbes=y,P.directionalLength=b,P.pointLength=g,P.spotLength=h,P.rectAreaLength=m,P.hemiLength=S,P.numDirectionalShadows=v,P.numPointShadows=T,P.numSpotShadows=C,P.numSpotMaps=N,P.numLightProbes=y,r.version=byt++)}function c(d,u){let _=0,f=0,E=0,b=0,g=0;const h=u.matrixWorldInverse;for(let m=0,S=d.length;m<S;m++){const v=d[m];if(v.isDirectionalLight){const T=r.directional[_];T.direction.setFromMatrixPosition(v.matrixWorld),s.setFromMatrixPosition(v.target.matrixWorld),T.direction.sub(s),T.direction.transformDirection(h),_++}else if(v.isSpotLight){const T=r.spot[E];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),T.direction.setFromMatrixPosition(v.matrixWorld),s.setFromMatrixPosition(v.target.matrixWorld),T.direction.sub(s),T.direction.transformDirection(h),E++}else if(v.isRectAreaLight){const T=r.rectArea[b];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),a.identity(),o.copy(v.matrixWorld),o.premultiply(h),a.extractRotation(o),T.halfWidth.set(v.width*.5,0,0),T.halfHeight.set(0,v.height*.5,0),T.halfWidth.applyMatrix4(a),T.halfHeight.applyMatrix4(a),b++}else if(v.isPointLight){const T=r.point[f];T.position.setFromMatrixPosition(v.matrixWorld),T.position.applyMatrix4(h),f++}else if(v.isHemisphereLight){const T=r.hemi[g];T.direction.setFromMatrixPosition(v.matrixWorld),T.direction.transformDirection(h),g++}}}return{setup:l,setupView:c,state:r}}function zC(n,e){const t=new yyt(n,e),i=[],r=[];function s(){i.length=0,r.length=0}function o(u){i.push(u)}function a(u){r.push(u)}function l(u){t.setup(i,u)}function c(u){t.setupView(i,u)}return{init:s,state:{lightsArray:i,shadowsArray:r,lights:t},setupLights:l,setupLightsView:c,pushLight:o,pushShadow:a}}function vyt(n,e){let t=new WeakMap;function i(s,o=0){const a=t.get(s);let l;return a===void 0?(l=new zC(n,e),t.set(s,[l])):o>=a.length?(l=new zC(n,e),a.push(l)):l=a[o],l}function r(){t=new WeakMap}return{get:i,dispose:r}}class Tyt extends fi{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=amt,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class xyt extends fi{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const Cyt=`void main() {
 	gl_Position = vec4( position, 1.0 );
 }`,Ryt=`uniform sampler2D shadow_pass;
 uniform vec2 resolution;
@@ -3833,4 +3833,4 @@ void main() {
 	squared_mean = squared_mean / samples;
 	float std_dev = sqrt( squared_mean - mean * mean );
 	gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );
-}`;function Ayt(n,e,t){let i=new zE;const r=new vt,s=new vt,o=new kt,a=new Tyt({depthPacking:lmt}),l=new xyt,c={},d=t.maxTextureSize,u={[dr]:Ln,[Ln]:dr,[Ti]:Ti},_=new Us({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new vt},radius:{value:4}},vertexShader:Cyt,fragmentShader:Ryt}),f=_.clone();f.defines.HORIZONTAL_PASS=1;const E=new Fi;E.setAttribute("position",new wn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const b=new An(E,_),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=Gw;let h=this.type;this.render=function(T,C,N){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||T.length===0)return;const x=n.getRenderTarget(),y=n.getActiveCubeFace(),R=n.getActiveMipmapLevel(),P=n.state;P.setBlending(Vr),P.buffers.color.setClear(1,1,1,1),P.buffers.depth.setTest(!0),P.setScissorTest(!1);const k=h!==Zi&&this.type===Zi,W=h===Zi&&this.type!==Zi;for(let M=0,H=T.length;M<H;M++){const z=T[M],I=z.shadow;if(I===void 0){console.warn("THREE.WebGLShadowMap:",z,"has no shadow.");continue}if(I.autoUpdate===!1&&I.needsUpdate===!1)continue;r.copy(I.mapSize);const Y=I.getFrameExtents();if(r.multiply(Y),s.copy(I.mapSize),(r.x>d||r.y>d)&&(r.x>d&&(s.x=Math.floor(d/Y.x),r.x=s.x*Y.x,I.mapSize.x=s.x),r.y>d&&(s.y=Math.floor(d/Y.y),r.y=s.y*Y.y,I.mapSize.y=s.y)),I.map===null||k===!0||W===!0){const q=this.type!==Zi?{minFilter:ln,magFilter:ln}:{};I.map!==null&&I.map.dispose(),I.map=new Ps(r.x,r.y,q),I.map.texture.name=z.name+".shadowMap",I.camera.updateProjectionMatrix()}n.setRenderTarget(I.map),n.clear();const K=I.getViewportCount();for(let q=0;q<K;q++){const le=I.getViewport(q);o.set(s.x*le.x,s.y*le.y,s.x*le.z,s.y*le.w),P.viewport(o),I.updateMatrices(z,q),i=I.getFrustum(),v(C,N,I.camera,z,this.type)}I.isPointLightShadow!==!0&&this.type===Zi&&m(I,N),I.needsUpdate=!1}h=this.type,g.needsUpdate=!1,n.setRenderTarget(x,y,R)};function m(T,C){const N=e.update(b);_.defines.VSM_SAMPLES!==T.blurSamples&&(_.defines.VSM_SAMPLES=T.blurSamples,f.defines.VSM_SAMPLES=T.blurSamples,_.needsUpdate=!0,f.needsUpdate=!0),T.mapPass===null&&(T.mapPass=new Ps(r.x,r.y)),_.uniforms.shadow_pass.value=T.map.texture,_.uniforms.resolution.value=T.mapSize,_.uniforms.radius.value=T.radius,n.setRenderTarget(T.mapPass),n.clear(),n.renderBufferDirect(C,null,N,_,b,null),f.uniforms.shadow_pass.value=T.mapPass.texture,f.uniforms.resolution.value=T.mapSize,f.uniforms.radius.value=T.radius,n.setRenderTarget(T.map),n.clear(),n.renderBufferDirect(C,null,N,f,b,null)}function S(T,C,N,x){let y=null;const R=N.isPointLight===!0?T.customDistanceMaterial:T.customDepthMaterial;if(R!==void 0)y=R;else if(y=N.isPointLight===!0?l:a,n.localClippingEnabled&&C.clipShadows===!0&&Array.isArray(C.clippingPlanes)&&C.clippingPlanes.length!==0||C.displacementMap&&C.displacementScale!==0||C.alphaMap&&C.alphaTest>0||C.map&&C.alphaTest>0){const P=y.uuid,k=C.uuid;let W=c[P];W===void 0&&(W={},c[P]=W);let M=W[k];M===void 0&&(M=y.clone(),W[k]=M),y=M}if(y.visible=C.visible,y.wireframe=C.wireframe,x===Zi?y.side=C.shadowSide!==null?C.shadowSide:C.side:y.side=C.shadowSide!==null?C.shadowSide:u[C.side],y.alphaMap=C.alphaMap,y.alphaTest=C.alphaTest,y.map=C.map,y.clipShadows=C.clipShadows,y.clippingPlanes=C.clippingPlanes,y.clipIntersection=C.clipIntersection,y.displacementMap=C.displacementMap,y.displacementScale=C.displacementScale,y.displacementBias=C.displacementBias,y.wireframeLinewidth=C.wireframeLinewidth,y.linewidth=C.linewidth,N.isPointLight===!0&&y.isMeshDistanceMaterial===!0){const P=n.properties.get(y);P.light=N}return y}function v(T,C,N,x,y){if(T.visible===!1)return;if(T.layers.test(C.layers)&&(T.isMesh||T.isLine||T.isPoints)&&(T.castShadow||T.receiveShadow&&y===Zi)&&(!T.frustumCulled||i.intersectsObject(T))){T.modelViewMatrix.multiplyMatrices(N.matrixWorldInverse,T.matrixWorld);const k=e.update(T),W=T.material;if(Array.isArray(W)){const M=k.groups;for(let H=0,z=M.length;H<z;H++){const I=M[H],Y=W[I.materialIndex];if(Y&&Y.visible){const K=S(T,Y,x,y);T.onBeforeShadow(n,T,C,N,k,K,I),n.renderBufferDirect(N,null,k,K,T,I),T.onAfterShadow(n,T,C,N,k,K,I)}}}else if(W.visible){const M=S(T,W,x,y);T.onBeforeShadow(n,T,C,N,k,M,null),n.renderBufferDirect(N,null,k,M,T,null),T.onAfterShadow(n,T,C,N,k,M,null)}}const P=T.children;for(let k=0,W=P.length;k<W;k++)v(P[k],C,N,x,y)}}function wyt(n,e,t){const i=t.isWebGL2;function r(){let oe=!1;const He=new kt;let Le=null;const Ce=new kt(0,0,0,0);return{setMask:function(ke){Le!==ke&&!oe&&(n.colorMask(ke,ke,ke,ke),Le=ke)},setLocked:function(ke){oe=ke},setClear:function(ke,it,_t,$t,tn){tn===!0&&(ke*=$t,it*=$t,_t*=$t),He.set(ke,it,_t,$t),Ce.equals(He)===!1&&(n.clearColor(ke,it,_t,$t),Ce.copy(He))},reset:function(){oe=!1,Le=null,Ce.set(-1,0,0,0)}}}function s(){let oe=!1,He=null,Le=null,Ce=null;return{setTest:function(ke){ke?Q(n.DEPTH_TEST):he(n.DEPTH_TEST)},setMask:function(ke){He!==ke&&!oe&&(n.depthMask(ke),He=ke)},setFunc:function(ke){if(Le!==ke){switch(ke){case Pht:n.depthFunc(n.NEVER);break;case Uht:n.depthFunc(n.ALWAYS);break;case Fht:n.depthFunc(n.LESS);break;case bd:n.depthFunc(n.LEQUAL);break;case Bht:n.depthFunc(n.EQUAL);break;case Ght:n.depthFunc(n.GEQUAL);break;case zht:n.depthFunc(n.GREATER);break;case Hht:n.depthFunc(n.NOTEQUAL);break;default:n.depthFunc(n.LEQUAL)}Le=ke}},setLocked:function(ke){oe=ke},setClear:function(ke){Ce!==ke&&(n.clearDepth(ke),Ce=ke)},reset:function(){oe=!1,He=null,Le=null,Ce=null}}}function o(){let oe=!1,He=null,Le=null,Ce=null,ke=null,it=null,_t=null,$t=null,tn=null;return{setTest:function(wt){oe||(wt?Q(n.STENCIL_TEST):he(n.STENCIL_TEST))},setMask:function(wt){He!==wt&&!oe&&(n.stencilMask(wt),He=wt)},setFunc:function(wt,Vt,On){(Le!==wt||Ce!==Vt||ke!==On)&&(n.stencilFunc(wt,Vt,On),Le=wt,Ce=Vt,ke=On)},setOp:function(wt,Vt,On){(it!==wt||_t!==Vt||$t!==On)&&(n.stencilOp(wt,Vt,On),it=wt,_t=Vt,$t=On)},setLocked:function(wt){oe=wt},setClear:function(wt){tn!==wt&&(n.clearStencil(wt),tn=wt)},reset:function(){oe=!1,He=null,Le=null,Ce=null,ke=null,it=null,_t=null,$t=null,tn=null}}}const a=new r,l=new s,c=new o,d=new WeakMap,u=new WeakMap;let _={},f={},E=new WeakMap,b=[],g=null,h=!1,m=null,S=null,v=null,T=null,C=null,N=null,x=null,y=new at(0,0,0),R=0,P=!1,k=null,W=null,M=null,H=null,z=null;const I=n.getParameter(n.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let Y=!1,K=0;const q=n.getParameter(n.VERSION);q.indexOf("WebGL")!==-1?(K=parseFloat(/^WebGL (\d)/.exec(q)[1]),Y=K>=1):q.indexOf("OpenGL ES")!==-1&&(K=parseFloat(/^OpenGL ES (\d)/.exec(q)[1]),Y=K>=2);let le=null,X={};const Z=n.getParameter(n.SCISSOR_BOX),_e=n.getParameter(n.VIEWPORT),fe=new kt().fromArray(Z),ye=new kt().fromArray(_e);function j(oe,He,Le,Ce){const ke=new Uint8Array(4),it=n.createTexture();n.bindTexture(oe,it),n.texParameteri(oe,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(oe,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let _t=0;_t<Le;_t++)i&&(oe===n.TEXTURE_3D||oe===n.TEXTURE_2D_ARRAY)?n.texImage3D(He,0,n.RGBA,1,1,Ce,0,n.RGBA,n.UNSIGNED_BYTE,ke):n.texImage2D(He+_t,0,n.RGBA,1,1,0,n.RGBA,n.UNSIGNED_BYTE,ke);return it}const de={};de[n.TEXTURE_2D]=j(n.TEXTURE_2D,n.TEXTURE_2D,1),de[n.TEXTURE_CUBE_MAP]=j(n.TEXTURE_CUBE_MAP,n.TEXTURE_CUBE_MAP_POSITIVE_X,6),i&&(de[n.TEXTURE_2D_ARRAY]=j(n.TEXTURE_2D_ARRAY,n.TEXTURE_2D_ARRAY,1,1),de[n.TEXTURE_3D]=j(n.TEXTURE_3D,n.TEXTURE_3D,1,1)),a.setClear(0,0,0,1),l.setClear(1),c.setClear(0),Q(n.DEPTH_TEST),l.setFunc(bd),xe(!1),B(Sx),Q(n.CULL_FACE),ee(Vr);function Q(oe){_[oe]!==!0&&(n.enable(oe),_[oe]=!0)}function he(oe){_[oe]!==!1&&(n.disable(oe),_[oe]=!1)}function Ae(oe,He){return f[oe]!==He?(n.bindFramebuffer(oe,He),f[oe]=He,i&&(oe===n.DRAW_FRAMEBUFFER&&(f[n.FRAMEBUFFER]=He),oe===n.FRAMEBUFFER&&(f[n.DRAW_FRAMEBUFFER]=He)),!0):!1}function O(oe,He){let Le=b,Ce=!1;if(oe)if(Le=E.get(He),Le===void 0&&(Le=[],E.set(He,Le)),oe.isWebGLMultipleRenderTargets){const ke=oe.texture;if(Le.length!==ke.length||Le[0]!==n.COLOR_ATTACHMENT0){for(let it=0,_t=ke.length;it<_t;it++)Le[it]=n.COLOR_ATTACHMENT0+it;Le.length=ke.length,Ce=!0}}else Le[0]!==n.COLOR_ATTACHMENT0&&(Le[0]=n.COLOR_ATTACHMENT0,Ce=!0);else Le[0]!==n.BACK&&(Le[0]=n.BACK,Ce=!0);Ce&&(t.isWebGL2?n.drawBuffers(Le):e.get("WEBGL_draw_buffers").drawBuffersWEBGL(Le))}function F(oe){return g!==oe?(n.useProgram(oe),g=oe,!0):!1}const V={[bs]:n.FUNC_ADD,[yht]:n.FUNC_SUBTRACT,[vht]:n.FUNC_REVERSE_SUBTRACT};if(i)V[xx]=n.MIN,V[Cx]=n.MAX;else{const oe=e.get("EXT_blend_minmax");oe!==null&&(V[xx]=oe.MIN_EXT,V[Cx]=oe.MAX_EXT)}const re={[Tht]:n.ZERO,[xht]:n.ONE,[Cht]:n.SRC_COLOR,[Qm]:n.SRC_ALPHA,[Mht]:n.SRC_ALPHA_SATURATE,[Oht]:n.DST_COLOR,[Aht]:n.DST_ALPHA,[Rht]:n.ONE_MINUS_SRC_COLOR,[Xm]:n.ONE_MINUS_SRC_ALPHA,[Nht]:n.ONE_MINUS_DST_COLOR,[wht]:n.ONE_MINUS_DST_ALPHA,[Iht]:n.CONSTANT_COLOR,[Dht]:n.ONE_MINUS_CONSTANT_COLOR,[Lht]:n.CONSTANT_ALPHA,[kht]:n.ONE_MINUS_CONSTANT_ALPHA};function ee(oe,He,Le,Ce,ke,it,_t,$t,tn,wt){if(oe===Vr){h===!0&&(he(n.BLEND),h=!1);return}if(h===!1&&(Q(n.BLEND),h=!0),oe!==Sht){if(oe!==m||wt!==P){if((S!==bs||C!==bs)&&(n.blendEquation(n.FUNC_ADD),S=bs,C=bs),wt)switch(oe){case Mo:n.blendFuncSeparate(n.ONE,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case yx:n.blendFunc(n.ONE,n.ONE);break;case vx:n.blendFuncSeparate(n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case Tx:n.blendFuncSeparate(n.ZERO,n.SRC_COLOR,n.ZERO,n.SRC_ALPHA);break;default:console.error("THREE.WebGLState: Invalid blending: ",oe);break}else switch(oe){case Mo:n.blendFuncSeparate(n.SRC_ALPHA,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case yx:n.blendFunc(n.SRC_ALPHA,n.ONE);break;case vx:n.blendFuncSeparate(n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case Tx:n.blendFunc(n.ZERO,n.SRC_COLOR);break;default:console.error("THREE.WebGLState: Invalid blending: ",oe);break}v=null,T=null,N=null,x=null,y.set(0,0,0),R=0,m=oe,P=wt}return}ke=ke||He,it=it||Le,_t=_t||Ce,(He!==S||ke!==C)&&(n.blendEquationSeparate(V[He],V[ke]),S=He,C=ke),(Le!==v||Ce!==T||it!==N||_t!==x)&&(n.blendFuncSeparate(re[Le],re[Ce],re[it],re[_t]),v=Le,T=Ce,N=it,x=_t),($t.equals(y)===!1||tn!==R)&&(n.blendColor($t.r,$t.g,$t.b,tn),y.copy($t),R=tn),m=oe,P=!1}function be(oe,He){oe.side===Ti?he(n.CULL_FACE):Q(n.CULL_FACE);let Le=oe.side===Ln;He&&(Le=!Le),xe(Le),oe.blending===Mo&&oe.transparent===!1?ee(Vr):ee(oe.blending,oe.blendEquation,oe.blendSrc,oe.blendDst,oe.blendEquationAlpha,oe.blendSrcAlpha,oe.blendDstAlpha,oe.blendColor,oe.blendAlpha,oe.premultipliedAlpha),l.setFunc(oe.depthFunc),l.setTest(oe.depthTest),l.setMask(oe.depthWrite),a.setMask(oe.colorWrite);const Ce=oe.stencilWrite;c.setTest(Ce),Ce&&(c.setMask(oe.stencilWriteMask),c.setFunc(oe.stencilFunc,oe.stencilRef,oe.stencilFuncMask),c.setOp(oe.stencilFail,oe.stencilZFail,oe.stencilZPass)),te(oe.polygonOffset,oe.polygonOffsetFactor,oe.polygonOffsetUnits),oe.alphaToCoverage===!0?Q(n.SAMPLE_ALPHA_TO_COVERAGE):he(n.SAMPLE_ALPHA_TO_COVERAGE)}function xe(oe){k!==oe&&(oe?n.frontFace(n.CW):n.frontFace(n.CCW),k=oe)}function B(oe){oe!==ght?(Q(n.CULL_FACE),oe!==W&&(oe===Sx?n.cullFace(n.BACK):oe===Eht?n.cullFace(n.FRONT):n.cullFace(n.FRONT_AND_BACK))):he(n.CULL_FACE),W=oe}function ae(oe){oe!==M&&(Y&&n.lineWidth(oe),M=oe)}function te(oe,He,Le){oe?(Q(n.POLYGON_OFFSET_FILL),(H!==He||z!==Le)&&(n.polygonOffset(He,Le),H=He,z=Le)):he(n.POLYGON_OFFSET_FILL)}function ie(oe){oe?Q(n.SCISSOR_TEST):he(n.SCISSOR_TEST)}function w(oe){oe===void 0&&(oe=n.TEXTURE0+I-1),le!==oe&&(n.activeTexture(oe),le=oe)}function A(oe,He,Le){Le===void 0&&(le===null?Le=n.TEXTURE0+I-1:Le=le);let Ce=X[Le];Ce===void 0&&(Ce={type:void 0,texture:void 0},X[Le]=Ce),(Ce.type!==oe||Ce.texture!==He)&&(le!==Le&&(n.activeTexture(Le),le=Le),n.bindTexture(oe,He||de[oe]),Ce.type=oe,Ce.texture=He)}function G(){const oe=X[le];oe!==void 0&&oe.type!==void 0&&(n.bindTexture(oe.type,null),oe.type=void 0,oe.texture=void 0)}function ce(){try{n.compressedTexImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function $(){try{n.compressedTexImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function J(){try{n.texSubImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function ve(){try{n.texSubImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ee(){try{n.compressedTexSubImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Me(){try{n.compressedTexSubImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ue(){try{n.texStorage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Je(){try{n.texStorage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ne(){try{n.texImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function tt(){try{n.texImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function $e(oe){fe.equals(oe)===!1&&(n.scissor(oe.x,oe.y,oe.z,oe.w),fe.copy(oe))}function Pe(oe){ye.equals(oe)===!1&&(n.viewport(oe.x,oe.y,oe.z,oe.w),ye.copy(oe))}function je(oe,He){let Le=u.get(He);Le===void 0&&(Le=new WeakMap,u.set(He,Le));let Ce=Le.get(oe);Ce===void 0&&(Ce=n.getUniformBlockIndex(He,oe.name),Le.set(oe,Ce))}function Ve(oe,He){const Ce=u.get(He).get(oe);d.get(He)!==Ce&&(n.uniformBlockBinding(He,Ce,oe.__bindingPointIndex),d.set(He,Ce))}function ct(){n.disable(n.BLEND),n.disable(n.CULL_FACE),n.disable(n.DEPTH_TEST),n.disable(n.POLYGON_OFFSET_FILL),n.disable(n.SCISSOR_TEST),n.disable(n.STENCIL_TEST),n.disable(n.SAMPLE_ALPHA_TO_COVERAGE),n.blendEquation(n.FUNC_ADD),n.blendFunc(n.ONE,n.ZERO),n.blendFuncSeparate(n.ONE,n.ZERO,n.ONE,n.ZERO),n.blendColor(0,0,0,0),n.colorMask(!0,!0,!0,!0),n.clearColor(0,0,0,0),n.depthMask(!0),n.depthFunc(n.LESS),n.clearDepth(1),n.stencilMask(4294967295),n.stencilFunc(n.ALWAYS,0,4294967295),n.stencilOp(n.KEEP,n.KEEP,n.KEEP),n.clearStencil(0),n.cullFace(n.BACK),n.frontFace(n.CCW),n.polygonOffset(0,0),n.activeTexture(n.TEXTURE0),n.bindFramebuffer(n.FRAMEBUFFER,null),i===!0&&(n.bindFramebuffer(n.DRAW_FRAMEBUFFER,null),n.bindFramebuffer(n.READ_FRAMEBUFFER,null)),n.useProgram(null),n.lineWidth(1),n.scissor(0,0,n.canvas.width,n.canvas.height),n.viewport(0,0,n.canvas.width,n.canvas.height),_={},le=null,X={},f={},E=new WeakMap,b=[],g=null,h=!1,m=null,S=null,v=null,T=null,C=null,N=null,x=null,y=new at(0,0,0),R=0,P=!1,k=null,W=null,M=null,H=null,z=null,fe.set(0,0,n.canvas.width,n.canvas.height),ye.set(0,0,n.canvas.width,n.canvas.height),a.reset(),l.reset(),c.reset()}return{buffers:{color:a,depth:l,stencil:c},enable:Q,disable:he,bindFramebuffer:Ae,drawBuffers:O,useProgram:F,setBlending:ee,setMaterial:be,setFlipSided:xe,setCullFace:B,setLineWidth:ae,setPolygonOffset:te,setScissorTest:ie,activeTexture:w,bindTexture:A,unbindTexture:G,compressedTexImage2D:ce,compressedTexImage3D:$,texImage2D:Ne,texImage3D:tt,updateUBOMapping:je,uniformBlockBinding:Ve,texStorage2D:Ue,texStorage3D:Je,texSubImage2D:J,texSubImage3D:ve,compressedTexSubImage2D:Ee,compressedTexSubImage3D:Me,scissor:$e,viewport:Pe,reset:ct}}function Oyt(n,e,t,i,r,s,o){const a=r.isWebGL2,l=r.maxTextures,c=r.maxCubemapSize,d=r.maxTextureSize,u=r.maxSamples,_=e.has("WEBGL_multisampled_render_to_texture")?e.get("WEBGL_multisampled_render_to_texture"):null,f=typeof navigator>"u"?!1:/OculusBrowser/g.test(navigator.userAgent),E=new WeakMap;let b;const g=new WeakMap;let h=!1;try{h=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function m(w,A){return h?new OffscreenCanvas(w,A):Cl("canvas")}function S(w,A,G,ce){let $=1;if((w.width>ce||w.height>ce)&&($=ce/Math.max(w.width,w.height)),$<1||A===!0)if(typeof HTMLImageElement<"u"&&w instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&w instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&w instanceof ImageBitmap){const J=A?Cd:Math.floor,ve=J($*w.width),Ee=J($*w.height);b===void 0&&(b=m(ve,Ee));const Me=G?m(ve,Ee):b;return Me.width=ve,Me.height=Ee,Me.getContext("2d").drawImage(w,0,0,ve,Ee),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+w.width+"x"+w.height+") to ("+ve+"x"+Ee+")."),Me}else return"data"in w&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+w.width+"x"+w.height+")."),w;return w}function v(w){return rg(w.width)&&rg(w.height)}function T(w){return a?!1:w.wrapS!==Wn||w.wrapT!==Wn||w.minFilter!==ln&&w.minFilter!==Mn}function C(w,A){return w.generateMipmaps&&A&&w.minFilter!==ln&&w.minFilter!==Mn}function N(w){n.generateMipmap(w)}function x(w,A,G,ce,$=!1){if(a===!1)return A;if(w!==null){if(n[w]!==void 0)return n[w];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+w+"'")}let J=A;if(A===n.RED&&(G===n.FLOAT&&(J=n.R32F),G===n.HALF_FLOAT&&(J=n.R16F),G===n.UNSIGNED_BYTE&&(J=n.R8)),A===n.RED_INTEGER&&(G===n.UNSIGNED_BYTE&&(J=n.R8UI),G===n.UNSIGNED_SHORT&&(J=n.R16UI),G===n.UNSIGNED_INT&&(J=n.R32UI),G===n.BYTE&&(J=n.R8I),G===n.SHORT&&(J=n.R16I),G===n.INT&&(J=n.R32I)),A===n.RG&&(G===n.FLOAT&&(J=n.RG32F),G===n.HALF_FLOAT&&(J=n.RG16F),G===n.UNSIGNED_BYTE&&(J=n.RG8)),A===n.RGBA){const ve=$?yd:Nt.getTransfer(ce);G===n.FLOAT&&(J=n.RGBA32F),G===n.HALF_FLOAT&&(J=n.RGBA16F),G===n.UNSIGNED_BYTE&&(J=ve===Gt?n.SRGB8_ALPHA8:n.RGBA8),G===n.UNSIGNED_SHORT_4_4_4_4&&(J=n.RGBA4),G===n.UNSIGNED_SHORT_5_5_5_1&&(J=n.RGB5_A1)}return(J===n.R16F||J===n.R32F||J===n.RG16F||J===n.RG32F||J===n.RGBA16F||J===n.RGBA32F)&&e.get("EXT_color_buffer_float"),J}function y(w,A,G){return C(w,G)===!0||w.isFramebufferTexture&&w.minFilter!==ln&&w.minFilter!==Mn?Math.log2(Math.max(A.width,A.height))+1:w.mipmaps!==void 0&&w.mipmaps.length>0?w.mipmaps.length:w.isCompressedTexture&&Array.isArray(w.image)?A.mipmaps.length:1}function R(w){return w===ln||w===eg||w===Kc?n.NEAREST:n.LINEAR}function P(w){const A=w.target;A.removeEventListener("dispose",P),W(A),A.isVideoTexture&&E.delete(A)}function k(w){const A=w.target;A.removeEventListener("dispose",k),H(A)}function W(w){const A=i.get(w);if(A.__webglInit===void 0)return;const G=w.source,ce=g.get(G);if(ce){const $=ce[A.__cacheKey];$.usedTimes--,$.usedTimes===0&&M(w),Object.keys(ce).length===0&&g.delete(G)}i.remove(w)}function M(w){const A=i.get(w);n.deleteTexture(A.__webglTexture);const G=w.source,ce=g.get(G);delete ce[A.__cacheKey],o.memory.textures--}function H(w){const A=w.texture,G=i.get(w),ce=i.get(A);if(ce.__webglTexture!==void 0&&(n.deleteTexture(ce.__webglTexture),o.memory.textures--),w.depthTexture&&w.depthTexture.dispose(),w.isWebGLCubeRenderTarget)for(let $=0;$<6;$++){if(Array.isArray(G.__webglFramebuffer[$]))for(let J=0;J<G.__webglFramebuffer[$].length;J++)n.deleteFramebuffer(G.__webglFramebuffer[$][J]);else n.deleteFramebuffer(G.__webglFramebuffer[$]);G.__webglDepthbuffer&&n.deleteRenderbuffer(G.__webglDepthbuffer[$])}else{if(Array.isArray(G.__webglFramebuffer))for(let $=0;$<G.__webglFramebuffer.length;$++)n.deleteFramebuffer(G.__webglFramebuffer[$]);else n.deleteFramebuffer(G.__webglFramebuffer);if(G.__webglDepthbuffer&&n.deleteRenderbuffer(G.__webglDepthbuffer),G.__webglMultisampledFramebuffer&&n.deleteFramebuffer(G.__webglMultisampledFramebuffer),G.__webglColorRenderbuffer)for(let $=0;$<G.__webglColorRenderbuffer.length;$++)G.__webglColorRenderbuffer[$]&&n.deleteRenderbuffer(G.__webglColorRenderbuffer[$]);G.__webglDepthRenderbuffer&&n.deleteRenderbuffer(G.__webglDepthRenderbuffer)}if(w.isWebGLMultipleRenderTargets)for(let $=0,J=A.length;$<J;$++){const ve=i.get(A[$]);ve.__webglTexture&&(n.deleteTexture(ve.__webglTexture),o.memory.textures--),i.remove(A[$])}i.remove(A),i.remove(w)}let z=0;function I(){z=0}function Y(){const w=z;return w>=l&&console.warn("THREE.WebGLTextures: Trying to use "+w+" texture units while this GPU supports only "+l),z+=1,w}function K(w){const A=[];return A.push(w.wrapS),A.push(w.wrapT),A.push(w.wrapR||0),A.push(w.magFilter),A.push(w.minFilter),A.push(w.anisotropy),A.push(w.internalFormat),A.push(w.format),A.push(w.type),A.push(w.generateMipmaps),A.push(w.premultiplyAlpha),A.push(w.flipY),A.push(w.unpackAlignment),A.push(w.colorSpace),A.join()}function q(w,A){const G=i.get(w);if(w.isVideoTexture&&te(w),w.isRenderTargetTexture===!1&&w.version>0&&G.__version!==w.version){const ce=w.image;if(ce===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(ce.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{Q(G,w,A);return}}t.bindTexture(n.TEXTURE_2D,G.__webglTexture,n.TEXTURE0+A)}function le(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){Q(G,w,A);return}t.bindTexture(n.TEXTURE_2D_ARRAY,G.__webglTexture,n.TEXTURE0+A)}function X(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){Q(G,w,A);return}t.bindTexture(n.TEXTURE_3D,G.__webglTexture,n.TEXTURE0+A)}function Z(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){he(G,w,A);return}t.bindTexture(n.TEXTURE_CUBE_MAP,G.__webglTexture,n.TEXTURE0+A)}const _e={[Xo]:n.REPEAT,[Wn]:n.CLAMP_TO_EDGE,[Sd]:n.MIRRORED_REPEAT},fe={[ln]:n.NEAREST,[eg]:n.NEAREST_MIPMAP_NEAREST,[Kc]:n.NEAREST_MIPMAP_LINEAR,[Mn]:n.LINEAR,[Hw]:n.LINEAR_MIPMAP_NEAREST,[ks]:n.LINEAR_MIPMAP_LINEAR},ye={[dmt]:n.NEVER,[mmt]:n.ALWAYS,[umt]:n.LESS,[Zw]:n.LEQUAL,[_mt]:n.EQUAL,[hmt]:n.GEQUAL,[pmt]:n.GREATER,[fmt]:n.NOTEQUAL};function j(w,A,G){if(G?(n.texParameteri(w,n.TEXTURE_WRAP_S,_e[A.wrapS]),n.texParameteri(w,n.TEXTURE_WRAP_T,_e[A.wrapT]),(w===n.TEXTURE_3D||w===n.TEXTURE_2D_ARRAY)&&n.texParameteri(w,n.TEXTURE_WRAP_R,_e[A.wrapR]),n.texParameteri(w,n.TEXTURE_MAG_FILTER,fe[A.magFilter]),n.texParameteri(w,n.TEXTURE_MIN_FILTER,fe[A.minFilter])):(n.texParameteri(w,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(w,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(w===n.TEXTURE_3D||w===n.TEXTURE_2D_ARRAY)&&n.texParameteri(w,n.TEXTURE_WRAP_R,n.CLAMP_TO_EDGE),(A.wrapS!==Wn||A.wrapT!==Wn)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),n.texParameteri(w,n.TEXTURE_MAG_FILTER,R(A.magFilter)),n.texParameteri(w,n.TEXTURE_MIN_FILTER,R(A.minFilter)),A.minFilter!==ln&&A.minFilter!==Mn&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),A.compareFunction&&(n.texParameteri(w,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(w,n.TEXTURE_COMPARE_FUNC,ye[A.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){const ce=e.get("EXT_texture_filter_anisotropic");if(A.magFilter===ln||A.minFilter!==Kc&&A.minFilter!==ks||A.type===nr&&e.has("OES_texture_float_linear")===!1||a===!1&&A.type===Tl&&e.has("OES_texture_half_float_linear")===!1)return;(A.anisotropy>1||i.get(A).__currentAnisotropy)&&(n.texParameterf(w,ce.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(A.anisotropy,r.getMaxAnisotropy())),i.get(A).__currentAnisotropy=A.anisotropy)}}function de(w,A){let G=!1;w.__webglInit===void 0&&(w.__webglInit=!0,A.addEventListener("dispose",P));const ce=A.source;let $=g.get(ce);$===void 0&&($={},g.set(ce,$));const J=K(A);if(J!==w.__cacheKey){$[J]===void 0&&($[J]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,G=!0),$[J].usedTimes++;const ve=$[w.__cacheKey];ve!==void 0&&($[w.__cacheKey].usedTimes--,ve.usedTimes===0&&M(A)),w.__cacheKey=J,w.__webglTexture=$[J].texture}return G}function Q(w,A,G){let ce=n.TEXTURE_2D;(A.isDataArrayTexture||A.isCompressedArrayTexture)&&(ce=n.TEXTURE_2D_ARRAY),A.isData3DTexture&&(ce=n.TEXTURE_3D);const $=de(w,A),J=A.source;t.bindTexture(ce,w.__webglTexture,n.TEXTURE0+G);const ve=i.get(J);if(J.version!==ve.__version||$===!0){t.activeTexture(n.TEXTURE0+G);const Ee=Nt.getPrimaries(Nt.workingColorSpace),Me=A.colorSpace===jn?null:Nt.getPrimaries(A.colorSpace),Ue=A.colorSpace===jn||Ee===Me?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,A.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,A.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,A.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Ue);const Je=T(A)&&v(A.image)===!1;let Ne=S(A.image,Je,!1,d);Ne=ie(A,Ne);const tt=v(Ne)||a,$e=s.convert(A.format,A.colorSpace);let Pe=s.convert(A.type),je=x(A.internalFormat,$e,Pe,A.colorSpace,A.isVideoTexture);j(ce,A,tt);let Ve;const ct=A.mipmaps,oe=a&&A.isVideoTexture!==!0&&je!==jw,He=ve.__version===void 0||$===!0,Le=y(A,Ne,tt);if(A.isDepthTexture)je=n.DEPTH_COMPONENT,a?A.type===nr?je=n.DEPTH_COMPONENT32F:A.type===Fr?je=n.DEPTH_COMPONENT24:A.type===ws?je=n.DEPTH24_STENCIL8:je=n.DEPTH_COMPONENT16:A.type===nr&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),A.format===Os&&je===n.DEPTH_COMPONENT&&A.type!==UE&&A.type!==Fr&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),A.type=Fr,Pe=s.convert(A.type)),A.format===Zo&&je===n.DEPTH_COMPONENT&&(je=n.DEPTH_STENCIL,A.type!==ws&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),A.type=ws,Pe=s.convert(A.type))),He&&(oe?t.texStorage2D(n.TEXTURE_2D,1,je,Ne.width,Ne.height):t.texImage2D(n.TEXTURE_2D,0,je,Ne.width,Ne.height,0,$e,Pe,null));else if(A.isDataTexture)if(ct.length>0&&tt){oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Pe,Ve.data):t.texImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,$e,Pe,Ve.data);A.generateMipmaps=!1}else oe?(He&&t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height),t.texSubImage2D(n.TEXTURE_2D,0,0,0,Ne.width,Ne.height,$e,Pe,Ne.data)):t.texImage2D(n.TEXTURE_2D,0,je,Ne.width,Ne.height,0,$e,Pe,Ne.data);else if(A.isCompressedTexture)if(A.isCompressedArrayTexture){oe&&He&&t.texStorage3D(n.TEXTURE_2D_ARRAY,Le,je,ct[0].width,ct[0].height,Ne.depth);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],A.format!==Kn?$e!==null?oe?t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,Ce,0,0,0,Ve.width,Ve.height,Ne.depth,$e,Ve.data,0,0):t.compressedTexImage3D(n.TEXTURE_2D_ARRAY,Ce,je,Ve.width,Ve.height,Ne.depth,0,Ve.data,0,0):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):oe?t.texSubImage3D(n.TEXTURE_2D_ARRAY,Ce,0,0,0,Ve.width,Ve.height,Ne.depth,$e,Pe,Ve.data):t.texImage3D(n.TEXTURE_2D_ARRAY,Ce,je,Ve.width,Ve.height,Ne.depth,0,$e,Pe,Ve.data)}else{oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],A.format!==Kn?$e!==null?oe?t.compressedTexSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Ve.data):t.compressedTexImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,Ve.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Pe,Ve.data):t.texImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,$e,Pe,Ve.data)}else if(A.isDataArrayTexture)oe?(He&&t.texStorage3D(n.TEXTURE_2D_ARRAY,Le,je,Ne.width,Ne.height,Ne.depth),t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,Ne.width,Ne.height,Ne.depth,$e,Pe,Ne.data)):t.texImage3D(n.TEXTURE_2D_ARRAY,0,je,Ne.width,Ne.height,Ne.depth,0,$e,Pe,Ne.data);else if(A.isData3DTexture)oe?(He&&t.texStorage3D(n.TEXTURE_3D,Le,je,Ne.width,Ne.height,Ne.depth),t.texSubImage3D(n.TEXTURE_3D,0,0,0,0,Ne.width,Ne.height,Ne.depth,$e,Pe,Ne.data)):t.texImage3D(n.TEXTURE_3D,0,je,Ne.width,Ne.height,Ne.depth,0,$e,Pe,Ne.data);else if(A.isFramebufferTexture){if(He)if(oe)t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height);else{let Ce=Ne.width,ke=Ne.height;for(let it=0;it<Le;it++)t.texImage2D(n.TEXTURE_2D,it,je,Ce,ke,0,$e,Pe,null),Ce>>=1,ke>>=1}}else if(ct.length>0&&tt){oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,$e,Pe,Ve):t.texImage2D(n.TEXTURE_2D,Ce,je,$e,Pe,Ve);A.generateMipmaps=!1}else oe?(He&&t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height),t.texSubImage2D(n.TEXTURE_2D,0,0,0,$e,Pe,Ne)):t.texImage2D(n.TEXTURE_2D,0,je,$e,Pe,Ne);C(A,tt)&&N(ce),ve.__version=J.version,A.onUpdate&&A.onUpdate(A)}w.__version=A.version}function he(w,A,G){if(A.image.length!==6)return;const ce=de(w,A),$=A.source;t.bindTexture(n.TEXTURE_CUBE_MAP,w.__webglTexture,n.TEXTURE0+G);const J=i.get($);if($.version!==J.__version||ce===!0){t.activeTexture(n.TEXTURE0+G);const ve=Nt.getPrimaries(Nt.workingColorSpace),Ee=A.colorSpace===jn?null:Nt.getPrimaries(A.colorSpace),Me=A.colorSpace===jn||ve===Ee?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,A.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,A.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,A.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Me);const Ue=A.isCompressedTexture||A.image[0].isCompressedTexture,Je=A.image[0]&&A.image[0].isDataTexture,Ne=[];for(let Ce=0;Ce<6;Ce++)!Ue&&!Je?Ne[Ce]=S(A.image[Ce],!1,!0,c):Ne[Ce]=Je?A.image[Ce].image:A.image[Ce],Ne[Ce]=ie(A,Ne[Ce]);const tt=Ne[0],$e=v(tt)||a,Pe=s.convert(A.format,A.colorSpace),je=s.convert(A.type),Ve=x(A.internalFormat,Pe,je,A.colorSpace),ct=a&&A.isVideoTexture!==!0,oe=J.__version===void 0||ce===!0;let He=y(A,tt,$e);j(n.TEXTURE_CUBE_MAP,A,$e);let Le;if(Ue){ct&&oe&&t.texStorage2D(n.TEXTURE_CUBE_MAP,He,Ve,tt.width,tt.height);for(let Ce=0;Ce<6;Ce++){Le=Ne[Ce].mipmaps;for(let ke=0;ke<Le.length;ke++){const it=Le[ke];A.format!==Kn?Pe!==null?ct?t.compressedTexSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,0,0,it.width,it.height,Pe,it.data):t.compressedTexImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,Ve,it.width,it.height,0,it.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,0,0,it.width,it.height,Pe,je,it.data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,Ve,it.width,it.height,0,Pe,je,it.data)}}}else{Le=A.mipmaps,ct&&oe&&(Le.length>0&&He++,t.texStorage2D(n.TEXTURE_CUBE_MAP,He,Ve,Ne[0].width,Ne[0].height));for(let Ce=0;Ce<6;Ce++)if(Je){ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,0,0,Ne[Ce].width,Ne[Ce].height,Pe,je,Ne[Ce].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,Ve,Ne[Ce].width,Ne[Ce].height,0,Pe,je,Ne[Ce].data);for(let ke=0;ke<Le.length;ke++){const _t=Le[ke].image[Ce].image;ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,0,0,_t.width,_t.height,Pe,je,_t.data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,Ve,_t.width,_t.height,0,Pe,je,_t.data)}}else{ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,0,0,Pe,je,Ne[Ce]):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,Ve,Pe,je,Ne[Ce]);for(let ke=0;ke<Le.length;ke++){const it=Le[ke];ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,0,0,Pe,je,it.image[Ce]):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,Ve,Pe,je,it.image[Ce])}}}C(A,$e)&&N(n.TEXTURE_CUBE_MAP),J.__version=$.version,A.onUpdate&&A.onUpdate(A)}w.__version=A.version}function Ae(w,A,G,ce,$,J){const ve=s.convert(G.format,G.colorSpace),Ee=s.convert(G.type),Me=x(G.internalFormat,ve,Ee,G.colorSpace);if(!i.get(A).__hasExternalTextures){const Je=Math.max(1,A.width>>J),Ne=Math.max(1,A.height>>J);$===n.TEXTURE_3D||$===n.TEXTURE_2D_ARRAY?t.texImage3D($,J,Me,Je,Ne,A.depth,0,ve,Ee,null):t.texImage2D($,J,Me,Je,Ne,0,ve,Ee,null)}t.bindFramebuffer(n.FRAMEBUFFER,w),ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,ce,$,i.get(G).__webglTexture,0,B(A)):($===n.TEXTURE_2D||$>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&$<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,ce,$,i.get(G).__webglTexture,J),t.bindFramebuffer(n.FRAMEBUFFER,null)}function O(w,A,G){if(n.bindRenderbuffer(n.RENDERBUFFER,w),A.depthBuffer&&!A.stencilBuffer){let ce=a===!0?n.DEPTH_COMPONENT24:n.DEPTH_COMPONENT16;if(G||ae(A)){const $=A.depthTexture;$&&$.isDepthTexture&&($.type===nr?ce=n.DEPTH_COMPONENT32F:$.type===Fr&&(ce=n.DEPTH_COMPONENT24));const J=B(A);ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,J,ce,A.width,A.height):n.renderbufferStorageMultisample(n.RENDERBUFFER,J,ce,A.width,A.height)}else n.renderbufferStorage(n.RENDERBUFFER,ce,A.width,A.height);n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.RENDERBUFFER,w)}else if(A.depthBuffer&&A.stencilBuffer){const ce=B(A);G&&ae(A)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,ce,n.DEPTH24_STENCIL8,A.width,A.height):ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ce,n.DEPTH24_STENCIL8,A.width,A.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,A.width,A.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,w)}else{const ce=A.isWebGLMultipleRenderTargets===!0?A.texture:[A.texture];for(let $=0;$<ce.length;$++){const J=ce[$],ve=s.convert(J.format,J.colorSpace),Ee=s.convert(J.type),Me=x(J.internalFormat,ve,Ee,J.colorSpace),Ue=B(A);G&&ae(A)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,Ue,Me,A.width,A.height):ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,Ue,Me,A.width,A.height):n.renderbufferStorage(n.RENDERBUFFER,Me,A.width,A.height)}}n.bindRenderbuffer(n.RENDERBUFFER,null)}function F(w,A){if(A&&A.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(t.bindFramebuffer(n.FRAMEBUFFER,w),!(A.depthTexture&&A.depthTexture.isDepthTexture))throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");(!i.get(A.depthTexture).__webglTexture||A.depthTexture.image.width!==A.width||A.depthTexture.image.height!==A.height)&&(A.depthTexture.image.width=A.width,A.depthTexture.image.height=A.height,A.depthTexture.needsUpdate=!0),q(A.depthTexture,0);const ce=i.get(A.depthTexture).__webglTexture,$=B(A);if(A.depthTexture.format===Os)ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,ce,0,$):n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,ce,0);else if(A.depthTexture.format===Zo)ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.TEXTURE_2D,ce,0,$):n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.TEXTURE_2D,ce,0);else throw new Error("Unknown depthTexture format")}function V(w){const A=i.get(w),G=w.isWebGLCubeRenderTarget===!0;if(w.depthTexture&&!A.__autoAllocateDepthBuffer){if(G)throw new Error("target.depthTexture not supported in Cube render targets");F(A.__webglFramebuffer,w)}else if(G){A.__webglDepthbuffer=[];for(let ce=0;ce<6;ce++)t.bindFramebuffer(n.FRAMEBUFFER,A.__webglFramebuffer[ce]),A.__webglDepthbuffer[ce]=n.createRenderbuffer(),O(A.__webglDepthbuffer[ce],w,!1)}else t.bindFramebuffer(n.FRAMEBUFFER,A.__webglFramebuffer),A.__webglDepthbuffer=n.createRenderbuffer(),O(A.__webglDepthbuffer,w,!1);t.bindFramebuffer(n.FRAMEBUFFER,null)}function re(w,A,G){const ce=i.get(w);A!==void 0&&Ae(ce.__webglFramebuffer,w,w.texture,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,0),G!==void 0&&V(w)}function ee(w){const A=w.texture,G=i.get(w),ce=i.get(A);w.addEventListener("dispose",k),w.isWebGLMultipleRenderTargets!==!0&&(ce.__webglTexture===void 0&&(ce.__webglTexture=n.createTexture()),ce.__version=A.version,o.memory.textures++);const $=w.isWebGLCubeRenderTarget===!0,J=w.isWebGLMultipleRenderTargets===!0,ve=v(w)||a;if($){G.__webglFramebuffer=[];for(let Ee=0;Ee<6;Ee++)if(a&&A.mipmaps&&A.mipmaps.length>0){G.__webglFramebuffer[Ee]=[];for(let Me=0;Me<A.mipmaps.length;Me++)G.__webglFramebuffer[Ee][Me]=n.createFramebuffer()}else G.__webglFramebuffer[Ee]=n.createFramebuffer()}else{if(a&&A.mipmaps&&A.mipmaps.length>0){G.__webglFramebuffer=[];for(let Ee=0;Ee<A.mipmaps.length;Ee++)G.__webglFramebuffer[Ee]=n.createFramebuffer()}else G.__webglFramebuffer=n.createFramebuffer();if(J)if(r.drawBuffers){const Ee=w.texture;for(let Me=0,Ue=Ee.length;Me<Ue;Me++){const Je=i.get(Ee[Me]);Je.__webglTexture===void 0&&(Je.__webglTexture=n.createTexture(),o.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(a&&w.samples>0&&ae(w)===!1){const Ee=J?A:[A];G.__webglMultisampledFramebuffer=n.createFramebuffer(),G.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,G.__webglMultisampledFramebuffer);for(let Me=0;Me<Ee.length;Me++){const Ue=Ee[Me];G.__webglColorRenderbuffer[Me]=n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,G.__webglColorRenderbuffer[Me]);const Je=s.convert(Ue.format,Ue.colorSpace),Ne=s.convert(Ue.type),tt=x(Ue.internalFormat,Je,Ne,Ue.colorSpace,w.isXRRenderTarget===!0),$e=B(w);n.renderbufferStorageMultisample(n.RENDERBUFFER,$e,tt,w.width,w.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Me,n.RENDERBUFFER,G.__webglColorRenderbuffer[Me])}n.bindRenderbuffer(n.RENDERBUFFER,null),w.depthBuffer&&(G.__webglDepthRenderbuffer=n.createRenderbuffer(),O(G.__webglDepthRenderbuffer,w,!0)),t.bindFramebuffer(n.FRAMEBUFFER,null)}}if($){t.bindTexture(n.TEXTURE_CUBE_MAP,ce.__webglTexture),j(n.TEXTURE_CUBE_MAP,A,ve);for(let Ee=0;Ee<6;Ee++)if(a&&A.mipmaps&&A.mipmaps.length>0)for(let Me=0;Me<A.mipmaps.length;Me++)Ae(G.__webglFramebuffer[Ee][Me],w,A,n.COLOR_ATTACHMENT0,n.TEXTURE_CUBE_MAP_POSITIVE_X+Ee,Me);else Ae(G.__webglFramebuffer[Ee],w,A,n.COLOR_ATTACHMENT0,n.TEXTURE_CUBE_MAP_POSITIVE_X+Ee,0);C(A,ve)&&N(n.TEXTURE_CUBE_MAP),t.unbindTexture()}else if(J){const Ee=w.texture;for(let Me=0,Ue=Ee.length;Me<Ue;Me++){const Je=Ee[Me],Ne=i.get(Je);t.bindTexture(n.TEXTURE_2D,Ne.__webglTexture),j(n.TEXTURE_2D,Je,ve),Ae(G.__webglFramebuffer,w,Je,n.COLOR_ATTACHMENT0+Me,n.TEXTURE_2D,0),C(Je,ve)&&N(n.TEXTURE_2D)}t.unbindTexture()}else{let Ee=n.TEXTURE_2D;if((w.isWebGL3DRenderTarget||w.isWebGLArrayRenderTarget)&&(a?Ee=w.isWebGL3DRenderTarget?n.TEXTURE_3D:n.TEXTURE_2D_ARRAY:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),t.bindTexture(Ee,ce.__webglTexture),j(Ee,A,ve),a&&A.mipmaps&&A.mipmaps.length>0)for(let Me=0;Me<A.mipmaps.length;Me++)Ae(G.__webglFramebuffer[Me],w,A,n.COLOR_ATTACHMENT0,Ee,Me);else Ae(G.__webglFramebuffer,w,A,n.COLOR_ATTACHMENT0,Ee,0);C(A,ve)&&N(Ee),t.unbindTexture()}w.depthBuffer&&V(w)}function be(w){const A=v(w)||a,G=w.isWebGLMultipleRenderTargets===!0?w.texture:[w.texture];for(let ce=0,$=G.length;ce<$;ce++){const J=G[ce];if(C(J,A)){const ve=w.isWebGLCubeRenderTarget?n.TEXTURE_CUBE_MAP:n.TEXTURE_2D,Ee=i.get(J).__webglTexture;t.bindTexture(ve,Ee),N(ve),t.unbindTexture()}}}function xe(w){if(a&&w.samples>0&&ae(w)===!1){const A=w.isWebGLMultipleRenderTargets?w.texture:[w.texture],G=w.width,ce=w.height;let $=n.COLOR_BUFFER_BIT;const J=[],ve=w.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Ee=i.get(w),Me=w.isWebGLMultipleRenderTargets===!0;if(Me)for(let Ue=0;Ue<A.length;Ue++)t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.RENDERBUFFER,null),t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglFramebuffer),n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.TEXTURE_2D,null,0);t.bindFramebuffer(n.READ_FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),t.bindFramebuffer(n.DRAW_FRAMEBUFFER,Ee.__webglFramebuffer);for(let Ue=0;Ue<A.length;Ue++){J.push(n.COLOR_ATTACHMENT0+Ue),w.depthBuffer&&J.push(ve);const Je=Ee.__ignoreDepthValues!==void 0?Ee.__ignoreDepthValues:!1;if(Je===!1&&(w.depthBuffer&&($|=n.DEPTH_BUFFER_BIT),w.stencilBuffer&&($|=n.STENCIL_BUFFER_BIT)),Me&&n.framebufferRenderbuffer(n.READ_FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.RENDERBUFFER,Ee.__webglColorRenderbuffer[Ue]),Je===!0&&(n.invalidateFramebuffer(n.READ_FRAMEBUFFER,[ve]),n.invalidateFramebuffer(n.DRAW_FRAMEBUFFER,[ve])),Me){const Ne=i.get(A[Ue]).__webglTexture;n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,Ne,0)}n.blitFramebuffer(0,0,G,ce,0,0,G,ce,$,n.NEAREST),f&&n.invalidateFramebuffer(n.READ_FRAMEBUFFER,J)}if(t.bindFramebuffer(n.READ_FRAMEBUFFER,null),t.bindFramebuffer(n.DRAW_FRAMEBUFFER,null),Me)for(let Ue=0;Ue<A.length;Ue++){t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.RENDERBUFFER,Ee.__webglColorRenderbuffer[Ue]);const Je=i.get(A[Ue]).__webglTexture;t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglFramebuffer),n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.TEXTURE_2D,Je,0)}t.bindFramebuffer(n.DRAW_FRAMEBUFFER,Ee.__webglMultisampledFramebuffer)}}function B(w){return Math.min(u,w.samples)}function ae(w){const A=i.get(w);return a&&w.samples>0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&A.__useRenderToTexture!==!1}function te(w){const A=o.render.frame;E.get(w)!==A&&(E.set(w,A),w.update())}function ie(w,A){const G=w.colorSpace,ce=w.format,$=w.type;return w.isCompressedTexture===!0||w.isVideoTexture===!0||w.format===ig||G!==fn&&G!==jn&&(Nt.getTransfer(G)===Gt?a===!1?e.has("EXT_sRGB")===!0&&ce===Kn?(w.format=ig,w.minFilter=Mn,w.generateMipmaps=!1):A=eO.sRGBToLinear(A):(ce!==Kn||$!==Yr)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",G)),A}this.allocateTextureUnit=Y,this.resetTextureUnits=I,this.setTexture2D=q,this.setTexture2DArray=le,this.setTexture3D=X,this.setTextureCube=Z,this.rebindTextures=re,this.setupRenderTarget=ee,this.updateRenderTargetMipmap=be,this.updateMultisampleRenderTarget=xe,this.setupDepthRenderbuffer=V,this.setupFrameBufferTexture=Ae,this.useMultisampledRTT=ae}function Nyt(n,e,t){const i=t.isWebGL2;function r(s,o=jn){let a;const l=Nt.getTransfer(o);if(s===Yr)return n.UNSIGNED_BYTE;if(s===qw)return n.UNSIGNED_SHORT_4_4_4_4;if(s===Yw)return n.UNSIGNED_SHORT_5_5_5_1;if(s===Xht)return n.BYTE;if(s===Zht)return n.SHORT;if(s===UE)return n.UNSIGNED_SHORT;if(s===Vw)return n.INT;if(s===Fr)return n.UNSIGNED_INT;if(s===nr)return n.FLOAT;if(s===Tl)return i?n.HALF_FLOAT:(a=e.get("OES_texture_half_float"),a!==null?a.HALF_FLOAT_OES:null);if(s===Jht)return n.ALPHA;if(s===Kn)return n.RGBA;if(s===emt)return n.LUMINANCE;if(s===tmt)return n.LUMINANCE_ALPHA;if(s===Os)return n.DEPTH_COMPONENT;if(s===Zo)return n.DEPTH_STENCIL;if(s===ig)return a=e.get("EXT_sRGB"),a!==null?a.SRGB_ALPHA_EXT:null;if(s===nmt)return n.RED;if(s===$w)return n.RED_INTEGER;if(s===imt)return n.RG;if(s===Ww)return n.RG_INTEGER;if(s===Kw)return n.RGBA_INTEGER;if(s===Ah||s===wh||s===Oh||s===Nh)if(l===Gt)if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),a!==null){if(s===Ah)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(s===wh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(s===Oh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(s===Nh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(a=e.get("WEBGL_compressed_texture_s3tc"),a!==null){if(s===Ah)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(s===wh)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(s===Oh)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(s===Nh)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(s===Ax||s===wx||s===Ox||s===Nx)if(a=e.get("WEBGL_compressed_texture_pvrtc"),a!==null){if(s===Ax)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(s===wx)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(s===Ox)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(s===Nx)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(s===jw)return a=e.get("WEBGL_compressed_texture_etc1"),a!==null?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(s===Mx||s===Ix)if(a=e.get("WEBGL_compressed_texture_etc"),a!==null){if(s===Mx)return l===Gt?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(s===Ix)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(s===Dx||s===Lx||s===kx||s===Px||s===Ux||s===Fx||s===Bx||s===Gx||s===zx||s===Hx||s===Vx||s===qx||s===Yx||s===$x)if(a=e.get("WEBGL_compressed_texture_astc"),a!==null){if(s===Dx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(s===Lx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(s===kx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(s===Px)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(s===Ux)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(s===Fx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(s===Bx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(s===Gx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(s===zx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(s===Hx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(s===Vx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(s===qx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(s===Yx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(s===$x)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(s===Mh||s===Wx||s===Kx)if(a=e.get("EXT_texture_compression_bptc"),a!==null){if(s===Mh)return l===Gt?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(s===Wx)return a.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(s===Kx)return a.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(s===rmt||s===jx||s===Qx||s===Xx)if(a=e.get("EXT_texture_compression_rgtc"),a!==null){if(s===Mh)return a.COMPRESSED_RED_RGTC1_EXT;if(s===jx)return a.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(s===Qx)return a.COMPRESSED_RED_GREEN_RGTC2_EXT;if(s===Xx)return a.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return s===ws?i?n.UNSIGNED_INT_24_8:(a=e.get("WEBGL_depth_texture"),a!==null?a.UNSIGNED_INT_24_8_WEBGL:null):n[s]!==void 0?n[s]:null}return{convert:r}}class Myt extends Cn{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class Ts extends Yt{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Iyt={type:"move"};class tm{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Ts,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Ts,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ue,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ue),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Ts,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ue,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ue),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const i of e.hand.values())this._getHandJoint(t,i)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,i){let r=null,s=null,o=null;const a=this._targetRay,l=this._grip,c=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(c&&e.hand){o=!0;for(const b of e.hand.values()){const g=t.getJointPose(b,i),h=this._getHandJoint(c,b);g!==null&&(h.matrix.fromArray(g.transform.matrix),h.matrix.decompose(h.position,h.rotation,h.scale),h.matrixWorldNeedsUpdate=!0,h.jointRadius=g.radius),h.visible=g!==null}const d=c.joints["index-finger-tip"],u=c.joints["thumb-tip"],_=d.position.distanceTo(u.position),f=.02,E=.005;c.inputState.pinching&&_>f+E?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&_<=f-E&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),l.matrixWorldNeedsUpdate=!0,s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));a!==null&&(r=t.getPose(e.targetRaySpace,i),r===null&&s!==null&&(r=s),r!==null&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(Iyt)))}return a!==null&&(a.visible=r!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const i=new Ts;i.matrixAutoUpdate=!1,i.visible=!1,e.joints[t.jointName]=i,e.add(i)}return e.joints[t.jointName]}}class Dyt extends ma{constructor(e,t){super();const i=this;let r=null,s=1,o=null,a="local-floor",l=1,c=null,d=null,u=null,_=null,f=null,E=null;const b=t.getContextAttributes();let g=null,h=null;const m=[],S=[],v=new vt;let T=null;const C=new Cn;C.layers.enable(1),C.viewport=new kt;const N=new Cn;N.layers.enable(2),N.viewport=new kt;const x=[C,N],y=new Myt;y.layers.enable(1),y.layers.enable(2);let R=null,P=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getTargetRaySpace()},this.getControllerGrip=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getGripSpace()},this.getHand=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getHandSpace()};function k(Z){const _e=S.indexOf(Z.inputSource);if(_e===-1)return;const fe=m[_e];fe!==void 0&&(fe.update(Z.inputSource,Z.frame,c||o),fe.dispatchEvent({type:Z.type,data:Z.inputSource}))}function W(){r.removeEventListener("select",k),r.removeEventListener("selectstart",k),r.removeEventListener("selectend",k),r.removeEventListener("squeeze",k),r.removeEventListener("squeezestart",k),r.removeEventListener("squeezeend",k),r.removeEventListener("end",W),r.removeEventListener("inputsourceschange",M);for(let Z=0;Z<m.length;Z++){const _e=S[Z];_e!==null&&(S[Z]=null,m[Z].disconnect(_e))}R=null,P=null,e.setRenderTarget(g),f=null,_=null,u=null,r=null,h=null,X.stop(),i.isPresenting=!1,e.setPixelRatio(T),e.setSize(v.width,v.height,!1),i.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(Z){s=Z,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(Z){a=Z,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return c||o},this.setReferenceSpace=function(Z){c=Z},this.getBaseLayer=function(){return _!==null?_:f},this.getBinding=function(){return u},this.getFrame=function(){return E},this.getSession=function(){return r},this.setSession=async function(Z){if(r=Z,r!==null){if(g=e.getRenderTarget(),r.addEventListener("select",k),r.addEventListener("selectstart",k),r.addEventListener("selectend",k),r.addEventListener("squeeze",k),r.addEventListener("squeezestart",k),r.addEventListener("squeezeend",k),r.addEventListener("end",W),r.addEventListener("inputsourceschange",M),b.xrCompatible!==!0&&await t.makeXRCompatible(),T=e.getPixelRatio(),e.getSize(v),r.renderState.layers===void 0||e.capabilities.isWebGL2===!1){const _e={antialias:r.renderState.layers===void 0?b.antialias:!0,alpha:!0,depth:b.depth,stencil:b.stencil,framebufferScaleFactor:s};f=new XRWebGLLayer(r,t,_e),r.updateRenderState({baseLayer:f}),e.setPixelRatio(1),e.setSize(f.framebufferWidth,f.framebufferHeight,!1),h=new Ps(f.framebufferWidth,f.framebufferHeight,{format:Kn,type:Yr,colorSpace:e.outputColorSpace,stencilBuffer:b.stencil})}else{let _e=null,fe=null,ye=null;b.depth&&(ye=b.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,_e=b.stencil?Zo:Os,fe=b.stencil?ws:Fr);const j={colorFormat:t.RGBA8,depthFormat:ye,scaleFactor:s};u=new XRWebGLBinding(r,t),_=u.createProjectionLayer(j),r.updateRenderState({layers:[_]}),e.setPixelRatio(1),e.setSize(_.textureWidth,_.textureHeight,!1),h=new Ps(_.textureWidth,_.textureHeight,{format:Kn,type:Yr,depthTexture:new uO(_.textureWidth,_.textureHeight,fe,void 0,void 0,void 0,void 0,void 0,void 0,_e),stencilBuffer:b.stencil,colorSpace:e.outputColorSpace,samples:b.antialias?4:0});const de=e.properties.get(h);de.__ignoreDepthValues=_.ignoreDepthValues}h.isXRRenderTarget=!0,this.setFoveation(l),c=null,o=await r.requestReferenceSpace(a),X.setContext(r),X.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode};function M(Z){for(let _e=0;_e<Z.removed.length;_e++){const fe=Z.removed[_e],ye=S.indexOf(fe);ye>=0&&(S[ye]=null,m[ye].disconnect(fe))}for(let _e=0;_e<Z.added.length;_e++){const fe=Z.added[_e];let ye=S.indexOf(fe);if(ye===-1){for(let de=0;de<m.length;de++)if(de>=S.length){S.push(fe),ye=de;break}else if(S[de]===null){S[de]=fe,ye=de;break}if(ye===-1)break}const j=m[ye];j&&j.connect(fe)}}const H=new ue,z=new ue;function I(Z,_e,fe){H.setFromMatrixPosition(_e.matrixWorld),z.setFromMatrixPosition(fe.matrixWorld);const ye=H.distanceTo(z),j=_e.projectionMatrix.elements,de=fe.projectionMatrix.elements,Q=j[14]/(j[10]-1),he=j[14]/(j[10]+1),Ae=(j[9]+1)/j[5],O=(j[9]-1)/j[5],F=(j[8]-1)/j[0],V=(de[8]+1)/de[0],re=Q*F,ee=Q*V,be=ye/(-F+V),xe=be*-F;_e.matrixWorld.decompose(Z.position,Z.quaternion,Z.scale),Z.translateX(xe),Z.translateZ(be),Z.matrixWorld.compose(Z.position,Z.quaternion,Z.scale),Z.matrixWorldInverse.copy(Z.matrixWorld).invert();const B=Q+be,ae=he+be,te=re-xe,ie=ee+(ye-xe),w=Ae*he/ae*B,A=O*he/ae*B;Z.projectionMatrix.makePerspective(te,ie,w,A,B,ae),Z.projectionMatrixInverse.copy(Z.projectionMatrix).invert()}function Y(Z,_e){_e===null?Z.matrixWorld.copy(Z.matrix):Z.matrixWorld.multiplyMatrices(_e.matrixWorld,Z.matrix),Z.matrixWorldInverse.copy(Z.matrixWorld).invert()}this.updateCamera=function(Z){if(r===null)return;y.near=N.near=C.near=Z.near,y.far=N.far=C.far=Z.far,(R!==y.near||P!==y.far)&&(r.updateRenderState({depthNear:y.near,depthFar:y.far}),R=y.near,P=y.far);const _e=Z.parent,fe=y.cameras;Y(y,_e);for(let ye=0;ye<fe.length;ye++)Y(fe[ye],_e);fe.length===2?I(y,C,N):y.projectionMatrix.copy(C.projectionMatrix),K(Z,y,_e)};function K(Z,_e,fe){fe===null?Z.matrix.copy(_e.matrixWorld):(Z.matrix.copy(fe.matrixWorld),Z.matrix.invert(),Z.matrix.multiply(_e.matrixWorld)),Z.matrix.decompose(Z.position,Z.quaternion,Z.scale),Z.updateMatrixWorld(!0),Z.projectionMatrix.copy(_e.projectionMatrix),Z.projectionMatrixInverse.copy(_e.projectionMatrixInverse),Z.isPerspectiveCamera&&(Z.fov=ea*2*Math.atan(1/Z.projectionMatrix.elements[5]),Z.zoom=1)}this.getCamera=function(){return y},this.getFoveation=function(){if(!(_===null&&f===null))return l},this.setFoveation=function(Z){l=Z,_!==null&&(_.fixedFoveation=Z),f!==null&&f.fixedFoveation!==void 0&&(f.fixedFoveation=Z)};let q=null;function le(Z,_e){if(d=_e.getViewerPose(c||o),E=_e,d!==null){const fe=d.views;f!==null&&(e.setRenderTargetFramebuffer(h,f.framebuffer),e.setRenderTarget(h));let ye=!1;fe.length!==y.cameras.length&&(y.cameras.length=0,ye=!0);for(let j=0;j<fe.length;j++){const de=fe[j];let Q=null;if(f!==null)Q=f.getViewport(de);else{const Ae=u.getViewSubImage(_,de);Q=Ae.viewport,j===0&&(e.setRenderTargetTextures(h,Ae.colorTexture,_.ignoreDepthValues?void 0:Ae.depthStencilTexture),e.setRenderTarget(h))}let he=x[j];he===void 0&&(he=new Cn,he.layers.enable(j),he.viewport=new kt,x[j]=he),he.matrix.fromArray(de.transform.matrix),he.matrix.decompose(he.position,he.quaternion,he.scale),he.projectionMatrix.fromArray(de.projectionMatrix),he.projectionMatrixInverse.copy(he.projectionMatrix).invert(),he.viewport.set(Q.x,Q.y,Q.width,Q.height),j===0&&(y.matrix.copy(he.matrix),y.matrix.decompose(y.position,y.quaternion,y.scale)),ye===!0&&y.cameras.push(he)}}for(let fe=0;fe<m.length;fe++){const ye=S[fe],j=m[fe];ye!==null&&j!==void 0&&j.update(ye,_e,c||o)}q&&q(Z,_e),_e.detectedPlanes&&i.dispatchEvent({type:"planesdetected",data:_e}),E=null}const X=new dO;X.setAnimationLoop(le),this.setAnimationLoop=function(Z){q=Z},this.dispose=function(){}}}function Lyt(n,e){function t(g,h){g.matrixAutoUpdate===!0&&g.updateMatrix(),h.value.copy(g.matrix)}function i(g,h){h.color.getRGB(g.fogColor.value,aO(n)),h.isFog?(g.fogNear.value=h.near,g.fogFar.value=h.far):h.isFogExp2&&(g.fogDensity.value=h.density)}function r(g,h,m,S,v){h.isMeshBasicMaterial||h.isMeshLambertMaterial?s(g,h):h.isMeshToonMaterial?(s(g,h),u(g,h)):h.isMeshPhongMaterial?(s(g,h),d(g,h)):h.isMeshStandardMaterial?(s(g,h),_(g,h),h.isMeshPhysicalMaterial&&f(g,h,v)):h.isMeshMatcapMaterial?(s(g,h),E(g,h)):h.isMeshDepthMaterial?s(g,h):h.isMeshDistanceMaterial?(s(g,h),b(g,h)):h.isMeshNormalMaterial?s(g,h):h.isLineBasicMaterial?(o(g,h),h.isLineDashedMaterial&&a(g,h)):h.isPointsMaterial?l(g,h,m,S):h.isSpriteMaterial?c(g,h):h.isShadowMaterial?(g.color.value.copy(h.color),g.opacity.value=h.opacity):h.isShaderMaterial&&(h.uniformsNeedUpdate=!1)}function s(g,h){g.opacity.value=h.opacity,h.color&&g.diffuse.value.copy(h.color),h.emissive&&g.emissive.value.copy(h.emissive).multiplyScalar(h.emissiveIntensity),h.map&&(g.map.value=h.map,t(h.map,g.mapTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.bumpMap&&(g.bumpMap.value=h.bumpMap,t(h.bumpMap,g.bumpMapTransform),g.bumpScale.value=h.bumpScale,h.side===Ln&&(g.bumpScale.value*=-1)),h.normalMap&&(g.normalMap.value=h.normalMap,t(h.normalMap,g.normalMapTransform),g.normalScale.value.copy(h.normalScale),h.side===Ln&&g.normalScale.value.negate()),h.displacementMap&&(g.displacementMap.value=h.displacementMap,t(h.displacementMap,g.displacementMapTransform),g.displacementScale.value=h.displacementScale,g.displacementBias.value=h.displacementBias),h.emissiveMap&&(g.emissiveMap.value=h.emissiveMap,t(h.emissiveMap,g.emissiveMapTransform)),h.specularMap&&(g.specularMap.value=h.specularMap,t(h.specularMap,g.specularMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest);const m=e.get(h).envMap;if(m&&(g.envMap.value=m,g.flipEnvMap.value=m.isCubeTexture&&m.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=h.reflectivity,g.ior.value=h.ior,g.refractionRatio.value=h.refractionRatio),h.lightMap){g.lightMap.value=h.lightMap;const S=n._useLegacyLights===!0?Math.PI:1;g.lightMapIntensity.value=h.lightMapIntensity*S,t(h.lightMap,g.lightMapTransform)}h.aoMap&&(g.aoMap.value=h.aoMap,g.aoMapIntensity.value=h.aoMapIntensity,t(h.aoMap,g.aoMapTransform))}function o(g,h){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,h.map&&(g.map.value=h.map,t(h.map,g.mapTransform))}function a(g,h){g.dashSize.value=h.dashSize,g.totalSize.value=h.dashSize+h.gapSize,g.scale.value=h.scale}function l(g,h,m,S){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,g.size.value=h.size*m,g.scale.value=S*.5,h.map&&(g.map.value=h.map,t(h.map,g.uvTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest)}function c(g,h){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,g.rotation.value=h.rotation,h.map&&(g.map.value=h.map,t(h.map,g.mapTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest)}function d(g,h){g.specular.value.copy(h.specular),g.shininess.value=Math.max(h.shininess,1e-4)}function u(g,h){h.gradientMap&&(g.gradientMap.value=h.gradientMap)}function _(g,h){g.metalness.value=h.metalness,h.metalnessMap&&(g.metalnessMap.value=h.metalnessMap,t(h.metalnessMap,g.metalnessMapTransform)),g.roughness.value=h.roughness,h.roughnessMap&&(g.roughnessMap.value=h.roughnessMap,t(h.roughnessMap,g.roughnessMapTransform)),e.get(h).envMap&&(g.envMapIntensity.value=h.envMapIntensity)}function f(g,h,m){g.ior.value=h.ior,h.sheen>0&&(g.sheenColor.value.copy(h.sheenColor).multiplyScalar(h.sheen),g.sheenRoughness.value=h.sheenRoughness,h.sheenColorMap&&(g.sheenColorMap.value=h.sheenColorMap,t(h.sheenColorMap,g.sheenColorMapTransform)),h.sheenRoughnessMap&&(g.sheenRoughnessMap.value=h.sheenRoughnessMap,t(h.sheenRoughnessMap,g.sheenRoughnessMapTransform))),h.clearcoat>0&&(g.clearcoat.value=h.clearcoat,g.clearcoatRoughness.value=h.clearcoatRoughness,h.clearcoatMap&&(g.clearcoatMap.value=h.clearcoatMap,t(h.clearcoatMap,g.clearcoatMapTransform)),h.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=h.clearcoatRoughnessMap,t(h.clearcoatRoughnessMap,g.clearcoatRoughnessMapTransform)),h.clearcoatNormalMap&&(g.clearcoatNormalMap.value=h.clearcoatNormalMap,t(h.clearcoatNormalMap,g.clearcoatNormalMapTransform),g.clearcoatNormalScale.value.copy(h.clearcoatNormalScale),h.side===Ln&&g.clearcoatNormalScale.value.negate())),h.iridescence>0&&(g.iridescence.value=h.iridescence,g.iridescenceIOR.value=h.iridescenceIOR,g.iridescenceThicknessMinimum.value=h.iridescenceThicknessRange[0],g.iridescenceThicknessMaximum.value=h.iridescenceThicknessRange[1],h.iridescenceMap&&(g.iridescenceMap.value=h.iridescenceMap,t(h.iridescenceMap,g.iridescenceMapTransform)),h.iridescenceThicknessMap&&(g.iridescenceThicknessMap.value=h.iridescenceThicknessMap,t(h.iridescenceThicknessMap,g.iridescenceThicknessMapTransform))),h.transmission>0&&(g.transmission.value=h.transmission,g.transmissionSamplerMap.value=m.texture,g.transmissionSamplerSize.value.set(m.width,m.height),h.transmissionMap&&(g.transmissionMap.value=h.transmissionMap,t(h.transmissionMap,g.transmissionMapTransform)),g.thickness.value=h.thickness,h.thicknessMap&&(g.thicknessMap.value=h.thicknessMap,t(h.thicknessMap,g.thicknessMapTransform)),g.attenuationDistance.value=h.attenuationDistance,g.attenuationColor.value.copy(h.attenuationColor)),h.anisotropy>0&&(g.anisotropyVector.value.set(h.anisotropy*Math.cos(h.anisotropyRotation),h.anisotropy*Math.sin(h.anisotropyRotation)),h.anisotropyMap&&(g.anisotropyMap.value=h.anisotropyMap,t(h.anisotropyMap,g.anisotropyMapTransform))),g.specularIntensity.value=h.specularIntensity,g.specularColor.value.copy(h.specularColor),h.specularColorMap&&(g.specularColorMap.value=h.specularColorMap,t(h.specularColorMap,g.specularColorMapTransform)),h.specularIntensityMap&&(g.specularIntensityMap.value=h.specularIntensityMap,t(h.specularIntensityMap,g.specularIntensityMapTransform))}function E(g,h){h.matcap&&(g.matcap.value=h.matcap)}function b(g,h){const m=e.get(h).light;g.referencePosition.value.setFromMatrixPosition(m.matrixWorld),g.nearDistance.value=m.shadow.camera.near,g.farDistance.value=m.shadow.camera.far}return{refreshFogUniforms:i,refreshMaterialUniforms:r}}function kyt(n,e,t,i){let r={},s={},o=[];const a=t.isWebGL2?n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS):0;function l(m,S){const v=S.program;i.uniformBlockBinding(m,v)}function c(m,S){let v=r[m.id];v===void 0&&(E(m),v=d(m),r[m.id]=v,m.addEventListener("dispose",g));const T=S.program;i.updateUBOMapping(m,T);const C=e.render.frame;s[m.id]!==C&&(_(m),s[m.id]=C)}function d(m){const S=u();m.__bindingPointIndex=S;const v=n.createBuffer(),T=m.__size,C=m.usage;return n.bindBuffer(n.UNIFORM_BUFFER,v),n.bufferData(n.UNIFORM_BUFFER,T,C),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,S,v),v}function u(){for(let m=0;m<a;m++)if(o.indexOf(m)===-1)return o.push(m),m;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}function _(m){const S=r[m.id],v=m.uniforms,T=m.__cache;n.bindBuffer(n.UNIFORM_BUFFER,S);for(let C=0,N=v.length;C<N;C++){const x=v[C];if(f(x,C,T)===!0){const y=x.__offset,R=Array.isArray(x.value)?x.value:[x.value];let P=0;for(let k=0;k<R.length;k++){const W=R[k],M=b(W);typeof W=="number"?(x.__data[0]=W,n.bufferSubData(n.UNIFORM_BUFFER,y+P,x.__data)):W.isMatrix3?(x.__data[0]=W.elements[0],x.__data[1]=W.elements[1],x.__data[2]=W.elements[2],x.__data[3]=W.elements[0],x.__data[4]=W.elements[3],x.__data[5]=W.elements[4],x.__data[6]=W.elements[5],x.__data[7]=W.elements[0],x.__data[8]=W.elements[6],x.__data[9]=W.elements[7],x.__data[10]=W.elements[8],x.__data[11]=W.elements[0]):(W.toArray(x.__data,P),P+=M.storage/Float32Array.BYTES_PER_ELEMENT)}n.bufferSubData(n.UNIFORM_BUFFER,y,x.__data)}}n.bindBuffer(n.UNIFORM_BUFFER,null)}function f(m,S,v){const T=m.value;if(v[S]===void 0){if(typeof T=="number")v[S]=T;else{const C=Array.isArray(T)?T:[T],N=[];for(let x=0;x<C.length;x++)N.push(C[x].clone());v[S]=N}return!0}else if(typeof T=="number"){if(v[S]!==T)return v[S]=T,!0}else{const C=Array.isArray(v[S])?v[S]:[v[S]],N=Array.isArray(T)?T:[T];for(let x=0;x<C.length;x++){const y=C[x];if(y.equals(N[x])===!1)return y.copy(N[x]),!0}}return!1}function E(m){const S=m.uniforms;let v=0;const T=16;let C=0;for(let N=0,x=S.length;N<x;N++){const y=S[N],R={boundary:0,storage:0},P=Array.isArray(y.value)?y.value:[y.value];for(let k=0,W=P.length;k<W;k++){const M=P[k],H=b(M);R.boundary+=H.boundary,R.storage+=H.storage}if(y.__data=new Float32Array(R.storage/Float32Array.BYTES_PER_ELEMENT),y.__offset=v,N>0){C=v%T;const k=T-C;C!==0&&k-R.boundary<0&&(v+=T-C,y.__offset=v)}v+=R.storage}return C=v%T,C>0&&(v+=T-C),m.__size=v,m.__cache={},this}function b(m){const S={boundary:0,storage:0};return typeof m=="number"?(S.boundary=4,S.storage=4):m.isVector2?(S.boundary=8,S.storage=8):m.isVector3||m.isColor?(S.boundary=16,S.storage=12):m.isVector4?(S.boundary=16,S.storage=16):m.isMatrix3?(S.boundary=48,S.storage=48):m.isMatrix4?(S.boundary=64,S.storage=64):m.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",m),S}function g(m){const S=m.target;S.removeEventListener("dispose",g);const v=o.indexOf(S.__bindingPointIndex);o.splice(v,1),n.deleteBuffer(r[S.id]),delete r[S.id],delete s[S.id]}function h(){for(const m in r)n.deleteBuffer(r[m]);o=[],r={},s={}}return{bind:l,update:c,dispose:h}}class gO{constructor(e={}){const{canvas:t=Imt(),context:i=null,depth:r=!0,stencil:s=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:d="default",failIfMajorPerformanceCaveat:u=!1}=e;this.isWebGLRenderer=!0;let _;i!==null?_=i.getContextAttributes().alpha:_=o;const f=new Uint32Array(4),E=new Int32Array(4);let b=null,g=null;const h=[],m=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=Wt,this._useLegacyLights=!1,this.toneMapping=qr,this.toneMappingExposure=1;const S=this;let v=!1,T=0,C=0,N=null,x=-1,y=null;const R=new kt,P=new kt;let k=null;const W=new at(0);let M=0,H=t.width,z=t.height,I=1,Y=null,K=null;const q=new kt(0,0,H,z),le=new kt(0,0,H,z);let X=!1;const Z=new zE;let _e=!1,fe=!1,ye=null;const j=new gt,de=new vt,Q=new ue,he={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Ae(){return N===null?I:1}let O=i;function F(U,pe){for(let Se=0;Se<U.length;Se++){const Te=U[Se],me=t.getContext(Te,pe);if(me!==null)return me}return null}try{const U={alpha:!0,depth:r,stencil:s,antialias:a,premultipliedAlpha:l,preserveDrawingBuffer:c,powerPreference:d,failIfMajorPerformanceCaveat:u};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${kE}`),t.addEventListener("webglcontextlost",ct,!1),t.addEventListener("webglcontextrestored",oe,!1),t.addEventListener("webglcontextcreationerror",He,!1),O===null){const pe=["webgl2","webgl","experimental-webgl"];if(S.isWebGL1Renderer===!0&&pe.shift(),O=F(pe,U),O===null)throw F(pe)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}typeof WebGLRenderingContext<"u"&&O instanceof WebGLRenderingContext&&console.warn("THREE.WebGLRenderer: WebGL 1 support was deprecated in r153 and will be removed in r163."),O.getShaderPrecisionFormat===void 0&&(O.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(U){throw console.error("THREE.WebGLRenderer: "+U.message),U}let V,re,ee,be,xe,B,ae,te,ie,w,A,G,ce,$,J,ve,Ee,Me,Ue,Je,Ne,tt,$e,Pe;function je(){V=new $bt(O),re=new Gbt(O,V,e),V.init(re),tt=new Nyt(O,V,re),ee=new wyt(O,V,re),be=new jbt(O),xe=new fyt,B=new Oyt(O,V,ee,xe,re,tt,be),ae=new Hbt(S),te=new Ybt(S),ie=new igt(O,re),$e=new Fbt(O,V,ie,re),w=new Wbt(O,ie,be,$e),A=new Jbt(O,w,ie,be),Ue=new Zbt(O,re,B),ve=new zbt(xe),G=new pyt(S,ae,te,V,re,$e,ve),ce=new Lyt(S,xe),$=new myt,J=new vyt(V,re),Me=new Ubt(S,ae,te,ee,A,_,l),Ee=new Ayt(S,A,re),Pe=new kyt(O,be,re,ee),Je=new Bbt(O,V,be,re),Ne=new Kbt(O,V,be,re),be.programs=G.programs,S.capabilities=re,S.extensions=V,S.properties=xe,S.renderLists=$,S.shadowMap=Ee,S.state=ee,S.info=be}je();const Ve=new Dyt(S,O);this.xr=Ve,this.getContext=function(){return O},this.getContextAttributes=function(){return O.getContextAttributes()},this.forceContextLoss=function(){const U=V.get("WEBGL_lose_context");U&&U.loseContext()},this.forceContextRestore=function(){const U=V.get("WEBGL_lose_context");U&&U.restoreContext()},this.getPixelRatio=function(){return I},this.setPixelRatio=function(U){U!==void 0&&(I=U,this.setSize(H,z,!1))},this.getSize=function(U){return U.set(H,z)},this.setSize=function(U,pe,Se=!0){if(Ve.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}H=U,z=pe,t.width=Math.floor(U*I),t.height=Math.floor(pe*I),Se===!0&&(t.style.width=U+"px",t.style.height=pe+"px"),this.setViewport(0,0,U,pe)},this.getDrawingBufferSize=function(U){return U.set(H*I,z*I).floor()},this.setDrawingBufferSize=function(U,pe,Se){H=U,z=pe,I=Se,t.width=Math.floor(U*Se),t.height=Math.floor(pe*Se),this.setViewport(0,0,U,pe)},this.getCurrentViewport=function(U){return U.copy(R)},this.getViewport=function(U){return U.copy(q)},this.setViewport=function(U,pe,Se,Te){U.isVector4?q.set(U.x,U.y,U.z,U.w):q.set(U,pe,Se,Te),ee.viewport(R.copy(q).multiplyScalar(I).floor())},this.getScissor=function(U){return U.copy(le)},this.setScissor=function(U,pe,Se,Te){U.isVector4?le.set(U.x,U.y,U.z,U.w):le.set(U,pe,Se,Te),ee.scissor(P.copy(le).multiplyScalar(I).floor())},this.getScissorTest=function(){return X},this.setScissorTest=function(U){ee.setScissorTest(X=U)},this.setOpaqueSort=function(U){Y=U},this.setTransparentSort=function(U){K=U},this.getClearColor=function(U){return U.copy(Me.getClearColor())},this.setClearColor=function(){Me.setClearColor.apply(Me,arguments)},this.getClearAlpha=function(){return Me.getClearAlpha()},this.setClearAlpha=function(){Me.setClearAlpha.apply(Me,arguments)},this.clear=function(U=!0,pe=!0,Se=!0){let Te=0;if(U){let me=!1;if(N!==null){const qe=N.texture.format;me=qe===Kw||qe===Ww||qe===$w}if(me){const qe=N.texture.type,Qe=qe===Yr||qe===Fr||qe===UE||qe===ws||qe===qw||qe===Yw,nt=Me.getClearColor(),rt=Me.getClearAlpha(),dt=nt.r,st=nt.g,lt=nt.b;Qe?(f[0]=dt,f[1]=st,f[2]=lt,f[3]=rt,O.clearBufferuiv(O.COLOR,0,f)):(E[0]=dt,E[1]=st,E[2]=lt,E[3]=rt,O.clearBufferiv(O.COLOR,0,E))}else Te|=O.COLOR_BUFFER_BIT}pe&&(Te|=O.DEPTH_BUFFER_BIT),Se&&(Te|=O.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),O.clear(Te)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",ct,!1),t.removeEventListener("webglcontextrestored",oe,!1),t.removeEventListener("webglcontextcreationerror",He,!1),$.dispose(),J.dispose(),xe.dispose(),ae.dispose(),te.dispose(),A.dispose(),$e.dispose(),Pe.dispose(),G.dispose(),Ve.dispose(),Ve.removeEventListener("sessionstart",tn),Ve.removeEventListener("sessionend",wt),ye&&(ye.dispose(),ye=null),Vt.stop()};function ct(U){U.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),v=!0}function oe(){console.log("THREE.WebGLRenderer: Context Restored."),v=!1;const U=be.autoReset,pe=Ee.enabled,Se=Ee.autoUpdate,Te=Ee.needsUpdate,me=Ee.type;je(),be.autoReset=U,Ee.enabled=pe,Ee.autoUpdate=Se,Ee.needsUpdate=Te,Ee.type=me}function He(U){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",U.statusMessage)}function Le(U){const pe=U.target;pe.removeEventListener("dispose",Le),Ce(pe)}function Ce(U){ke(U),xe.remove(U)}function ke(U){const pe=xe.get(U).programs;pe!==void 0&&(pe.forEach(function(Se){G.releaseProgram(Se)}),U.isShaderMaterial&&G.releaseShaderCache(U))}this.renderBufferDirect=function(U,pe,Se,Te,me,qe){pe===null&&(pe=he);const Qe=me.isMesh&&me.matrixWorld.determinant()<0,nt=Ws(U,pe,Se,Te,me);ee.setMaterial(Te,Qe);let rt=Se.index,dt=1;if(Te.wireframe===!0){if(rt=w.getWireframeAttribute(Se),rt===void 0)return;dt=2}const st=Se.drawRange,lt=Se.attributes.position;let Ut=st.start*dt,dn=(st.start+st.count)*dt;qe!==null&&(Ut=Math.max(Ut,qe.start*dt),dn=Math.min(dn,(qe.start+qe.count)*dt)),rt!==null?(Ut=Math.max(Ut,0),dn=Math.min(dn,rt.count)):lt!=null&&(Ut=Math.max(Ut,0),dn=Math.min(dn,lt.count));const qt=dn-Ut;if(qt<0||qt===1/0)return;$e.setup(me,Te,nt,Se,rt);let hn,Bt=Je;if(rt!==null&&(hn=ie.get(rt),Bt=Ne,Bt.setIndex(hn)),me.isMesh)Te.wireframe===!0?(ee.setLineWidth(Te.wireframeLinewidth*Ae()),Bt.setMode(O.LINES)):Bt.setMode(O.TRIANGLES);else if(me.isLine){let pt=Te.linewidth;pt===void 0&&(pt=1),ee.setLineWidth(pt*Ae()),me.isLineSegments?Bt.setMode(O.LINES):me.isLineLoop?Bt.setMode(O.LINE_LOOP):Bt.setMode(O.LINE_STRIP)}else me.isPoints?Bt.setMode(O.POINTS):me.isSprite&&Bt.setMode(O.TRIANGLES);if(me.isBatchedMesh)Bt.renderMultiDraw(me._multiDrawStarts,me._multiDrawCounts,me._multiDrawCount);else if(me.isInstancedMesh)Bt.renderInstances(Ut,qt,me.count);else if(Se.isInstancedBufferGeometry){const pt=Se._maxInstanceCount!==void 0?Se._maxInstanceCount:1/0,Ta=Math.min(Se.instanceCount,pt);Bt.renderInstances(Ut,qt,Ta)}else Bt.render(Ut,qt)};function it(U,pe,Se){U.transparent===!0&&U.side===Ti&&U.forceSinglePass===!1?(U.side=Ln,U.needsUpdate=!0,zi(U,pe,Se),U.side=dr,U.needsUpdate=!0,zi(U,pe,Se),U.side=Ti):zi(U,pe,Se)}this.compile=function(U,pe,Se=null){Se===null&&(Se=U),g=J.get(Se),g.init(),m.push(g),Se.traverseVisible(function(me){me.isLight&&me.layers.test(pe.layers)&&(g.pushLight(me),me.castShadow&&g.pushShadow(me))}),U!==Se&&U.traverseVisible(function(me){me.isLight&&me.layers.test(pe.layers)&&(g.pushLight(me),me.castShadow&&g.pushShadow(me))}),g.setupLights(S._useLegacyLights);const Te=new Set;return U.traverse(function(me){const qe=me.material;if(qe)if(Array.isArray(qe))for(let Qe=0;Qe<qe.length;Qe++){const nt=qe[Qe];it(nt,Se,me),Te.add(nt)}else it(qe,Se,me),Te.add(qe)}),m.pop(),g=null,Te},this.compileAsync=function(U,pe,Se=null){const Te=this.compile(U,pe,Se);return new Promise(me=>{function qe(){if(Te.forEach(function(Qe){xe.get(Qe).currentProgram.isReady()&&Te.delete(Qe)}),Te.size===0){me(U);return}setTimeout(qe,10)}V.get("KHR_parallel_shader_compile")!==null?qe():setTimeout(qe,10)})};let _t=null;function $t(U){_t&&_t(U)}function tn(){Vt.stop()}function wt(){Vt.start()}const Vt=new dO;Vt.setAnimationLoop($t),typeof self<"u"&&Vt.setContext(self),this.setAnimationLoop=function(U){_t=U,Ve.setAnimationLoop(U),U===null?Vt.stop():Vt.start()},Ve.addEventListener("sessionstart",tn),Ve.addEventListener("sessionend",wt),this.render=function(U,pe){if(pe!==void 0&&pe.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(v===!0)return;U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),pe.parent===null&&pe.matrixWorldAutoUpdate===!0&&pe.updateMatrixWorld(),Ve.enabled===!0&&Ve.isPresenting===!0&&(Ve.cameraAutoUpdate===!0&&Ve.updateCamera(pe),pe=Ve.getCamera()),U.isScene===!0&&U.onBeforeRender(S,U,pe,N),g=J.get(U,m.length),g.init(),m.push(g),j.multiplyMatrices(pe.projectionMatrix,pe.matrixWorldInverse),Z.setFromProjectionMatrix(j),fe=this.localClippingEnabled,_e=ve.init(this.clippingPlanes,fe),b=$.get(U,h.length),b.init(),h.push(b),On(U,pe,0,S.sortObjects),b.finish(),S.sortObjects===!0&&b.sort(Y,K),this.info.render.frame++,_e===!0&&ve.beginShadows();const Se=g.state.shadowsArray;if(Ee.render(Se,U,pe),_e===!0&&ve.endShadows(),this.info.autoReset===!0&&this.info.reset(),Me.render(b,U),g.setupLights(S._useLegacyLights),pe.isArrayCamera){const Te=pe.cameras;for(let me=0,qe=Te.length;me<qe;me++){const Qe=Te[me];Ys(b,U,Qe,Qe.viewport)}}else Ys(b,U,pe);N!==null&&(B.updateMultisampleRenderTarget(N),B.updateRenderTargetMipmap(N)),U.isScene===!0&&U.onAfterRender(S,U,pe),$e.resetDefaultState(),x=-1,y=null,m.pop(),m.length>0?g=m[m.length-1]:g=null,h.pop(),h.length>0?b=h[h.length-1]:b=null};function On(U,pe,Se,Te){if(U.visible===!1)return;if(U.layers.test(pe.layers)){if(U.isGroup)Se=U.renderOrder;else if(U.isLOD)U.autoUpdate===!0&&U.update(pe);else if(U.isLight)g.pushLight(U),U.castShadow&&g.pushShadow(U);else if(U.isSprite){if(!U.frustumCulled||Z.intersectsSprite(U)){Te&&Q.setFromMatrixPosition(U.matrixWorld).applyMatrix4(j);const Qe=A.update(U),nt=U.material;nt.visible&&b.push(U,Qe,nt,Se,Q.z,null)}}else if((U.isMesh||U.isLine||U.isPoints)&&(!U.frustumCulled||Z.intersectsObject(U))){const Qe=A.update(U),nt=U.material;if(Te&&(U.boundingSphere!==void 0?(U.boundingSphere===null&&U.computeBoundingSphere(),Q.copy(U.boundingSphere.center)):(Qe.boundingSphere===null&&Qe.computeBoundingSphere(),Q.copy(Qe.boundingSphere.center)),Q.applyMatrix4(U.matrixWorld).applyMatrix4(j)),Array.isArray(nt)){const rt=Qe.groups;for(let dt=0,st=rt.length;dt<st;dt++){const lt=rt[dt],Ut=nt[lt.materialIndex];Ut&&Ut.visible&&b.push(U,Qe,Ut,Se,Q.z,lt)}}else nt.visible&&b.push(U,Qe,nt,Se,Q.z,null)}}const qe=U.children;for(let Qe=0,nt=qe.length;Qe<nt;Qe++)On(qe[Qe],pe,Se,Te)}function Ys(U,pe,Se,Te){const me=U.opaque,qe=U.transmissive,Qe=U.transparent;g.setupLightsView(Se),_e===!0&&ve.setGlobalState(S.clippingPlanes,Se),qe.length>0&&ya(me,qe,pe,Se),Te&&ee.viewport(R.copy(Te)),me.length>0&&Gi(me,pe,Se),qe.length>0&&Gi(qe,pe,Se),Qe.length>0&&Gi(Qe,pe,Se),ee.buffers.depth.setTest(!0),ee.buffers.depth.setMask(!0),ee.buffers.color.setMask(!0),ee.setPolygonOffset(!1)}function ya(U,pe,Se,Te){if((Se.isScene===!0?Se.overrideMaterial:null)!==null)return;const qe=re.isWebGL2;ye===null&&(ye=new Ps(1,1,{generateMipmaps:!0,type:V.has("EXT_color_buffer_half_float")?Tl:Yr,minFilter:ks,samples:qe?4:0})),S.getDrawingBufferSize(de),qe?ye.setSize(de.x,de.y):ye.setSize(Cd(de.x),Cd(de.y));const Qe=S.getRenderTarget();S.setRenderTarget(ye),S.getClearColor(W),M=S.getClearAlpha(),M<1&&S.setClearColor(16777215,.5),S.clear();const nt=S.toneMapping;S.toneMapping=qr,Gi(U,Se,Te),B.updateMultisampleRenderTarget(ye),B.updateRenderTargetMipmap(ye);let rt=!1;for(let dt=0,st=pe.length;dt<st;dt++){const lt=pe[dt],Ut=lt.object,dn=lt.geometry,qt=lt.material,hn=lt.group;if(qt.side===Ti&&Ut.layers.test(Te.layers)){const Bt=qt.side;qt.side=Ln,qt.needsUpdate=!0,Jr(Ut,Se,Te,dn,qt,hn),qt.side=Bt,qt.needsUpdate=!0,rt=!0}}rt===!0&&(B.updateMultisampleRenderTarget(ye),B.updateRenderTargetMipmap(ye)),S.setRenderTarget(Qe),S.setClearColor(W,M),S.toneMapping=nt}function Gi(U,pe,Se){const Te=pe.isScene===!0?pe.overrideMaterial:null;for(let me=0,qe=U.length;me<qe;me++){const Qe=U[me],nt=Qe.object,rt=Qe.geometry,dt=Te===null?Qe.material:Te,st=Qe.group;nt.layers.test(Se.layers)&&Jr(nt,pe,Se,rt,dt,st)}}function Jr(U,pe,Se,Te,me,qe){U.onBeforeRender(S,pe,Se,Te,me,qe),U.modelViewMatrix.multiplyMatrices(Se.matrixWorldInverse,U.matrixWorld),U.normalMatrix.getNormalMatrix(U.modelViewMatrix),me.onBeforeRender(S,pe,Se,Te,U,qe),me.transparent===!0&&me.side===Ti&&me.forceSinglePass===!1?(me.side=Ln,me.needsUpdate=!0,S.renderBufferDirect(Se,pe,Te,me,U,qe),me.side=dr,me.needsUpdate=!0,S.renderBufferDirect(Se,pe,Te,me,U,qe),me.side=Ti):S.renderBufferDirect(Se,pe,Te,me,U,qe),U.onAfterRender(S,pe,Se,Te,me,qe)}function zi(U,pe,Se){pe.isScene!==!0&&(pe=he);const Te=xe.get(U),me=g.state.lights,qe=g.state.shadowsArray,Qe=me.state.version,nt=G.getParameters(U,me.state,qe,pe,Se),rt=G.getProgramCacheKey(nt);let dt=Te.programs;Te.environment=U.isMeshStandardMaterial?pe.environment:null,Te.fog=pe.fog,Te.envMap=(U.isMeshStandardMaterial?te:ae).get(U.envMap||Te.environment),dt===void 0&&(U.addEventListener("dispose",Le),dt=new Map,Te.programs=dt);let st=dt.get(rt);if(st!==void 0){if(Te.currentProgram===st&&Te.lightsStateVersion===Qe)return $s(U,nt),st}else nt.uniforms=G.getUniforms(U),U.onBuild(Se,nt,S),U.onBeforeCompile(nt,S),st=G.acquireProgram(nt,rt),dt.set(rt,st),Te.uniforms=nt.uniforms;const lt=Te.uniforms;return(!U.isShaderMaterial&&!U.isRawShaderMaterial||U.clipping===!0)&&(lt.clippingPlanes=ve.uniform),$s(U,nt),Te.needsLights=va(U),Te.lightsStateVersion=Qe,Te.needsLights&&(lt.ambientLightColor.value=me.state.ambient,lt.lightProbe.value=me.state.probe,lt.directionalLights.value=me.state.directional,lt.directionalLightShadows.value=me.state.directionalShadow,lt.spotLights.value=me.state.spot,lt.spotLightShadows.value=me.state.spotShadow,lt.rectAreaLights.value=me.state.rectArea,lt.ltc_1.value=me.state.rectAreaLTC1,lt.ltc_2.value=me.state.rectAreaLTC2,lt.pointLights.value=me.state.point,lt.pointLightShadows.value=me.state.pointShadow,lt.hemisphereLights.value=me.state.hemi,lt.directionalShadowMap.value=me.state.directionalShadowMap,lt.directionalShadowMatrix.value=me.state.directionalShadowMatrix,lt.spotShadowMap.value=me.state.spotShadowMap,lt.spotLightMatrix.value=me.state.spotLightMatrix,lt.spotLightMap.value=me.state.spotLightMap,lt.pointShadowMap.value=me.state.pointShadowMap,lt.pointShadowMatrix.value=me.state.pointShadowMatrix),Te.currentProgram=st,Te.uniformsList=null,st}function es(U){if(U.uniformsList===null){const pe=U.currentProgram.getUniforms();U.uniformsList=jc.seqWithValue(pe.seq,U.uniforms)}return U.uniformsList}function $s(U,pe){const Se=xe.get(U);Se.outputColorSpace=pe.outputColorSpace,Se.batching=pe.batching,Se.instancing=pe.instancing,Se.instancingColor=pe.instancingColor,Se.skinning=pe.skinning,Se.morphTargets=pe.morphTargets,Se.morphNormals=pe.morphNormals,Se.morphColors=pe.morphColors,Se.morphTargetsCount=pe.morphTargetsCount,Se.numClippingPlanes=pe.numClippingPlanes,Se.numIntersection=pe.numClipIntersection,Se.vertexAlphas=pe.vertexAlphas,Se.vertexTangents=pe.vertexTangents,Se.toneMapping=pe.toneMapping}function Ws(U,pe,Se,Te,me){pe.isScene!==!0&&(pe=he),B.resetTextureUnits();const qe=pe.fog,Qe=Te.isMeshStandardMaterial?pe.environment:null,nt=N===null?S.outputColorSpace:N.isXRRenderTarget===!0?N.texture.colorSpace:fn,rt=(Te.isMeshStandardMaterial?te:ae).get(Te.envMap||Qe),dt=Te.vertexColors===!0&&!!Se.attributes.color&&Se.attributes.color.itemSize===4,st=!!Se.attributes.tangent&&(!!Te.normalMap||Te.anisotropy>0),lt=!!Se.morphAttributes.position,Ut=!!Se.morphAttributes.normal,dn=!!Se.morphAttributes.color;let qt=qr;Te.toneMapped&&(N===null||N.isXRRenderTarget===!0)&&(qt=S.toneMapping);const hn=Se.morphAttributes.position||Se.morphAttributes.normal||Se.morphAttributes.color,Bt=hn!==void 0?hn.length:0,pt=xe.get(Te),Ta=g.state.lights;if(_e===!0&&(fe===!0||U!==y)){const Nn=U===y&&Te.id===x;ve.setState(Te,U,Nn)}let Ht=!1;Te.version===pt.__version?(pt.needsLights&&pt.lightsStateVersion!==Ta.state.version||pt.outputColorSpace!==nt||me.isBatchedMesh&&pt.batching===!1||!me.isBatchedMesh&&pt.batching===!0||me.isInstancedMesh&&pt.instancing===!1||!me.isInstancedMesh&&pt.instancing===!0||me.isSkinnedMesh&&pt.skinning===!1||!me.isSkinnedMesh&&pt.skinning===!0||me.isInstancedMesh&&pt.instancingColor===!0&&me.instanceColor===null||me.isInstancedMesh&&pt.instancingColor===!1&&me.instanceColor!==null||pt.envMap!==rt||Te.fog===!0&&pt.fog!==qe||pt.numClippingPlanes!==void 0&&(pt.numClippingPlanes!==ve.numPlanes||pt.numIntersection!==ve.numIntersection)||pt.vertexAlphas!==dt||pt.vertexTangents!==st||pt.morphTargets!==lt||pt.morphNormals!==Ut||pt.morphColors!==dn||pt.toneMapping!==qt||re.isWebGL2===!0&&pt.morphTargetsCount!==Bt)&&(Ht=!0):(Ht=!0,pt.__version=Te.version);let Hi=pt.currentProgram;Ht===!0&&(Hi=zi(Te,pe,me));let Fl=!1,ns=!1,xa=!1;const on=Hi.getUniforms(),Vi=pt.uniforms;if(ee.useProgram(Hi.program)&&(Fl=!0,ns=!0,xa=!0),Te.id!==x&&(x=Te.id,ns=!0),Fl||y!==U){on.setValue(O,"projectionMatrix",U.projectionMatrix),on.setValue(O,"viewMatrix",U.matrixWorldInverse);const Nn=on.map.cameraPosition;Nn!==void 0&&Nn.setValue(O,Q.setFromMatrixPosition(U.matrixWorld)),re.logarithmicDepthBuffer&&on.setValue(O,"logDepthBufFC",2/(Math.log(U.far+1)/Math.LN2)),(Te.isMeshPhongMaterial||Te.isMeshToonMaterial||Te.isMeshLambertMaterial||Te.isMeshBasicMaterial||Te.isMeshStandardMaterial||Te.isShaderMaterial)&&on.setValue(O,"isOrthographic",U.isOrthographicCamera===!0),y!==U&&(y=U,ns=!0,xa=!0)}if(me.isSkinnedMesh){on.setOptional(O,me,"bindMatrix"),on.setOptional(O,me,"bindMatrixInverse");const Nn=me.skeleton;Nn&&(re.floatVertexTextures?(Nn.boneTexture===null&&Nn.computeBoneTexture(),on.setValue(O,"boneTexture",Nn.boneTexture,B)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}me.isBatchedMesh&&(on.setOptional(O,me,"batchingTexture"),on.setValue(O,"batchingTexture",me._matricesTexture,B));const Ca=Se.morphAttributes;if((Ca.position!==void 0||Ca.normal!==void 0||Ca.color!==void 0&&re.isWebGL2===!0)&&Ue.update(me,Se,Hi),(ns||pt.receiveShadow!==me.receiveShadow)&&(pt.receiveShadow=me.receiveShadow,on.setValue(O,"receiveShadow",me.receiveShadow)),Te.isMeshGouraudMaterial&&Te.envMap!==null&&(Vi.envMap.value=rt,Vi.flipEnvMap.value=rt.isCubeTexture&&rt.isRenderTargetTexture===!1?-1:1),ns&&(on.setValue(O,"toneMappingExposure",S.toneMappingExposure),pt.needsLights&&ts(Vi,xa),qe&&Te.fog===!0&&ce.refreshFogUniforms(Vi,qe),ce.refreshMaterialUniforms(Vi,Te,I,z,ye),jc.upload(O,es(pt),Vi,B)),Te.isShaderMaterial&&Te.uniformsNeedUpdate===!0&&(jc.upload(O,es(pt),Vi,B),Te.uniformsNeedUpdate=!1),Te.isSpriteMaterial&&on.setValue(O,"center",me.center),on.setValue(O,"modelViewMatrix",me.modelViewMatrix),on.setValue(O,"normalMatrix",me.normalMatrix),on.setValue(O,"modelMatrix",me.matrixWorld),Te.isShaderMaterial||Te.isRawShaderMaterial){const Nn=Te.uniformsGroups;for(let Ra=0,_u=Nn.length;Ra<_u;Ra++)if(re.isWebGL2){const Bl=Nn[Ra];Pe.update(Bl,Hi),Pe.bind(Bl,Hi)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return Hi}function ts(U,pe){U.ambientLightColor.needsUpdate=pe,U.lightProbe.needsUpdate=pe,U.directionalLights.needsUpdate=pe,U.directionalLightShadows.needsUpdate=pe,U.pointLights.needsUpdate=pe,U.pointLightShadows.needsUpdate=pe,U.spotLights.needsUpdate=pe,U.spotLightShadows.needsUpdate=pe,U.rectAreaLights.needsUpdate=pe,U.hemisphereLights.needsUpdate=pe}function va(U){return U.isMeshLambertMaterial||U.isMeshToonMaterial||U.isMeshPhongMaterial||U.isMeshStandardMaterial||U.isShadowMaterial||U.isShaderMaterial&&U.lights===!0}this.getActiveCubeFace=function(){return T},this.getActiveMipmapLevel=function(){return C},this.getRenderTarget=function(){return N},this.setRenderTargetTextures=function(U,pe,Se){xe.get(U.texture).__webglTexture=pe,xe.get(U.depthTexture).__webglTexture=Se;const Te=xe.get(U);Te.__hasExternalTextures=!0,Te.__hasExternalTextures&&(Te.__autoAllocateDepthBuffer=Se===void 0,Te.__autoAllocateDepthBuffer||V.has("WEBGL_multisampled_render_to_texture")===!0&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),Te.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(U,pe){const Se=xe.get(U);Se.__webglFramebuffer=pe,Se.__useDefaultFramebuffer=pe===void 0},this.setRenderTarget=function(U,pe=0,Se=0){N=U,T=pe,C=Se;let Te=!0,me=null,qe=!1,Qe=!1;if(U){const rt=xe.get(U);rt.__useDefaultFramebuffer!==void 0?(ee.bindFramebuffer(O.FRAMEBUFFER,null),Te=!1):rt.__webglFramebuffer===void 0?B.setupRenderTarget(U):rt.__hasExternalTextures&&B.rebindTextures(U,xe.get(U.texture).__webglTexture,xe.get(U.depthTexture).__webglTexture);const dt=U.texture;(dt.isData3DTexture||dt.isDataArrayTexture||dt.isCompressedArrayTexture)&&(Qe=!0);const st=xe.get(U).__webglFramebuffer;U.isWebGLCubeRenderTarget?(Array.isArray(st[pe])?me=st[pe][Se]:me=st[pe],qe=!0):re.isWebGL2&&U.samples>0&&B.useMultisampledRTT(U)===!1?me=xe.get(U).__webglMultisampledFramebuffer:Array.isArray(st)?me=st[Se]:me=st,R.copy(U.viewport),P.copy(U.scissor),k=U.scissorTest}else R.copy(q).multiplyScalar(I).floor(),P.copy(le).multiplyScalar(I).floor(),k=X;if(ee.bindFramebuffer(O.FRAMEBUFFER,me)&&re.drawBuffers&&Te&&ee.drawBuffers(U,me),ee.viewport(R),ee.scissor(P),ee.setScissorTest(k),qe){const rt=xe.get(U.texture);O.framebufferTexture2D(O.FRAMEBUFFER,O.COLOR_ATTACHMENT0,O.TEXTURE_CUBE_MAP_POSITIVE_X+pe,rt.__webglTexture,Se)}else if(Qe){const rt=xe.get(U.texture),dt=pe||0;O.framebufferTextureLayer(O.FRAMEBUFFER,O.COLOR_ATTACHMENT0,rt.__webglTexture,Se||0,dt)}x=-1},this.readRenderTargetPixels=function(U,pe,Se,Te,me,qe,Qe){if(!(U&&U.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let nt=xe.get(U).__webglFramebuffer;if(U.isWebGLCubeRenderTarget&&Qe!==void 0&&(nt=nt[Qe]),nt){ee.bindFramebuffer(O.FRAMEBUFFER,nt);try{const rt=U.texture,dt=rt.format,st=rt.type;if(dt!==Kn&&tt.convert(dt)!==O.getParameter(O.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const lt=st===Tl&&(V.has("EXT_color_buffer_half_float")||re.isWebGL2&&V.has("EXT_color_buffer_float"));if(st!==Yr&&tt.convert(st)!==O.getParameter(O.IMPLEMENTATION_COLOR_READ_TYPE)&&!(st===nr&&(re.isWebGL2||V.has("OES_texture_float")||V.has("WEBGL_color_buffer_float")))&&!lt){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}pe>=0&&pe<=U.width-Te&&Se>=0&&Se<=U.height-me&&O.readPixels(pe,Se,Te,me,tt.convert(dt),tt.convert(st),qe)}finally{const rt=N!==null?xe.get(N).__webglFramebuffer:null;ee.bindFramebuffer(O.FRAMEBUFFER,rt)}}},this.copyFramebufferToTexture=function(U,pe,Se=0){const Te=Math.pow(2,-Se),me=Math.floor(pe.image.width*Te),qe=Math.floor(pe.image.height*Te);B.setTexture2D(pe,0),O.copyTexSubImage2D(O.TEXTURE_2D,Se,0,0,U.x,U.y,me,qe),ee.unbindTexture()},this.copyTextureToTexture=function(U,pe,Se,Te=0){const me=pe.image.width,qe=pe.image.height,Qe=tt.convert(Se.format),nt=tt.convert(Se.type);B.setTexture2D(Se,0),O.pixelStorei(O.UNPACK_FLIP_Y_WEBGL,Se.flipY),O.pixelStorei(O.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Se.premultiplyAlpha),O.pixelStorei(O.UNPACK_ALIGNMENT,Se.unpackAlignment),pe.isDataTexture?O.texSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,me,qe,Qe,nt,pe.image.data):pe.isCompressedTexture?O.compressedTexSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,pe.mipmaps[0].width,pe.mipmaps[0].height,Qe,pe.mipmaps[0].data):O.texSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,Qe,nt,pe.image),Te===0&&Se.generateMipmaps&&O.generateMipmap(O.TEXTURE_2D),ee.unbindTexture()},this.copyTextureToTexture3D=function(U,pe,Se,Te,me=0){if(S.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const qe=U.max.x-U.min.x+1,Qe=U.max.y-U.min.y+1,nt=U.max.z-U.min.z+1,rt=tt.convert(Te.format),dt=tt.convert(Te.type);let st;if(Te.isData3DTexture)B.setTexture3D(Te,0),st=O.TEXTURE_3D;else if(Te.isDataArrayTexture)B.setTexture2DArray(Te,0),st=O.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}O.pixelStorei(O.UNPACK_FLIP_Y_WEBGL,Te.flipY),O.pixelStorei(O.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Te.premultiplyAlpha),O.pixelStorei(O.UNPACK_ALIGNMENT,Te.unpackAlignment);const lt=O.getParameter(O.UNPACK_ROW_LENGTH),Ut=O.getParameter(O.UNPACK_IMAGE_HEIGHT),dn=O.getParameter(O.UNPACK_SKIP_PIXELS),qt=O.getParameter(O.UNPACK_SKIP_ROWS),hn=O.getParameter(O.UNPACK_SKIP_IMAGES),Bt=Se.isCompressedTexture?Se.mipmaps[0]:Se.image;O.pixelStorei(O.UNPACK_ROW_LENGTH,Bt.width),O.pixelStorei(O.UNPACK_IMAGE_HEIGHT,Bt.height),O.pixelStorei(O.UNPACK_SKIP_PIXELS,U.min.x),O.pixelStorei(O.UNPACK_SKIP_ROWS,U.min.y),O.pixelStorei(O.UNPACK_SKIP_IMAGES,U.min.z),Se.isDataTexture||Se.isData3DTexture?O.texSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,dt,Bt.data):Se.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),O.compressedTexSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,Bt.data)):O.texSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,dt,Bt),O.pixelStorei(O.UNPACK_ROW_LENGTH,lt),O.pixelStorei(O.UNPACK_IMAGE_HEIGHT,Ut),O.pixelStorei(O.UNPACK_SKIP_PIXELS,dn),O.pixelStorei(O.UNPACK_SKIP_ROWS,qt),O.pixelStorei(O.UNPACK_SKIP_IMAGES,hn),me===0&&Te.generateMipmaps&&O.generateMipmap(st),ee.unbindTexture()},this.initTexture=function(U){U.isCubeTexture?B.setTextureCube(U,0):U.isData3DTexture?B.setTexture3D(U,0):U.isDataArrayTexture||U.isCompressedArrayTexture?B.setTexture2DArray(U,0):B.setTexture2D(U,0),ee.unbindTexture()},this.resetState=function(){T=0,C=0,N=null,ee.reset(),$e.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return ir}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===BE?"display-p3":"srgb",t.unpackColorSpace=Nt.workingColorSpace===ou?"display-p3":"srgb"}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(e){console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===Wt?Ns:Xw}set outputEncoding(e){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=e===Ns?Wt:fn}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(e){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=e}}class Pyt extends gO{}Pyt.prototype.isWebGL1Renderer=!0;class Uyt extends Yt{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t}}class Fyt{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=ng,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=pi()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.InterleavedBuffer: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let r=0,s=this.stride;r<s;r++)this.array[e+r]=t.array[i+r];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=pi()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),i=new this.constructor(t,this.stride);return i.setUsage(this.usage),i}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=pi()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const vn=new ue;class YE{constructor(e,t,i,r=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=e,this.itemSize=t,this.offset=i,this.normalized=r}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,i=this.data.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.applyMatrix4(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}applyNormalMatrix(e){for(let t=0,i=this.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.applyNormalMatrix(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}transformDirection(e){for(let t=0,i=this.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.transformDirection(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}setX(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){let t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=xi(t,this.array)),t}getY(e){let t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=xi(t,this.array)),t}getZ(e){let t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=xi(t,this.array)),t}getW(e){let t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=xi(t,this.array)),t}setXY(e,t,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this}setXYZ(e,t,i,r){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array),r=Dt(r,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=r,this}setXYZW(e,t,i,r,s){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array),r=Dt(r,this.array),s=Dt(s,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=r,this.data.array[e+3]=s,this}clone(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let i=0;i<this.count;i++){const r=i*this.data.stride+this.offset;for(let s=0;s<this.itemSize;s++)t.push(this.data.array[r+s])}return new wn(new this.array.constructor(t),this.itemSize,this.normalized)}else return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new YE(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let i=0;i<this.count;i++){const r=i*this.data.stride+this.offset;for(let s=0;s<this.itemSize;s++)t.push(this.data.array[r+s])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}else return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}const HC=new ue,VC=new kt,qC=new kt,Byt=new ue,YC=new gt,Oc=new ue,nm=new Ui,$C=new gt,im=new au;class Gyt extends An{constructor(e,t){super(e,t),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=Rx,this.bindMatrix=new gt,this.bindMatrixInverse=new gt,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const e=this.geometry;this.boundingBox===null&&(this.boundingBox=new hr),this.boundingBox.makeEmpty();const t=e.getAttribute("position");for(let i=0;i<t.count;i++)this.getVertexPosition(i,Oc),this.boundingBox.expandByPoint(Oc)}computeBoundingSphere(){const e=this.geometry;this.boundingSphere===null&&(this.boundingSphere=new Ui),this.boundingSphere.makeEmpty();const t=e.getAttribute("position");for(let i=0;i<t.count;i++)this.getVertexPosition(i,Oc),this.boundingSphere.expandByPoint(Oc)}copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,e.boundingBox!==null&&(this.boundingBox=e.boundingBox.clone()),e.boundingSphere!==null&&(this.boundingSphere=e.boundingSphere.clone()),this}raycast(e,t){const i=this.material,r=this.matrixWorld;i!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),nm.copy(this.boundingSphere),nm.applyMatrix4(r),e.ray.intersectsSphere(nm)!==!1&&($C.copy(r).invert(),im.copy(e.ray).applyMatrix4($C),!(this.boundingBox!==null&&im.intersectsBox(this.boundingBox)===!1)&&this._computeIntersections(e,t,im)))}getVertexPosition(e,t){return super.getVertexPosition(e,t),this.applyBoneTransform(e,t),t}bind(e,t){this.skeleton=e,t===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new kt,t=this.geometry.attributes.skinWeight;for(let i=0,r=t.count;i<r;i++){e.fromBufferAttribute(t,i);const s=1/e.manhattanLength();s!==1/0?e.multiplyScalar(s):e.set(1,0,0,0),t.setXYZW(i,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),this.bindMode===Rx?this.bindMatrixInverse.copy(this.matrixWorld).invert():this.bindMode===Qht?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}applyBoneTransform(e,t){const i=this.skeleton,r=this.geometry;VC.fromBufferAttribute(r.attributes.skinIndex,e),qC.fromBufferAttribute(r.attributes.skinWeight,e),HC.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let s=0;s<4;s++){const o=qC.getComponent(s);if(o!==0){const a=VC.getComponent(s);YC.multiplyMatrices(i.bones[a].matrixWorld,i.boneInverses[a]),t.addScaledVector(Byt.copy(HC).applyMatrix4(YC),o)}}return t.applyMatrix4(this.bindMatrixInverse)}boneTransform(e,t){return console.warn("THREE.SkinnedMesh: .boneTransform() was renamed to .applyBoneTransform() in r151."),this.applyBoneTransform(e,t)}}class EO extends Yt{constructor(){super(),this.isBone=!0,this.type="Bone"}}class zyt extends pn{constructor(e=null,t=1,i=1,r,s,o,a,l,c=ln,d=ln,u,_){super(null,o,a,l,c,d,r,s,u,_),this.isDataTexture=!0,this.image={data:e,width:t,height:i},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const WC=new gt,Hyt=new gt;class $E{constructor(e=[],t=[]){this.uuid=pi(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(e.length*16),t.length===0)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let i=0,r=this.bones.length;i<r;i++)this.boneInverses.push(new gt)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const i=new gt;this.bones[e]&&i.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(i)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const i=this.bones[e];i&&i.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const i=this.bones[e];i&&(i.parent&&i.parent.isBone?(i.matrix.copy(i.parent.matrixWorld).invert(),i.matrix.multiply(i.matrixWorld)):i.matrix.copy(i.matrixWorld),i.matrix.decompose(i.position,i.quaternion,i.scale))}}update(){const e=this.bones,t=this.boneInverses,i=this.boneMatrices,r=this.boneTexture;for(let s=0,o=e.length;s<o;s++){const a=e[s]?e[s].matrixWorld:Hyt;WC.multiplyMatrices(a,t[s]),WC.toArray(i,s*16)}r!==null&&(r.needsUpdate=!0)}clone(){return new $E(this.bones,this.boneInverses)}computeBoneTexture(){let e=Math.sqrt(this.bones.length*4);e=Math.ceil(e/4)*4,e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const i=new zyt(t,e,e,Kn,nr);return i.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=i,this}getBoneByName(e){for(let t=0,i=this.bones.length;t<i;t++){const r=this.bones[t];if(r.name===e)return r}}dispose(){this.boneTexture!==null&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let i=0,r=e.bones.length;i<r;i++){const s=e.bones[i];let o=t[s];o===void 0&&(console.warn("THREE.Skeleton: No bone found with UUID:",s),o=new EO),this.bones.push(o),this.boneInverses.push(new gt().fromArray(e.boneInverses[i]))}return this.init(),this}toJSON(){const e={metadata:{version:4.6,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,i=this.boneInverses;for(let r=0,s=t.length;r<s;r++){const o=t[r];e.bones.push(o.uuid);const a=i[r];e.boneInverses.push(a.toArray())}return e}}class og extends wn{constructor(e,t,i,r=1){super(e,t,i),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=r}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}toJSON(){const e=super.toJSON();return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}const go=new gt,KC=new gt,Nc=[],jC=new hr,Vyt=new gt,Ba=new An,Ga=new Ui;class qyt extends An{constructor(e,t,i){super(e,t),this.isInstancedMesh=!0,this.instanceMatrix=new og(new Float32Array(i*16),16),this.instanceColor=null,this.count=i,this.boundingBox=null,this.boundingSphere=null;for(let r=0;r<i;r++)this.setMatrixAt(r,Vyt)}computeBoundingBox(){const e=this.geometry,t=this.count;this.boundingBox===null&&(this.boundingBox=new hr),e.boundingBox===null&&e.computeBoundingBox(),this.boundingBox.makeEmpty();for(let i=0;i<t;i++)this.getMatrixAt(i,go),jC.copy(e.boundingBox).applyMatrix4(go),this.boundingBox.union(jC)}computeBoundingSphere(){const e=this.geometry,t=this.count;this.boundingSphere===null&&(this.boundingSphere=new Ui),e.boundingSphere===null&&e.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let i=0;i<t;i++)this.getMatrixAt(i,go),Ga.copy(e.boundingSphere).applyMatrix4(go),this.boundingSphere.union(Ga)}copy(e,t){return super.copy(e,t),this.instanceMatrix.copy(e.instanceMatrix),e.instanceColor!==null&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,e.boundingBox!==null&&(this.boundingBox=e.boundingBox.clone()),e.boundingSphere!==null&&(this.boundingSphere=e.boundingSphere.clone()),this}getColorAt(e,t){t.fromArray(this.instanceColor.array,e*3)}getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,e*16)}raycast(e,t){const i=this.matrixWorld,r=this.count;if(Ba.geometry=this.geometry,Ba.material=this.material,Ba.material!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),Ga.copy(this.boundingSphere),Ga.applyMatrix4(i),e.ray.intersectsSphere(Ga)!==!1))for(let s=0;s<r;s++){this.getMatrixAt(s,go),KC.multiplyMatrices(i,go),Ba.matrixWorld=KC,Ba.raycast(e,Nc);for(let o=0,a=Nc.length;o<a;o++){const l=Nc[o];l.instanceId=s,l.object=this,t.push(l)}Nc.length=0}}setColorAt(e,t){this.instanceColor===null&&(this.instanceColor=new og(new Float32Array(this.instanceMatrix.count*3),3)),t.toArray(this.instanceColor.array,e*3)}setMatrixAt(e,t){t.toArray(this.instanceMatrix.array,e*16)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}class bO extends fi{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new at(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const QC=new ue,XC=new ue,ZC=new gt,rm=new au,Mc=new Ui;class WE extends Yt{constructor(e=new Fi,t=new bO){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[0];for(let r=1,s=t.count;r<s;r++)QC.fromBufferAttribute(t,r-1),XC.fromBufferAttribute(t,r),i[r]=i[r-1],i[r]+=QC.distanceTo(XC);e.setAttribute("lineDistance",new or(i,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(e,t){const i=this.geometry,r=this.matrixWorld,s=e.params.Line.threshold,o=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),Mc.copy(i.boundingSphere),Mc.applyMatrix4(r),Mc.radius+=s,e.ray.intersectsSphere(Mc)===!1)return;ZC.copy(r).invert(),rm.copy(e.ray).applyMatrix4(ZC);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,c=new ue,d=new ue,u=new ue,_=new ue,f=this.isLineSegments?2:1,E=i.index,g=i.attributes.position;if(E!==null){const h=Math.max(0,o.start),m=Math.min(E.count,o.start+o.count);for(let S=h,v=m-1;S<v;S+=f){const T=E.getX(S),C=E.getX(S+1);if(c.fromBufferAttribute(g,T),d.fromBufferAttribute(g,C),rm.distanceSqToSegment(c,d,_,u)>l)continue;_.applyMatrix4(this.matrixWorld);const x=e.ray.origin.distanceTo(_);x<e.near||x>e.far||t.push({distance:x,point:u.clone().applyMatrix4(this.matrixWorld),index:S,face:null,faceIndex:null,object:this})}}else{const h=Math.max(0,o.start),m=Math.min(g.count,o.start+o.count);for(let S=h,v=m-1;S<v;S+=f){if(c.fromBufferAttribute(g,S),d.fromBufferAttribute(g,S+1),rm.distanceSqToSegment(c,d,_,u)>l)continue;_.applyMatrix4(this.matrixWorld);const C=e.ray.origin.distanceTo(_);C<e.near||C>e.far||t.push({distance:C,point:u.clone().applyMatrix4(this.matrixWorld),index:S,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,i=Object.keys(t);if(i.length>0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s<o;s++){const a=r[s].name||String(s);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=s}}}}}const JC=new ue,eR=new ue;class Yyt extends WE{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[];for(let r=0,s=t.count;r<s;r+=2)JC.fromBufferAttribute(t,r),eR.fromBufferAttribute(t,r+1),i[r]=r===0?0:i[r-1],i[r+1]=i[r]+JC.distanceTo(eR);e.setAttribute("lineDistance",new or(i,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class $yt extends WE{constructor(e,t){super(e,t),this.isLineLoop=!0,this.type="LineLoop"}}class SO extends fi{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new at(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}const tR=new gt,ag=new au,Ic=new Ui,Dc=new ue;class Wyt extends Yt{constructor(e=new Fi,t=new SO){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}raycast(e,t){const i=this.geometry,r=this.matrixWorld,s=e.params.Points.threshold,o=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),Ic.copy(i.boundingSphere),Ic.applyMatrix4(r),Ic.radius+=s,e.ray.intersectsSphere(Ic)===!1)return;tR.copy(r).invert(),ag.copy(e.ray).applyMatrix4(tR);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,c=i.index,u=i.attributes.position;if(c!==null){const _=Math.max(0,o.start),f=Math.min(c.count,o.start+o.count);for(let E=_,b=f;E<b;E++){const g=c.getX(E);Dc.fromBufferAttribute(u,g),nR(Dc,g,l,r,e,t,this)}}else{const _=Math.max(0,o.start),f=Math.min(u.count,o.start+o.count);for(let E=_,b=f;E<b;E++)Dc.fromBufferAttribute(u,E),nR(Dc,E,l,r,e,t,this)}}updateMorphTargets(){const t=this.geometry.morphAttributes,i=Object.keys(t);if(i.length>0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s<o;s++){const a=r[s].name||String(s);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=s}}}}}function nR(n,e,t,i,r,s,o){const a=ag.distanceSqToPoint(n);if(a<t){const l=new ue;ag.closestPointToPoint(n,l),l.applyMatrix4(i);const c=r.ray.origin.distanceTo(l);if(c<r.near||c>r.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,object:o})}}class KE extends fi{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new at(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new at(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=FE,this.normalScale=new vt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class mr extends KE{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new vt(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return En(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new at(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new at(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new at(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class iR extends fi{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new at(16777215),this.specular=new at(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new at(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=FE,this.normalScale=new vt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=PE,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}function Lc(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function Kyt(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function jyt(n){function e(r,s){return n[r]-n[s]}const t=n.length,i=new Array(t);for(let r=0;r!==t;++r)i[r]=r;return i.sort(e),i}function rR(n,e,t){const i=n.length,r=new n.constructor(i);for(let s=0,o=0;o!==i;++s){const a=t[s]*e;for(let l=0;l!==e;++l)r[o++]=n[a+l]}return r}function yO(n,e,t,i){let r=1,s=n[0];for(;s!==void 0&&s[i]===void 0;)s=n[r++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push.apply(t,o)),s=n[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=n[r++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=n[r++];while(s!==void 0)}class Ul{constructor(e,t,i,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=r!==void 0?r:new t.constructor(i),this.sampleValues=t,this.valueSize=i,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let i=this._cachedIndex,r=t[i],s=t[i-1];e:{t:{let o;n:{i:if(!(e<r)){for(let a=i+2;;){if(r===void 0){if(e<s)break i;return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}if(i===a)break;if(s=r,r=t[++i],e<r)break t}o=t.length;break n}if(!(e>=s)){const a=t[1];e<a&&(i=2,s=a);for(let l=i-2;;){if(s===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(i===l)break;if(r=s,s=t[--i-1],e>=s)break t}o=i,i=0;break n}break e}for(;i<o;){const a=i+o>>>1;e<t[a]?o=a:i=a+1}if(r=t[i],s=t[i-1],s===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(r===void 0)return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}this._cachedIndex=i,this.intervalChanged_(i,s,r)}return this.interpolate_(i,s,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,r=this.valueSize,s=e*r;for(let o=0;o!==r;++o)t[o]=i[s+o];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Qyt extends Ul{constructor(e,t,i,r){super(e,t,i,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:Zx,endingEnd:Zx}}intervalChanged_(e,t,i){const r=this.parameterPositions;let s=e-2,o=e+1,a=r[s],l=r[o];if(a===void 0)switch(this.getSettings_().endingStart){case Jx:s=e,a=2*t-i;break;case eC:s=r.length-2,a=t+r[s]-r[s+1];break;default:s=e,a=i}if(l===void 0)switch(this.getSettings_().endingEnd){case Jx:o=e,l=2*i-t;break;case eC:o=1,l=i+r[1]-r[0];break;default:o=e-1,l=t}const c=(i-t)*.5,d=this.valueSize;this._weightPrev=c/(t-a),this._weightNext=c/(l-i),this._offsetPrev=s*d,this._offsetNext=o*d}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=e*a,c=l-a,d=this._offsetPrev,u=this._offsetNext,_=this._weightPrev,f=this._weightNext,E=(i-t)/(r-t),b=E*E,g=b*E,h=-_*g+2*_*b-_*E,m=(1+_)*g+(-1.5-2*_)*b+(-.5+_)*E+1,S=(-1-f)*g+(1.5+f)*b+.5*E,v=f*g-f*b;for(let T=0;T!==a;++T)s[T]=h*o[d+T]+m*o[c+T]+S*o[l+T]+v*o[u+T];return s}}class Xyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=e*a,c=l-a,d=(i-t)/(r-t),u=1-d;for(let _=0;_!==a;++_)s[_]=o[c+_]*u+o[l+_]*d;return s}}class Zyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e){return this.copySampleValue_(e-1)}}class Bi{constructor(e,t,i,r){if(e===void 0)throw new Error("THREE.KeyframeTrack: track name is undefined");if(t===void 0||t.length===0)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=Lc(t,this.TimeBufferType),this.values=Lc(i,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let i;if(t.toJSON!==this.toJSON)i=t.toJSON(e);else{i={name:e.name,times:Lc(e.times,Array),values:Lc(e.values,Array)};const r=e.getInterpolation();r!==e.DefaultInterpolation&&(i.interpolation=r)}return i.type=e.ValueTypeName,i}InterpolantFactoryMethodDiscrete(e){return new Zyt(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new Xyt(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new Qyt(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case xl:t=this.InterpolantFactoryMethodDiscrete;break;case Jo:t=this.InterpolantFactoryMethodLinear;break;case Ih:t=this.InterpolantFactoryMethodSmooth;break}if(t===void 0){const i="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(this.createInterpolant===void 0)if(e!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw new Error(i);return console.warn("THREE.KeyframeTrack:",i),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return xl;case this.InterpolantFactoryMethodLinear:return Jo;case this.InterpolantFactoryMethodSmooth:return Ih}}getValueSize(){return this.values.length/this.times.length}shift(e){if(e!==0){const t=this.times;for(let i=0,r=t.length;i!==r;++i)t[i]+=e}return this}scale(e){if(e!==1){const t=this.times;for(let i=0,r=t.length;i!==r;++i)t[i]*=e}return this}trim(e,t){const i=this.times,r=i.length;let s=0,o=r-1;for(;s!==r&&i[s]<e;)++s;for(;o!==-1&&i[o]>t;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=i.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const i=this.times,r=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){const l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(r!==void 0&&Kyt(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),i=this.getValueSize(),r=this.getInterpolation()===Ih,s=e.length-1;let o=1;for(let a=1;a<s;++a){let l=!1;const c=e[a],d=e[a+1];if(c!==d&&(a!==1||c!==e[0]))if(r)l=!0;else{const u=a*i,_=u-i,f=u+i;for(let E=0;E!==i;++E){const b=t[u+E];if(b!==t[_+E]||b!==t[f+E]){l=!0;break}}}if(l){if(a!==o){e[o]=e[a];const u=a*i,_=o*i;for(let f=0;f!==i;++f)t[_+f]=t[u+f]}++o}}if(s>0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*i)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),i=this.constructor,r=new i(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}}Bi.prototype.TimeBufferType=Float32Array;Bi.prototype.ValueBufferType=Float32Array;Bi.prototype.DefaultInterpolation=Jo;class Ea extends Bi{}Ea.prototype.ValueTypeName="bool";Ea.prototype.ValueBufferType=Array;Ea.prototype.DefaultInterpolation=xl;Ea.prototype.InterpolantFactoryMethodLinear=void 0;Ea.prototype.InterpolantFactoryMethodSmooth=void 0;class vO extends Bi{}vO.prototype.ValueTypeName="color";class na extends Bi{}na.prototype.ValueTypeName="number";class Jyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(r-t);let c=e*a;for(let d=c+a;c!==d;c+=4)Zr.slerpFlat(s,0,o,c-a,o,c,l);return s}}class Fs extends Bi{InterpolantFactoryMethodLinear(e){return new Jyt(this.times,this.values,this.getValueSize(),e)}}Fs.prototype.ValueTypeName="quaternion";Fs.prototype.DefaultInterpolation=Jo;Fs.prototype.InterpolantFactoryMethodSmooth=void 0;class ba extends Bi{}ba.prototype.ValueTypeName="string";ba.prototype.ValueBufferType=Array;ba.prototype.DefaultInterpolation=xl;ba.prototype.InterpolantFactoryMethodLinear=void 0;ba.prototype.InterpolantFactoryMethodSmooth=void 0;class ia extends Bi{}ia.prototype.ValueTypeName="vector";class evt{constructor(e,t=-1,i,r=smt){this.name=e,this.tracks=i,this.duration=t,this.blendMode=r,this.uuid=pi(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],i=e.tracks,r=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(nvt(i[o]).scale(r));const s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){const t=[],i=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(Bi.toJSON(i[s]));return r}static CreateFromMorphTargetSequence(e,t,i,r){const s=t.length,o=[];for(let a=0;a<s;a++){let l=[],c=[];l.push((a+s-1)%s,a,(a+1)%s),c.push(0,1,0);const d=jyt(l);l=rR(l,1,d),c=rR(c,1,d),!r&&l[0]===0&&(l.push(s),c.push(c[0])),o.push(new na(".morphTargetInfluences["+t[a].name+"]",l,c).scale(1/i))}return new this(e,-1,o)}static findByName(e,t){let i=e;if(!Array.isArray(e)){const r=e;i=r.geometry&&r.geometry.animations||r.animations}for(let r=0;r<i.length;r++)if(i[r].name===t)return i[r];return null}static CreateClipsFromMorphTargetSequences(e,t,i){const r={},s=/^([\w-]*?)([\d]+)$/;for(let a=0,l=e.length;a<l;a++){const c=e[a],d=c.name.match(s);if(d&&d.length>1){const u=d[1];let _=r[u];_||(r[u]=_=[]),_.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const i=function(u,_,f,E,b){if(f.length!==0){const g=[],h=[];yO(f,g,h,E),g.length!==0&&b.push(new u(_,g,h))}},r=[],s=e.name||"default",o=e.fps||30,a=e.blendMode;let l=e.length||-1;const c=e.hierarchy||[];for(let u=0;u<c.length;u++){const _=c[u].keys;if(!(!_||_.length===0))if(_[0].morphTargets){const f={};let E;for(E=0;E<_.length;E++)if(_[E].morphTargets)for(let b=0;b<_[E].morphTargets.length;b++)f[_[E].morphTargets[b]]=-1;for(const b in f){const g=[],h=[];for(let m=0;m!==_[E].morphTargets.length;++m){const S=_[E];g.push(S.time),h.push(S.morphTarget===b?1:0)}r.push(new na(".morphTargetInfluence["+b+"]",g,h))}l=f.length*o}else{const f=".bones["+t[u].name+"]";i(ia,f+".position",_,"pos",r),i(Fs,f+".quaternion",_,"rot",r),i(ia,f+".scale",_,"scl",r)}}return r.length===0?null:new this(s,l,r,a)}resetDuration(){const e=this.tracks;let t=0;for(let i=0,r=e.length;i!==r;++i){const s=this.tracks[i];t=Math.max(t,s.times[s.times.length-1])}return this.duration=t,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function tvt(n){switch(n.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return na;case"vector":case"vector2":case"vector3":case"vector4":return ia;case"color":return vO;case"quaternion":return Fs;case"bool":case"boolean":return Ea;case"string":return ba}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+n)}function nvt(n){if(n.type===void 0)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const e=tvt(n.type);if(n.times===void 0){const t=[],i=[];yO(n.keys,t,i,"value"),n.times=t,n.values=i}return e.parse!==void 0?e.parse(n):new e(n.name,n.times,n.values,n.interpolation)}const ra={enabled:!1,files:{},add:function(n,e){this.enabled!==!1&&(this.files[n]=e)},get:function(n){if(this.enabled!==!1)return this.files[n]},remove:function(n){delete this.files[n]},clear:function(){this.files={}}};class ivt{constructor(e,t,i){const r=this;let s=!1,o=0,a=0,l;const c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=i,this.itemStart=function(d){a++,s===!1&&r.onStart!==void 0&&r.onStart(d,o,a),s=!0},this.itemEnd=function(d){o++,r.onProgress!==void 0&&r.onProgress(d,o,a),o===a&&(s=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(d){r.onError!==void 0&&r.onError(d)},this.resolveURL=function(d){return l?l(d):d},this.setURLModifier=function(d){return l=d,this},this.addHandler=function(d,u){return c.push(d,u),this},this.removeHandler=function(d){const u=c.indexOf(d);return u!==-1&&c.splice(u,2),this},this.getHandler=function(d){for(let u=0,_=c.length;u<_;u+=2){const f=c[u],E=c[u+1];if(f.global&&(f.lastIndex=0),f.test(d))return E}return null}}}const rvt=new ivt;class Sa{constructor(e){this.manager=e!==void 0?e:rvt,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const i=this;return new Promise(function(r,s){i.load(e,r,t,s)})}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}Sa.DEFAULT_MATERIAL_NAME="__DEFAULT";const Qi={};class svt extends Error{constructor(e,t){super(e),this.response=t}}class TO extends Sa{constructor(e){super(e)}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=ra.get(e);if(s!==void 0)return this.manager.itemStart(e),setTimeout(()=>{t&&t(s),this.manager.itemEnd(e)},0),s;if(Qi[e]!==void 0){Qi[e].push({onLoad:t,onProgress:i,onError:r});return}Qi[e]=[],Qi[e].push({onLoad:t,onProgress:i,onError:r});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const d=Qi[e],u=c.body.getReader(),_=c.headers.get("Content-Length")||c.headers.get("X-File-Size"),f=_?parseInt(_):0,E=f!==0;let b=0;const g=new ReadableStream({start(h){m();function m(){u.read().then(({done:S,value:v})=>{if(S)h.close();else{b+=v.byteLength;const T=new ProgressEvent("progress",{lengthComputable:E,loaded:b,total:f});for(let C=0,N=d.length;C<N;C++){const x=d[C];x.onProgress&&x.onProgress(T)}h.enqueue(v),m()}})}}});return new Response(g)}else throw new svt(`fetch for "${c.url}" responded with ${c.status}: ${c.statusText}`,c)}).then(c=>{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(d=>new DOMParser().parseFromString(d,a));case"json":return c.json();default:if(a===void 0)return c.text();{const u=/charset="?([^;"\s]*)"?/i.exec(a),_=u&&u[1]?u[1].toLowerCase():void 0,f=new TextDecoder(_);return c.arrayBuffer().then(E=>f.decode(E))}}}).then(c=>{ra.add(e,c);const d=Qi[e];delete Qi[e];for(let u=0,_=d.length;u<_;u++){const f=d[u];f.onLoad&&f.onLoad(c)}}).catch(c=>{const d=Qi[e];if(d===void 0)throw this.manager.itemError(e),c;delete Qi[e];for(let u=0,_=d.length;u<_;u++){const f=d[u];f.onError&&f.onError(c)}this.manager.itemError(e)}).finally(()=>{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class ovt extends Sa{constructor(e){super(e)}load(e,t,i,r){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=ra.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;const a=Cl("img");function l(){d(),ra.add(e,this),t&&t(this),s.manager.itemEnd(e)}function c(u){d(),r&&r(u),s.manager.itemError(e),s.manager.itemEnd(e)}function d(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(e),a.src=e,a}}class xO extends Sa{constructor(e){super(e)}load(e,t,i,r){const s=new pn,o=new ovt(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,function(a){s.image=a,s.needsUpdate=!0,t!==void 0&&t(s)},i,r),s}}class du extends Yt{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new at(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,this.groundColor!==void 0&&(t.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(t.object.distance=this.distance),this.angle!==void 0&&(t.object.angle=this.angle),this.decay!==void 0&&(t.object.decay=this.decay),this.penumbra!==void 0&&(t.object.penumbra=this.penumbra),this.shadow!==void 0&&(t.object.shadow=this.shadow.toJSON()),t}}const sm=new gt,sR=new ue,oR=new ue;class jE{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new vt(512,512),this.map=null,this.mapPass=null,this.matrix=new gt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new zE,this._frameExtents=new vt(1,1),this._viewportCount=1,this._viewports=[new kt(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,i=this.matrix;sR.setFromMatrixPosition(e.matrixWorld),t.position.copy(sR),oR.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(oR),t.updateMatrixWorld(),sm.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(sm),i.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),i.multiply(sm)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const e={};return this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class avt extends jE{constructor(){super(new Cn(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,i=ea*2*e.angle*this.focus,r=this.mapSize.width/this.mapSize.height,s=e.distance||t.far;(i!==t.fov||r!==t.aspect||s!==t.far)&&(t.fov=i,t.aspect=r,t.far=s,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class lvt extends du{constructor(e,t,i=0,r=Math.PI/3,s=0,o=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(Yt.DEFAULT_UP),this.updateMatrix(),this.target=new Yt,this.distance=i,this.angle=r,this.penumbra=s,this.decay=o,this.map=null,this.shadow=new avt}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const aR=new gt,za=new ue,om=new ue;class cvt extends jE{constructor(){super(new Cn(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new vt(4,2),this._viewportCount=6,this._viewports=[new kt(2,1,1,1),new kt(0,1,1,1),new kt(3,1,1,1),new kt(1,1,1,1),new kt(3,0,1,1),new kt(1,0,1,1)],this._cubeDirections=[new ue(1,0,0),new ue(-1,0,0),new ue(0,0,1),new ue(0,0,-1),new ue(0,1,0),new ue(0,-1,0)],this._cubeUps=[new ue(0,1,0),new ue(0,1,0),new ue(0,1,0),new ue(0,1,0),new ue(0,0,1),new ue(0,0,-1)]}updateMatrices(e,t=0){const i=this.camera,r=this.matrix,s=e.distance||i.far;s!==i.far&&(i.far=s,i.updateProjectionMatrix()),za.setFromMatrixPosition(e.matrixWorld),i.position.copy(za),om.copy(i.position),om.add(this._cubeDirections[t]),i.up.copy(this._cubeUps[t]),i.lookAt(om),i.updateMatrixWorld(),r.makeTranslation(-za.x,-za.y,-za.z),aR.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse),this._frustum.setFromProjectionMatrix(aR)}}class dvt extends du{constructor(e,t,i=0,r=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=i,this.decay=r,this.shadow=new cvt}get power(){return this.intensity*4*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class uvt extends jE{constructor(){super(new VE(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class CO extends du{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(Yt.DEFAULT_UP),this.updateMatrix(),this.target=new Yt,this.shadow=new uvt}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class _vt extends du{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class sl{static decodeText(e){if(typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let i=0,r=e.length;i<r;i++)t+=String.fromCharCode(e[i]);try{return decodeURIComponent(escape(t))}catch{return t}}static extractUrlBase(e){const t=e.lastIndexOf("/");return t===-1?"./":e.slice(0,t+1)}static resolveURL(e,t){return typeof e!="string"||e===""?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}class pvt extends Sa{constructor(e){super(e),this.isImageBitmapLoader=!0,typeof createImageBitmap>"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=ra.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(l){return l.blob()}).then(function(l){return createImageBitmap(l,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(l){ra.add(e,l),t&&t(l),s.manager.itemEnd(e)}).catch(function(l){r&&r(l),s.manager.itemError(e),s.manager.itemEnd(e)}),s.manager.itemStart(e)}}const QE="\\[\\]\\.:\\/",fvt=new RegExp("["+QE+"]","g"),XE="[^"+QE+"]",hvt="[^"+QE.replace("\\.","")+"]",mvt=/((?:WC+[\/:])*)/.source.replace("WC",XE),gvt=/(WCOD+)?/.source.replace("WCOD",hvt),Evt=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",XE),bvt=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",XE),Svt=new RegExp("^"+mvt+gvt+Evt+bvt+"$"),yvt=["material","materials","bones","map"];class vvt{constructor(e,t,i){const r=i||It.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const i=this._targetGroup.nCachedObjects_,r=this._bindings[i];r!==void 0&&r.getValue(e,t)}setValue(e,t){const i=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=i.length;r!==s;++r)i[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}}class It{constructor(e,t,i){this.path=t,this.parsedPath=i||It.parseTrackName(t),this.node=It.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new It.Composite(e,t,i):new It(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(fvt,"")}static parseTrackName(e){const t=Svt.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=i.nodeName&&i.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=i.nodeName.substring(r+1);yvt.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,r),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){const i=function(s){for(let o=0;o<s.length;o++){const a=s[o];if(a.name===t||a.uuid===t)return a;const l=i(a.children);if(l)return l}return null},r=i(e.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)e[t++]=i[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,i=t.objectName,r=t.propertyName;let s=t.propertyIndex;if(e||(e=It.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e){console.warn("THREE.PropertyBinding: No target node found for track: "+this.path+".");return}if(i){let c=t.objectIndex;switch(i){case"materials":if(!e.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!e.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}e=e.material.materials;break;case"bones":if(!e.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}e=e.skeleton.bones;for(let d=0;d<e.length;d++)if(e[d].name===c){c=d;break}break;case"map":if("map"in e){e=e.map;break}if(!e.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!e.material.map){console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);return}e=e.material.map;break;default:if(e[i]===void 0){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}e=e[i]}if(c!==void 0){if(e[c]===void 0){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);return}e=e[c]}}const o=e[r];if(o===void 0){const c=t.nodeName;console.error("THREE.PropertyBinding: Trying to update property for track: "+c+"."+r+" but it wasn't found.",e);return}let a=this.Versioning.None;this.targetObject=e,e.needsUpdate!==void 0?a=this.Versioning.NeedsUpdate:e.matrixWorldNeedsUpdate!==void 0&&(a=this.Versioning.MatrixWorldNeedsUpdate);let l=this.BindingType.Direct;if(s!==void 0){if(r==="morphTargetInfluences"){if(!e.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);return}if(!e.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}e.morphTargetDictionary[s]!==void 0&&(s=e.morphTargetDictionary[s])}l=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=s}else o.fromArray!==void 0&&o.toArray!==void 0?(l=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(l=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=r;this.getValue=this.GetterByBindingType[l],this.setValue=this.SetterByBindingTypeAndVersioning[l][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}It.Composite=vvt;It.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3};It.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2};It.prototype.GetterByBindingType=[It.prototype._getValue_direct,It.prototype._getValue_array,It.prototype._getValue_arrayElement,It.prototype._getValue_toArray];It.prototype.SetterByBindingTypeAndVersioning=[[It.prototype._setValue_direct,It.prototype._setValue_direct_setNeedsUpdate,It.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[It.prototype._setValue_array,It.prototype._setValue_array_setNeedsUpdate,It.prototype._setValue_array_setMatrixWorldNeedsUpdate],[It.prototype._setValue_arrayElement,It.prototype._setValue_arrayElement_setNeedsUpdate,It.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[It.prototype._setValue_fromArray,It.prototype._setValue_fromArray_setNeedsUpdate,It.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:kE}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=kE);function lR(n,e){if(e===omt)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),n;if(e===tg||e===Qw){let t=n.getIndex();if(t===null){const o=[],a=n.getAttribute("position");if(a!==void 0){for(let l=0;l<a.count;l++)o.push(l);n.setIndex(o),t=n.getIndex()}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),n}const i=t.count-2,r=[];if(e===tg)for(let o=1;o<=i;o++)r.push(t.getX(0)),r.push(t.getX(o)),r.push(t.getX(o+1));else for(let o=0;o<i;o++)o%2===0?(r.push(t.getX(o)),r.push(t.getX(o+1)),r.push(t.getX(o+2))):(r.push(t.getX(o+2)),r.push(t.getX(o+1)),r.push(t.getX(o)));r.length/3!==i&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");const s=n.clone();return s.setIndex(r),s.clearGroups(),s}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",e),n}class Tvt extends Sa{constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register(function(t){return new wvt(t)}),this.register(function(t){return new Uvt(t)}),this.register(function(t){return new Fvt(t)}),this.register(function(t){return new Bvt(t)}),this.register(function(t){return new Nvt(t)}),this.register(function(t){return new Mvt(t)}),this.register(function(t){return new Ivt(t)}),this.register(function(t){return new Dvt(t)}),this.register(function(t){return new Avt(t)}),this.register(function(t){return new Lvt(t)}),this.register(function(t){return new Ovt(t)}),this.register(function(t){return new Pvt(t)}),this.register(function(t){return new kvt(t)}),this.register(function(t){return new Cvt(t)}),this.register(function(t){return new Gvt(t)}),this.register(function(t){return new zvt(t)})}load(e,t,i,r){const s=this;let o;if(this.resourcePath!=="")o=this.resourcePath;else if(this.path!==""){const c=sl.extractUrlBase(e);o=sl.resolveURL(c,this.path)}else o=sl.extractUrlBase(e);this.manager.itemStart(e);const a=function(c){r?r(c):console.error(c),s.manager.itemError(e),s.manager.itemEnd(e)},l=new TO(this.manager);l.setPath(this.path),l.setResponseType("arraybuffer"),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(e,function(c){try{s.parse(c,o,function(d){t(d),s.manager.itemEnd(e)},a)}catch(d){a(d)}},i,a)}setDRACOLoader(e){return this.dracoLoader=e,this}setDDSLoader(){throw new Error('THREE.GLTFLoader: "MSFT_texture_dds" no longer supported. Please update to "KHR_texture_basisu".')}setKTX2Loader(e){return this.ktx2Loader=e,this}setMeshoptDecoder(e){return this.meshoptDecoder=e,this}register(e){return this.pluginCallbacks.indexOf(e)===-1&&this.pluginCallbacks.push(e),this}unregister(e){return this.pluginCallbacks.indexOf(e)!==-1&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,i,r){let s;const o={},a={},l=new TextDecoder;if(typeof e=="string")s=JSON.parse(e);else if(e instanceof ArrayBuffer)if(l.decode(new Uint8Array(e,0,4))===RO){try{o[yt.KHR_BINARY_GLTF]=new Hvt(e)}catch(u){r&&r(u);return}s=JSON.parse(o[yt.KHR_BINARY_GLTF].content)}else s=JSON.parse(l.decode(e));else s=e;if(s.asset===void 0||s.asset.version[0]<2){r&&r(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));return}const c=new tTt(s,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});c.fileLoader.setRequestHeader(this.requestHeader);for(let d=0;d<this.pluginCallbacks.length;d++){const u=this.pluginCallbacks[d](c);u.name||console.error("THREE.GLTFLoader: Invalid plugin found: missing name"),a[u.name]=u,o[u.name]=!0}if(s.extensionsUsed)for(let d=0;d<s.extensionsUsed.length;++d){const u=s.extensionsUsed[d],_=s.extensionsRequired||[];switch(u){case yt.KHR_MATERIALS_UNLIT:o[u]=new Rvt;break;case yt.KHR_DRACO_MESH_COMPRESSION:o[u]=new Vvt(s,this.dracoLoader);break;case yt.KHR_TEXTURE_TRANSFORM:o[u]=new qvt;break;case yt.KHR_MESH_QUANTIZATION:o[u]=new Yvt;break;default:_.indexOf(u)>=0&&a[u]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+u+'".')}}c.setExtensions(o),c.setPlugins(a),c.parse(i,r)}parseAsync(e,t){const i=this;return new Promise(function(r,s){i.parse(e,t,r,s)})}}function xvt(){let n={};return{get:function(e){return n[e]},add:function(e,t){n[e]=t},remove:function(e){delete n[e]},removeAll:function(){n={}}}}const yt={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class Cvt{constructor(e){this.parser=e,this.name=yt.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let i=0,r=t.length;i<r;i++){const s=t[i];s.extensions&&s.extensions[this.name]&&s.extensions[this.name].light!==void 0&&e._addNodeRef(this.cache,s.extensions[this.name].light)}}_loadLight(e){const t=this.parser,i="light:"+e;let r=t.cache.get(i);if(r)return r;const s=t.json,l=((s.extensions&&s.extensions[this.name]||{}).lights||[])[e];let c;const d=new at(16777215);l.color!==void 0&&d.setRGB(l.color[0],l.color[1],l.color[2],fn);const u=l.range!==void 0?l.range:0;switch(l.type){case"directional":c=new CO(d),c.target.position.set(0,0,-1),c.add(c.target);break;case"point":c=new dvt(d),c.distance=u;break;case"spot":c=new lvt(d),c.distance=u,l.spot=l.spot||{},l.spot.innerConeAngle=l.spot.innerConeAngle!==void 0?l.spot.innerConeAngle:0,l.spot.outerConeAngle=l.spot.outerConeAngle!==void 0?l.spot.outerConeAngle:Math.PI/4,c.angle=l.spot.outerConeAngle,c.penumbra=1-l.spot.innerConeAngle/l.spot.outerConeAngle,c.target.position.set(0,0,-1),c.add(c.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+l.type)}return c.position.set(0,0,0),c.decay=2,kr(c,l),l.intensity!==void 0&&(c.intensity=l.intensity),c.name=t.createUniqueName(l.name||"light_"+e),r=Promise.resolve(c),t.cache.add(i,r),r}getDependency(e,t){if(e==="light")return this._loadLight(t)}createNodeAttachment(e){const t=this,i=this.parser,s=i.json.nodes[e],a=(s.extensions&&s.extensions[this.name]||{}).light;return a===void 0?null:this._loadLight(a).then(function(l){return i._getNodeRef(t.cache,a,l)})}}class Rvt{constructor(){this.name=yt.KHR_MATERIALS_UNLIT}getMaterialType(){return Br}extendParams(e,t,i){const r=[];e.color=new at(1,1,1),e.opacity=1;const s=t.pbrMetallicRoughness;if(s){if(Array.isArray(s.baseColorFactor)){const o=s.baseColorFactor;e.color.setRGB(o[0],o[1],o[2],fn),e.opacity=o[3]}s.baseColorTexture!==void 0&&r.push(i.assignTexture(e,"map",s.baseColorTexture,Wt))}return Promise.all(r)}}class Avt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=r.extensions[this.name].emissiveStrength;return s!==void 0&&(t.emissiveIntensity=s),Promise.resolve()}}class wvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_CLEARCOAT}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];if(o.clearcoatFactor!==void 0&&(t.clearcoat=o.clearcoatFactor),o.clearcoatTexture!==void 0&&s.push(i.assignTexture(t,"clearcoatMap",o.clearcoatTexture)),o.clearcoatRoughnessFactor!==void 0&&(t.clearcoatRoughness=o.clearcoatRoughnessFactor),o.clearcoatRoughnessTexture!==void 0&&s.push(i.assignTexture(t,"clearcoatRoughnessMap",o.clearcoatRoughnessTexture)),o.clearcoatNormalTexture!==void 0&&(s.push(i.assignTexture(t,"clearcoatNormalMap",o.clearcoatNormalTexture)),o.clearcoatNormalTexture.scale!==void 0)){const a=o.clearcoatNormalTexture.scale;t.clearcoatNormalScale=new vt(a,a)}return Promise.all(s)}}class Ovt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_IRIDESCENCE}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.iridescenceFactor!==void 0&&(t.iridescence=o.iridescenceFactor),o.iridescenceTexture!==void 0&&s.push(i.assignTexture(t,"iridescenceMap",o.iridescenceTexture)),o.iridescenceIor!==void 0&&(t.iridescenceIOR=o.iridescenceIor),t.iridescenceThicknessRange===void 0&&(t.iridescenceThicknessRange=[100,400]),o.iridescenceThicknessMinimum!==void 0&&(t.iridescenceThicknessRange[0]=o.iridescenceThicknessMinimum),o.iridescenceThicknessMaximum!==void 0&&(t.iridescenceThicknessRange[1]=o.iridescenceThicknessMaximum),o.iridescenceThicknessTexture!==void 0&&s.push(i.assignTexture(t,"iridescenceThicknessMap",o.iridescenceThicknessTexture)),Promise.all(s)}}class Nvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_SHEEN}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[];t.sheenColor=new at(0,0,0),t.sheenRoughness=0,t.sheen=1;const o=r.extensions[this.name];if(o.sheenColorFactor!==void 0){const a=o.sheenColorFactor;t.sheenColor.setRGB(a[0],a[1],a[2],fn)}return o.sheenRoughnessFactor!==void 0&&(t.sheenRoughness=o.sheenRoughnessFactor),o.sheenColorTexture!==void 0&&s.push(i.assignTexture(t,"sheenColorMap",o.sheenColorTexture,Wt)),o.sheenRoughnessTexture!==void 0&&s.push(i.assignTexture(t,"sheenRoughnessMap",o.sheenRoughnessTexture)),Promise.all(s)}}class Mvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_TRANSMISSION}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.transmissionFactor!==void 0&&(t.transmission=o.transmissionFactor),o.transmissionTexture!==void 0&&s.push(i.assignTexture(t,"transmissionMap",o.transmissionTexture)),Promise.all(s)}}class Ivt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_VOLUME}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];t.thickness=o.thicknessFactor!==void 0?o.thicknessFactor:0,o.thicknessTexture!==void 0&&s.push(i.assignTexture(t,"thicknessMap",o.thicknessTexture)),t.attenuationDistance=o.attenuationDistance||1/0;const a=o.attenuationColor||[1,1,1];return t.attenuationColor=new at().setRGB(a[0],a[1],a[2],fn),Promise.all(s)}}class Dvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_IOR}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=r.extensions[this.name];return t.ior=s.ior!==void 0?s.ior:1.5,Promise.resolve()}}class Lvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_SPECULAR}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];t.specularIntensity=o.specularFactor!==void 0?o.specularFactor:1,o.specularTexture!==void 0&&s.push(i.assignTexture(t,"specularIntensityMap",o.specularTexture));const a=o.specularColorFactor||[1,1,1];return t.specularColor=new at().setRGB(a[0],a[1],a[2],fn),o.specularColorTexture!==void 0&&s.push(i.assignTexture(t,"specularColorMap",o.specularColorTexture,Wt)),Promise.all(s)}}class kvt{constructor(e){this.parser=e,this.name=yt.EXT_MATERIALS_BUMP}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return t.bumpScale=o.bumpFactor!==void 0?o.bumpFactor:1,o.bumpTexture!==void 0&&s.push(i.assignTexture(t,"bumpMap",o.bumpTexture)),Promise.all(s)}}class Pvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_ANISOTROPY}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.anisotropyStrength!==void 0&&(t.anisotropy=o.anisotropyStrength),o.anisotropyRotation!==void 0&&(t.anisotropyRotation=o.anisotropyRotation),o.anisotropyTexture!==void 0&&s.push(i.assignTexture(t,"anisotropyMap",o.anisotropyTexture)),Promise.all(s)}}class Uvt{constructor(e){this.parser=e,this.name=yt.KHR_TEXTURE_BASISU}loadTexture(e){const t=this.parser,i=t.json,r=i.textures[e];if(!r.extensions||!r.extensions[this.name])return null;const s=r.extensions[this.name],o=t.options.ktx2Loader;if(!o){if(i.extensionsRequired&&i.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,s.source,o)}}class Fvt{constructor(e){this.parser=e,this.name=yt.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,i=this.parser,r=i.json,s=r.textures[e];if(!s.extensions||!s.extensions[t])return null;const o=s.extensions[t],a=r.images[o.source];let l=i.textureLoader;if(a.uri){const c=i.options.manager.getHandler(a.uri);c!==null&&(l=c)}return this.detectSupport().then(function(c){if(c)return i.loadTextureImage(e,o.source,l);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return i.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Bvt{constructor(e){this.parser=e,this.name=yt.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){const t=this.name,i=this.parser,r=i.json,s=r.textures[e];if(!s.extensions||!s.extensions[t])return null;const o=s.extensions[t],a=r.images[o.source];let l=i.textureLoader;if(a.uri){const c=i.options.manager.getHandler(a.uri);c!==null&&(l=c)}return this.detectSupport().then(function(c){if(c)return i.loadTextureImage(e,o.source,l);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return i.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Gvt{constructor(e){this.name=yt.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,i=t.bufferViews[e];if(i.extensions&&i.extensions[this.name]){const r=i.extensions[this.name],s=this.parser.getDependency("buffer",r.buffer),o=this.parser.options.meshoptDecoder;if(!o||!o.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return s.then(function(a){const l=r.byteOffset||0,c=r.byteLength||0,d=r.count,u=r.byteStride,_=new Uint8Array(a,l,c);return o.decodeGltfBufferAsync?o.decodeGltfBufferAsync(d,u,_,r.mode,r.filter).then(function(f){return f.buffer}):o.ready.then(function(){const f=new ArrayBuffer(d*u);return o.decodeGltfBuffer(new Uint8Array(f),d,u,_,r.mode,r.filter),f})})}else return null}}class zvt{constructor(e){this.name=yt.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,i=t.nodes[e];if(!i.extensions||!i.extensions[this.name]||i.mesh===void 0)return null;const r=t.meshes[i.mesh];for(const c of r.primitives)if(c.mode!==qn.TRIANGLES&&c.mode!==qn.TRIANGLE_STRIP&&c.mode!==qn.TRIANGLE_FAN&&c.mode!==void 0)return null;const o=i.extensions[this.name].attributes,a=[],l={};for(const c in o)a.push(this.parser.getDependency("accessor",o[c]).then(d=>(l[c]=d,l[c])));return a.length<1?null:(a.push(this.parser.createNodeMesh(e)),Promise.all(a).then(c=>{const d=c.pop(),u=d.isGroup?d.children:[d],_=c[0].count,f=[];for(const E of u){const b=new gt,g=new ue,h=new Zr,m=new ue(1,1,1),S=new qyt(E.geometry,E.material,_);for(let v=0;v<_;v++)l.TRANSLATION&&g.fromBufferAttribute(l.TRANSLATION,v),l.ROTATION&&h.fromBufferAttribute(l.ROTATION,v),l.SCALE&&m.fromBufferAttribute(l.SCALE,v),S.setMatrixAt(v,b.compose(g,h,m));for(const v in l)if(v==="_COLOR_0"){const T=l[v];S.instanceColor=new og(T.array,T.itemSize,T.normalized)}else v!=="TRANSLATION"&&v!=="ROTATION"&&v!=="SCALE"&&E.geometry.setAttribute(v,l[v]);Yt.prototype.copy.call(S,E),this.parser.assignFinalMaterial(S),f.push(S)}return d.isGroup?(d.clear(),d.add(...f),d):f[0]}))}}const RO="glTF",Ha=12,cR={JSON:1313821514,BIN:5130562};class Hvt{constructor(e){this.name=yt.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,Ha),i=new TextDecoder;if(this.header={magic:i.decode(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==RO)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const r=this.header.length-Ha,s=new DataView(e,Ha);let o=0;for(;o<r;){const a=s.getUint32(o,!0);o+=4;const l=s.getUint32(o,!0);if(o+=4,l===cR.JSON){const c=new Uint8Array(e,Ha+o,a);this.content=i.decode(c)}else if(l===cR.BIN){const c=Ha+o;this.body=e.slice(c,c+a)}o+=a}if(this.content===null)throw new Error("THREE.GLTFLoader: JSON content not found.")}}class Vvt{constructor(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=yt.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t,this.dracoLoader.preload()}decodePrimitive(e,t){const i=this.json,r=this.dracoLoader,s=e.extensions[this.name].bufferView,o=e.extensions[this.name].attributes,a={},l={},c={};for(const d in o){const u=lg[d]||d.toLowerCase();a[u]=o[d]}for(const d in e.attributes){const u=lg[d]||d.toLowerCase();if(o[d]!==void 0){const _=i.accessors[e.attributes[d]],f=Do[_.componentType];c[u]=f.name,l[u]=_.normalized===!0}}return t.getDependency("bufferView",s).then(function(d){return new Promise(function(u){r.decodeDracoFile(d,function(_){for(const f in _.attributes){const E=_.attributes[f],b=l[f];b!==void 0&&(E.normalized=b)}u(_)},a,c)})})}}class qvt{constructor(){this.name=yt.KHR_TEXTURE_TRANSFORM}extendTexture(e,t){return(t.texCoord===void 0||t.texCoord===e.channel)&&t.offset===void 0&&t.rotation===void 0&&t.scale===void 0||(e=e.clone(),t.texCoord!==void 0&&(e.channel=t.texCoord),t.offset!==void 0&&e.offset.fromArray(t.offset),t.rotation!==void 0&&(e.rotation=t.rotation),t.scale!==void 0&&e.repeat.fromArray(t.scale),e.needsUpdate=!0),e}}class Yvt{constructor(){this.name=yt.KHR_MESH_QUANTIZATION}}class AO extends Ul{constructor(e,t,i,r){super(e,t,i,r)}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,r=this.valueSize,s=e*r*3+r;for(let o=0;o!==r;o++)t[o]=i[s+o];return t}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=a*2,c=a*3,d=r-t,u=(i-t)/d,_=u*u,f=_*u,E=e*c,b=E-c,g=-2*f+3*_,h=f-_,m=1-g,S=h-_+u;for(let v=0;v!==a;v++){const T=o[b+v+a],C=o[b+v+l]*d,N=o[E+v+a],x=o[E+v]*d;s[v]=m*T+S*C+g*N+h*x}return s}}const $vt=new Zr;class Wvt extends AO{interpolate_(e,t,i,r){const s=super.interpolate_(e,t,i,r);return $vt.fromArray(s).normalize().toArray(s),s}}const qn={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123},Do={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},dR={9728:ln,9729:Mn,9984:eg,9985:Hw,9986:Kc,9987:ks},uR={33071:Wn,33648:Sd,10497:Xo},am={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},lg={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},Rr={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},Kvt={CUBICSPLINE:void 0,LINEAR:Jo,STEP:xl},lm={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function jvt(n){return n.DefaultMaterial===void 0&&(n.DefaultMaterial=new KE({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:dr})),n.DefaultMaterial}function us(n,e,t){for(const i in t.extensions)n[i]===void 0&&(e.userData.gltfExtensions=e.userData.gltfExtensions||{},e.userData.gltfExtensions[i]=t.extensions[i])}function kr(n,e){e.extras!==void 0&&(typeof e.extras=="object"?Object.assign(n.userData,e.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+e.extras))}function Qvt(n,e,t){let i=!1,r=!1,s=!1;for(let c=0,d=e.length;c<d;c++){const u=e[c];if(u.POSITION!==void 0&&(i=!0),u.NORMAL!==void 0&&(r=!0),u.COLOR_0!==void 0&&(s=!0),i&&r&&s)break}if(!i&&!r&&!s)return Promise.resolve(n);const o=[],a=[],l=[];for(let c=0,d=e.length;c<d;c++){const u=e[c];if(i){const _=u.POSITION!==void 0?t.getDependency("accessor",u.POSITION):n.attributes.position;o.push(_)}if(r){const _=u.NORMAL!==void 0?t.getDependency("accessor",u.NORMAL):n.attributes.normal;a.push(_)}if(s){const _=u.COLOR_0!==void 0?t.getDependency("accessor",u.COLOR_0):n.attributes.color;l.push(_)}}return Promise.all([Promise.all(o),Promise.all(a),Promise.all(l)]).then(function(c){const d=c[0],u=c[1],_=c[2];return i&&(n.morphAttributes.position=d),r&&(n.morphAttributes.normal=u),s&&(n.morphAttributes.color=_),n.morphTargetsRelative=!0,n})}function Xvt(n,e){if(n.updateMorphTargets(),e.weights!==void 0)for(let t=0,i=e.weights.length;t<i;t++)n.morphTargetInfluences[t]=e.weights[t];if(e.extras&&Array.isArray(e.extras.targetNames)){const t=e.extras.targetNames;if(n.morphTargetInfluences.length===t.length){n.morphTargetDictionary={};for(let i=0,r=t.length;i<r;i++)n.morphTargetDictionary[t[i]]=i}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function Zvt(n){let e;const t=n.extensions&&n.extensions[yt.KHR_DRACO_MESH_COMPRESSION];if(t?e="draco:"+t.bufferView+":"+t.indices+":"+cm(t.attributes):e=n.indices+":"+cm(n.attributes)+":"+n.mode,n.targets!==void 0)for(let i=0,r=n.targets.length;i<r;i++)e+=":"+cm(n.targets[i]);return e}function cm(n){let e="";const t=Object.keys(n).sort();for(let i=0,r=t.length;i<r;i++)e+=t[i]+":"+n[t[i]]+";";return e}function cg(n){switch(n){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}function Jvt(n){return n.search(/\.jpe?g($|\?)/i)>0||n.search(/^data\:image\/jpeg/)===0?"image/jpeg":n.search(/\.webp($|\?)/i)>0||n.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const eTt=new gt;class tTt{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new xvt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let i=!1,r=!1,s=-1;typeof navigator<"u"&&(i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,r=navigator.userAgent.indexOf("Firefox")>-1,s=r?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap>"u"||i||r&&s<98?this.textureLoader=new xO(this.options.manager):this.textureLoader=new pvt(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new TO(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const i=this,r=this.json,s=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(o){return o._markDefs&&o._markDefs()}),Promise.all(this._invokeAll(function(o){return o.beforeRoot&&o.beforeRoot()})).then(function(){return Promise.all([i.getDependencies("scene"),i.getDependencies("animation"),i.getDependencies("camera")])}).then(function(o){const a={scene:o[0][r.scene||0],scenes:o[0],animations:o[1],cameras:o[2],asset:r.asset,parser:i,userData:{}};return us(s,a,r),kr(a,r),Promise.all(i._invokeAll(function(l){return l.afterRoot&&l.afterRoot(a)})).then(function(){e(a)})}).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],i=this.json.meshes||[];for(let r=0,s=t.length;r<s;r++){const o=t[r].joints;for(let a=0,l=o.length;a<l;a++)e[o[a]].isBone=!0}for(let r=0,s=e.length;r<s;r++){const o=e[r];o.mesh!==void 0&&(this._addNodeRef(this.meshCache,o.mesh),o.skin!==void 0&&(i[o.mesh].isSkinnedMesh=!0)),o.camera!==void 0&&this._addNodeRef(this.cameraCache,o.camera)}}_addNodeRef(e,t){t!==void 0&&(e.refs[t]===void 0&&(e.refs[t]=e.uses[t]=0),e.refs[t]++)}_getNodeRef(e,t,i){if(e.refs[t]<=1)return i;const r=i.clone(),s=(o,a)=>{const l=this.associations.get(o);l!=null&&this.associations.set(a,l);for(const[c,d]of o.children.entries())s(d,a.children[c])};return s(i,r),r.name+="_instance_"+e.uses[t]++,r}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let i=0;i<t.length;i++){const r=e(t[i]);if(r)return r}return null}_invokeAll(e){const t=Object.values(this.plugins);t.unshift(this);const i=[];for(let r=0;r<t.length;r++){const s=e(t[r]);s&&i.push(s)}return i}getDependency(e,t){const i=e+":"+t;let r=this.cache.get(i);if(!r){switch(e){case"scene":r=this.loadScene(t);break;case"node":r=this._invokeOne(function(s){return s.loadNode&&s.loadNode(t)});break;case"mesh":r=this._invokeOne(function(s){return s.loadMesh&&s.loadMesh(t)});break;case"accessor":r=this.loadAccessor(t);break;case"bufferView":r=this._invokeOne(function(s){return s.loadBufferView&&s.loadBufferView(t)});break;case"buffer":r=this.loadBuffer(t);break;case"material":r=this._invokeOne(function(s){return s.loadMaterial&&s.loadMaterial(t)});break;case"texture":r=this._invokeOne(function(s){return s.loadTexture&&s.loadTexture(t)});break;case"skin":r=this.loadSkin(t);break;case"animation":r=this._invokeOne(function(s){return s.loadAnimation&&s.loadAnimation(t)});break;case"camera":r=this.loadCamera(t);break;default:if(r=this._invokeOne(function(s){return s!=this&&s.getDependency&&s.getDependency(e,t)}),!r)throw new Error("Unknown type: "+e);break}this.cache.add(i,r)}return r}getDependencies(e){let t=this.cache.get(e);if(!t){const i=this,r=this.json[e+(e==="mesh"?"es":"s")]||[];t=Promise.all(r.map(function(s,o){return i.getDependency(e,o)})),this.cache.add(e,t)}return t}loadBuffer(e){const t=this.json.buffers[e],i=this.fileLoader;if(t.type&&t.type!=="arraybuffer")throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(t.uri===void 0&&e===0)return Promise.resolve(this.extensions[yt.KHR_BINARY_GLTF].body);const r=this.options;return new Promise(function(s,o){i.load(sl.resolveURL(t.uri,r.path),s,void 0,function(){o(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))})})}loadBufferView(e){const t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then(function(i){const r=t.byteLength||0,s=t.byteOffset||0;return i.slice(s,s+r)})}loadAccessor(e){const t=this,i=this.json,r=this.json.accessors[e];if(r.bufferView===void 0&&r.sparse===void 0){const o=am[r.type],a=Do[r.componentType],l=r.normalized===!0,c=new a(r.count*o);return Promise.resolve(new wn(c,o,l))}const s=[];return r.bufferView!==void 0?s.push(this.getDependency("bufferView",r.bufferView)):s.push(null),r.sparse!==void 0&&(s.push(this.getDependency("bufferView",r.sparse.indices.bufferView)),s.push(this.getDependency("bufferView",r.sparse.values.bufferView))),Promise.all(s).then(function(o){const a=o[0],l=am[r.type],c=Do[r.componentType],d=c.BYTES_PER_ELEMENT,u=d*l,_=r.byteOffset||0,f=r.bufferView!==void 0?i.bufferViews[r.bufferView].byteStride:void 0,E=r.normalized===!0;let b,g;if(f&&f!==u){const h=Math.floor(_/f),m="InterleavedBuffer:"+r.bufferView+":"+r.componentType+":"+h+":"+r.count;let S=t.cache.get(m);S||(b=new c(a,h*f,r.count*f/d),S=new Fyt(b,f/d),t.cache.add(m,S)),g=new YE(S,l,_%f/d,E)}else a===null?b=new c(r.count*l):b=new c(a,_,r.count*l),g=new wn(b,l,E);if(r.sparse!==void 0){const h=am.SCALAR,m=Do[r.sparse.indices.componentType],S=r.sparse.indices.byteOffset||0,v=r.sparse.values.byteOffset||0,T=new m(o[1],S,r.sparse.count*h),C=new c(o[2],v,r.sparse.count*l);a!==null&&(g=new wn(g.array.slice(),g.itemSize,g.normalized));for(let N=0,x=T.length;N<x;N++){const y=T[N];if(g.setX(y,C[N*l]),l>=2&&g.setY(y,C[N*l+1]),l>=3&&g.setZ(y,C[N*l+2]),l>=4&&g.setW(y,C[N*l+3]),l>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return g})}loadTexture(e){const t=this.json,i=this.options,s=t.textures[e].source,o=t.images[s];let a=this.textureLoader;if(o.uri){const l=i.manager.getHandler(o.uri);l!==null&&(a=l)}return this.loadTextureImage(e,s,a)}loadTextureImage(e,t,i){const r=this,s=this.json,o=s.textures[e],a=s.images[t],l=(a.uri||a.bufferView)+":"+o.sampler;if(this.textureCache[l])return this.textureCache[l];const c=this.loadImageSource(t,i).then(function(d){d.flipY=!1,d.name=o.name||a.name||"",d.name===""&&typeof a.uri=="string"&&a.uri.startsWith("data:image/")===!1&&(d.name=a.uri);const _=(s.samplers||{})[o.sampler]||{};return d.magFilter=dR[_.magFilter]||Mn,d.minFilter=dR[_.minFilter]||ks,d.wrapS=uR[_.wrapS]||Xo,d.wrapT=uR[_.wrapT]||Xo,r.associations.set(d,{textures:e}),d}).catch(function(){return null});return this.textureCache[l]=c,c}loadImageSource(e,t){const i=this,r=this.json,s=this.options;if(this.sourceCache[e]!==void 0)return this.sourceCache[e].then(u=>u.clone());const o=r.images[e],a=self.URL||self.webkitURL;let l=o.uri||"",c=!1;if(o.bufferView!==void 0)l=i.getDependency("bufferView",o.bufferView).then(function(u){c=!0;const _=new Blob([u],{type:o.mimeType});return l=a.createObjectURL(_),l});else if(o.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const d=Promise.resolve(l).then(function(u){return new Promise(function(_,f){let E=_;t.isImageBitmapLoader===!0&&(E=function(b){const g=new pn(b);g.needsUpdate=!0,_(g)}),t.load(sl.resolveURL(u,s.path),E,void 0,f)})}).then(function(u){return c===!0&&a.revokeObjectURL(l),u.userData.mimeType=o.mimeType||Jvt(o.uri),u}).catch(function(u){throw console.error("THREE.GLTFLoader: Couldn't load texture",l),u});return this.sourceCache[e]=d,d}assignTexture(e,t,i,r){const s=this;return this.getDependency("texture",i.index).then(function(o){if(!o)return null;if(i.texCoord!==void 0&&i.texCoord>0&&(o=o.clone(),o.channel=i.texCoord),s.extensions[yt.KHR_TEXTURE_TRANSFORM]){const a=i.extensions!==void 0?i.extensions[yt.KHR_TEXTURE_TRANSFORM]:void 0;if(a){const l=s.associations.get(o);o=s.extensions[yt.KHR_TEXTURE_TRANSFORM].extendTexture(o,a),s.associations.set(o,l)}}return r!==void 0&&(o.colorSpace=r),e[t]=o,o})}assignFinalMaterial(e){const t=e.geometry;let i=e.material;const r=t.attributes.tangent===void 0,s=t.attributes.color!==void 0,o=t.attributes.normal===void 0;if(e.isPoints){const a="PointsMaterial:"+i.uuid;let l=this.cache.get(a);l||(l=new SO,fi.prototype.copy.call(l,i),l.color.copy(i.color),l.map=i.map,l.sizeAttenuation=!1,this.cache.add(a,l)),i=l}else if(e.isLine){const a="LineBasicMaterial:"+i.uuid;let l=this.cache.get(a);l||(l=new bO,fi.prototype.copy.call(l,i),l.color.copy(i.color),l.map=i.map,this.cache.add(a,l)),i=l}if(r||s||o){let a="ClonedMaterial:"+i.uuid+":";r&&(a+="derivative-tangents:"),s&&(a+="vertex-colors:"),o&&(a+="flat-shading:");let l=this.cache.get(a);l||(l=i.clone(),s&&(l.vertexColors=!0),o&&(l.flatShading=!0),r&&(l.normalScale&&(l.normalScale.y*=-1),l.clearcoatNormalScale&&(l.clearcoatNormalScale.y*=-1)),this.cache.add(a,l),this.associations.set(l,this.associations.get(i))),i=l}e.material=i}getMaterialType(){return KE}loadMaterial(e){const t=this,i=this.json,r=this.extensions,s=i.materials[e];let o;const a={},l=s.extensions||{},c=[];if(l[yt.KHR_MATERIALS_UNLIT]){const u=r[yt.KHR_MATERIALS_UNLIT];o=u.getMaterialType(),c.push(u.extendParams(a,s,t))}else{const u=s.pbrMetallicRoughness||{};if(a.color=new at(1,1,1),a.opacity=1,Array.isArray(u.baseColorFactor)){const _=u.baseColorFactor;a.color.setRGB(_[0],_[1],_[2],fn),a.opacity=_[3]}u.baseColorTexture!==void 0&&c.push(t.assignTexture(a,"map",u.baseColorTexture,Wt)),a.metalness=u.metallicFactor!==void 0?u.metallicFactor:1,a.roughness=u.roughnessFactor!==void 0?u.roughnessFactor:1,u.metallicRoughnessTexture!==void 0&&(c.push(t.assignTexture(a,"metalnessMap",u.metallicRoughnessTexture)),c.push(t.assignTexture(a,"roughnessMap",u.metallicRoughnessTexture))),o=this._invokeOne(function(_){return _.getMaterialType&&_.getMaterialType(e)}),c.push(Promise.all(this._invokeAll(function(_){return _.extendMaterialParams&&_.extendMaterialParams(e,a)})))}s.doubleSided===!0&&(a.side=Ti);const d=s.alphaMode||lm.OPAQUE;if(d===lm.BLEND?(a.transparent=!0,a.depthWrite=!1):(a.transparent=!1,d===lm.MASK&&(a.alphaTest=s.alphaCutoff!==void 0?s.alphaCutoff:.5)),s.normalTexture!==void 0&&o!==Br&&(c.push(t.assignTexture(a,"normalMap",s.normalTexture)),a.normalScale=new vt(1,1),s.normalTexture.scale!==void 0)){const u=s.normalTexture.scale;a.normalScale.set(u,u)}if(s.occlusionTexture!==void 0&&o!==Br&&(c.push(t.assignTexture(a,"aoMap",s.occlusionTexture)),s.occlusionTexture.strength!==void 0&&(a.aoMapIntensity=s.occlusionTexture.strength)),s.emissiveFactor!==void 0&&o!==Br){const u=s.emissiveFactor;a.emissive=new at().setRGB(u[0],u[1],u[2],fn)}return s.emissiveTexture!==void 0&&o!==Br&&c.push(t.assignTexture(a,"emissiveMap",s.emissiveTexture,Wt)),Promise.all(c).then(function(){const u=new o(a);return s.name&&(u.name=s.name),kr(u,s),t.associations.set(u,{materials:e}),s.extensions&&us(r,u,s),u})}createUniqueName(e){const t=It.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,i=this.extensions,r=this.primitiveCache;function s(a){return i[yt.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(a,t).then(function(l){return _R(l,a,t)})}const o=[];for(let a=0,l=e.length;a<l;a++){const c=e[a],d=Zvt(c),u=r[d];if(u)o.push(u.promise);else{let _;c.extensions&&c.extensions[yt.KHR_DRACO_MESH_COMPRESSION]?_=s(c):_=_R(new Fi,c,t),r[d]={primitive:c,promise:_},o.push(_)}}return Promise.all(o)}loadMesh(e){const t=this,i=this.json,r=this.extensions,s=i.meshes[e],o=s.primitives,a=[];for(let l=0,c=o.length;l<c;l++){const d=o[l].material===void 0?jvt(this.cache):this.getDependency("material",o[l].material);a.push(d)}return a.push(t.loadGeometries(o)),Promise.all(a).then(function(l){const c=l.slice(0,l.length-1),d=l[l.length-1],u=[];for(let f=0,E=d.length;f<E;f++){const b=d[f],g=o[f];let h;const m=c[f];if(g.mode===qn.TRIANGLES||g.mode===qn.TRIANGLE_STRIP||g.mode===qn.TRIANGLE_FAN||g.mode===void 0)h=s.isSkinnedMesh===!0?new Gyt(b,m):new An(b,m),h.isSkinnedMesh===!0&&h.normalizeSkinWeights(),g.mode===qn.TRIANGLE_STRIP?h.geometry=lR(h.geometry,Qw):g.mode===qn.TRIANGLE_FAN&&(h.geometry=lR(h.geometry,tg));else if(g.mode===qn.LINES)h=new Yyt(b,m);else if(g.mode===qn.LINE_STRIP)h=new WE(b,m);else if(g.mode===qn.LINE_LOOP)h=new $yt(b,m);else if(g.mode===qn.POINTS)h=new Wyt(b,m);else throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+g.mode);Object.keys(h.geometry.morphAttributes).length>0&&Xvt(h,s),h.name=t.createUniqueName(s.name||"mesh_"+e),kr(h,s),g.extensions&&us(r,h,g),t.assignFinalMaterial(h),u.push(h)}for(let f=0,E=u.length;f<E;f++)t.associations.set(u[f],{meshes:e,primitives:f});if(u.length===1)return s.extensions&&us(r,u[0],s),u[0];const _=new Ts;s.extensions&&us(r,_,s),t.associations.set(_,{meshes:e});for(let f=0,E=u.length;f<E;f++)_.add(u[f]);return _})}loadCamera(e){let t;const i=this.json.cameras[e],r=i[i.type];if(!r){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}return i.type==="perspective"?t=new Cn(Mmt.radToDeg(r.yfov),r.aspectRatio||1,r.znear||1,r.zfar||2e6):i.type==="orthographic"&&(t=new VE(-r.xmag,r.xmag,r.ymag,-r.ymag,r.znear,r.zfar)),i.name&&(t.name=this.createUniqueName(i.name)),kr(t,i),Promise.resolve(t)}loadSkin(e){const t=this.json.skins[e],i=[];for(let r=0,s=t.joints.length;r<s;r++)i.push(this._loadNodeShallow(t.joints[r]));return t.inverseBindMatrices!==void 0?i.push(this.getDependency("accessor",t.inverseBindMatrices)):i.push(null),Promise.all(i).then(function(r){const s=r.pop(),o=r,a=[],l=[];for(let c=0,d=o.length;c<d;c++){const u=o[c];if(u){a.push(u);const _=new gt;s!==null&&_.fromArray(s.array,c*16),l.push(_)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',t.joints[c])}return new $E(a,l)})}loadAnimation(e){const t=this.json,i=this,r=t.animations[e],s=r.name?r.name:"animation_"+e,o=[],a=[],l=[],c=[],d=[];for(let u=0,_=r.channels.length;u<_;u++){const f=r.channels[u],E=r.samplers[f.sampler],b=f.target,g=b.node,h=r.parameters!==void 0?r.parameters[E.input]:E.input,m=r.parameters!==void 0?r.parameters[E.output]:E.output;b.node!==void 0&&(o.push(this.getDependency("node",g)),a.push(this.getDependency("accessor",h)),l.push(this.getDependency("accessor",m)),c.push(E),d.push(b))}return Promise.all([Promise.all(o),Promise.all(a),Promise.all(l),Promise.all(c),Promise.all(d)]).then(function(u){const _=u[0],f=u[1],E=u[2],b=u[3],g=u[4],h=[];for(let m=0,S=_.length;m<S;m++){const v=_[m],T=f[m],C=E[m],N=b[m],x=g[m];if(v===void 0)continue;v.updateMatrix&&v.updateMatrix();const y=i._createAnimationTracks(v,T,C,N,x);if(y)for(let R=0;R<y.length;R++)h.push(y[R])}return new evt(s,void 0,h)})}createNodeMesh(e){const t=this.json,i=this,r=t.nodes[e];return r.mesh===void 0?null:i.getDependency("mesh",r.mesh).then(function(s){const o=i._getNodeRef(i.meshCache,r.mesh,s);return r.weights!==void 0&&o.traverse(function(a){if(a.isMesh)for(let l=0,c=r.weights.length;l<c;l++)a.morphTargetInfluences[l]=r.weights[l]}),o})}loadNode(e){const t=this.json,i=this,r=t.nodes[e],s=i._loadNodeShallow(e),o=[],a=r.children||[];for(let c=0,d=a.length;c<d;c++)o.push(i.getDependency("node",a[c]));const l=r.skin===void 0?Promise.resolve(null):i.getDependency("skin",r.skin);return Promise.all([s,Promise.all(o),l]).then(function(c){const d=c[0],u=c[1],_=c[2];_!==null&&d.traverse(function(f){f.isSkinnedMesh&&f.bind(_,eTt)});for(let f=0,E=u.length;f<E;f++)d.add(u[f]);return d})}_loadNodeShallow(e){const t=this.json,i=this.extensions,r=this;if(this.nodeCache[e]!==void 0)return this.nodeCache[e];const s=t.nodes[e],o=s.name?r.createUniqueName(s.name):"",a=[],l=r._invokeOne(function(c){return c.createNodeMesh&&c.createNodeMesh(e)});return l&&a.push(l),s.camera!==void 0&&a.push(r.getDependency("camera",s.camera).then(function(c){return r._getNodeRef(r.cameraCache,s.camera,c)})),r._invokeAll(function(c){return c.createNodeAttachment&&c.createNodeAttachment(e)}).forEach(function(c){a.push(c)}),this.nodeCache[e]=Promise.all(a).then(function(c){let d;if(s.isBone===!0?d=new EO:c.length>1?d=new Ts:c.length===1?d=c[0]:d=new Yt,d!==c[0])for(let u=0,_=c.length;u<_;u++)d.add(c[u]);if(s.name&&(d.userData.name=s.name,d.name=o),kr(d,s),s.extensions&&us(i,d,s),s.matrix!==void 0){const u=new gt;u.fromArray(s.matrix),d.applyMatrix4(u)}else s.translation!==void 0&&d.position.fromArray(s.translation),s.rotation!==void 0&&d.quaternion.fromArray(s.rotation),s.scale!==void 0&&d.scale.fromArray(s.scale);return r.associations.has(d)||r.associations.set(d,{}),r.associations.get(d).nodes=e,d}),this.nodeCache[e]}loadScene(e){const t=this.extensions,i=this.json.scenes[e],r=this,s=new Ts;i.name&&(s.name=r.createUniqueName(i.name)),kr(s,i),i.extensions&&us(t,s,i);const o=i.nodes||[],a=[];for(let l=0,c=o.length;l<c;l++)a.push(r.getDependency("node",o[l]));return Promise.all(a).then(function(l){for(let d=0,u=l.length;d<u;d++)s.add(l[d]);const c=d=>{const u=new Map;for(const[_,f]of r.associations)(_ instanceof fi||_ instanceof pn)&&u.set(_,f);return d.traverse(_=>{const f=r.associations.get(_);f!=null&&u.set(_,f)}),u};return r.associations=c(s),s})}_createAnimationTracks(e,t,i,r,s){const o=[],a=e.name?e.name:e.uuid,l=[];Rr[s.path]===Rr.weights?e.traverse(function(_){_.morphTargetInfluences&&l.push(_.name?_.name:_.uuid)}):l.push(a);let c;switch(Rr[s.path]){case Rr.weights:c=na;break;case Rr.rotation:c=Fs;break;case Rr.position:case Rr.scale:c=ia;break;default:switch(i.itemSize){case 1:c=na;break;case 2:case 3:default:c=ia;break}break}const d=r.interpolation!==void 0?Kvt[r.interpolation]:Jo,u=this._getArrayFromAccessor(i);for(let _=0,f=l.length;_<f;_++){const E=new c(l[_]+"."+Rr[s.path],t.array,u,d);r.interpolation==="CUBICSPLINE"&&this._createCubicSplineTrackInterpolant(E),o.push(E)}return o}_getArrayFromAccessor(e){let t=e.array;if(e.normalized){const i=cg(t.constructor),r=new Float32Array(t.length);for(let s=0,o=t.length;s<o;s++)r[s]=t[s]*i;t=r}return t}_createCubicSplineTrackInterpolant(e){e.createInterpolant=function(i){const r=this instanceof Fs?Wvt:AO;return new r(this.times,this.values,this.getValueSize()/3,i)},e.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0}}function nTt(n,e,t){const i=e.attributes,r=new hr;if(i.POSITION!==void 0){const a=t.json.accessors[i.POSITION],l=a.min,c=a.max;if(l!==void 0&&c!==void 0){if(r.set(new ue(l[0],l[1],l[2]),new ue(c[0],c[1],c[2])),a.normalized){const d=cg(Do[a.componentType]);r.min.multiplyScalar(d),r.max.multiplyScalar(d)}}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");return}}else return;const s=e.targets;if(s!==void 0){const a=new ue,l=new ue;for(let c=0,d=s.length;c<d;c++){const u=s[c];if(u.POSITION!==void 0){const _=t.json.accessors[u.POSITION],f=_.min,E=_.max;if(f!==void 0&&E!==void 0){if(l.setX(Math.max(Math.abs(f[0]),Math.abs(E[0]))),l.setY(Math.max(Math.abs(f[1]),Math.abs(E[1]))),l.setZ(Math.max(Math.abs(f[2]),Math.abs(E[2]))),_.normalized){const b=cg(Do[_.componentType]);l.multiplyScalar(b)}a.max(l)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}r.expandByVector(a)}n.boundingBox=r;const o=new Ui;r.getCenter(o.center),o.radius=r.min.distanceTo(r.max)/2,n.boundingSphere=o}function _R(n,e,t){const i=e.attributes,r=[];function s(o,a){return t.getDependency("accessor",o).then(function(l){n.setAttribute(a,l)})}for(const o in i){const a=lg[o]||o.toLowerCase();a in n.attributes||r.push(s(i[o],a))}if(e.indices!==void 0&&!n.index){const o=t.getDependency("accessor",e.indices).then(function(a){n.setIndex(a)});r.push(o)}return Nt.workingColorSpace!==fn&&"COLOR_0"in i&&console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${Nt.workingColorSpace}" not supported.`),kr(n,e),nTt(n,e,t),Promise.all(r).then(function(){return e.targets!==void 0?Qvt(n,e.targets,t):n})}const iTt={props:{personality:{type:Object,default:()=>({})}},computed:{isReady:{get(){return this.$store.state.ready}}},watch:{"$store.state.mountedPersArr":"updatePersonality","$store.state.config.active_personality_id":"updatePersonality"},async mounted(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));console.log("ready"),this.initWebGLScene(),this.updatePersonality()},beforeDestroy(){},methods:{initWebGLScene(){this.scene=new Uyt,this.camera=new Cn(75,window.innerWidth/window.innerHeight,.1,1e3),this.renderer=new gO,this.renderer.setSize(window.innerWidth,window.innerHeight),this.$refs.webglContainer.appendChild(this.renderer.domElement);const n=new $r,e=new iR({color:65280});this.cube=new An(n,e),this.scene.add(this.cube);const t=new _vt(4210752),i=new CO(16777215,.5);i.position.set(0,1,0),this.scene.add(t),this.scene.add(i),this.camera.position.z=5,this.animate()},updatePersonality(){const{mountedPersArr:n,config:e}=this.$store.state,t=n[e.active_personality_id];t.avatar?this.showBoxWithAvatar(t.avatar):this.showDefaultCube(),this.$emit("update:personality",t)},loadScene(n){new Tvt().load(n,t=>{this.scene.remove(this.cube),this.cube=t.scene,this.scene.add(this.cube)})},showBoxWithAvatar(n){this.cube&&this.scene.remove(this.cube);const e=new $r,t=new xO().load(n),i=new Br({map:t});this.cube=new An(e,i),this.scene.add(this.cube)},showDefaultCube(){this.scene.remove(this.cube);const n=new $r,e=new iR({color:65280});this.cube=new An(n,e),this.scene.add(this.cube)},animate(){requestAnimationFrame(this.animate),this.cube&&(this.cube.rotation.x+=.01,this.cube.rotation.y+=.01),this.renderer.render(this.scene,this.camera)}}},rTt={ref:"webglContainer"},sTt={key:0};function oTt(n,e,t,i,r,s){return D(),L("div",rTt,[!t.personality.scene_path&&(!t.personality.avatar||t.personality.avatar==="")?(D(),L("div",sTt," Personality does not have an avatar. ")):se("",!0)],512)}const aTt=bt(iTt,[["render",oTt]]),lTt=rL({history:v2("/"),routes:[{path:"/playground/",name:"playground",component:uKe},{path:"/extensions/",name:"extensions",component:vKe},{path:"/help/",name:"help",component:HKe},{path:"/settings/",name:"settings",component:Vat},{path:"/training/",name:"training",component:dlt},{path:"/quantizing/",name:"quantizing",component:blt},{path:"/",name:"discussions",component:mht},{path:"/",name:"interactive",component:aTt}]});const uu=fI($L);console.log("Loaded main.js");function pR(n){const e={};for(const t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}const cTt=zI({state(){return{ready:!1,loading_infos:"",loading_progress:0,version:"unknown",settingsChanged:!1,isConnected:!1,isModelOk:!1,isGenerating:!1,config:null,mountedPers:null,mountedPersArr:[],mountedExtensions:[],bindingsZoo:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,modelsZoo:[],installedModels:[],currentModel:null,extensionsZoo:[],databases:[]}},mutations:{setIsReady(n,e){n.ready=e},setIsConnected(n,e){n.isConnected=e},setIsModelOk(n,e){n.isModelOk=e},setIsGenerating(n,e){n.isGenerating=e},setConfig(n,e){n.config=e},setPersonalities(n,e){n.personalities=e},setMountedPers(n,e){n.mountedPers=e},setMountedPersArr(n,e){n.mountedPersArr=e},setMountedExtensions(n,e){n.mountedExtensions=e},setbindingsZoo(n,e){n.bindingsZoo=e},setModelsArr(n,e){n.modelsArr=e},setselectedModel(n,e){n.selectedModel=e},setDiskUsage(n,e){n.diskUsage=e},setRamUsage(n,e){n.ramUsage=e},setVramUsage(n,e){n.vramUsage=e},setModelsZoo(n,e){n.modelsZoo=e},setCurrentModel(n,e){n.currentModel=e},setExtensionsZoo(n,e){n.extensionsZoo=e},setDatabases(n,e){n.databases=e}},getters:{getIsConnected(n){return n.isConnected},getIsModelOk(n){return n.isModelOk},getIsGenerating(n){return n.isGenerating},getConfig(n){return n.config},getPersonalities(n){return n.personalities},getMountedPersArr(n){return n.mountedPersArr},getmmountedExtensions(n){return n.mountedExtensions},getMountedPers(n){return n.mountedPers},getbindingsZoo(n){return n.bindingsZoo},getModelsArr(n){return n.modelsArr},getDiskUsage(n){return n.diskUsage},getRamUsage(n){return n.ramUsage},getVramUsage(n){return n.vramUsage},getDatabasesList(n){return n.databases},getModelsZoo(n){return n.modelsZoo},getCurrentModel(n){return n.currentModel},getExtensionsZoo(n){return n.extensionsZoo}},actions:{async getVersion(){try{let n=await Be.get("/get_lollms_webui_version",{});n&&(this.state.version=n.data.version)}catch{console.log("Coudln't get version")}},async refreshConfig({commit:n}){console.log("Fetching configuration");try{const e=await oi("get_config");e.active_personality_id<0&&(e.active_personality_id=0);let t=e.personalities[e.active_personality_id].split("/");e.personality_category=t[0],e.personality_folder=t[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),n("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshDatabase({commit:n}){let e=await oi("list_databases");console.log("databases:",e),n("setDatabases",e)},async refreshPersonalitiesZoo({commit:n}){let e=[];const t=await oi("get_all_personalities"),i=Object.keys(t);console.log("Personalities recovered:"+this.state.config.personalities);for(let r=0;r<i.length;r++){const s=i[r],a=t[s].map(l=>{let c=!1;for(const u of this.state.config.personalities)if(u.includes(s+"/"+l.folder)&&(c=!0,u.includes(":"))){const _=u.split(":");l.language=_[1]}let d={};return d=l,d.category=s,d.full_path=s+"/"+l.folder,d.isMounted=c,d});e.length==0?e=a:e=e.concat(a)}e.sort((r,s)=>r.name.localeCompare(s.name)),n("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:n}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const t=[];for(let i=0;i<this.state.config.personalities.length;i++){const r=this.state.config.personalities[i],s=r.split(":"),o=this.state.personalities.findIndex(a=>a.full_path==r||a.full_path==s[0]);if(o>=0){let a=pR(this.state.personalities[o]);s.length>1&&(a.language=s[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(l=>l.full_path=="generic/lollms")])}else t.push(i),console.log("Couldn't load personality : ",r)}for(let i=t.length-1;i>=0;i--)console.log("Removing personality : ",this.state.config.personalities[t[i]]),this.state.config.personalities.splice(t[i],1),this.state.config.active_personality_id>t[i]&&(this.state.config.active_personality_id-=1);n("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(i=>i.full_path==this.state.config.personalities[this.state.config.active_personality_id]||i.full_path+":"+i.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:n}){let e=await oi("list_bindings");n("setbindingsZoo",e)},async refreshModelsZoo({commit:n}){console.log("Fetching models");const e=await Be.get("/get_available_models");n("setModelsZoo",e.data.filter(t=>t.variants&&t.variants.length>0))},async refreshModelStatus({commit:n}){let e=await oi("get_model_status");n("setIsModelOk",e.status)},async refreshModels({commit:n}){console.log("Fetching models");let e=await oi("list_models");console.log(`Found ${e}`);let t=await oi("get_active_model");console.log("Selected model ",t),t!=null&&n("setselectedModel",t.model),n("setModelsArr",e),console.log("setModelsArr",e),this.state.modelsZoo.map(r=>{r.isInstalled=e.includes(r.name)}),this.state.installedModels=this.state.modelsZoo.filter(r=>r.isInstalled);const i=this.state.modelsZoo.findIndex(r=>r.name==this.state.config.model_name);i!=-1&&n("setCurrentModel",this.state.modelsZoo[i])},async refreshExtensionsZoo({commit:n}){let e=[],t=await oi("list_extensions");const i=Object.keys(t);console.log("Extensions recovered:"+t);for(let r=0;r<i.length;r++){const s=i[r],a=t[s].map(l=>{let c=!1;for(const u of this.state.config.extensions)u.includes(s+"/"+l.folder)&&(c=!0);let d={};return d=l,d.category=s,d.full_path=s+"/"+l.folder,d.isMounted=c,d});e.length==0?e=a:e=e.concat(a)}e.sort((r,s)=>r.name.localeCompare(s.name)),n("setActiveExtensions",this.state.config.extensions),console.log("Done loading extensions"),n("setExtensionsZoo",e)},refreshmountedExtensions({commit:n}){console.log("Mounting extensions");let e=[];const t=[];for(let i=0;i<this.state.config.extensions.length;i++){const r=this.state.config.extensions[i],s=this.state.extensionsZoo.findIndex(o=>o.full_path==r);if(s>=0){let o=pR(this.state.config.extensions[s]);o&&e.push(o)}else t.push(i),console.log("Couldn't load extension : ",r)}for(let i=t.length-1;i>=0;i--)console.log("Removing extensions : ",this.state.config.extensions[t[i]]),this.state.config.extensions.splice(t[i],1);n("setMountedExtensions",e)},async refreshDiskUsage({commit:n}){this.state.diskUsage=await oi("disk_usage")},async refreshRamUsage({commit:n}){this.state.ramUsage=await oi("ram_usage")},async refreshVramUsage({commit:n}){const e=await oi("vram_usage"),t=[];if(e.nb_gpus>0){for(let r=0;r<e.nb_gpus;r++){const s=e[`gpu_${r}_total_vram`],o=e[`gpu_${r}_used_vram`],a=e[`gpu_${r}_model`],l=o/s*100,c=s-o;t.push({total_vram:s,used_vram:o,gpu_index:r,gpu_model:a,percentage:l.toFixed(2),available_space:c})}const i={nb_gpus:e.nb_gpus,gpus:t};console.log("gpu usage: ",i),this.state.vramUsage=i}else{const i={nb_gpus:0,gpus:[]};console.log("gpu usage: ",i),this.state.vramUsage=i}}}});async function oi(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}async function dTt(n){await n.dispatch("refreshDiskUsage"),await n.dispatch("refreshRamUsage"),await n.dispatch("refreshVramUsage")}let fR=!1;uu.mixin({async created(){fR||(fR=!0,console.log("Calling"),this.$store.state.loading_infos="Loading Configuration",this.$store.state.loading_progress=10,await this.$store.dispatch("refreshConfig"),console.log("Config ready"),this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase"),this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion"),this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings"),await dTt(this.$store),this.$store.state.loading_infos="Getting extensions zoo",this.$store.state.loading_progress=50,await this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.loading_infos="Getting mounted extensions",this.$store.state.loading_progress=60,await this.$store.dispatch("refreshmountedExtensions"),this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo"),this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities"),this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo"),this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus"),this.$store.state.ready=!0)},beforeMount(){}});function wO(n,e=""){let t=[];for(const i in n)if(n.hasOwnProperty(i)){const r=e?`${e}/${i}`:i;if(typeof n[i]=="object"){const s=wO(n[i],r);t=t.concat(s)}else t.push(r)}return t}uu.use(lTt);uu.use(cTt);uu.mount("#app");
+}`;function Ayt(n,e,t){let i=new zE;const r=new vt,s=new vt,o=new kt,a=new Tyt({depthPacking:lmt}),l=new xyt,c={},d=t.maxTextureSize,u={[dr]:Ln,[Ln]:dr,[Ti]:Ti},_=new Us({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new vt},radius:{value:4}},vertexShader:Cyt,fragmentShader:Ryt}),f=_.clone();f.defines.HORIZONTAL_PASS=1;const E=new Fi;E.setAttribute("position",new wn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const b=new An(E,_),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=Gw;let h=this.type;this.render=function(T,C,N){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||T.length===0)return;const x=n.getRenderTarget(),y=n.getActiveCubeFace(),R=n.getActiveMipmapLevel(),P=n.state;P.setBlending(Vr),P.buffers.color.setClear(1,1,1,1),P.buffers.depth.setTest(!0),P.setScissorTest(!1);const k=h!==Zi&&this.type===Zi,W=h===Zi&&this.type!==Zi;for(let M=0,H=T.length;M<H;M++){const z=T[M],I=z.shadow;if(I===void 0){console.warn("THREE.WebGLShadowMap:",z,"has no shadow.");continue}if(I.autoUpdate===!1&&I.needsUpdate===!1)continue;r.copy(I.mapSize);const Y=I.getFrameExtents();if(r.multiply(Y),s.copy(I.mapSize),(r.x>d||r.y>d)&&(r.x>d&&(s.x=Math.floor(d/Y.x),r.x=s.x*Y.x,I.mapSize.x=s.x),r.y>d&&(s.y=Math.floor(d/Y.y),r.y=s.y*Y.y,I.mapSize.y=s.y)),I.map===null||k===!0||W===!0){const q=this.type!==Zi?{minFilter:ln,magFilter:ln}:{};I.map!==null&&I.map.dispose(),I.map=new Ps(r.x,r.y,q),I.map.texture.name=z.name+".shadowMap",I.camera.updateProjectionMatrix()}n.setRenderTarget(I.map),n.clear();const K=I.getViewportCount();for(let q=0;q<K;q++){const le=I.getViewport(q);o.set(s.x*le.x,s.y*le.y,s.x*le.z,s.y*le.w),P.viewport(o),I.updateMatrices(z,q),i=I.getFrustum(),v(C,N,I.camera,z,this.type)}I.isPointLightShadow!==!0&&this.type===Zi&&m(I,N),I.needsUpdate=!1}h=this.type,g.needsUpdate=!1,n.setRenderTarget(x,y,R)};function m(T,C){const N=e.update(b);_.defines.VSM_SAMPLES!==T.blurSamples&&(_.defines.VSM_SAMPLES=T.blurSamples,f.defines.VSM_SAMPLES=T.blurSamples,_.needsUpdate=!0,f.needsUpdate=!0),T.mapPass===null&&(T.mapPass=new Ps(r.x,r.y)),_.uniforms.shadow_pass.value=T.map.texture,_.uniforms.resolution.value=T.mapSize,_.uniforms.radius.value=T.radius,n.setRenderTarget(T.mapPass),n.clear(),n.renderBufferDirect(C,null,N,_,b,null),f.uniforms.shadow_pass.value=T.mapPass.texture,f.uniforms.resolution.value=T.mapSize,f.uniforms.radius.value=T.radius,n.setRenderTarget(T.map),n.clear(),n.renderBufferDirect(C,null,N,f,b,null)}function S(T,C,N,x){let y=null;const R=N.isPointLight===!0?T.customDistanceMaterial:T.customDepthMaterial;if(R!==void 0)y=R;else if(y=N.isPointLight===!0?l:a,n.localClippingEnabled&&C.clipShadows===!0&&Array.isArray(C.clippingPlanes)&&C.clippingPlanes.length!==0||C.displacementMap&&C.displacementScale!==0||C.alphaMap&&C.alphaTest>0||C.map&&C.alphaTest>0){const P=y.uuid,k=C.uuid;let W=c[P];W===void 0&&(W={},c[P]=W);let M=W[k];M===void 0&&(M=y.clone(),W[k]=M),y=M}if(y.visible=C.visible,y.wireframe=C.wireframe,x===Zi?y.side=C.shadowSide!==null?C.shadowSide:C.side:y.side=C.shadowSide!==null?C.shadowSide:u[C.side],y.alphaMap=C.alphaMap,y.alphaTest=C.alphaTest,y.map=C.map,y.clipShadows=C.clipShadows,y.clippingPlanes=C.clippingPlanes,y.clipIntersection=C.clipIntersection,y.displacementMap=C.displacementMap,y.displacementScale=C.displacementScale,y.displacementBias=C.displacementBias,y.wireframeLinewidth=C.wireframeLinewidth,y.linewidth=C.linewidth,N.isPointLight===!0&&y.isMeshDistanceMaterial===!0){const P=n.properties.get(y);P.light=N}return y}function v(T,C,N,x,y){if(T.visible===!1)return;if(T.layers.test(C.layers)&&(T.isMesh||T.isLine||T.isPoints)&&(T.castShadow||T.receiveShadow&&y===Zi)&&(!T.frustumCulled||i.intersectsObject(T))){T.modelViewMatrix.multiplyMatrices(N.matrixWorldInverse,T.matrixWorld);const k=e.update(T),W=T.material;if(Array.isArray(W)){const M=k.groups;for(let H=0,z=M.length;H<z;H++){const I=M[H],Y=W[I.materialIndex];if(Y&&Y.visible){const K=S(T,Y,x,y);T.onBeforeShadow(n,T,C,N,k,K,I),n.renderBufferDirect(N,null,k,K,T,I),T.onAfterShadow(n,T,C,N,k,K,I)}}}else if(W.visible){const M=S(T,W,x,y);T.onBeforeShadow(n,T,C,N,k,M,null),n.renderBufferDirect(N,null,k,M,T,null),T.onAfterShadow(n,T,C,N,k,M,null)}}const P=T.children;for(let k=0,W=P.length;k<W;k++)v(P[k],C,N,x,y)}}function wyt(n,e,t){const i=t.isWebGL2;function r(){let oe=!1;const He=new kt;let Le=null;const Ce=new kt(0,0,0,0);return{setMask:function(ke){Le!==ke&&!oe&&(n.colorMask(ke,ke,ke,ke),Le=ke)},setLocked:function(ke){oe=ke},setClear:function(ke,it,pt,$t,tn){tn===!0&&(ke*=$t,it*=$t,pt*=$t),He.set(ke,it,pt,$t),Ce.equals(He)===!1&&(n.clearColor(ke,it,pt,$t),Ce.copy(He))},reset:function(){oe=!1,Le=null,Ce.set(-1,0,0,0)}}}function s(){let oe=!1,He=null,Le=null,Ce=null;return{setTest:function(ke){ke?Q(n.DEPTH_TEST):he(n.DEPTH_TEST)},setMask:function(ke){He!==ke&&!oe&&(n.depthMask(ke),He=ke)},setFunc:function(ke){if(Le!==ke){switch(ke){case Pht:n.depthFunc(n.NEVER);break;case Uht:n.depthFunc(n.ALWAYS);break;case Fht:n.depthFunc(n.LESS);break;case bd:n.depthFunc(n.LEQUAL);break;case Bht:n.depthFunc(n.EQUAL);break;case Ght:n.depthFunc(n.GEQUAL);break;case zht:n.depthFunc(n.GREATER);break;case Hht:n.depthFunc(n.NOTEQUAL);break;default:n.depthFunc(n.LEQUAL)}Le=ke}},setLocked:function(ke){oe=ke},setClear:function(ke){Ce!==ke&&(n.clearDepth(ke),Ce=ke)},reset:function(){oe=!1,He=null,Le=null,Ce=null}}}function o(){let oe=!1,He=null,Le=null,Ce=null,ke=null,it=null,pt=null,$t=null,tn=null;return{setTest:function(wt){oe||(wt?Q(n.STENCIL_TEST):he(n.STENCIL_TEST))},setMask:function(wt){He!==wt&&!oe&&(n.stencilMask(wt),He=wt)},setFunc:function(wt,Vt,On){(Le!==wt||Ce!==Vt||ke!==On)&&(n.stencilFunc(wt,Vt,On),Le=wt,Ce=Vt,ke=On)},setOp:function(wt,Vt,On){(it!==wt||pt!==Vt||$t!==On)&&(n.stencilOp(wt,Vt,On),it=wt,pt=Vt,$t=On)},setLocked:function(wt){oe=wt},setClear:function(wt){tn!==wt&&(n.clearStencil(wt),tn=wt)},reset:function(){oe=!1,He=null,Le=null,Ce=null,ke=null,it=null,pt=null,$t=null,tn=null}}}const a=new r,l=new s,c=new o,d=new WeakMap,u=new WeakMap;let _={},f={},E=new WeakMap,b=[],g=null,h=!1,m=null,S=null,v=null,T=null,C=null,N=null,x=null,y=new at(0,0,0),R=0,P=!1,k=null,W=null,M=null,H=null,z=null;const I=n.getParameter(n.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let Y=!1,K=0;const q=n.getParameter(n.VERSION);q.indexOf("WebGL")!==-1?(K=parseFloat(/^WebGL (\d)/.exec(q)[1]),Y=K>=1):q.indexOf("OpenGL ES")!==-1&&(K=parseFloat(/^OpenGL ES (\d)/.exec(q)[1]),Y=K>=2);let le=null,X={};const Z=n.getParameter(n.SCISSOR_BOX),_e=n.getParameter(n.VIEWPORT),fe=new kt().fromArray(Z),ye=new kt().fromArray(_e);function j(oe,He,Le,Ce){const ke=new Uint8Array(4),it=n.createTexture();n.bindTexture(oe,it),n.texParameteri(oe,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(oe,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let pt=0;pt<Le;pt++)i&&(oe===n.TEXTURE_3D||oe===n.TEXTURE_2D_ARRAY)?n.texImage3D(He,0,n.RGBA,1,1,Ce,0,n.RGBA,n.UNSIGNED_BYTE,ke):n.texImage2D(He+pt,0,n.RGBA,1,1,0,n.RGBA,n.UNSIGNED_BYTE,ke);return it}const de={};de[n.TEXTURE_2D]=j(n.TEXTURE_2D,n.TEXTURE_2D,1),de[n.TEXTURE_CUBE_MAP]=j(n.TEXTURE_CUBE_MAP,n.TEXTURE_CUBE_MAP_POSITIVE_X,6),i&&(de[n.TEXTURE_2D_ARRAY]=j(n.TEXTURE_2D_ARRAY,n.TEXTURE_2D_ARRAY,1,1),de[n.TEXTURE_3D]=j(n.TEXTURE_3D,n.TEXTURE_3D,1,1)),a.setClear(0,0,0,1),l.setClear(1),c.setClear(0),Q(n.DEPTH_TEST),l.setFunc(bd),xe(!1),B(Sx),Q(n.CULL_FACE),ee(Vr);function Q(oe){_[oe]!==!0&&(n.enable(oe),_[oe]=!0)}function he(oe){_[oe]!==!1&&(n.disable(oe),_[oe]=!1)}function Ae(oe,He){return f[oe]!==He?(n.bindFramebuffer(oe,He),f[oe]=He,i&&(oe===n.DRAW_FRAMEBUFFER&&(f[n.FRAMEBUFFER]=He),oe===n.FRAMEBUFFER&&(f[n.DRAW_FRAMEBUFFER]=He)),!0):!1}function O(oe,He){let Le=b,Ce=!1;if(oe)if(Le=E.get(He),Le===void 0&&(Le=[],E.set(He,Le)),oe.isWebGLMultipleRenderTargets){const ke=oe.texture;if(Le.length!==ke.length||Le[0]!==n.COLOR_ATTACHMENT0){for(let it=0,pt=ke.length;it<pt;it++)Le[it]=n.COLOR_ATTACHMENT0+it;Le.length=ke.length,Ce=!0}}else Le[0]!==n.COLOR_ATTACHMENT0&&(Le[0]=n.COLOR_ATTACHMENT0,Ce=!0);else Le[0]!==n.BACK&&(Le[0]=n.BACK,Ce=!0);Ce&&(t.isWebGL2?n.drawBuffers(Le):e.get("WEBGL_draw_buffers").drawBuffersWEBGL(Le))}function F(oe){return g!==oe?(n.useProgram(oe),g=oe,!0):!1}const V={[bs]:n.FUNC_ADD,[yht]:n.FUNC_SUBTRACT,[vht]:n.FUNC_REVERSE_SUBTRACT};if(i)V[xx]=n.MIN,V[Cx]=n.MAX;else{const oe=e.get("EXT_blend_minmax");oe!==null&&(V[xx]=oe.MIN_EXT,V[Cx]=oe.MAX_EXT)}const re={[Tht]:n.ZERO,[xht]:n.ONE,[Cht]:n.SRC_COLOR,[Qm]:n.SRC_ALPHA,[Mht]:n.SRC_ALPHA_SATURATE,[Oht]:n.DST_COLOR,[Aht]:n.DST_ALPHA,[Rht]:n.ONE_MINUS_SRC_COLOR,[Xm]:n.ONE_MINUS_SRC_ALPHA,[Nht]:n.ONE_MINUS_DST_COLOR,[wht]:n.ONE_MINUS_DST_ALPHA,[Iht]:n.CONSTANT_COLOR,[Dht]:n.ONE_MINUS_CONSTANT_COLOR,[Lht]:n.CONSTANT_ALPHA,[kht]:n.ONE_MINUS_CONSTANT_ALPHA};function ee(oe,He,Le,Ce,ke,it,pt,$t,tn,wt){if(oe===Vr){h===!0&&(he(n.BLEND),h=!1);return}if(h===!1&&(Q(n.BLEND),h=!0),oe!==Sht){if(oe!==m||wt!==P){if((S!==bs||C!==bs)&&(n.blendEquation(n.FUNC_ADD),S=bs,C=bs),wt)switch(oe){case Mo:n.blendFuncSeparate(n.ONE,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case yx:n.blendFunc(n.ONE,n.ONE);break;case vx:n.blendFuncSeparate(n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case Tx:n.blendFuncSeparate(n.ZERO,n.SRC_COLOR,n.ZERO,n.SRC_ALPHA);break;default:console.error("THREE.WebGLState: Invalid blending: ",oe);break}else switch(oe){case Mo:n.blendFuncSeparate(n.SRC_ALPHA,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case yx:n.blendFunc(n.SRC_ALPHA,n.ONE);break;case vx:n.blendFuncSeparate(n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case Tx:n.blendFunc(n.ZERO,n.SRC_COLOR);break;default:console.error("THREE.WebGLState: Invalid blending: ",oe);break}v=null,T=null,N=null,x=null,y.set(0,0,0),R=0,m=oe,P=wt}return}ke=ke||He,it=it||Le,pt=pt||Ce,(He!==S||ke!==C)&&(n.blendEquationSeparate(V[He],V[ke]),S=He,C=ke),(Le!==v||Ce!==T||it!==N||pt!==x)&&(n.blendFuncSeparate(re[Le],re[Ce],re[it],re[pt]),v=Le,T=Ce,N=it,x=pt),($t.equals(y)===!1||tn!==R)&&(n.blendColor($t.r,$t.g,$t.b,tn),y.copy($t),R=tn),m=oe,P=!1}function be(oe,He){oe.side===Ti?he(n.CULL_FACE):Q(n.CULL_FACE);let Le=oe.side===Ln;He&&(Le=!Le),xe(Le),oe.blending===Mo&&oe.transparent===!1?ee(Vr):ee(oe.blending,oe.blendEquation,oe.blendSrc,oe.blendDst,oe.blendEquationAlpha,oe.blendSrcAlpha,oe.blendDstAlpha,oe.blendColor,oe.blendAlpha,oe.premultipliedAlpha),l.setFunc(oe.depthFunc),l.setTest(oe.depthTest),l.setMask(oe.depthWrite),a.setMask(oe.colorWrite);const Ce=oe.stencilWrite;c.setTest(Ce),Ce&&(c.setMask(oe.stencilWriteMask),c.setFunc(oe.stencilFunc,oe.stencilRef,oe.stencilFuncMask),c.setOp(oe.stencilFail,oe.stencilZFail,oe.stencilZPass)),te(oe.polygonOffset,oe.polygonOffsetFactor,oe.polygonOffsetUnits),oe.alphaToCoverage===!0?Q(n.SAMPLE_ALPHA_TO_COVERAGE):he(n.SAMPLE_ALPHA_TO_COVERAGE)}function xe(oe){k!==oe&&(oe?n.frontFace(n.CW):n.frontFace(n.CCW),k=oe)}function B(oe){oe!==ght?(Q(n.CULL_FACE),oe!==W&&(oe===Sx?n.cullFace(n.BACK):oe===Eht?n.cullFace(n.FRONT):n.cullFace(n.FRONT_AND_BACK))):he(n.CULL_FACE),W=oe}function ae(oe){oe!==M&&(Y&&n.lineWidth(oe),M=oe)}function te(oe,He,Le){oe?(Q(n.POLYGON_OFFSET_FILL),(H!==He||z!==Le)&&(n.polygonOffset(He,Le),H=He,z=Le)):he(n.POLYGON_OFFSET_FILL)}function ie(oe){oe?Q(n.SCISSOR_TEST):he(n.SCISSOR_TEST)}function w(oe){oe===void 0&&(oe=n.TEXTURE0+I-1),le!==oe&&(n.activeTexture(oe),le=oe)}function A(oe,He,Le){Le===void 0&&(le===null?Le=n.TEXTURE0+I-1:Le=le);let Ce=X[Le];Ce===void 0&&(Ce={type:void 0,texture:void 0},X[Le]=Ce),(Ce.type!==oe||Ce.texture!==He)&&(le!==Le&&(n.activeTexture(Le),le=Le),n.bindTexture(oe,He||de[oe]),Ce.type=oe,Ce.texture=He)}function G(){const oe=X[le];oe!==void 0&&oe.type!==void 0&&(n.bindTexture(oe.type,null),oe.type=void 0,oe.texture=void 0)}function ce(){try{n.compressedTexImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function $(){try{n.compressedTexImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function J(){try{n.texSubImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function ve(){try{n.texSubImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ee(){try{n.compressedTexSubImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Me(){try{n.compressedTexSubImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ue(){try{n.texStorage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Je(){try{n.texStorage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function Ne(){try{n.texImage2D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function tt(){try{n.texImage3D.apply(n,arguments)}catch(oe){console.error("THREE.WebGLState:",oe)}}function $e(oe){fe.equals(oe)===!1&&(n.scissor(oe.x,oe.y,oe.z,oe.w),fe.copy(oe))}function Pe(oe){ye.equals(oe)===!1&&(n.viewport(oe.x,oe.y,oe.z,oe.w),ye.copy(oe))}function je(oe,He){let Le=u.get(He);Le===void 0&&(Le=new WeakMap,u.set(He,Le));let Ce=Le.get(oe);Ce===void 0&&(Ce=n.getUniformBlockIndex(He,oe.name),Le.set(oe,Ce))}function Ve(oe,He){const Ce=u.get(He).get(oe);d.get(He)!==Ce&&(n.uniformBlockBinding(He,Ce,oe.__bindingPointIndex),d.set(He,Ce))}function ct(){n.disable(n.BLEND),n.disable(n.CULL_FACE),n.disable(n.DEPTH_TEST),n.disable(n.POLYGON_OFFSET_FILL),n.disable(n.SCISSOR_TEST),n.disable(n.STENCIL_TEST),n.disable(n.SAMPLE_ALPHA_TO_COVERAGE),n.blendEquation(n.FUNC_ADD),n.blendFunc(n.ONE,n.ZERO),n.blendFuncSeparate(n.ONE,n.ZERO,n.ONE,n.ZERO),n.blendColor(0,0,0,0),n.colorMask(!0,!0,!0,!0),n.clearColor(0,0,0,0),n.depthMask(!0),n.depthFunc(n.LESS),n.clearDepth(1),n.stencilMask(4294967295),n.stencilFunc(n.ALWAYS,0,4294967295),n.stencilOp(n.KEEP,n.KEEP,n.KEEP),n.clearStencil(0),n.cullFace(n.BACK),n.frontFace(n.CCW),n.polygonOffset(0,0),n.activeTexture(n.TEXTURE0),n.bindFramebuffer(n.FRAMEBUFFER,null),i===!0&&(n.bindFramebuffer(n.DRAW_FRAMEBUFFER,null),n.bindFramebuffer(n.READ_FRAMEBUFFER,null)),n.useProgram(null),n.lineWidth(1),n.scissor(0,0,n.canvas.width,n.canvas.height),n.viewport(0,0,n.canvas.width,n.canvas.height),_={},le=null,X={},f={},E=new WeakMap,b=[],g=null,h=!1,m=null,S=null,v=null,T=null,C=null,N=null,x=null,y=new at(0,0,0),R=0,P=!1,k=null,W=null,M=null,H=null,z=null,fe.set(0,0,n.canvas.width,n.canvas.height),ye.set(0,0,n.canvas.width,n.canvas.height),a.reset(),l.reset(),c.reset()}return{buffers:{color:a,depth:l,stencil:c},enable:Q,disable:he,bindFramebuffer:Ae,drawBuffers:O,useProgram:F,setBlending:ee,setMaterial:be,setFlipSided:xe,setCullFace:B,setLineWidth:ae,setPolygonOffset:te,setScissorTest:ie,activeTexture:w,bindTexture:A,unbindTexture:G,compressedTexImage2D:ce,compressedTexImage3D:$,texImage2D:Ne,texImage3D:tt,updateUBOMapping:je,uniformBlockBinding:Ve,texStorage2D:Ue,texStorage3D:Je,texSubImage2D:J,texSubImage3D:ve,compressedTexSubImage2D:Ee,compressedTexSubImage3D:Me,scissor:$e,viewport:Pe,reset:ct}}function Oyt(n,e,t,i,r,s,o){const a=r.isWebGL2,l=r.maxTextures,c=r.maxCubemapSize,d=r.maxTextureSize,u=r.maxSamples,_=e.has("WEBGL_multisampled_render_to_texture")?e.get("WEBGL_multisampled_render_to_texture"):null,f=typeof navigator>"u"?!1:/OculusBrowser/g.test(navigator.userAgent),E=new WeakMap;let b;const g=new WeakMap;let h=!1;try{h=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function m(w,A){return h?new OffscreenCanvas(w,A):Cl("canvas")}function S(w,A,G,ce){let $=1;if((w.width>ce||w.height>ce)&&($=ce/Math.max(w.width,w.height)),$<1||A===!0)if(typeof HTMLImageElement<"u"&&w instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&w instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&w instanceof ImageBitmap){const J=A?Cd:Math.floor,ve=J($*w.width),Ee=J($*w.height);b===void 0&&(b=m(ve,Ee));const Me=G?m(ve,Ee):b;return Me.width=ve,Me.height=Ee,Me.getContext("2d").drawImage(w,0,0,ve,Ee),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+w.width+"x"+w.height+") to ("+ve+"x"+Ee+")."),Me}else return"data"in w&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+w.width+"x"+w.height+")."),w;return w}function v(w){return rg(w.width)&&rg(w.height)}function T(w){return a?!1:w.wrapS!==Wn||w.wrapT!==Wn||w.minFilter!==ln&&w.minFilter!==Mn}function C(w,A){return w.generateMipmaps&&A&&w.minFilter!==ln&&w.minFilter!==Mn}function N(w){n.generateMipmap(w)}function x(w,A,G,ce,$=!1){if(a===!1)return A;if(w!==null){if(n[w]!==void 0)return n[w];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+w+"'")}let J=A;if(A===n.RED&&(G===n.FLOAT&&(J=n.R32F),G===n.HALF_FLOAT&&(J=n.R16F),G===n.UNSIGNED_BYTE&&(J=n.R8)),A===n.RED_INTEGER&&(G===n.UNSIGNED_BYTE&&(J=n.R8UI),G===n.UNSIGNED_SHORT&&(J=n.R16UI),G===n.UNSIGNED_INT&&(J=n.R32UI),G===n.BYTE&&(J=n.R8I),G===n.SHORT&&(J=n.R16I),G===n.INT&&(J=n.R32I)),A===n.RG&&(G===n.FLOAT&&(J=n.RG32F),G===n.HALF_FLOAT&&(J=n.RG16F),G===n.UNSIGNED_BYTE&&(J=n.RG8)),A===n.RGBA){const ve=$?yd:Nt.getTransfer(ce);G===n.FLOAT&&(J=n.RGBA32F),G===n.HALF_FLOAT&&(J=n.RGBA16F),G===n.UNSIGNED_BYTE&&(J=ve===Gt?n.SRGB8_ALPHA8:n.RGBA8),G===n.UNSIGNED_SHORT_4_4_4_4&&(J=n.RGBA4),G===n.UNSIGNED_SHORT_5_5_5_1&&(J=n.RGB5_A1)}return(J===n.R16F||J===n.R32F||J===n.RG16F||J===n.RG32F||J===n.RGBA16F||J===n.RGBA32F)&&e.get("EXT_color_buffer_float"),J}function y(w,A,G){return C(w,G)===!0||w.isFramebufferTexture&&w.minFilter!==ln&&w.minFilter!==Mn?Math.log2(Math.max(A.width,A.height))+1:w.mipmaps!==void 0&&w.mipmaps.length>0?w.mipmaps.length:w.isCompressedTexture&&Array.isArray(w.image)?A.mipmaps.length:1}function R(w){return w===ln||w===eg||w===Kc?n.NEAREST:n.LINEAR}function P(w){const A=w.target;A.removeEventListener("dispose",P),W(A),A.isVideoTexture&&E.delete(A)}function k(w){const A=w.target;A.removeEventListener("dispose",k),H(A)}function W(w){const A=i.get(w);if(A.__webglInit===void 0)return;const G=w.source,ce=g.get(G);if(ce){const $=ce[A.__cacheKey];$.usedTimes--,$.usedTimes===0&&M(w),Object.keys(ce).length===0&&g.delete(G)}i.remove(w)}function M(w){const A=i.get(w);n.deleteTexture(A.__webglTexture);const G=w.source,ce=g.get(G);delete ce[A.__cacheKey],o.memory.textures--}function H(w){const A=w.texture,G=i.get(w),ce=i.get(A);if(ce.__webglTexture!==void 0&&(n.deleteTexture(ce.__webglTexture),o.memory.textures--),w.depthTexture&&w.depthTexture.dispose(),w.isWebGLCubeRenderTarget)for(let $=0;$<6;$++){if(Array.isArray(G.__webglFramebuffer[$]))for(let J=0;J<G.__webglFramebuffer[$].length;J++)n.deleteFramebuffer(G.__webglFramebuffer[$][J]);else n.deleteFramebuffer(G.__webglFramebuffer[$]);G.__webglDepthbuffer&&n.deleteRenderbuffer(G.__webglDepthbuffer[$])}else{if(Array.isArray(G.__webglFramebuffer))for(let $=0;$<G.__webglFramebuffer.length;$++)n.deleteFramebuffer(G.__webglFramebuffer[$]);else n.deleteFramebuffer(G.__webglFramebuffer);if(G.__webglDepthbuffer&&n.deleteRenderbuffer(G.__webglDepthbuffer),G.__webglMultisampledFramebuffer&&n.deleteFramebuffer(G.__webglMultisampledFramebuffer),G.__webglColorRenderbuffer)for(let $=0;$<G.__webglColorRenderbuffer.length;$++)G.__webglColorRenderbuffer[$]&&n.deleteRenderbuffer(G.__webglColorRenderbuffer[$]);G.__webglDepthRenderbuffer&&n.deleteRenderbuffer(G.__webglDepthRenderbuffer)}if(w.isWebGLMultipleRenderTargets)for(let $=0,J=A.length;$<J;$++){const ve=i.get(A[$]);ve.__webglTexture&&(n.deleteTexture(ve.__webglTexture),o.memory.textures--),i.remove(A[$])}i.remove(A),i.remove(w)}let z=0;function I(){z=0}function Y(){const w=z;return w>=l&&console.warn("THREE.WebGLTextures: Trying to use "+w+" texture units while this GPU supports only "+l),z+=1,w}function K(w){const A=[];return A.push(w.wrapS),A.push(w.wrapT),A.push(w.wrapR||0),A.push(w.magFilter),A.push(w.minFilter),A.push(w.anisotropy),A.push(w.internalFormat),A.push(w.format),A.push(w.type),A.push(w.generateMipmaps),A.push(w.premultiplyAlpha),A.push(w.flipY),A.push(w.unpackAlignment),A.push(w.colorSpace),A.join()}function q(w,A){const G=i.get(w);if(w.isVideoTexture&&te(w),w.isRenderTargetTexture===!1&&w.version>0&&G.__version!==w.version){const ce=w.image;if(ce===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(ce.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{Q(G,w,A);return}}t.bindTexture(n.TEXTURE_2D,G.__webglTexture,n.TEXTURE0+A)}function le(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){Q(G,w,A);return}t.bindTexture(n.TEXTURE_2D_ARRAY,G.__webglTexture,n.TEXTURE0+A)}function X(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){Q(G,w,A);return}t.bindTexture(n.TEXTURE_3D,G.__webglTexture,n.TEXTURE0+A)}function Z(w,A){const G=i.get(w);if(w.version>0&&G.__version!==w.version){he(G,w,A);return}t.bindTexture(n.TEXTURE_CUBE_MAP,G.__webglTexture,n.TEXTURE0+A)}const _e={[Xo]:n.REPEAT,[Wn]:n.CLAMP_TO_EDGE,[Sd]:n.MIRRORED_REPEAT},fe={[ln]:n.NEAREST,[eg]:n.NEAREST_MIPMAP_NEAREST,[Kc]:n.NEAREST_MIPMAP_LINEAR,[Mn]:n.LINEAR,[Hw]:n.LINEAR_MIPMAP_NEAREST,[ks]:n.LINEAR_MIPMAP_LINEAR},ye={[dmt]:n.NEVER,[mmt]:n.ALWAYS,[umt]:n.LESS,[Zw]:n.LEQUAL,[_mt]:n.EQUAL,[hmt]:n.GEQUAL,[pmt]:n.GREATER,[fmt]:n.NOTEQUAL};function j(w,A,G){if(G?(n.texParameteri(w,n.TEXTURE_WRAP_S,_e[A.wrapS]),n.texParameteri(w,n.TEXTURE_WRAP_T,_e[A.wrapT]),(w===n.TEXTURE_3D||w===n.TEXTURE_2D_ARRAY)&&n.texParameteri(w,n.TEXTURE_WRAP_R,_e[A.wrapR]),n.texParameteri(w,n.TEXTURE_MAG_FILTER,fe[A.magFilter]),n.texParameteri(w,n.TEXTURE_MIN_FILTER,fe[A.minFilter])):(n.texParameteri(w,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(w,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(w===n.TEXTURE_3D||w===n.TEXTURE_2D_ARRAY)&&n.texParameteri(w,n.TEXTURE_WRAP_R,n.CLAMP_TO_EDGE),(A.wrapS!==Wn||A.wrapT!==Wn)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),n.texParameteri(w,n.TEXTURE_MAG_FILTER,R(A.magFilter)),n.texParameteri(w,n.TEXTURE_MIN_FILTER,R(A.minFilter)),A.minFilter!==ln&&A.minFilter!==Mn&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),A.compareFunction&&(n.texParameteri(w,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(w,n.TEXTURE_COMPARE_FUNC,ye[A.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){const ce=e.get("EXT_texture_filter_anisotropic");if(A.magFilter===ln||A.minFilter!==Kc&&A.minFilter!==ks||A.type===nr&&e.has("OES_texture_float_linear")===!1||a===!1&&A.type===Tl&&e.has("OES_texture_half_float_linear")===!1)return;(A.anisotropy>1||i.get(A).__currentAnisotropy)&&(n.texParameterf(w,ce.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(A.anisotropy,r.getMaxAnisotropy())),i.get(A).__currentAnisotropy=A.anisotropy)}}function de(w,A){let G=!1;w.__webglInit===void 0&&(w.__webglInit=!0,A.addEventListener("dispose",P));const ce=A.source;let $=g.get(ce);$===void 0&&($={},g.set(ce,$));const J=K(A);if(J!==w.__cacheKey){$[J]===void 0&&($[J]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,G=!0),$[J].usedTimes++;const ve=$[w.__cacheKey];ve!==void 0&&($[w.__cacheKey].usedTimes--,ve.usedTimes===0&&M(A)),w.__cacheKey=J,w.__webglTexture=$[J].texture}return G}function Q(w,A,G){let ce=n.TEXTURE_2D;(A.isDataArrayTexture||A.isCompressedArrayTexture)&&(ce=n.TEXTURE_2D_ARRAY),A.isData3DTexture&&(ce=n.TEXTURE_3D);const $=de(w,A),J=A.source;t.bindTexture(ce,w.__webglTexture,n.TEXTURE0+G);const ve=i.get(J);if(J.version!==ve.__version||$===!0){t.activeTexture(n.TEXTURE0+G);const Ee=Nt.getPrimaries(Nt.workingColorSpace),Me=A.colorSpace===jn?null:Nt.getPrimaries(A.colorSpace),Ue=A.colorSpace===jn||Ee===Me?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,A.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,A.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,A.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Ue);const Je=T(A)&&v(A.image)===!1;let Ne=S(A.image,Je,!1,d);Ne=ie(A,Ne);const tt=v(Ne)||a,$e=s.convert(A.format,A.colorSpace);let Pe=s.convert(A.type),je=x(A.internalFormat,$e,Pe,A.colorSpace,A.isVideoTexture);j(ce,A,tt);let Ve;const ct=A.mipmaps,oe=a&&A.isVideoTexture!==!0&&je!==jw,He=ve.__version===void 0||$===!0,Le=y(A,Ne,tt);if(A.isDepthTexture)je=n.DEPTH_COMPONENT,a?A.type===nr?je=n.DEPTH_COMPONENT32F:A.type===Fr?je=n.DEPTH_COMPONENT24:A.type===ws?je=n.DEPTH24_STENCIL8:je=n.DEPTH_COMPONENT16:A.type===nr&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),A.format===Os&&je===n.DEPTH_COMPONENT&&A.type!==UE&&A.type!==Fr&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),A.type=Fr,Pe=s.convert(A.type)),A.format===Zo&&je===n.DEPTH_COMPONENT&&(je=n.DEPTH_STENCIL,A.type!==ws&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),A.type=ws,Pe=s.convert(A.type))),He&&(oe?t.texStorage2D(n.TEXTURE_2D,1,je,Ne.width,Ne.height):t.texImage2D(n.TEXTURE_2D,0,je,Ne.width,Ne.height,0,$e,Pe,null));else if(A.isDataTexture)if(ct.length>0&&tt){oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Pe,Ve.data):t.texImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,$e,Pe,Ve.data);A.generateMipmaps=!1}else oe?(He&&t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height),t.texSubImage2D(n.TEXTURE_2D,0,0,0,Ne.width,Ne.height,$e,Pe,Ne.data)):t.texImage2D(n.TEXTURE_2D,0,je,Ne.width,Ne.height,0,$e,Pe,Ne.data);else if(A.isCompressedTexture)if(A.isCompressedArrayTexture){oe&&He&&t.texStorage3D(n.TEXTURE_2D_ARRAY,Le,je,ct[0].width,ct[0].height,Ne.depth);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],A.format!==Kn?$e!==null?oe?t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,Ce,0,0,0,Ve.width,Ve.height,Ne.depth,$e,Ve.data,0,0):t.compressedTexImage3D(n.TEXTURE_2D_ARRAY,Ce,je,Ve.width,Ve.height,Ne.depth,0,Ve.data,0,0):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):oe?t.texSubImage3D(n.TEXTURE_2D_ARRAY,Ce,0,0,0,Ve.width,Ve.height,Ne.depth,$e,Pe,Ve.data):t.texImage3D(n.TEXTURE_2D_ARRAY,Ce,je,Ve.width,Ve.height,Ne.depth,0,$e,Pe,Ve.data)}else{oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],A.format!==Kn?$e!==null?oe?t.compressedTexSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Ve.data):t.compressedTexImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,Ve.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,Ve.width,Ve.height,$e,Pe,Ve.data):t.texImage2D(n.TEXTURE_2D,Ce,je,Ve.width,Ve.height,0,$e,Pe,Ve.data)}else if(A.isDataArrayTexture)oe?(He&&t.texStorage3D(n.TEXTURE_2D_ARRAY,Le,je,Ne.width,Ne.height,Ne.depth),t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,Ne.width,Ne.height,Ne.depth,$e,Pe,Ne.data)):t.texImage3D(n.TEXTURE_2D_ARRAY,0,je,Ne.width,Ne.height,Ne.depth,0,$e,Pe,Ne.data);else if(A.isData3DTexture)oe?(He&&t.texStorage3D(n.TEXTURE_3D,Le,je,Ne.width,Ne.height,Ne.depth),t.texSubImage3D(n.TEXTURE_3D,0,0,0,0,Ne.width,Ne.height,Ne.depth,$e,Pe,Ne.data)):t.texImage3D(n.TEXTURE_3D,0,je,Ne.width,Ne.height,Ne.depth,0,$e,Pe,Ne.data);else if(A.isFramebufferTexture){if(He)if(oe)t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height);else{let Ce=Ne.width,ke=Ne.height;for(let it=0;it<Le;it++)t.texImage2D(n.TEXTURE_2D,it,je,Ce,ke,0,$e,Pe,null),Ce>>=1,ke>>=1}}else if(ct.length>0&&tt){oe&&He&&t.texStorage2D(n.TEXTURE_2D,Le,je,ct[0].width,ct[0].height);for(let Ce=0,ke=ct.length;Ce<ke;Ce++)Ve=ct[Ce],oe?t.texSubImage2D(n.TEXTURE_2D,Ce,0,0,$e,Pe,Ve):t.texImage2D(n.TEXTURE_2D,Ce,je,$e,Pe,Ve);A.generateMipmaps=!1}else oe?(He&&t.texStorage2D(n.TEXTURE_2D,Le,je,Ne.width,Ne.height),t.texSubImage2D(n.TEXTURE_2D,0,0,0,$e,Pe,Ne)):t.texImage2D(n.TEXTURE_2D,0,je,$e,Pe,Ne);C(A,tt)&&N(ce),ve.__version=J.version,A.onUpdate&&A.onUpdate(A)}w.__version=A.version}function he(w,A,G){if(A.image.length!==6)return;const ce=de(w,A),$=A.source;t.bindTexture(n.TEXTURE_CUBE_MAP,w.__webglTexture,n.TEXTURE0+G);const J=i.get($);if($.version!==J.__version||ce===!0){t.activeTexture(n.TEXTURE0+G);const ve=Nt.getPrimaries(Nt.workingColorSpace),Ee=A.colorSpace===jn?null:Nt.getPrimaries(A.colorSpace),Me=A.colorSpace===jn||ve===Ee?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,A.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,A.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,A.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Me);const Ue=A.isCompressedTexture||A.image[0].isCompressedTexture,Je=A.image[0]&&A.image[0].isDataTexture,Ne=[];for(let Ce=0;Ce<6;Ce++)!Ue&&!Je?Ne[Ce]=S(A.image[Ce],!1,!0,c):Ne[Ce]=Je?A.image[Ce].image:A.image[Ce],Ne[Ce]=ie(A,Ne[Ce]);const tt=Ne[0],$e=v(tt)||a,Pe=s.convert(A.format,A.colorSpace),je=s.convert(A.type),Ve=x(A.internalFormat,Pe,je,A.colorSpace),ct=a&&A.isVideoTexture!==!0,oe=J.__version===void 0||ce===!0;let He=y(A,tt,$e);j(n.TEXTURE_CUBE_MAP,A,$e);let Le;if(Ue){ct&&oe&&t.texStorage2D(n.TEXTURE_CUBE_MAP,He,Ve,tt.width,tt.height);for(let Ce=0;Ce<6;Ce++){Le=Ne[Ce].mipmaps;for(let ke=0;ke<Le.length;ke++){const it=Le[ke];A.format!==Kn?Pe!==null?ct?t.compressedTexSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,0,0,it.width,it.height,Pe,it.data):t.compressedTexImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,Ve,it.width,it.height,0,it.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,0,0,it.width,it.height,Pe,je,it.data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke,Ve,it.width,it.height,0,Pe,je,it.data)}}}else{Le=A.mipmaps,ct&&oe&&(Le.length>0&&He++,t.texStorage2D(n.TEXTURE_CUBE_MAP,He,Ve,Ne[0].width,Ne[0].height));for(let Ce=0;Ce<6;Ce++)if(Je){ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,0,0,Ne[Ce].width,Ne[Ce].height,Pe,je,Ne[Ce].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,Ve,Ne[Ce].width,Ne[Ce].height,0,Pe,je,Ne[Ce].data);for(let ke=0;ke<Le.length;ke++){const pt=Le[ke].image[Ce].image;ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,0,0,pt.width,pt.height,Pe,je,pt.data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,Ve,pt.width,pt.height,0,Pe,je,pt.data)}}else{ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,0,0,Pe,je,Ne[Ce]):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,0,Ve,Pe,je,Ne[Ce]);for(let ke=0;ke<Le.length;ke++){const it=Le[ke];ct?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,0,0,Pe,je,it.image[Ce]):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Ce,ke+1,Ve,Pe,je,it.image[Ce])}}}C(A,$e)&&N(n.TEXTURE_CUBE_MAP),J.__version=$.version,A.onUpdate&&A.onUpdate(A)}w.__version=A.version}function Ae(w,A,G,ce,$,J){const ve=s.convert(G.format,G.colorSpace),Ee=s.convert(G.type),Me=x(G.internalFormat,ve,Ee,G.colorSpace);if(!i.get(A).__hasExternalTextures){const Je=Math.max(1,A.width>>J),Ne=Math.max(1,A.height>>J);$===n.TEXTURE_3D||$===n.TEXTURE_2D_ARRAY?t.texImage3D($,J,Me,Je,Ne,A.depth,0,ve,Ee,null):t.texImage2D($,J,Me,Je,Ne,0,ve,Ee,null)}t.bindFramebuffer(n.FRAMEBUFFER,w),ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,ce,$,i.get(G).__webglTexture,0,B(A)):($===n.TEXTURE_2D||$>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&$<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,ce,$,i.get(G).__webglTexture,J),t.bindFramebuffer(n.FRAMEBUFFER,null)}function O(w,A,G){if(n.bindRenderbuffer(n.RENDERBUFFER,w),A.depthBuffer&&!A.stencilBuffer){let ce=a===!0?n.DEPTH_COMPONENT24:n.DEPTH_COMPONENT16;if(G||ae(A)){const $=A.depthTexture;$&&$.isDepthTexture&&($.type===nr?ce=n.DEPTH_COMPONENT32F:$.type===Fr&&(ce=n.DEPTH_COMPONENT24));const J=B(A);ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,J,ce,A.width,A.height):n.renderbufferStorageMultisample(n.RENDERBUFFER,J,ce,A.width,A.height)}else n.renderbufferStorage(n.RENDERBUFFER,ce,A.width,A.height);n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.RENDERBUFFER,w)}else if(A.depthBuffer&&A.stencilBuffer){const ce=B(A);G&&ae(A)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,ce,n.DEPTH24_STENCIL8,A.width,A.height):ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ce,n.DEPTH24_STENCIL8,A.width,A.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,A.width,A.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,w)}else{const ce=A.isWebGLMultipleRenderTargets===!0?A.texture:[A.texture];for(let $=0;$<ce.length;$++){const J=ce[$],ve=s.convert(J.format,J.colorSpace),Ee=s.convert(J.type),Me=x(J.internalFormat,ve,Ee,J.colorSpace),Ue=B(A);G&&ae(A)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,Ue,Me,A.width,A.height):ae(A)?_.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,Ue,Me,A.width,A.height):n.renderbufferStorage(n.RENDERBUFFER,Me,A.width,A.height)}}n.bindRenderbuffer(n.RENDERBUFFER,null)}function F(w,A){if(A&&A.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(t.bindFramebuffer(n.FRAMEBUFFER,w),!(A.depthTexture&&A.depthTexture.isDepthTexture))throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");(!i.get(A.depthTexture).__webglTexture||A.depthTexture.image.width!==A.width||A.depthTexture.image.height!==A.height)&&(A.depthTexture.image.width=A.width,A.depthTexture.image.height=A.height,A.depthTexture.needsUpdate=!0),q(A.depthTexture,0);const ce=i.get(A.depthTexture).__webglTexture,$=B(A);if(A.depthTexture.format===Os)ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,ce,0,$):n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,ce,0);else if(A.depthTexture.format===Zo)ae(A)?_.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.TEXTURE_2D,ce,0,$):n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.TEXTURE_2D,ce,0);else throw new Error("Unknown depthTexture format")}function V(w){const A=i.get(w),G=w.isWebGLCubeRenderTarget===!0;if(w.depthTexture&&!A.__autoAllocateDepthBuffer){if(G)throw new Error("target.depthTexture not supported in Cube render targets");F(A.__webglFramebuffer,w)}else if(G){A.__webglDepthbuffer=[];for(let ce=0;ce<6;ce++)t.bindFramebuffer(n.FRAMEBUFFER,A.__webglFramebuffer[ce]),A.__webglDepthbuffer[ce]=n.createRenderbuffer(),O(A.__webglDepthbuffer[ce],w,!1)}else t.bindFramebuffer(n.FRAMEBUFFER,A.__webglFramebuffer),A.__webglDepthbuffer=n.createRenderbuffer(),O(A.__webglDepthbuffer,w,!1);t.bindFramebuffer(n.FRAMEBUFFER,null)}function re(w,A,G){const ce=i.get(w);A!==void 0&&Ae(ce.__webglFramebuffer,w,w.texture,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,0),G!==void 0&&V(w)}function ee(w){const A=w.texture,G=i.get(w),ce=i.get(A);w.addEventListener("dispose",k),w.isWebGLMultipleRenderTargets!==!0&&(ce.__webglTexture===void 0&&(ce.__webglTexture=n.createTexture()),ce.__version=A.version,o.memory.textures++);const $=w.isWebGLCubeRenderTarget===!0,J=w.isWebGLMultipleRenderTargets===!0,ve=v(w)||a;if($){G.__webglFramebuffer=[];for(let Ee=0;Ee<6;Ee++)if(a&&A.mipmaps&&A.mipmaps.length>0){G.__webglFramebuffer[Ee]=[];for(let Me=0;Me<A.mipmaps.length;Me++)G.__webglFramebuffer[Ee][Me]=n.createFramebuffer()}else G.__webglFramebuffer[Ee]=n.createFramebuffer()}else{if(a&&A.mipmaps&&A.mipmaps.length>0){G.__webglFramebuffer=[];for(let Ee=0;Ee<A.mipmaps.length;Ee++)G.__webglFramebuffer[Ee]=n.createFramebuffer()}else G.__webglFramebuffer=n.createFramebuffer();if(J)if(r.drawBuffers){const Ee=w.texture;for(let Me=0,Ue=Ee.length;Me<Ue;Me++){const Je=i.get(Ee[Me]);Je.__webglTexture===void 0&&(Je.__webglTexture=n.createTexture(),o.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(a&&w.samples>0&&ae(w)===!1){const Ee=J?A:[A];G.__webglMultisampledFramebuffer=n.createFramebuffer(),G.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,G.__webglMultisampledFramebuffer);for(let Me=0;Me<Ee.length;Me++){const Ue=Ee[Me];G.__webglColorRenderbuffer[Me]=n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,G.__webglColorRenderbuffer[Me]);const Je=s.convert(Ue.format,Ue.colorSpace),Ne=s.convert(Ue.type),tt=x(Ue.internalFormat,Je,Ne,Ue.colorSpace,w.isXRRenderTarget===!0),$e=B(w);n.renderbufferStorageMultisample(n.RENDERBUFFER,$e,tt,w.width,w.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Me,n.RENDERBUFFER,G.__webglColorRenderbuffer[Me])}n.bindRenderbuffer(n.RENDERBUFFER,null),w.depthBuffer&&(G.__webglDepthRenderbuffer=n.createRenderbuffer(),O(G.__webglDepthRenderbuffer,w,!0)),t.bindFramebuffer(n.FRAMEBUFFER,null)}}if($){t.bindTexture(n.TEXTURE_CUBE_MAP,ce.__webglTexture),j(n.TEXTURE_CUBE_MAP,A,ve);for(let Ee=0;Ee<6;Ee++)if(a&&A.mipmaps&&A.mipmaps.length>0)for(let Me=0;Me<A.mipmaps.length;Me++)Ae(G.__webglFramebuffer[Ee][Me],w,A,n.COLOR_ATTACHMENT0,n.TEXTURE_CUBE_MAP_POSITIVE_X+Ee,Me);else Ae(G.__webglFramebuffer[Ee],w,A,n.COLOR_ATTACHMENT0,n.TEXTURE_CUBE_MAP_POSITIVE_X+Ee,0);C(A,ve)&&N(n.TEXTURE_CUBE_MAP),t.unbindTexture()}else if(J){const Ee=w.texture;for(let Me=0,Ue=Ee.length;Me<Ue;Me++){const Je=Ee[Me],Ne=i.get(Je);t.bindTexture(n.TEXTURE_2D,Ne.__webglTexture),j(n.TEXTURE_2D,Je,ve),Ae(G.__webglFramebuffer,w,Je,n.COLOR_ATTACHMENT0+Me,n.TEXTURE_2D,0),C(Je,ve)&&N(n.TEXTURE_2D)}t.unbindTexture()}else{let Ee=n.TEXTURE_2D;if((w.isWebGL3DRenderTarget||w.isWebGLArrayRenderTarget)&&(a?Ee=w.isWebGL3DRenderTarget?n.TEXTURE_3D:n.TEXTURE_2D_ARRAY:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),t.bindTexture(Ee,ce.__webglTexture),j(Ee,A,ve),a&&A.mipmaps&&A.mipmaps.length>0)for(let Me=0;Me<A.mipmaps.length;Me++)Ae(G.__webglFramebuffer[Me],w,A,n.COLOR_ATTACHMENT0,Ee,Me);else Ae(G.__webglFramebuffer,w,A,n.COLOR_ATTACHMENT0,Ee,0);C(A,ve)&&N(Ee),t.unbindTexture()}w.depthBuffer&&V(w)}function be(w){const A=v(w)||a,G=w.isWebGLMultipleRenderTargets===!0?w.texture:[w.texture];for(let ce=0,$=G.length;ce<$;ce++){const J=G[ce];if(C(J,A)){const ve=w.isWebGLCubeRenderTarget?n.TEXTURE_CUBE_MAP:n.TEXTURE_2D,Ee=i.get(J).__webglTexture;t.bindTexture(ve,Ee),N(ve),t.unbindTexture()}}}function xe(w){if(a&&w.samples>0&&ae(w)===!1){const A=w.isWebGLMultipleRenderTargets?w.texture:[w.texture],G=w.width,ce=w.height;let $=n.COLOR_BUFFER_BIT;const J=[],ve=w.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Ee=i.get(w),Me=w.isWebGLMultipleRenderTargets===!0;if(Me)for(let Ue=0;Ue<A.length;Ue++)t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.RENDERBUFFER,null),t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglFramebuffer),n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.TEXTURE_2D,null,0);t.bindFramebuffer(n.READ_FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),t.bindFramebuffer(n.DRAW_FRAMEBUFFER,Ee.__webglFramebuffer);for(let Ue=0;Ue<A.length;Ue++){J.push(n.COLOR_ATTACHMENT0+Ue),w.depthBuffer&&J.push(ve);const Je=Ee.__ignoreDepthValues!==void 0?Ee.__ignoreDepthValues:!1;if(Je===!1&&(w.depthBuffer&&($|=n.DEPTH_BUFFER_BIT),w.stencilBuffer&&($|=n.STENCIL_BUFFER_BIT)),Me&&n.framebufferRenderbuffer(n.READ_FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.RENDERBUFFER,Ee.__webglColorRenderbuffer[Ue]),Je===!0&&(n.invalidateFramebuffer(n.READ_FRAMEBUFFER,[ve]),n.invalidateFramebuffer(n.DRAW_FRAMEBUFFER,[ve])),Me){const Ne=i.get(A[Ue]).__webglTexture;n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,Ne,0)}n.blitFramebuffer(0,0,G,ce,0,0,G,ce,$,n.NEAREST),f&&n.invalidateFramebuffer(n.READ_FRAMEBUFFER,J)}if(t.bindFramebuffer(n.READ_FRAMEBUFFER,null),t.bindFramebuffer(n.DRAW_FRAMEBUFFER,null),Me)for(let Ue=0;Ue<A.length;Ue++){t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglMultisampledFramebuffer),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.RENDERBUFFER,Ee.__webglColorRenderbuffer[Ue]);const Je=i.get(A[Ue]).__webglTexture;t.bindFramebuffer(n.FRAMEBUFFER,Ee.__webglFramebuffer),n.framebufferTexture2D(n.DRAW_FRAMEBUFFER,n.COLOR_ATTACHMENT0+Ue,n.TEXTURE_2D,Je,0)}t.bindFramebuffer(n.DRAW_FRAMEBUFFER,Ee.__webglMultisampledFramebuffer)}}function B(w){return Math.min(u,w.samples)}function ae(w){const A=i.get(w);return a&&w.samples>0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&A.__useRenderToTexture!==!1}function te(w){const A=o.render.frame;E.get(w)!==A&&(E.set(w,A),w.update())}function ie(w,A){const G=w.colorSpace,ce=w.format,$=w.type;return w.isCompressedTexture===!0||w.isVideoTexture===!0||w.format===ig||G!==fn&&G!==jn&&(Nt.getTransfer(G)===Gt?a===!1?e.has("EXT_sRGB")===!0&&ce===Kn?(w.format=ig,w.minFilter=Mn,w.generateMipmaps=!1):A=eO.sRGBToLinear(A):(ce!==Kn||$!==Yr)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",G)),A}this.allocateTextureUnit=Y,this.resetTextureUnits=I,this.setTexture2D=q,this.setTexture2DArray=le,this.setTexture3D=X,this.setTextureCube=Z,this.rebindTextures=re,this.setupRenderTarget=ee,this.updateRenderTargetMipmap=be,this.updateMultisampleRenderTarget=xe,this.setupDepthRenderbuffer=V,this.setupFrameBufferTexture=Ae,this.useMultisampledRTT=ae}function Nyt(n,e,t){const i=t.isWebGL2;function r(s,o=jn){let a;const l=Nt.getTransfer(o);if(s===Yr)return n.UNSIGNED_BYTE;if(s===qw)return n.UNSIGNED_SHORT_4_4_4_4;if(s===Yw)return n.UNSIGNED_SHORT_5_5_5_1;if(s===Xht)return n.BYTE;if(s===Zht)return n.SHORT;if(s===UE)return n.UNSIGNED_SHORT;if(s===Vw)return n.INT;if(s===Fr)return n.UNSIGNED_INT;if(s===nr)return n.FLOAT;if(s===Tl)return i?n.HALF_FLOAT:(a=e.get("OES_texture_half_float"),a!==null?a.HALF_FLOAT_OES:null);if(s===Jht)return n.ALPHA;if(s===Kn)return n.RGBA;if(s===emt)return n.LUMINANCE;if(s===tmt)return n.LUMINANCE_ALPHA;if(s===Os)return n.DEPTH_COMPONENT;if(s===Zo)return n.DEPTH_STENCIL;if(s===ig)return a=e.get("EXT_sRGB"),a!==null?a.SRGB_ALPHA_EXT:null;if(s===nmt)return n.RED;if(s===$w)return n.RED_INTEGER;if(s===imt)return n.RG;if(s===Ww)return n.RG_INTEGER;if(s===Kw)return n.RGBA_INTEGER;if(s===Ah||s===wh||s===Oh||s===Nh)if(l===Gt)if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),a!==null){if(s===Ah)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(s===wh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(s===Oh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(s===Nh)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(a=e.get("WEBGL_compressed_texture_s3tc"),a!==null){if(s===Ah)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(s===wh)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(s===Oh)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(s===Nh)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(s===Ax||s===wx||s===Ox||s===Nx)if(a=e.get("WEBGL_compressed_texture_pvrtc"),a!==null){if(s===Ax)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(s===wx)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(s===Ox)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(s===Nx)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(s===jw)return a=e.get("WEBGL_compressed_texture_etc1"),a!==null?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(s===Mx||s===Ix)if(a=e.get("WEBGL_compressed_texture_etc"),a!==null){if(s===Mx)return l===Gt?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(s===Ix)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(s===Dx||s===Lx||s===kx||s===Px||s===Ux||s===Fx||s===Bx||s===Gx||s===zx||s===Hx||s===Vx||s===qx||s===Yx||s===$x)if(a=e.get("WEBGL_compressed_texture_astc"),a!==null){if(s===Dx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(s===Lx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(s===kx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(s===Px)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(s===Ux)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(s===Fx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(s===Bx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(s===Gx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(s===zx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(s===Hx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(s===Vx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(s===qx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(s===Yx)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(s===$x)return l===Gt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(s===Mh||s===Wx||s===Kx)if(a=e.get("EXT_texture_compression_bptc"),a!==null){if(s===Mh)return l===Gt?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(s===Wx)return a.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(s===Kx)return a.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(s===rmt||s===jx||s===Qx||s===Xx)if(a=e.get("EXT_texture_compression_rgtc"),a!==null){if(s===Mh)return a.COMPRESSED_RED_RGTC1_EXT;if(s===jx)return a.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(s===Qx)return a.COMPRESSED_RED_GREEN_RGTC2_EXT;if(s===Xx)return a.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return s===ws?i?n.UNSIGNED_INT_24_8:(a=e.get("WEBGL_depth_texture"),a!==null?a.UNSIGNED_INT_24_8_WEBGL:null):n[s]!==void 0?n[s]:null}return{convert:r}}class Myt extends Cn{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class Ts extends Yt{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Iyt={type:"move"};class tm{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Ts,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Ts,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ue,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ue),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Ts,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ue,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ue),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const i of e.hand.values())this._getHandJoint(t,i)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,i){let r=null,s=null,o=null;const a=this._targetRay,l=this._grip,c=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(c&&e.hand){o=!0;for(const b of e.hand.values()){const g=t.getJointPose(b,i),h=this._getHandJoint(c,b);g!==null&&(h.matrix.fromArray(g.transform.matrix),h.matrix.decompose(h.position,h.rotation,h.scale),h.matrixWorldNeedsUpdate=!0,h.jointRadius=g.radius),h.visible=g!==null}const d=c.joints["index-finger-tip"],u=c.joints["thumb-tip"],_=d.position.distanceTo(u.position),f=.02,E=.005;c.inputState.pinching&&_>f+E?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&_<=f-E&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),l.matrixWorldNeedsUpdate=!0,s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));a!==null&&(r=t.getPose(e.targetRaySpace,i),r===null&&s!==null&&(r=s),r!==null&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(Iyt)))}return a!==null&&(a.visible=r!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const i=new Ts;i.matrixAutoUpdate=!1,i.visible=!1,e.joints[t.jointName]=i,e.add(i)}return e.joints[t.jointName]}}class Dyt extends ma{constructor(e,t){super();const i=this;let r=null,s=1,o=null,a="local-floor",l=1,c=null,d=null,u=null,_=null,f=null,E=null;const b=t.getContextAttributes();let g=null,h=null;const m=[],S=[],v=new vt;let T=null;const C=new Cn;C.layers.enable(1),C.viewport=new kt;const N=new Cn;N.layers.enable(2),N.viewport=new kt;const x=[C,N],y=new Myt;y.layers.enable(1),y.layers.enable(2);let R=null,P=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getTargetRaySpace()},this.getControllerGrip=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getGripSpace()},this.getHand=function(Z){let _e=m[Z];return _e===void 0&&(_e=new tm,m[Z]=_e),_e.getHandSpace()};function k(Z){const _e=S.indexOf(Z.inputSource);if(_e===-1)return;const fe=m[_e];fe!==void 0&&(fe.update(Z.inputSource,Z.frame,c||o),fe.dispatchEvent({type:Z.type,data:Z.inputSource}))}function W(){r.removeEventListener("select",k),r.removeEventListener("selectstart",k),r.removeEventListener("selectend",k),r.removeEventListener("squeeze",k),r.removeEventListener("squeezestart",k),r.removeEventListener("squeezeend",k),r.removeEventListener("end",W),r.removeEventListener("inputsourceschange",M);for(let Z=0;Z<m.length;Z++){const _e=S[Z];_e!==null&&(S[Z]=null,m[Z].disconnect(_e))}R=null,P=null,e.setRenderTarget(g),f=null,_=null,u=null,r=null,h=null,X.stop(),i.isPresenting=!1,e.setPixelRatio(T),e.setSize(v.width,v.height,!1),i.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(Z){s=Z,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(Z){a=Z,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return c||o},this.setReferenceSpace=function(Z){c=Z},this.getBaseLayer=function(){return _!==null?_:f},this.getBinding=function(){return u},this.getFrame=function(){return E},this.getSession=function(){return r},this.setSession=async function(Z){if(r=Z,r!==null){if(g=e.getRenderTarget(),r.addEventListener("select",k),r.addEventListener("selectstart",k),r.addEventListener("selectend",k),r.addEventListener("squeeze",k),r.addEventListener("squeezestart",k),r.addEventListener("squeezeend",k),r.addEventListener("end",W),r.addEventListener("inputsourceschange",M),b.xrCompatible!==!0&&await t.makeXRCompatible(),T=e.getPixelRatio(),e.getSize(v),r.renderState.layers===void 0||e.capabilities.isWebGL2===!1){const _e={antialias:r.renderState.layers===void 0?b.antialias:!0,alpha:!0,depth:b.depth,stencil:b.stencil,framebufferScaleFactor:s};f=new XRWebGLLayer(r,t,_e),r.updateRenderState({baseLayer:f}),e.setPixelRatio(1),e.setSize(f.framebufferWidth,f.framebufferHeight,!1),h=new Ps(f.framebufferWidth,f.framebufferHeight,{format:Kn,type:Yr,colorSpace:e.outputColorSpace,stencilBuffer:b.stencil})}else{let _e=null,fe=null,ye=null;b.depth&&(ye=b.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,_e=b.stencil?Zo:Os,fe=b.stencil?ws:Fr);const j={colorFormat:t.RGBA8,depthFormat:ye,scaleFactor:s};u=new XRWebGLBinding(r,t),_=u.createProjectionLayer(j),r.updateRenderState({layers:[_]}),e.setPixelRatio(1),e.setSize(_.textureWidth,_.textureHeight,!1),h=new Ps(_.textureWidth,_.textureHeight,{format:Kn,type:Yr,depthTexture:new uO(_.textureWidth,_.textureHeight,fe,void 0,void 0,void 0,void 0,void 0,void 0,_e),stencilBuffer:b.stencil,colorSpace:e.outputColorSpace,samples:b.antialias?4:0});const de=e.properties.get(h);de.__ignoreDepthValues=_.ignoreDepthValues}h.isXRRenderTarget=!0,this.setFoveation(l),c=null,o=await r.requestReferenceSpace(a),X.setContext(r),X.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode};function M(Z){for(let _e=0;_e<Z.removed.length;_e++){const fe=Z.removed[_e],ye=S.indexOf(fe);ye>=0&&(S[ye]=null,m[ye].disconnect(fe))}for(let _e=0;_e<Z.added.length;_e++){const fe=Z.added[_e];let ye=S.indexOf(fe);if(ye===-1){for(let de=0;de<m.length;de++)if(de>=S.length){S.push(fe),ye=de;break}else if(S[de]===null){S[de]=fe,ye=de;break}if(ye===-1)break}const j=m[ye];j&&j.connect(fe)}}const H=new ue,z=new ue;function I(Z,_e,fe){H.setFromMatrixPosition(_e.matrixWorld),z.setFromMatrixPosition(fe.matrixWorld);const ye=H.distanceTo(z),j=_e.projectionMatrix.elements,de=fe.projectionMatrix.elements,Q=j[14]/(j[10]-1),he=j[14]/(j[10]+1),Ae=(j[9]+1)/j[5],O=(j[9]-1)/j[5],F=(j[8]-1)/j[0],V=(de[8]+1)/de[0],re=Q*F,ee=Q*V,be=ye/(-F+V),xe=be*-F;_e.matrixWorld.decompose(Z.position,Z.quaternion,Z.scale),Z.translateX(xe),Z.translateZ(be),Z.matrixWorld.compose(Z.position,Z.quaternion,Z.scale),Z.matrixWorldInverse.copy(Z.matrixWorld).invert();const B=Q+be,ae=he+be,te=re-xe,ie=ee+(ye-xe),w=Ae*he/ae*B,A=O*he/ae*B;Z.projectionMatrix.makePerspective(te,ie,w,A,B,ae),Z.projectionMatrixInverse.copy(Z.projectionMatrix).invert()}function Y(Z,_e){_e===null?Z.matrixWorld.copy(Z.matrix):Z.matrixWorld.multiplyMatrices(_e.matrixWorld,Z.matrix),Z.matrixWorldInverse.copy(Z.matrixWorld).invert()}this.updateCamera=function(Z){if(r===null)return;y.near=N.near=C.near=Z.near,y.far=N.far=C.far=Z.far,(R!==y.near||P!==y.far)&&(r.updateRenderState({depthNear:y.near,depthFar:y.far}),R=y.near,P=y.far);const _e=Z.parent,fe=y.cameras;Y(y,_e);for(let ye=0;ye<fe.length;ye++)Y(fe[ye],_e);fe.length===2?I(y,C,N):y.projectionMatrix.copy(C.projectionMatrix),K(Z,y,_e)};function K(Z,_e,fe){fe===null?Z.matrix.copy(_e.matrixWorld):(Z.matrix.copy(fe.matrixWorld),Z.matrix.invert(),Z.matrix.multiply(_e.matrixWorld)),Z.matrix.decompose(Z.position,Z.quaternion,Z.scale),Z.updateMatrixWorld(!0),Z.projectionMatrix.copy(_e.projectionMatrix),Z.projectionMatrixInverse.copy(_e.projectionMatrixInverse),Z.isPerspectiveCamera&&(Z.fov=ea*2*Math.atan(1/Z.projectionMatrix.elements[5]),Z.zoom=1)}this.getCamera=function(){return y},this.getFoveation=function(){if(!(_===null&&f===null))return l},this.setFoveation=function(Z){l=Z,_!==null&&(_.fixedFoveation=Z),f!==null&&f.fixedFoveation!==void 0&&(f.fixedFoveation=Z)};let q=null;function le(Z,_e){if(d=_e.getViewerPose(c||o),E=_e,d!==null){const fe=d.views;f!==null&&(e.setRenderTargetFramebuffer(h,f.framebuffer),e.setRenderTarget(h));let ye=!1;fe.length!==y.cameras.length&&(y.cameras.length=0,ye=!0);for(let j=0;j<fe.length;j++){const de=fe[j];let Q=null;if(f!==null)Q=f.getViewport(de);else{const Ae=u.getViewSubImage(_,de);Q=Ae.viewport,j===0&&(e.setRenderTargetTextures(h,Ae.colorTexture,_.ignoreDepthValues?void 0:Ae.depthStencilTexture),e.setRenderTarget(h))}let he=x[j];he===void 0&&(he=new Cn,he.layers.enable(j),he.viewport=new kt,x[j]=he),he.matrix.fromArray(de.transform.matrix),he.matrix.decompose(he.position,he.quaternion,he.scale),he.projectionMatrix.fromArray(de.projectionMatrix),he.projectionMatrixInverse.copy(he.projectionMatrix).invert(),he.viewport.set(Q.x,Q.y,Q.width,Q.height),j===0&&(y.matrix.copy(he.matrix),y.matrix.decompose(y.position,y.quaternion,y.scale)),ye===!0&&y.cameras.push(he)}}for(let fe=0;fe<m.length;fe++){const ye=S[fe],j=m[fe];ye!==null&&j!==void 0&&j.update(ye,_e,c||o)}q&&q(Z,_e),_e.detectedPlanes&&i.dispatchEvent({type:"planesdetected",data:_e}),E=null}const X=new dO;X.setAnimationLoop(le),this.setAnimationLoop=function(Z){q=Z},this.dispose=function(){}}}function Lyt(n,e){function t(g,h){g.matrixAutoUpdate===!0&&g.updateMatrix(),h.value.copy(g.matrix)}function i(g,h){h.color.getRGB(g.fogColor.value,aO(n)),h.isFog?(g.fogNear.value=h.near,g.fogFar.value=h.far):h.isFogExp2&&(g.fogDensity.value=h.density)}function r(g,h,m,S,v){h.isMeshBasicMaterial||h.isMeshLambertMaterial?s(g,h):h.isMeshToonMaterial?(s(g,h),u(g,h)):h.isMeshPhongMaterial?(s(g,h),d(g,h)):h.isMeshStandardMaterial?(s(g,h),_(g,h),h.isMeshPhysicalMaterial&&f(g,h,v)):h.isMeshMatcapMaterial?(s(g,h),E(g,h)):h.isMeshDepthMaterial?s(g,h):h.isMeshDistanceMaterial?(s(g,h),b(g,h)):h.isMeshNormalMaterial?s(g,h):h.isLineBasicMaterial?(o(g,h),h.isLineDashedMaterial&&a(g,h)):h.isPointsMaterial?l(g,h,m,S):h.isSpriteMaterial?c(g,h):h.isShadowMaterial?(g.color.value.copy(h.color),g.opacity.value=h.opacity):h.isShaderMaterial&&(h.uniformsNeedUpdate=!1)}function s(g,h){g.opacity.value=h.opacity,h.color&&g.diffuse.value.copy(h.color),h.emissive&&g.emissive.value.copy(h.emissive).multiplyScalar(h.emissiveIntensity),h.map&&(g.map.value=h.map,t(h.map,g.mapTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.bumpMap&&(g.bumpMap.value=h.bumpMap,t(h.bumpMap,g.bumpMapTransform),g.bumpScale.value=h.bumpScale,h.side===Ln&&(g.bumpScale.value*=-1)),h.normalMap&&(g.normalMap.value=h.normalMap,t(h.normalMap,g.normalMapTransform),g.normalScale.value.copy(h.normalScale),h.side===Ln&&g.normalScale.value.negate()),h.displacementMap&&(g.displacementMap.value=h.displacementMap,t(h.displacementMap,g.displacementMapTransform),g.displacementScale.value=h.displacementScale,g.displacementBias.value=h.displacementBias),h.emissiveMap&&(g.emissiveMap.value=h.emissiveMap,t(h.emissiveMap,g.emissiveMapTransform)),h.specularMap&&(g.specularMap.value=h.specularMap,t(h.specularMap,g.specularMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest);const m=e.get(h).envMap;if(m&&(g.envMap.value=m,g.flipEnvMap.value=m.isCubeTexture&&m.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=h.reflectivity,g.ior.value=h.ior,g.refractionRatio.value=h.refractionRatio),h.lightMap){g.lightMap.value=h.lightMap;const S=n._useLegacyLights===!0?Math.PI:1;g.lightMapIntensity.value=h.lightMapIntensity*S,t(h.lightMap,g.lightMapTransform)}h.aoMap&&(g.aoMap.value=h.aoMap,g.aoMapIntensity.value=h.aoMapIntensity,t(h.aoMap,g.aoMapTransform))}function o(g,h){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,h.map&&(g.map.value=h.map,t(h.map,g.mapTransform))}function a(g,h){g.dashSize.value=h.dashSize,g.totalSize.value=h.dashSize+h.gapSize,g.scale.value=h.scale}function l(g,h,m,S){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,g.size.value=h.size*m,g.scale.value=S*.5,h.map&&(g.map.value=h.map,t(h.map,g.uvTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest)}function c(g,h){g.diffuse.value.copy(h.color),g.opacity.value=h.opacity,g.rotation.value=h.rotation,h.map&&(g.map.value=h.map,t(h.map,g.mapTransform)),h.alphaMap&&(g.alphaMap.value=h.alphaMap,t(h.alphaMap,g.alphaMapTransform)),h.alphaTest>0&&(g.alphaTest.value=h.alphaTest)}function d(g,h){g.specular.value.copy(h.specular),g.shininess.value=Math.max(h.shininess,1e-4)}function u(g,h){h.gradientMap&&(g.gradientMap.value=h.gradientMap)}function _(g,h){g.metalness.value=h.metalness,h.metalnessMap&&(g.metalnessMap.value=h.metalnessMap,t(h.metalnessMap,g.metalnessMapTransform)),g.roughness.value=h.roughness,h.roughnessMap&&(g.roughnessMap.value=h.roughnessMap,t(h.roughnessMap,g.roughnessMapTransform)),e.get(h).envMap&&(g.envMapIntensity.value=h.envMapIntensity)}function f(g,h,m){g.ior.value=h.ior,h.sheen>0&&(g.sheenColor.value.copy(h.sheenColor).multiplyScalar(h.sheen),g.sheenRoughness.value=h.sheenRoughness,h.sheenColorMap&&(g.sheenColorMap.value=h.sheenColorMap,t(h.sheenColorMap,g.sheenColorMapTransform)),h.sheenRoughnessMap&&(g.sheenRoughnessMap.value=h.sheenRoughnessMap,t(h.sheenRoughnessMap,g.sheenRoughnessMapTransform))),h.clearcoat>0&&(g.clearcoat.value=h.clearcoat,g.clearcoatRoughness.value=h.clearcoatRoughness,h.clearcoatMap&&(g.clearcoatMap.value=h.clearcoatMap,t(h.clearcoatMap,g.clearcoatMapTransform)),h.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=h.clearcoatRoughnessMap,t(h.clearcoatRoughnessMap,g.clearcoatRoughnessMapTransform)),h.clearcoatNormalMap&&(g.clearcoatNormalMap.value=h.clearcoatNormalMap,t(h.clearcoatNormalMap,g.clearcoatNormalMapTransform),g.clearcoatNormalScale.value.copy(h.clearcoatNormalScale),h.side===Ln&&g.clearcoatNormalScale.value.negate())),h.iridescence>0&&(g.iridescence.value=h.iridescence,g.iridescenceIOR.value=h.iridescenceIOR,g.iridescenceThicknessMinimum.value=h.iridescenceThicknessRange[0],g.iridescenceThicknessMaximum.value=h.iridescenceThicknessRange[1],h.iridescenceMap&&(g.iridescenceMap.value=h.iridescenceMap,t(h.iridescenceMap,g.iridescenceMapTransform)),h.iridescenceThicknessMap&&(g.iridescenceThicknessMap.value=h.iridescenceThicknessMap,t(h.iridescenceThicknessMap,g.iridescenceThicknessMapTransform))),h.transmission>0&&(g.transmission.value=h.transmission,g.transmissionSamplerMap.value=m.texture,g.transmissionSamplerSize.value.set(m.width,m.height),h.transmissionMap&&(g.transmissionMap.value=h.transmissionMap,t(h.transmissionMap,g.transmissionMapTransform)),g.thickness.value=h.thickness,h.thicknessMap&&(g.thicknessMap.value=h.thicknessMap,t(h.thicknessMap,g.thicknessMapTransform)),g.attenuationDistance.value=h.attenuationDistance,g.attenuationColor.value.copy(h.attenuationColor)),h.anisotropy>0&&(g.anisotropyVector.value.set(h.anisotropy*Math.cos(h.anisotropyRotation),h.anisotropy*Math.sin(h.anisotropyRotation)),h.anisotropyMap&&(g.anisotropyMap.value=h.anisotropyMap,t(h.anisotropyMap,g.anisotropyMapTransform))),g.specularIntensity.value=h.specularIntensity,g.specularColor.value.copy(h.specularColor),h.specularColorMap&&(g.specularColorMap.value=h.specularColorMap,t(h.specularColorMap,g.specularColorMapTransform)),h.specularIntensityMap&&(g.specularIntensityMap.value=h.specularIntensityMap,t(h.specularIntensityMap,g.specularIntensityMapTransform))}function E(g,h){h.matcap&&(g.matcap.value=h.matcap)}function b(g,h){const m=e.get(h).light;g.referencePosition.value.setFromMatrixPosition(m.matrixWorld),g.nearDistance.value=m.shadow.camera.near,g.farDistance.value=m.shadow.camera.far}return{refreshFogUniforms:i,refreshMaterialUniforms:r}}function kyt(n,e,t,i){let r={},s={},o=[];const a=t.isWebGL2?n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS):0;function l(m,S){const v=S.program;i.uniformBlockBinding(m,v)}function c(m,S){let v=r[m.id];v===void 0&&(E(m),v=d(m),r[m.id]=v,m.addEventListener("dispose",g));const T=S.program;i.updateUBOMapping(m,T);const C=e.render.frame;s[m.id]!==C&&(_(m),s[m.id]=C)}function d(m){const S=u();m.__bindingPointIndex=S;const v=n.createBuffer(),T=m.__size,C=m.usage;return n.bindBuffer(n.UNIFORM_BUFFER,v),n.bufferData(n.UNIFORM_BUFFER,T,C),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,S,v),v}function u(){for(let m=0;m<a;m++)if(o.indexOf(m)===-1)return o.push(m),m;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}function _(m){const S=r[m.id],v=m.uniforms,T=m.__cache;n.bindBuffer(n.UNIFORM_BUFFER,S);for(let C=0,N=v.length;C<N;C++){const x=v[C];if(f(x,C,T)===!0){const y=x.__offset,R=Array.isArray(x.value)?x.value:[x.value];let P=0;for(let k=0;k<R.length;k++){const W=R[k],M=b(W);typeof W=="number"?(x.__data[0]=W,n.bufferSubData(n.UNIFORM_BUFFER,y+P,x.__data)):W.isMatrix3?(x.__data[0]=W.elements[0],x.__data[1]=W.elements[1],x.__data[2]=W.elements[2],x.__data[3]=W.elements[0],x.__data[4]=W.elements[3],x.__data[5]=W.elements[4],x.__data[6]=W.elements[5],x.__data[7]=W.elements[0],x.__data[8]=W.elements[6],x.__data[9]=W.elements[7],x.__data[10]=W.elements[8],x.__data[11]=W.elements[0]):(W.toArray(x.__data,P),P+=M.storage/Float32Array.BYTES_PER_ELEMENT)}n.bufferSubData(n.UNIFORM_BUFFER,y,x.__data)}}n.bindBuffer(n.UNIFORM_BUFFER,null)}function f(m,S,v){const T=m.value;if(v[S]===void 0){if(typeof T=="number")v[S]=T;else{const C=Array.isArray(T)?T:[T],N=[];for(let x=0;x<C.length;x++)N.push(C[x].clone());v[S]=N}return!0}else if(typeof T=="number"){if(v[S]!==T)return v[S]=T,!0}else{const C=Array.isArray(v[S])?v[S]:[v[S]],N=Array.isArray(T)?T:[T];for(let x=0;x<C.length;x++){const y=C[x];if(y.equals(N[x])===!1)return y.copy(N[x]),!0}}return!1}function E(m){const S=m.uniforms;let v=0;const T=16;let C=0;for(let N=0,x=S.length;N<x;N++){const y=S[N],R={boundary:0,storage:0},P=Array.isArray(y.value)?y.value:[y.value];for(let k=0,W=P.length;k<W;k++){const M=P[k],H=b(M);R.boundary+=H.boundary,R.storage+=H.storage}if(y.__data=new Float32Array(R.storage/Float32Array.BYTES_PER_ELEMENT),y.__offset=v,N>0){C=v%T;const k=T-C;C!==0&&k-R.boundary<0&&(v+=T-C,y.__offset=v)}v+=R.storage}return C=v%T,C>0&&(v+=T-C),m.__size=v,m.__cache={},this}function b(m){const S={boundary:0,storage:0};return typeof m=="number"?(S.boundary=4,S.storage=4):m.isVector2?(S.boundary=8,S.storage=8):m.isVector3||m.isColor?(S.boundary=16,S.storage=12):m.isVector4?(S.boundary=16,S.storage=16):m.isMatrix3?(S.boundary=48,S.storage=48):m.isMatrix4?(S.boundary=64,S.storage=64):m.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",m),S}function g(m){const S=m.target;S.removeEventListener("dispose",g);const v=o.indexOf(S.__bindingPointIndex);o.splice(v,1),n.deleteBuffer(r[S.id]),delete r[S.id],delete s[S.id]}function h(){for(const m in r)n.deleteBuffer(r[m]);o=[],r={},s={}}return{bind:l,update:c,dispose:h}}class gO{constructor(e={}){const{canvas:t=Imt(),context:i=null,depth:r=!0,stencil:s=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:d="default",failIfMajorPerformanceCaveat:u=!1}=e;this.isWebGLRenderer=!0;let _;i!==null?_=i.getContextAttributes().alpha:_=o;const f=new Uint32Array(4),E=new Int32Array(4);let b=null,g=null;const h=[],m=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=Wt,this._useLegacyLights=!1,this.toneMapping=qr,this.toneMappingExposure=1;const S=this;let v=!1,T=0,C=0,N=null,x=-1,y=null;const R=new kt,P=new kt;let k=null;const W=new at(0);let M=0,H=t.width,z=t.height,I=1,Y=null,K=null;const q=new kt(0,0,H,z),le=new kt(0,0,H,z);let X=!1;const Z=new zE;let _e=!1,fe=!1,ye=null;const j=new gt,de=new vt,Q=new ue,he={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Ae(){return N===null?I:1}let O=i;function F(U,pe){for(let Se=0;Se<U.length;Se++){const Te=U[Se],me=t.getContext(Te,pe);if(me!==null)return me}return null}try{const U={alpha:!0,depth:r,stencil:s,antialias:a,premultipliedAlpha:l,preserveDrawingBuffer:c,powerPreference:d,failIfMajorPerformanceCaveat:u};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${kE}`),t.addEventListener("webglcontextlost",ct,!1),t.addEventListener("webglcontextrestored",oe,!1),t.addEventListener("webglcontextcreationerror",He,!1),O===null){const pe=["webgl2","webgl","experimental-webgl"];if(S.isWebGL1Renderer===!0&&pe.shift(),O=F(pe,U),O===null)throw F(pe)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}typeof WebGLRenderingContext<"u"&&O instanceof WebGLRenderingContext&&console.warn("THREE.WebGLRenderer: WebGL 1 support was deprecated in r153 and will be removed in r163."),O.getShaderPrecisionFormat===void 0&&(O.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(U){throw console.error("THREE.WebGLRenderer: "+U.message),U}let V,re,ee,be,xe,B,ae,te,ie,w,A,G,ce,$,J,ve,Ee,Me,Ue,Je,Ne,tt,$e,Pe;function je(){V=new $bt(O),re=new Gbt(O,V,e),V.init(re),tt=new Nyt(O,V,re),ee=new wyt(O,V,re),be=new jbt(O),xe=new fyt,B=new Oyt(O,V,ee,xe,re,tt,be),ae=new Hbt(S),te=new Ybt(S),ie=new igt(O,re),$e=new Fbt(O,V,ie,re),w=new Wbt(O,ie,be,$e),A=new Jbt(O,w,ie,be),Ue=new Zbt(O,re,B),ve=new zbt(xe),G=new pyt(S,ae,te,V,re,$e,ve),ce=new Lyt(S,xe),$=new myt,J=new vyt(V,re),Me=new Ubt(S,ae,te,ee,A,_,l),Ee=new Ayt(S,A,re),Pe=new kyt(O,be,re,ee),Je=new Bbt(O,V,be,re),Ne=new Kbt(O,V,be,re),be.programs=G.programs,S.capabilities=re,S.extensions=V,S.properties=xe,S.renderLists=$,S.shadowMap=Ee,S.state=ee,S.info=be}je();const Ve=new Dyt(S,O);this.xr=Ve,this.getContext=function(){return O},this.getContextAttributes=function(){return O.getContextAttributes()},this.forceContextLoss=function(){const U=V.get("WEBGL_lose_context");U&&U.loseContext()},this.forceContextRestore=function(){const U=V.get("WEBGL_lose_context");U&&U.restoreContext()},this.getPixelRatio=function(){return I},this.setPixelRatio=function(U){U!==void 0&&(I=U,this.setSize(H,z,!1))},this.getSize=function(U){return U.set(H,z)},this.setSize=function(U,pe,Se=!0){if(Ve.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}H=U,z=pe,t.width=Math.floor(U*I),t.height=Math.floor(pe*I),Se===!0&&(t.style.width=U+"px",t.style.height=pe+"px"),this.setViewport(0,0,U,pe)},this.getDrawingBufferSize=function(U){return U.set(H*I,z*I).floor()},this.setDrawingBufferSize=function(U,pe,Se){H=U,z=pe,I=Se,t.width=Math.floor(U*Se),t.height=Math.floor(pe*Se),this.setViewport(0,0,U,pe)},this.getCurrentViewport=function(U){return U.copy(R)},this.getViewport=function(U){return U.copy(q)},this.setViewport=function(U,pe,Se,Te){U.isVector4?q.set(U.x,U.y,U.z,U.w):q.set(U,pe,Se,Te),ee.viewport(R.copy(q).multiplyScalar(I).floor())},this.getScissor=function(U){return U.copy(le)},this.setScissor=function(U,pe,Se,Te){U.isVector4?le.set(U.x,U.y,U.z,U.w):le.set(U,pe,Se,Te),ee.scissor(P.copy(le).multiplyScalar(I).floor())},this.getScissorTest=function(){return X},this.setScissorTest=function(U){ee.setScissorTest(X=U)},this.setOpaqueSort=function(U){Y=U},this.setTransparentSort=function(U){K=U},this.getClearColor=function(U){return U.copy(Me.getClearColor())},this.setClearColor=function(){Me.setClearColor.apply(Me,arguments)},this.getClearAlpha=function(){return Me.getClearAlpha()},this.setClearAlpha=function(){Me.setClearAlpha.apply(Me,arguments)},this.clear=function(U=!0,pe=!0,Se=!0){let Te=0;if(U){let me=!1;if(N!==null){const qe=N.texture.format;me=qe===Kw||qe===Ww||qe===$w}if(me){const qe=N.texture.type,Qe=qe===Yr||qe===Fr||qe===UE||qe===ws||qe===qw||qe===Yw,nt=Me.getClearColor(),rt=Me.getClearAlpha(),dt=nt.r,st=nt.g,lt=nt.b;Qe?(f[0]=dt,f[1]=st,f[2]=lt,f[3]=rt,O.clearBufferuiv(O.COLOR,0,f)):(E[0]=dt,E[1]=st,E[2]=lt,E[3]=rt,O.clearBufferiv(O.COLOR,0,E))}else Te|=O.COLOR_BUFFER_BIT}pe&&(Te|=O.DEPTH_BUFFER_BIT),Se&&(Te|=O.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),O.clear(Te)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",ct,!1),t.removeEventListener("webglcontextrestored",oe,!1),t.removeEventListener("webglcontextcreationerror",He,!1),$.dispose(),J.dispose(),xe.dispose(),ae.dispose(),te.dispose(),A.dispose(),$e.dispose(),Pe.dispose(),G.dispose(),Ve.dispose(),Ve.removeEventListener("sessionstart",tn),Ve.removeEventListener("sessionend",wt),ye&&(ye.dispose(),ye=null),Vt.stop()};function ct(U){U.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),v=!0}function oe(){console.log("THREE.WebGLRenderer: Context Restored."),v=!1;const U=be.autoReset,pe=Ee.enabled,Se=Ee.autoUpdate,Te=Ee.needsUpdate,me=Ee.type;je(),be.autoReset=U,Ee.enabled=pe,Ee.autoUpdate=Se,Ee.needsUpdate=Te,Ee.type=me}function He(U){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",U.statusMessage)}function Le(U){const pe=U.target;pe.removeEventListener("dispose",Le),Ce(pe)}function Ce(U){ke(U),xe.remove(U)}function ke(U){const pe=xe.get(U).programs;pe!==void 0&&(pe.forEach(function(Se){G.releaseProgram(Se)}),U.isShaderMaterial&&G.releaseShaderCache(U))}this.renderBufferDirect=function(U,pe,Se,Te,me,qe){pe===null&&(pe=he);const Qe=me.isMesh&&me.matrixWorld.determinant()<0,nt=Ws(U,pe,Se,Te,me);ee.setMaterial(Te,Qe);let rt=Se.index,dt=1;if(Te.wireframe===!0){if(rt=w.getWireframeAttribute(Se),rt===void 0)return;dt=2}const st=Se.drawRange,lt=Se.attributes.position;let Ut=st.start*dt,dn=(st.start+st.count)*dt;qe!==null&&(Ut=Math.max(Ut,qe.start*dt),dn=Math.min(dn,(qe.start+qe.count)*dt)),rt!==null?(Ut=Math.max(Ut,0),dn=Math.min(dn,rt.count)):lt!=null&&(Ut=Math.max(Ut,0),dn=Math.min(dn,lt.count));const qt=dn-Ut;if(qt<0||qt===1/0)return;$e.setup(me,Te,nt,Se,rt);let hn,Bt=Je;if(rt!==null&&(hn=ie.get(rt),Bt=Ne,Bt.setIndex(hn)),me.isMesh)Te.wireframe===!0?(ee.setLineWidth(Te.wireframeLinewidth*Ae()),Bt.setMode(O.LINES)):Bt.setMode(O.TRIANGLES);else if(me.isLine){let ft=Te.linewidth;ft===void 0&&(ft=1),ee.setLineWidth(ft*Ae()),me.isLineSegments?Bt.setMode(O.LINES):me.isLineLoop?Bt.setMode(O.LINE_LOOP):Bt.setMode(O.LINE_STRIP)}else me.isPoints?Bt.setMode(O.POINTS):me.isSprite&&Bt.setMode(O.TRIANGLES);if(me.isBatchedMesh)Bt.renderMultiDraw(me._multiDrawStarts,me._multiDrawCounts,me._multiDrawCount);else if(me.isInstancedMesh)Bt.renderInstances(Ut,qt,me.count);else if(Se.isInstancedBufferGeometry){const ft=Se._maxInstanceCount!==void 0?Se._maxInstanceCount:1/0,Ta=Math.min(Se.instanceCount,ft);Bt.renderInstances(Ut,qt,Ta)}else Bt.render(Ut,qt)};function it(U,pe,Se){U.transparent===!0&&U.side===Ti&&U.forceSinglePass===!1?(U.side=Ln,U.needsUpdate=!0,zi(U,pe,Se),U.side=dr,U.needsUpdate=!0,zi(U,pe,Se),U.side=Ti):zi(U,pe,Se)}this.compile=function(U,pe,Se=null){Se===null&&(Se=U),g=J.get(Se),g.init(),m.push(g),Se.traverseVisible(function(me){me.isLight&&me.layers.test(pe.layers)&&(g.pushLight(me),me.castShadow&&g.pushShadow(me))}),U!==Se&&U.traverseVisible(function(me){me.isLight&&me.layers.test(pe.layers)&&(g.pushLight(me),me.castShadow&&g.pushShadow(me))}),g.setupLights(S._useLegacyLights);const Te=new Set;return U.traverse(function(me){const qe=me.material;if(qe)if(Array.isArray(qe))for(let Qe=0;Qe<qe.length;Qe++){const nt=qe[Qe];it(nt,Se,me),Te.add(nt)}else it(qe,Se,me),Te.add(qe)}),m.pop(),g=null,Te},this.compileAsync=function(U,pe,Se=null){const Te=this.compile(U,pe,Se);return new Promise(me=>{function qe(){if(Te.forEach(function(Qe){xe.get(Qe).currentProgram.isReady()&&Te.delete(Qe)}),Te.size===0){me(U);return}setTimeout(qe,10)}V.get("KHR_parallel_shader_compile")!==null?qe():setTimeout(qe,10)})};let pt=null;function $t(U){pt&&pt(U)}function tn(){Vt.stop()}function wt(){Vt.start()}const Vt=new dO;Vt.setAnimationLoop($t),typeof self<"u"&&Vt.setContext(self),this.setAnimationLoop=function(U){pt=U,Ve.setAnimationLoop(U),U===null?Vt.stop():Vt.start()},Ve.addEventListener("sessionstart",tn),Ve.addEventListener("sessionend",wt),this.render=function(U,pe){if(pe!==void 0&&pe.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(v===!0)return;U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),pe.parent===null&&pe.matrixWorldAutoUpdate===!0&&pe.updateMatrixWorld(),Ve.enabled===!0&&Ve.isPresenting===!0&&(Ve.cameraAutoUpdate===!0&&Ve.updateCamera(pe),pe=Ve.getCamera()),U.isScene===!0&&U.onBeforeRender(S,U,pe,N),g=J.get(U,m.length),g.init(),m.push(g),j.multiplyMatrices(pe.projectionMatrix,pe.matrixWorldInverse),Z.setFromProjectionMatrix(j),fe=this.localClippingEnabled,_e=ve.init(this.clippingPlanes,fe),b=$.get(U,h.length),b.init(),h.push(b),On(U,pe,0,S.sortObjects),b.finish(),S.sortObjects===!0&&b.sort(Y,K),this.info.render.frame++,_e===!0&&ve.beginShadows();const Se=g.state.shadowsArray;if(Ee.render(Se,U,pe),_e===!0&&ve.endShadows(),this.info.autoReset===!0&&this.info.reset(),Me.render(b,U),g.setupLights(S._useLegacyLights),pe.isArrayCamera){const Te=pe.cameras;for(let me=0,qe=Te.length;me<qe;me++){const Qe=Te[me];Ys(b,U,Qe,Qe.viewport)}}else Ys(b,U,pe);N!==null&&(B.updateMultisampleRenderTarget(N),B.updateRenderTargetMipmap(N)),U.isScene===!0&&U.onAfterRender(S,U,pe),$e.resetDefaultState(),x=-1,y=null,m.pop(),m.length>0?g=m[m.length-1]:g=null,h.pop(),h.length>0?b=h[h.length-1]:b=null};function On(U,pe,Se,Te){if(U.visible===!1)return;if(U.layers.test(pe.layers)){if(U.isGroup)Se=U.renderOrder;else if(U.isLOD)U.autoUpdate===!0&&U.update(pe);else if(U.isLight)g.pushLight(U),U.castShadow&&g.pushShadow(U);else if(U.isSprite){if(!U.frustumCulled||Z.intersectsSprite(U)){Te&&Q.setFromMatrixPosition(U.matrixWorld).applyMatrix4(j);const Qe=A.update(U),nt=U.material;nt.visible&&b.push(U,Qe,nt,Se,Q.z,null)}}else if((U.isMesh||U.isLine||U.isPoints)&&(!U.frustumCulled||Z.intersectsObject(U))){const Qe=A.update(U),nt=U.material;if(Te&&(U.boundingSphere!==void 0?(U.boundingSphere===null&&U.computeBoundingSphere(),Q.copy(U.boundingSphere.center)):(Qe.boundingSphere===null&&Qe.computeBoundingSphere(),Q.copy(Qe.boundingSphere.center)),Q.applyMatrix4(U.matrixWorld).applyMatrix4(j)),Array.isArray(nt)){const rt=Qe.groups;for(let dt=0,st=rt.length;dt<st;dt++){const lt=rt[dt],Ut=nt[lt.materialIndex];Ut&&Ut.visible&&b.push(U,Qe,Ut,Se,Q.z,lt)}}else nt.visible&&b.push(U,Qe,nt,Se,Q.z,null)}}const qe=U.children;for(let Qe=0,nt=qe.length;Qe<nt;Qe++)On(qe[Qe],pe,Se,Te)}function Ys(U,pe,Se,Te){const me=U.opaque,qe=U.transmissive,Qe=U.transparent;g.setupLightsView(Se),_e===!0&&ve.setGlobalState(S.clippingPlanes,Se),qe.length>0&&ya(me,qe,pe,Se),Te&&ee.viewport(R.copy(Te)),me.length>0&&Gi(me,pe,Se),qe.length>0&&Gi(qe,pe,Se),Qe.length>0&&Gi(Qe,pe,Se),ee.buffers.depth.setTest(!0),ee.buffers.depth.setMask(!0),ee.buffers.color.setMask(!0),ee.setPolygonOffset(!1)}function ya(U,pe,Se,Te){if((Se.isScene===!0?Se.overrideMaterial:null)!==null)return;const qe=re.isWebGL2;ye===null&&(ye=new Ps(1,1,{generateMipmaps:!0,type:V.has("EXT_color_buffer_half_float")?Tl:Yr,minFilter:ks,samples:qe?4:0})),S.getDrawingBufferSize(de),qe?ye.setSize(de.x,de.y):ye.setSize(Cd(de.x),Cd(de.y));const Qe=S.getRenderTarget();S.setRenderTarget(ye),S.getClearColor(W),M=S.getClearAlpha(),M<1&&S.setClearColor(16777215,.5),S.clear();const nt=S.toneMapping;S.toneMapping=qr,Gi(U,Se,Te),B.updateMultisampleRenderTarget(ye),B.updateRenderTargetMipmap(ye);let rt=!1;for(let dt=0,st=pe.length;dt<st;dt++){const lt=pe[dt],Ut=lt.object,dn=lt.geometry,qt=lt.material,hn=lt.group;if(qt.side===Ti&&Ut.layers.test(Te.layers)){const Bt=qt.side;qt.side=Ln,qt.needsUpdate=!0,Jr(Ut,Se,Te,dn,qt,hn),qt.side=Bt,qt.needsUpdate=!0,rt=!0}}rt===!0&&(B.updateMultisampleRenderTarget(ye),B.updateRenderTargetMipmap(ye)),S.setRenderTarget(Qe),S.setClearColor(W,M),S.toneMapping=nt}function Gi(U,pe,Se){const Te=pe.isScene===!0?pe.overrideMaterial:null;for(let me=0,qe=U.length;me<qe;me++){const Qe=U[me],nt=Qe.object,rt=Qe.geometry,dt=Te===null?Qe.material:Te,st=Qe.group;nt.layers.test(Se.layers)&&Jr(nt,pe,Se,rt,dt,st)}}function Jr(U,pe,Se,Te,me,qe){U.onBeforeRender(S,pe,Se,Te,me,qe),U.modelViewMatrix.multiplyMatrices(Se.matrixWorldInverse,U.matrixWorld),U.normalMatrix.getNormalMatrix(U.modelViewMatrix),me.onBeforeRender(S,pe,Se,Te,U,qe),me.transparent===!0&&me.side===Ti&&me.forceSinglePass===!1?(me.side=Ln,me.needsUpdate=!0,S.renderBufferDirect(Se,pe,Te,me,U,qe),me.side=dr,me.needsUpdate=!0,S.renderBufferDirect(Se,pe,Te,me,U,qe),me.side=Ti):S.renderBufferDirect(Se,pe,Te,me,U,qe),U.onAfterRender(S,pe,Se,Te,me,qe)}function zi(U,pe,Se){pe.isScene!==!0&&(pe=he);const Te=xe.get(U),me=g.state.lights,qe=g.state.shadowsArray,Qe=me.state.version,nt=G.getParameters(U,me.state,qe,pe,Se),rt=G.getProgramCacheKey(nt);let dt=Te.programs;Te.environment=U.isMeshStandardMaterial?pe.environment:null,Te.fog=pe.fog,Te.envMap=(U.isMeshStandardMaterial?te:ae).get(U.envMap||Te.environment),dt===void 0&&(U.addEventListener("dispose",Le),dt=new Map,Te.programs=dt);let st=dt.get(rt);if(st!==void 0){if(Te.currentProgram===st&&Te.lightsStateVersion===Qe)return $s(U,nt),st}else nt.uniforms=G.getUniforms(U),U.onBuild(Se,nt,S),U.onBeforeCompile(nt,S),st=G.acquireProgram(nt,rt),dt.set(rt,st),Te.uniforms=nt.uniforms;const lt=Te.uniforms;return(!U.isShaderMaterial&&!U.isRawShaderMaterial||U.clipping===!0)&&(lt.clippingPlanes=ve.uniform),$s(U,nt),Te.needsLights=va(U),Te.lightsStateVersion=Qe,Te.needsLights&&(lt.ambientLightColor.value=me.state.ambient,lt.lightProbe.value=me.state.probe,lt.directionalLights.value=me.state.directional,lt.directionalLightShadows.value=me.state.directionalShadow,lt.spotLights.value=me.state.spot,lt.spotLightShadows.value=me.state.spotShadow,lt.rectAreaLights.value=me.state.rectArea,lt.ltc_1.value=me.state.rectAreaLTC1,lt.ltc_2.value=me.state.rectAreaLTC2,lt.pointLights.value=me.state.point,lt.pointLightShadows.value=me.state.pointShadow,lt.hemisphereLights.value=me.state.hemi,lt.directionalShadowMap.value=me.state.directionalShadowMap,lt.directionalShadowMatrix.value=me.state.directionalShadowMatrix,lt.spotShadowMap.value=me.state.spotShadowMap,lt.spotLightMatrix.value=me.state.spotLightMatrix,lt.spotLightMap.value=me.state.spotLightMap,lt.pointShadowMap.value=me.state.pointShadowMap,lt.pointShadowMatrix.value=me.state.pointShadowMatrix),Te.currentProgram=st,Te.uniformsList=null,st}function es(U){if(U.uniformsList===null){const pe=U.currentProgram.getUniforms();U.uniformsList=jc.seqWithValue(pe.seq,U.uniforms)}return U.uniformsList}function $s(U,pe){const Se=xe.get(U);Se.outputColorSpace=pe.outputColorSpace,Se.batching=pe.batching,Se.instancing=pe.instancing,Se.instancingColor=pe.instancingColor,Se.skinning=pe.skinning,Se.morphTargets=pe.morphTargets,Se.morphNormals=pe.morphNormals,Se.morphColors=pe.morphColors,Se.morphTargetsCount=pe.morphTargetsCount,Se.numClippingPlanes=pe.numClippingPlanes,Se.numIntersection=pe.numClipIntersection,Se.vertexAlphas=pe.vertexAlphas,Se.vertexTangents=pe.vertexTangents,Se.toneMapping=pe.toneMapping}function Ws(U,pe,Se,Te,me){pe.isScene!==!0&&(pe=he),B.resetTextureUnits();const qe=pe.fog,Qe=Te.isMeshStandardMaterial?pe.environment:null,nt=N===null?S.outputColorSpace:N.isXRRenderTarget===!0?N.texture.colorSpace:fn,rt=(Te.isMeshStandardMaterial?te:ae).get(Te.envMap||Qe),dt=Te.vertexColors===!0&&!!Se.attributes.color&&Se.attributes.color.itemSize===4,st=!!Se.attributes.tangent&&(!!Te.normalMap||Te.anisotropy>0),lt=!!Se.morphAttributes.position,Ut=!!Se.morphAttributes.normal,dn=!!Se.morphAttributes.color;let qt=qr;Te.toneMapped&&(N===null||N.isXRRenderTarget===!0)&&(qt=S.toneMapping);const hn=Se.morphAttributes.position||Se.morphAttributes.normal||Se.morphAttributes.color,Bt=hn!==void 0?hn.length:0,ft=xe.get(Te),Ta=g.state.lights;if(_e===!0&&(fe===!0||U!==y)){const Nn=U===y&&Te.id===x;ve.setState(Te,U,Nn)}let Ht=!1;Te.version===ft.__version?(ft.needsLights&&ft.lightsStateVersion!==Ta.state.version||ft.outputColorSpace!==nt||me.isBatchedMesh&&ft.batching===!1||!me.isBatchedMesh&&ft.batching===!0||me.isInstancedMesh&&ft.instancing===!1||!me.isInstancedMesh&&ft.instancing===!0||me.isSkinnedMesh&&ft.skinning===!1||!me.isSkinnedMesh&&ft.skinning===!0||me.isInstancedMesh&&ft.instancingColor===!0&&me.instanceColor===null||me.isInstancedMesh&&ft.instancingColor===!1&&me.instanceColor!==null||ft.envMap!==rt||Te.fog===!0&&ft.fog!==qe||ft.numClippingPlanes!==void 0&&(ft.numClippingPlanes!==ve.numPlanes||ft.numIntersection!==ve.numIntersection)||ft.vertexAlphas!==dt||ft.vertexTangents!==st||ft.morphTargets!==lt||ft.morphNormals!==Ut||ft.morphColors!==dn||ft.toneMapping!==qt||re.isWebGL2===!0&&ft.morphTargetsCount!==Bt)&&(Ht=!0):(Ht=!0,ft.__version=Te.version);let Hi=ft.currentProgram;Ht===!0&&(Hi=zi(Te,pe,me));let Fl=!1,ns=!1,xa=!1;const on=Hi.getUniforms(),Vi=ft.uniforms;if(ee.useProgram(Hi.program)&&(Fl=!0,ns=!0,xa=!0),Te.id!==x&&(x=Te.id,ns=!0),Fl||y!==U){on.setValue(O,"projectionMatrix",U.projectionMatrix),on.setValue(O,"viewMatrix",U.matrixWorldInverse);const Nn=on.map.cameraPosition;Nn!==void 0&&Nn.setValue(O,Q.setFromMatrixPosition(U.matrixWorld)),re.logarithmicDepthBuffer&&on.setValue(O,"logDepthBufFC",2/(Math.log(U.far+1)/Math.LN2)),(Te.isMeshPhongMaterial||Te.isMeshToonMaterial||Te.isMeshLambertMaterial||Te.isMeshBasicMaterial||Te.isMeshStandardMaterial||Te.isShaderMaterial)&&on.setValue(O,"isOrthographic",U.isOrthographicCamera===!0),y!==U&&(y=U,ns=!0,xa=!0)}if(me.isSkinnedMesh){on.setOptional(O,me,"bindMatrix"),on.setOptional(O,me,"bindMatrixInverse");const Nn=me.skeleton;Nn&&(re.floatVertexTextures?(Nn.boneTexture===null&&Nn.computeBoneTexture(),on.setValue(O,"boneTexture",Nn.boneTexture,B)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}me.isBatchedMesh&&(on.setOptional(O,me,"batchingTexture"),on.setValue(O,"batchingTexture",me._matricesTexture,B));const Ca=Se.morphAttributes;if((Ca.position!==void 0||Ca.normal!==void 0||Ca.color!==void 0&&re.isWebGL2===!0)&&Ue.update(me,Se,Hi),(ns||ft.receiveShadow!==me.receiveShadow)&&(ft.receiveShadow=me.receiveShadow,on.setValue(O,"receiveShadow",me.receiveShadow)),Te.isMeshGouraudMaterial&&Te.envMap!==null&&(Vi.envMap.value=rt,Vi.flipEnvMap.value=rt.isCubeTexture&&rt.isRenderTargetTexture===!1?-1:1),ns&&(on.setValue(O,"toneMappingExposure",S.toneMappingExposure),ft.needsLights&&ts(Vi,xa),qe&&Te.fog===!0&&ce.refreshFogUniforms(Vi,qe),ce.refreshMaterialUniforms(Vi,Te,I,z,ye),jc.upload(O,es(ft),Vi,B)),Te.isShaderMaterial&&Te.uniformsNeedUpdate===!0&&(jc.upload(O,es(ft),Vi,B),Te.uniformsNeedUpdate=!1),Te.isSpriteMaterial&&on.setValue(O,"center",me.center),on.setValue(O,"modelViewMatrix",me.modelViewMatrix),on.setValue(O,"normalMatrix",me.normalMatrix),on.setValue(O,"modelMatrix",me.matrixWorld),Te.isShaderMaterial||Te.isRawShaderMaterial){const Nn=Te.uniformsGroups;for(let Ra=0,_u=Nn.length;Ra<_u;Ra++)if(re.isWebGL2){const Bl=Nn[Ra];Pe.update(Bl,Hi),Pe.bind(Bl,Hi)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return Hi}function ts(U,pe){U.ambientLightColor.needsUpdate=pe,U.lightProbe.needsUpdate=pe,U.directionalLights.needsUpdate=pe,U.directionalLightShadows.needsUpdate=pe,U.pointLights.needsUpdate=pe,U.pointLightShadows.needsUpdate=pe,U.spotLights.needsUpdate=pe,U.spotLightShadows.needsUpdate=pe,U.rectAreaLights.needsUpdate=pe,U.hemisphereLights.needsUpdate=pe}function va(U){return U.isMeshLambertMaterial||U.isMeshToonMaterial||U.isMeshPhongMaterial||U.isMeshStandardMaterial||U.isShadowMaterial||U.isShaderMaterial&&U.lights===!0}this.getActiveCubeFace=function(){return T},this.getActiveMipmapLevel=function(){return C},this.getRenderTarget=function(){return N},this.setRenderTargetTextures=function(U,pe,Se){xe.get(U.texture).__webglTexture=pe,xe.get(U.depthTexture).__webglTexture=Se;const Te=xe.get(U);Te.__hasExternalTextures=!0,Te.__hasExternalTextures&&(Te.__autoAllocateDepthBuffer=Se===void 0,Te.__autoAllocateDepthBuffer||V.has("WEBGL_multisampled_render_to_texture")===!0&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),Te.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(U,pe){const Se=xe.get(U);Se.__webglFramebuffer=pe,Se.__useDefaultFramebuffer=pe===void 0},this.setRenderTarget=function(U,pe=0,Se=0){N=U,T=pe,C=Se;let Te=!0,me=null,qe=!1,Qe=!1;if(U){const rt=xe.get(U);rt.__useDefaultFramebuffer!==void 0?(ee.bindFramebuffer(O.FRAMEBUFFER,null),Te=!1):rt.__webglFramebuffer===void 0?B.setupRenderTarget(U):rt.__hasExternalTextures&&B.rebindTextures(U,xe.get(U.texture).__webglTexture,xe.get(U.depthTexture).__webglTexture);const dt=U.texture;(dt.isData3DTexture||dt.isDataArrayTexture||dt.isCompressedArrayTexture)&&(Qe=!0);const st=xe.get(U).__webglFramebuffer;U.isWebGLCubeRenderTarget?(Array.isArray(st[pe])?me=st[pe][Se]:me=st[pe],qe=!0):re.isWebGL2&&U.samples>0&&B.useMultisampledRTT(U)===!1?me=xe.get(U).__webglMultisampledFramebuffer:Array.isArray(st)?me=st[Se]:me=st,R.copy(U.viewport),P.copy(U.scissor),k=U.scissorTest}else R.copy(q).multiplyScalar(I).floor(),P.copy(le).multiplyScalar(I).floor(),k=X;if(ee.bindFramebuffer(O.FRAMEBUFFER,me)&&re.drawBuffers&&Te&&ee.drawBuffers(U,me),ee.viewport(R),ee.scissor(P),ee.setScissorTest(k),qe){const rt=xe.get(U.texture);O.framebufferTexture2D(O.FRAMEBUFFER,O.COLOR_ATTACHMENT0,O.TEXTURE_CUBE_MAP_POSITIVE_X+pe,rt.__webglTexture,Se)}else if(Qe){const rt=xe.get(U.texture),dt=pe||0;O.framebufferTextureLayer(O.FRAMEBUFFER,O.COLOR_ATTACHMENT0,rt.__webglTexture,Se||0,dt)}x=-1},this.readRenderTargetPixels=function(U,pe,Se,Te,me,qe,Qe){if(!(U&&U.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let nt=xe.get(U).__webglFramebuffer;if(U.isWebGLCubeRenderTarget&&Qe!==void 0&&(nt=nt[Qe]),nt){ee.bindFramebuffer(O.FRAMEBUFFER,nt);try{const rt=U.texture,dt=rt.format,st=rt.type;if(dt!==Kn&&tt.convert(dt)!==O.getParameter(O.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const lt=st===Tl&&(V.has("EXT_color_buffer_half_float")||re.isWebGL2&&V.has("EXT_color_buffer_float"));if(st!==Yr&&tt.convert(st)!==O.getParameter(O.IMPLEMENTATION_COLOR_READ_TYPE)&&!(st===nr&&(re.isWebGL2||V.has("OES_texture_float")||V.has("WEBGL_color_buffer_float")))&&!lt){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}pe>=0&&pe<=U.width-Te&&Se>=0&&Se<=U.height-me&&O.readPixels(pe,Se,Te,me,tt.convert(dt),tt.convert(st),qe)}finally{const rt=N!==null?xe.get(N).__webglFramebuffer:null;ee.bindFramebuffer(O.FRAMEBUFFER,rt)}}},this.copyFramebufferToTexture=function(U,pe,Se=0){const Te=Math.pow(2,-Se),me=Math.floor(pe.image.width*Te),qe=Math.floor(pe.image.height*Te);B.setTexture2D(pe,0),O.copyTexSubImage2D(O.TEXTURE_2D,Se,0,0,U.x,U.y,me,qe),ee.unbindTexture()},this.copyTextureToTexture=function(U,pe,Se,Te=0){const me=pe.image.width,qe=pe.image.height,Qe=tt.convert(Se.format),nt=tt.convert(Se.type);B.setTexture2D(Se,0),O.pixelStorei(O.UNPACK_FLIP_Y_WEBGL,Se.flipY),O.pixelStorei(O.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Se.premultiplyAlpha),O.pixelStorei(O.UNPACK_ALIGNMENT,Se.unpackAlignment),pe.isDataTexture?O.texSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,me,qe,Qe,nt,pe.image.data):pe.isCompressedTexture?O.compressedTexSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,pe.mipmaps[0].width,pe.mipmaps[0].height,Qe,pe.mipmaps[0].data):O.texSubImage2D(O.TEXTURE_2D,Te,U.x,U.y,Qe,nt,pe.image),Te===0&&Se.generateMipmaps&&O.generateMipmap(O.TEXTURE_2D),ee.unbindTexture()},this.copyTextureToTexture3D=function(U,pe,Se,Te,me=0){if(S.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const qe=U.max.x-U.min.x+1,Qe=U.max.y-U.min.y+1,nt=U.max.z-U.min.z+1,rt=tt.convert(Te.format),dt=tt.convert(Te.type);let st;if(Te.isData3DTexture)B.setTexture3D(Te,0),st=O.TEXTURE_3D;else if(Te.isDataArrayTexture)B.setTexture2DArray(Te,0),st=O.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}O.pixelStorei(O.UNPACK_FLIP_Y_WEBGL,Te.flipY),O.pixelStorei(O.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Te.premultiplyAlpha),O.pixelStorei(O.UNPACK_ALIGNMENT,Te.unpackAlignment);const lt=O.getParameter(O.UNPACK_ROW_LENGTH),Ut=O.getParameter(O.UNPACK_IMAGE_HEIGHT),dn=O.getParameter(O.UNPACK_SKIP_PIXELS),qt=O.getParameter(O.UNPACK_SKIP_ROWS),hn=O.getParameter(O.UNPACK_SKIP_IMAGES),Bt=Se.isCompressedTexture?Se.mipmaps[0]:Se.image;O.pixelStorei(O.UNPACK_ROW_LENGTH,Bt.width),O.pixelStorei(O.UNPACK_IMAGE_HEIGHT,Bt.height),O.pixelStorei(O.UNPACK_SKIP_PIXELS,U.min.x),O.pixelStorei(O.UNPACK_SKIP_ROWS,U.min.y),O.pixelStorei(O.UNPACK_SKIP_IMAGES,U.min.z),Se.isDataTexture||Se.isData3DTexture?O.texSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,dt,Bt.data):Se.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),O.compressedTexSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,Bt.data)):O.texSubImage3D(st,me,pe.x,pe.y,pe.z,qe,Qe,nt,rt,dt,Bt),O.pixelStorei(O.UNPACK_ROW_LENGTH,lt),O.pixelStorei(O.UNPACK_IMAGE_HEIGHT,Ut),O.pixelStorei(O.UNPACK_SKIP_PIXELS,dn),O.pixelStorei(O.UNPACK_SKIP_ROWS,qt),O.pixelStorei(O.UNPACK_SKIP_IMAGES,hn),me===0&&Te.generateMipmaps&&O.generateMipmap(st),ee.unbindTexture()},this.initTexture=function(U){U.isCubeTexture?B.setTextureCube(U,0):U.isData3DTexture?B.setTexture3D(U,0):U.isDataArrayTexture||U.isCompressedArrayTexture?B.setTexture2DArray(U,0):B.setTexture2D(U,0),ee.unbindTexture()},this.resetState=function(){T=0,C=0,N=null,ee.reset(),$e.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return ir}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===BE?"display-p3":"srgb",t.unpackColorSpace=Nt.workingColorSpace===ou?"display-p3":"srgb"}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(e){console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===Wt?Ns:Xw}set outputEncoding(e){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=e===Ns?Wt:fn}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(e){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=e}}class Pyt extends gO{}Pyt.prototype.isWebGL1Renderer=!0;class Uyt extends Yt{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t}}class Fyt{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=ng,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=pi()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.InterleavedBuffer: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let r=0,s=this.stride;r<s;r++)this.array[e+r]=t.array[i+r];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=pi()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),i=new this.constructor(t,this.stride);return i.setUsage(this.usage),i}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=pi()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const vn=new ue;class YE{constructor(e,t,i,r=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=e,this.itemSize=t,this.offset=i,this.normalized=r}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,i=this.data.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.applyMatrix4(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}applyNormalMatrix(e){for(let t=0,i=this.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.applyNormalMatrix(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}transformDirection(e){for(let t=0,i=this.count;t<i;t++)vn.fromBufferAttribute(this,t),vn.transformDirection(e),this.setXYZ(t,vn.x,vn.y,vn.z);return this}setX(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.normalized&&(t=Dt(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){let t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=xi(t,this.array)),t}getY(e){let t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=xi(t,this.array)),t}getZ(e){let t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=xi(t,this.array)),t}getW(e){let t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=xi(t,this.array)),t}setXY(e,t,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this}setXYZ(e,t,i,r){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array),r=Dt(r,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=r,this}setXYZW(e,t,i,r,s){return e=e*this.data.stride+this.offset,this.normalized&&(t=Dt(t,this.array),i=Dt(i,this.array),r=Dt(r,this.array),s=Dt(s,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=i,this.data.array[e+2]=r,this.data.array[e+3]=s,this}clone(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let i=0;i<this.count;i++){const r=i*this.data.stride+this.offset;for(let s=0;s<this.itemSize;s++)t.push(this.data.array[r+s])}return new wn(new this.array.constructor(t),this.itemSize,this.normalized)}else return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new YE(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let i=0;i<this.count;i++){const r=i*this.data.stride+this.offset;for(let s=0;s<this.itemSize;s++)t.push(this.data.array[r+s])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}else return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}const HC=new ue,VC=new kt,qC=new kt,Byt=new ue,YC=new gt,Oc=new ue,nm=new Ui,$C=new gt,im=new au;class Gyt extends An{constructor(e,t){super(e,t),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=Rx,this.bindMatrix=new gt,this.bindMatrixInverse=new gt,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const e=this.geometry;this.boundingBox===null&&(this.boundingBox=new hr),this.boundingBox.makeEmpty();const t=e.getAttribute("position");for(let i=0;i<t.count;i++)this.getVertexPosition(i,Oc),this.boundingBox.expandByPoint(Oc)}computeBoundingSphere(){const e=this.geometry;this.boundingSphere===null&&(this.boundingSphere=new Ui),this.boundingSphere.makeEmpty();const t=e.getAttribute("position");for(let i=0;i<t.count;i++)this.getVertexPosition(i,Oc),this.boundingSphere.expandByPoint(Oc)}copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,e.boundingBox!==null&&(this.boundingBox=e.boundingBox.clone()),e.boundingSphere!==null&&(this.boundingSphere=e.boundingSphere.clone()),this}raycast(e,t){const i=this.material,r=this.matrixWorld;i!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),nm.copy(this.boundingSphere),nm.applyMatrix4(r),e.ray.intersectsSphere(nm)!==!1&&($C.copy(r).invert(),im.copy(e.ray).applyMatrix4($C),!(this.boundingBox!==null&&im.intersectsBox(this.boundingBox)===!1)&&this._computeIntersections(e,t,im)))}getVertexPosition(e,t){return super.getVertexPosition(e,t),this.applyBoneTransform(e,t),t}bind(e,t){this.skeleton=e,t===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new kt,t=this.geometry.attributes.skinWeight;for(let i=0,r=t.count;i<r;i++){e.fromBufferAttribute(t,i);const s=1/e.manhattanLength();s!==1/0?e.multiplyScalar(s):e.set(1,0,0,0),t.setXYZW(i,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),this.bindMode===Rx?this.bindMatrixInverse.copy(this.matrixWorld).invert():this.bindMode===Qht?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}applyBoneTransform(e,t){const i=this.skeleton,r=this.geometry;VC.fromBufferAttribute(r.attributes.skinIndex,e),qC.fromBufferAttribute(r.attributes.skinWeight,e),HC.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let s=0;s<4;s++){const o=qC.getComponent(s);if(o!==0){const a=VC.getComponent(s);YC.multiplyMatrices(i.bones[a].matrixWorld,i.boneInverses[a]),t.addScaledVector(Byt.copy(HC).applyMatrix4(YC),o)}}return t.applyMatrix4(this.bindMatrixInverse)}boneTransform(e,t){return console.warn("THREE.SkinnedMesh: .boneTransform() was renamed to .applyBoneTransform() in r151."),this.applyBoneTransform(e,t)}}class EO extends Yt{constructor(){super(),this.isBone=!0,this.type="Bone"}}class zyt extends pn{constructor(e=null,t=1,i=1,r,s,o,a,l,c=ln,d=ln,u,_){super(null,o,a,l,c,d,r,s,u,_),this.isDataTexture=!0,this.image={data:e,width:t,height:i},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const WC=new gt,Hyt=new gt;class $E{constructor(e=[],t=[]){this.uuid=pi(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(e.length*16),t.length===0)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let i=0,r=this.bones.length;i<r;i++)this.boneInverses.push(new gt)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const i=new gt;this.bones[e]&&i.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(i)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const i=this.bones[e];i&&i.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const i=this.bones[e];i&&(i.parent&&i.parent.isBone?(i.matrix.copy(i.parent.matrixWorld).invert(),i.matrix.multiply(i.matrixWorld)):i.matrix.copy(i.matrixWorld),i.matrix.decompose(i.position,i.quaternion,i.scale))}}update(){const e=this.bones,t=this.boneInverses,i=this.boneMatrices,r=this.boneTexture;for(let s=0,o=e.length;s<o;s++){const a=e[s]?e[s].matrixWorld:Hyt;WC.multiplyMatrices(a,t[s]),WC.toArray(i,s*16)}r!==null&&(r.needsUpdate=!0)}clone(){return new $E(this.bones,this.boneInverses)}computeBoneTexture(){let e=Math.sqrt(this.bones.length*4);e=Math.ceil(e/4)*4,e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const i=new zyt(t,e,e,Kn,nr);return i.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=i,this}getBoneByName(e){for(let t=0,i=this.bones.length;t<i;t++){const r=this.bones[t];if(r.name===e)return r}}dispose(){this.boneTexture!==null&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let i=0,r=e.bones.length;i<r;i++){const s=e.bones[i];let o=t[s];o===void 0&&(console.warn("THREE.Skeleton: No bone found with UUID:",s),o=new EO),this.bones.push(o),this.boneInverses.push(new gt().fromArray(e.boneInverses[i]))}return this.init(),this}toJSON(){const e={metadata:{version:4.6,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,i=this.boneInverses;for(let r=0,s=t.length;r<s;r++){const o=t[r];e.bones.push(o.uuid);const a=i[r];e.boneInverses.push(a.toArray())}return e}}class og extends wn{constructor(e,t,i,r=1){super(e,t,i),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=r}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}toJSON(){const e=super.toJSON();return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}const go=new gt,KC=new gt,Nc=[],jC=new hr,Vyt=new gt,Ba=new An,Ga=new Ui;class qyt extends An{constructor(e,t,i){super(e,t),this.isInstancedMesh=!0,this.instanceMatrix=new og(new Float32Array(i*16),16),this.instanceColor=null,this.count=i,this.boundingBox=null,this.boundingSphere=null;for(let r=0;r<i;r++)this.setMatrixAt(r,Vyt)}computeBoundingBox(){const e=this.geometry,t=this.count;this.boundingBox===null&&(this.boundingBox=new hr),e.boundingBox===null&&e.computeBoundingBox(),this.boundingBox.makeEmpty();for(let i=0;i<t;i++)this.getMatrixAt(i,go),jC.copy(e.boundingBox).applyMatrix4(go),this.boundingBox.union(jC)}computeBoundingSphere(){const e=this.geometry,t=this.count;this.boundingSphere===null&&(this.boundingSphere=new Ui),e.boundingSphere===null&&e.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let i=0;i<t;i++)this.getMatrixAt(i,go),Ga.copy(e.boundingSphere).applyMatrix4(go),this.boundingSphere.union(Ga)}copy(e,t){return super.copy(e,t),this.instanceMatrix.copy(e.instanceMatrix),e.instanceColor!==null&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,e.boundingBox!==null&&(this.boundingBox=e.boundingBox.clone()),e.boundingSphere!==null&&(this.boundingSphere=e.boundingSphere.clone()),this}getColorAt(e,t){t.fromArray(this.instanceColor.array,e*3)}getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,e*16)}raycast(e,t){const i=this.matrixWorld,r=this.count;if(Ba.geometry=this.geometry,Ba.material=this.material,Ba.material!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),Ga.copy(this.boundingSphere),Ga.applyMatrix4(i),e.ray.intersectsSphere(Ga)!==!1))for(let s=0;s<r;s++){this.getMatrixAt(s,go),KC.multiplyMatrices(i,go),Ba.matrixWorld=KC,Ba.raycast(e,Nc);for(let o=0,a=Nc.length;o<a;o++){const l=Nc[o];l.instanceId=s,l.object=this,t.push(l)}Nc.length=0}}setColorAt(e,t){this.instanceColor===null&&(this.instanceColor=new og(new Float32Array(this.instanceMatrix.count*3),3)),t.toArray(this.instanceColor.array,e*3)}setMatrixAt(e,t){t.toArray(this.instanceMatrix.array,e*16)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}class bO extends fi{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new at(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const QC=new ue,XC=new ue,ZC=new gt,rm=new au,Mc=new Ui;class WE extends Yt{constructor(e=new Fi,t=new bO){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[0];for(let r=1,s=t.count;r<s;r++)QC.fromBufferAttribute(t,r-1),XC.fromBufferAttribute(t,r),i[r]=i[r-1],i[r]+=QC.distanceTo(XC);e.setAttribute("lineDistance",new or(i,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(e,t){const i=this.geometry,r=this.matrixWorld,s=e.params.Line.threshold,o=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),Mc.copy(i.boundingSphere),Mc.applyMatrix4(r),Mc.radius+=s,e.ray.intersectsSphere(Mc)===!1)return;ZC.copy(r).invert(),rm.copy(e.ray).applyMatrix4(ZC);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,c=new ue,d=new ue,u=new ue,_=new ue,f=this.isLineSegments?2:1,E=i.index,g=i.attributes.position;if(E!==null){const h=Math.max(0,o.start),m=Math.min(E.count,o.start+o.count);for(let S=h,v=m-1;S<v;S+=f){const T=E.getX(S),C=E.getX(S+1);if(c.fromBufferAttribute(g,T),d.fromBufferAttribute(g,C),rm.distanceSqToSegment(c,d,_,u)>l)continue;_.applyMatrix4(this.matrixWorld);const x=e.ray.origin.distanceTo(_);x<e.near||x>e.far||t.push({distance:x,point:u.clone().applyMatrix4(this.matrixWorld),index:S,face:null,faceIndex:null,object:this})}}else{const h=Math.max(0,o.start),m=Math.min(g.count,o.start+o.count);for(let S=h,v=m-1;S<v;S+=f){if(c.fromBufferAttribute(g,S),d.fromBufferAttribute(g,S+1),rm.distanceSqToSegment(c,d,_,u)>l)continue;_.applyMatrix4(this.matrixWorld);const C=e.ray.origin.distanceTo(_);C<e.near||C>e.far||t.push({distance:C,point:u.clone().applyMatrix4(this.matrixWorld),index:S,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,i=Object.keys(t);if(i.length>0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s<o;s++){const a=r[s].name||String(s);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=s}}}}}const JC=new ue,eR=new ue;class Yyt extends WE{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[];for(let r=0,s=t.count;r<s;r+=2)JC.fromBufferAttribute(t,r),eR.fromBufferAttribute(t,r+1),i[r]=r===0?0:i[r-1],i[r+1]=i[r]+JC.distanceTo(eR);e.setAttribute("lineDistance",new or(i,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class $yt extends WE{constructor(e,t){super(e,t),this.isLineLoop=!0,this.type="LineLoop"}}class SO extends fi{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new at(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}const tR=new gt,ag=new au,Ic=new Ui,Dc=new ue;class Wyt extends Yt{constructor(e=new Fi,t=new SO){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}raycast(e,t){const i=this.geometry,r=this.matrixWorld,s=e.params.Points.threshold,o=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),Ic.copy(i.boundingSphere),Ic.applyMatrix4(r),Ic.radius+=s,e.ray.intersectsSphere(Ic)===!1)return;tR.copy(r).invert(),ag.copy(e.ray).applyMatrix4(tR);const a=s/((this.scale.x+this.scale.y+this.scale.z)/3),l=a*a,c=i.index,u=i.attributes.position;if(c!==null){const _=Math.max(0,o.start),f=Math.min(c.count,o.start+o.count);for(let E=_,b=f;E<b;E++){const g=c.getX(E);Dc.fromBufferAttribute(u,g),nR(Dc,g,l,r,e,t,this)}}else{const _=Math.max(0,o.start),f=Math.min(u.count,o.start+o.count);for(let E=_,b=f;E<b;E++)Dc.fromBufferAttribute(u,E),nR(Dc,E,l,r,e,t,this)}}updateMorphTargets(){const t=this.geometry.morphAttributes,i=Object.keys(t);if(i.length>0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s<o;s++){const a=r[s].name||String(s);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=s}}}}}function nR(n,e,t,i,r,s,o){const a=ag.distanceSqToPoint(n);if(a<t){const l=new ue;ag.closestPointToPoint(n,l),l.applyMatrix4(i);const c=r.ray.origin.distanceTo(l);if(c<r.near||c>r.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,object:o})}}class KE extends fi{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new at(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new at(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=FE,this.normalScale=new vt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class mr extends KE{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new vt(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return En(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new at(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new at(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new at(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class iR extends fi{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new at(16777215),this.specular=new at(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new at(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=FE,this.normalScale=new vt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=PE,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}function Lc(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function Kyt(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function jyt(n){function e(r,s){return n[r]-n[s]}const t=n.length,i=new Array(t);for(let r=0;r!==t;++r)i[r]=r;return i.sort(e),i}function rR(n,e,t){const i=n.length,r=new n.constructor(i);for(let s=0,o=0;o!==i;++s){const a=t[s]*e;for(let l=0;l!==e;++l)r[o++]=n[a+l]}return r}function yO(n,e,t,i){let r=1,s=n[0];for(;s!==void 0&&s[i]===void 0;)s=n[r++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push.apply(t,o)),s=n[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=n[r++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=n[r++];while(s!==void 0)}class Ul{constructor(e,t,i,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=r!==void 0?r:new t.constructor(i),this.sampleValues=t,this.valueSize=i,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let i=this._cachedIndex,r=t[i],s=t[i-1];e:{t:{let o;n:{i:if(!(e<r)){for(let a=i+2;;){if(r===void 0){if(e<s)break i;return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}if(i===a)break;if(s=r,r=t[++i],e<r)break t}o=t.length;break n}if(!(e>=s)){const a=t[1];e<a&&(i=2,s=a);for(let l=i-2;;){if(s===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(i===l)break;if(r=s,s=t[--i-1],e>=s)break t}o=i,i=0;break n}break e}for(;i<o;){const a=i+o>>>1;e<t[a]?o=a:i=a+1}if(r=t[i],s=t[i-1],s===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(r===void 0)return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}this._cachedIndex=i,this.intervalChanged_(i,s,r)}return this.interpolate_(i,s,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,r=this.valueSize,s=e*r;for(let o=0;o!==r;++o)t[o]=i[s+o];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Qyt extends Ul{constructor(e,t,i,r){super(e,t,i,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:Zx,endingEnd:Zx}}intervalChanged_(e,t,i){const r=this.parameterPositions;let s=e-2,o=e+1,a=r[s],l=r[o];if(a===void 0)switch(this.getSettings_().endingStart){case Jx:s=e,a=2*t-i;break;case eC:s=r.length-2,a=t+r[s]-r[s+1];break;default:s=e,a=i}if(l===void 0)switch(this.getSettings_().endingEnd){case Jx:o=e,l=2*i-t;break;case eC:o=1,l=i+r[1]-r[0];break;default:o=e-1,l=t}const c=(i-t)*.5,d=this.valueSize;this._weightPrev=c/(t-a),this._weightNext=c/(l-i),this._offsetPrev=s*d,this._offsetNext=o*d}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=e*a,c=l-a,d=this._offsetPrev,u=this._offsetNext,_=this._weightPrev,f=this._weightNext,E=(i-t)/(r-t),b=E*E,g=b*E,h=-_*g+2*_*b-_*E,m=(1+_)*g+(-1.5-2*_)*b+(-.5+_)*E+1,S=(-1-f)*g+(1.5+f)*b+.5*E,v=f*g-f*b;for(let T=0;T!==a;++T)s[T]=h*o[d+T]+m*o[c+T]+S*o[l+T]+v*o[u+T];return s}}class Xyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=e*a,c=l-a,d=(i-t)/(r-t),u=1-d;for(let _=0;_!==a;++_)s[_]=o[c+_]*u+o[l+_]*d;return s}}class Zyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e){return this.copySampleValue_(e-1)}}class Bi{constructor(e,t,i,r){if(e===void 0)throw new Error("THREE.KeyframeTrack: track name is undefined");if(t===void 0||t.length===0)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=Lc(t,this.TimeBufferType),this.values=Lc(i,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let i;if(t.toJSON!==this.toJSON)i=t.toJSON(e);else{i={name:e.name,times:Lc(e.times,Array),values:Lc(e.values,Array)};const r=e.getInterpolation();r!==e.DefaultInterpolation&&(i.interpolation=r)}return i.type=e.ValueTypeName,i}InterpolantFactoryMethodDiscrete(e){return new Zyt(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new Xyt(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new Qyt(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case xl:t=this.InterpolantFactoryMethodDiscrete;break;case Jo:t=this.InterpolantFactoryMethodLinear;break;case Ih:t=this.InterpolantFactoryMethodSmooth;break}if(t===void 0){const i="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(this.createInterpolant===void 0)if(e!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw new Error(i);return console.warn("THREE.KeyframeTrack:",i),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return xl;case this.InterpolantFactoryMethodLinear:return Jo;case this.InterpolantFactoryMethodSmooth:return Ih}}getValueSize(){return this.values.length/this.times.length}shift(e){if(e!==0){const t=this.times;for(let i=0,r=t.length;i!==r;++i)t[i]+=e}return this}scale(e){if(e!==1){const t=this.times;for(let i=0,r=t.length;i!==r;++i)t[i]*=e}return this}trim(e,t){const i=this.times,r=i.length;let s=0,o=r-1;for(;s!==r&&i[s]<e;)++s;for(;o!==-1&&i[o]>t;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=i.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const i=this.times,r=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){const l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(r!==void 0&&Kyt(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),i=this.getValueSize(),r=this.getInterpolation()===Ih,s=e.length-1;let o=1;for(let a=1;a<s;++a){let l=!1;const c=e[a],d=e[a+1];if(c!==d&&(a!==1||c!==e[0]))if(r)l=!0;else{const u=a*i,_=u-i,f=u+i;for(let E=0;E!==i;++E){const b=t[u+E];if(b!==t[_+E]||b!==t[f+E]){l=!0;break}}}if(l){if(a!==o){e[o]=e[a];const u=a*i,_=o*i;for(let f=0;f!==i;++f)t[_+f]=t[u+f]}++o}}if(s>0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*i)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),i=this.constructor,r=new i(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}}Bi.prototype.TimeBufferType=Float32Array;Bi.prototype.ValueBufferType=Float32Array;Bi.prototype.DefaultInterpolation=Jo;class Ea extends Bi{}Ea.prototype.ValueTypeName="bool";Ea.prototype.ValueBufferType=Array;Ea.prototype.DefaultInterpolation=xl;Ea.prototype.InterpolantFactoryMethodLinear=void 0;Ea.prototype.InterpolantFactoryMethodSmooth=void 0;class vO extends Bi{}vO.prototype.ValueTypeName="color";class na extends Bi{}na.prototype.ValueTypeName="number";class Jyt extends Ul{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(r-t);let c=e*a;for(let d=c+a;c!==d;c+=4)Zr.slerpFlat(s,0,o,c-a,o,c,l);return s}}class Fs extends Bi{InterpolantFactoryMethodLinear(e){return new Jyt(this.times,this.values,this.getValueSize(),e)}}Fs.prototype.ValueTypeName="quaternion";Fs.prototype.DefaultInterpolation=Jo;Fs.prototype.InterpolantFactoryMethodSmooth=void 0;class ba extends Bi{}ba.prototype.ValueTypeName="string";ba.prototype.ValueBufferType=Array;ba.prototype.DefaultInterpolation=xl;ba.prototype.InterpolantFactoryMethodLinear=void 0;ba.prototype.InterpolantFactoryMethodSmooth=void 0;class ia extends Bi{}ia.prototype.ValueTypeName="vector";class evt{constructor(e,t=-1,i,r=smt){this.name=e,this.tracks=i,this.duration=t,this.blendMode=r,this.uuid=pi(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],i=e.tracks,r=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(nvt(i[o]).scale(r));const s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){const t=[],i=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(Bi.toJSON(i[s]));return r}static CreateFromMorphTargetSequence(e,t,i,r){const s=t.length,o=[];for(let a=0;a<s;a++){let l=[],c=[];l.push((a+s-1)%s,a,(a+1)%s),c.push(0,1,0);const d=jyt(l);l=rR(l,1,d),c=rR(c,1,d),!r&&l[0]===0&&(l.push(s),c.push(c[0])),o.push(new na(".morphTargetInfluences["+t[a].name+"]",l,c).scale(1/i))}return new this(e,-1,o)}static findByName(e,t){let i=e;if(!Array.isArray(e)){const r=e;i=r.geometry&&r.geometry.animations||r.animations}for(let r=0;r<i.length;r++)if(i[r].name===t)return i[r];return null}static CreateClipsFromMorphTargetSequences(e,t,i){const r={},s=/^([\w-]*?)([\d]+)$/;for(let a=0,l=e.length;a<l;a++){const c=e[a],d=c.name.match(s);if(d&&d.length>1){const u=d[1];let _=r[u];_||(r[u]=_=[]),_.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const i=function(u,_,f,E,b){if(f.length!==0){const g=[],h=[];yO(f,g,h,E),g.length!==0&&b.push(new u(_,g,h))}},r=[],s=e.name||"default",o=e.fps||30,a=e.blendMode;let l=e.length||-1;const c=e.hierarchy||[];for(let u=0;u<c.length;u++){const _=c[u].keys;if(!(!_||_.length===0))if(_[0].morphTargets){const f={};let E;for(E=0;E<_.length;E++)if(_[E].morphTargets)for(let b=0;b<_[E].morphTargets.length;b++)f[_[E].morphTargets[b]]=-1;for(const b in f){const g=[],h=[];for(let m=0;m!==_[E].morphTargets.length;++m){const S=_[E];g.push(S.time),h.push(S.morphTarget===b?1:0)}r.push(new na(".morphTargetInfluence["+b+"]",g,h))}l=f.length*o}else{const f=".bones["+t[u].name+"]";i(ia,f+".position",_,"pos",r),i(Fs,f+".quaternion",_,"rot",r),i(ia,f+".scale",_,"scl",r)}}return r.length===0?null:new this(s,l,r,a)}resetDuration(){const e=this.tracks;let t=0;for(let i=0,r=e.length;i!==r;++i){const s=this.tracks[i];t=Math.max(t,s.times[s.times.length-1])}return this.duration=t,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function tvt(n){switch(n.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return na;case"vector":case"vector2":case"vector3":case"vector4":return ia;case"color":return vO;case"quaternion":return Fs;case"bool":case"boolean":return Ea;case"string":return ba}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+n)}function nvt(n){if(n.type===void 0)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const e=tvt(n.type);if(n.times===void 0){const t=[],i=[];yO(n.keys,t,i,"value"),n.times=t,n.values=i}return e.parse!==void 0?e.parse(n):new e(n.name,n.times,n.values,n.interpolation)}const ra={enabled:!1,files:{},add:function(n,e){this.enabled!==!1&&(this.files[n]=e)},get:function(n){if(this.enabled!==!1)return this.files[n]},remove:function(n){delete this.files[n]},clear:function(){this.files={}}};class ivt{constructor(e,t,i){const r=this;let s=!1,o=0,a=0,l;const c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=i,this.itemStart=function(d){a++,s===!1&&r.onStart!==void 0&&r.onStart(d,o,a),s=!0},this.itemEnd=function(d){o++,r.onProgress!==void 0&&r.onProgress(d,o,a),o===a&&(s=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(d){r.onError!==void 0&&r.onError(d)},this.resolveURL=function(d){return l?l(d):d},this.setURLModifier=function(d){return l=d,this},this.addHandler=function(d,u){return c.push(d,u),this},this.removeHandler=function(d){const u=c.indexOf(d);return u!==-1&&c.splice(u,2),this},this.getHandler=function(d){for(let u=0,_=c.length;u<_;u+=2){const f=c[u],E=c[u+1];if(f.global&&(f.lastIndex=0),f.test(d))return E}return null}}}const rvt=new ivt;class Sa{constructor(e){this.manager=e!==void 0?e:rvt,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const i=this;return new Promise(function(r,s){i.load(e,r,t,s)})}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}Sa.DEFAULT_MATERIAL_NAME="__DEFAULT";const Qi={};class svt extends Error{constructor(e,t){super(e),this.response=t}}class TO extends Sa{constructor(e){super(e)}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=ra.get(e);if(s!==void 0)return this.manager.itemStart(e),setTimeout(()=>{t&&t(s),this.manager.itemEnd(e)},0),s;if(Qi[e]!==void 0){Qi[e].push({onLoad:t,onProgress:i,onError:r});return}Qi[e]=[],Qi[e].push({onLoad:t,onProgress:i,onError:r});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const d=Qi[e],u=c.body.getReader(),_=c.headers.get("Content-Length")||c.headers.get("X-File-Size"),f=_?parseInt(_):0,E=f!==0;let b=0;const g=new ReadableStream({start(h){m();function m(){u.read().then(({done:S,value:v})=>{if(S)h.close();else{b+=v.byteLength;const T=new ProgressEvent("progress",{lengthComputable:E,loaded:b,total:f});for(let C=0,N=d.length;C<N;C++){const x=d[C];x.onProgress&&x.onProgress(T)}h.enqueue(v),m()}})}}});return new Response(g)}else throw new svt(`fetch for "${c.url}" responded with ${c.status}: ${c.statusText}`,c)}).then(c=>{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(d=>new DOMParser().parseFromString(d,a));case"json":return c.json();default:if(a===void 0)return c.text();{const u=/charset="?([^;"\s]*)"?/i.exec(a),_=u&&u[1]?u[1].toLowerCase():void 0,f=new TextDecoder(_);return c.arrayBuffer().then(E=>f.decode(E))}}}).then(c=>{ra.add(e,c);const d=Qi[e];delete Qi[e];for(let u=0,_=d.length;u<_;u++){const f=d[u];f.onLoad&&f.onLoad(c)}}).catch(c=>{const d=Qi[e];if(d===void 0)throw this.manager.itemError(e),c;delete Qi[e];for(let u=0,_=d.length;u<_;u++){const f=d[u];f.onError&&f.onError(c)}this.manager.itemError(e)}).finally(()=>{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class ovt extends Sa{constructor(e){super(e)}load(e,t,i,r){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=ra.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;const a=Cl("img");function l(){d(),ra.add(e,this),t&&t(this),s.manager.itemEnd(e)}function c(u){d(),r&&r(u),s.manager.itemError(e),s.manager.itemEnd(e)}function d(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(e),a.src=e,a}}class xO extends Sa{constructor(e){super(e)}load(e,t,i,r){const s=new pn,o=new ovt(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,function(a){s.image=a,s.needsUpdate=!0,t!==void 0&&t(s)},i,r),s}}class du extends Yt{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new at(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,this.groundColor!==void 0&&(t.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(t.object.distance=this.distance),this.angle!==void 0&&(t.object.angle=this.angle),this.decay!==void 0&&(t.object.decay=this.decay),this.penumbra!==void 0&&(t.object.penumbra=this.penumbra),this.shadow!==void 0&&(t.object.shadow=this.shadow.toJSON()),t}}const sm=new gt,sR=new ue,oR=new ue;class jE{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new vt(512,512),this.map=null,this.mapPass=null,this.matrix=new gt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new zE,this._frameExtents=new vt(1,1),this._viewportCount=1,this._viewports=[new kt(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,i=this.matrix;sR.setFromMatrixPosition(e.matrixWorld),t.position.copy(sR),oR.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(oR),t.updateMatrixWorld(),sm.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(sm),i.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),i.multiply(sm)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const e={};return this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class avt extends jE{constructor(){super(new Cn(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,i=ea*2*e.angle*this.focus,r=this.mapSize.width/this.mapSize.height,s=e.distance||t.far;(i!==t.fov||r!==t.aspect||s!==t.far)&&(t.fov=i,t.aspect=r,t.far=s,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class lvt extends du{constructor(e,t,i=0,r=Math.PI/3,s=0,o=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(Yt.DEFAULT_UP),this.updateMatrix(),this.target=new Yt,this.distance=i,this.angle=r,this.penumbra=s,this.decay=o,this.map=null,this.shadow=new avt}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const aR=new gt,za=new ue,om=new ue;class cvt extends jE{constructor(){super(new Cn(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new vt(4,2),this._viewportCount=6,this._viewports=[new kt(2,1,1,1),new kt(0,1,1,1),new kt(3,1,1,1),new kt(1,1,1,1),new kt(3,0,1,1),new kt(1,0,1,1)],this._cubeDirections=[new ue(1,0,0),new ue(-1,0,0),new ue(0,0,1),new ue(0,0,-1),new ue(0,1,0),new ue(0,-1,0)],this._cubeUps=[new ue(0,1,0),new ue(0,1,0),new ue(0,1,0),new ue(0,1,0),new ue(0,0,1),new ue(0,0,-1)]}updateMatrices(e,t=0){const i=this.camera,r=this.matrix,s=e.distance||i.far;s!==i.far&&(i.far=s,i.updateProjectionMatrix()),za.setFromMatrixPosition(e.matrixWorld),i.position.copy(za),om.copy(i.position),om.add(this._cubeDirections[t]),i.up.copy(this._cubeUps[t]),i.lookAt(om),i.updateMatrixWorld(),r.makeTranslation(-za.x,-za.y,-za.z),aR.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse),this._frustum.setFromProjectionMatrix(aR)}}class dvt extends du{constructor(e,t,i=0,r=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=i,this.decay=r,this.shadow=new cvt}get power(){return this.intensity*4*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class uvt extends jE{constructor(){super(new VE(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class CO extends du{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(Yt.DEFAULT_UP),this.updateMatrix(),this.target=new Yt,this.shadow=new uvt}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class _vt extends du{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class sl{static decodeText(e){if(typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let i=0,r=e.length;i<r;i++)t+=String.fromCharCode(e[i]);try{return decodeURIComponent(escape(t))}catch{return t}}static extractUrlBase(e){const t=e.lastIndexOf("/");return t===-1?"./":e.slice(0,t+1)}static resolveURL(e,t){return typeof e!="string"||e===""?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}class pvt extends Sa{constructor(e){super(e),this.isImageBitmapLoader=!0,typeof createImageBitmap>"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=ra.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(l){return l.blob()}).then(function(l){return createImageBitmap(l,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(l){ra.add(e,l),t&&t(l),s.manager.itemEnd(e)}).catch(function(l){r&&r(l),s.manager.itemError(e),s.manager.itemEnd(e)}),s.manager.itemStart(e)}}const QE="\\[\\]\\.:\\/",fvt=new RegExp("["+QE+"]","g"),XE="[^"+QE+"]",hvt="[^"+QE.replace("\\.","")+"]",mvt=/((?:WC+[\/:])*)/.source.replace("WC",XE),gvt=/(WCOD+)?/.source.replace("WCOD",hvt),Evt=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",XE),bvt=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",XE),Svt=new RegExp("^"+mvt+gvt+Evt+bvt+"$"),yvt=["material","materials","bones","map"];class vvt{constructor(e,t,i){const r=i||It.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const i=this._targetGroup.nCachedObjects_,r=this._bindings[i];r!==void 0&&r.getValue(e,t)}setValue(e,t){const i=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=i.length;r!==s;++r)i[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}}class It{constructor(e,t,i){this.path=t,this.parsedPath=i||It.parseTrackName(t),this.node=It.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new It.Composite(e,t,i):new It(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(fvt,"")}static parseTrackName(e){const t=Svt.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=i.nodeName&&i.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=i.nodeName.substring(r+1);yvt.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,r),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){const i=function(s){for(let o=0;o<s.length;o++){const a=s[o];if(a.name===t||a.uuid===t)return a;const l=i(a.children);if(l)return l}return null},r=i(e.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)e[t++]=i[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){const i=this.resolvedProperty;for(let r=0,s=i.length;r!==s;++r)i[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,i=t.objectName,r=t.propertyName;let s=t.propertyIndex;if(e||(e=It.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e){console.warn("THREE.PropertyBinding: No target node found for track: "+this.path+".");return}if(i){let c=t.objectIndex;switch(i){case"materials":if(!e.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!e.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}e=e.material.materials;break;case"bones":if(!e.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}e=e.skeleton.bones;for(let d=0;d<e.length;d++)if(e[d].name===c){c=d;break}break;case"map":if("map"in e){e=e.map;break}if(!e.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!e.material.map){console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);return}e=e.material.map;break;default:if(e[i]===void 0){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}e=e[i]}if(c!==void 0){if(e[c]===void 0){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);return}e=e[c]}}const o=e[r];if(o===void 0){const c=t.nodeName;console.error("THREE.PropertyBinding: Trying to update property for track: "+c+"."+r+" but it wasn't found.",e);return}let a=this.Versioning.None;this.targetObject=e,e.needsUpdate!==void 0?a=this.Versioning.NeedsUpdate:e.matrixWorldNeedsUpdate!==void 0&&(a=this.Versioning.MatrixWorldNeedsUpdate);let l=this.BindingType.Direct;if(s!==void 0){if(r==="morphTargetInfluences"){if(!e.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);return}if(!e.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}e.morphTargetDictionary[s]!==void 0&&(s=e.morphTargetDictionary[s])}l=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=s}else o.fromArray!==void 0&&o.toArray!==void 0?(l=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(l=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=r;this.getValue=this.GetterByBindingType[l],this.setValue=this.SetterByBindingTypeAndVersioning[l][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}It.Composite=vvt;It.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3};It.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2};It.prototype.GetterByBindingType=[It.prototype._getValue_direct,It.prototype._getValue_array,It.prototype._getValue_arrayElement,It.prototype._getValue_toArray];It.prototype.SetterByBindingTypeAndVersioning=[[It.prototype._setValue_direct,It.prototype._setValue_direct_setNeedsUpdate,It.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[It.prototype._setValue_array,It.prototype._setValue_array_setNeedsUpdate,It.prototype._setValue_array_setMatrixWorldNeedsUpdate],[It.prototype._setValue_arrayElement,It.prototype._setValue_arrayElement_setNeedsUpdate,It.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[It.prototype._setValue_fromArray,It.prototype._setValue_fromArray_setNeedsUpdate,It.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:kE}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=kE);function lR(n,e){if(e===omt)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),n;if(e===tg||e===Qw){let t=n.getIndex();if(t===null){const o=[],a=n.getAttribute("position");if(a!==void 0){for(let l=0;l<a.count;l++)o.push(l);n.setIndex(o),t=n.getIndex()}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),n}const i=t.count-2,r=[];if(e===tg)for(let o=1;o<=i;o++)r.push(t.getX(0)),r.push(t.getX(o)),r.push(t.getX(o+1));else for(let o=0;o<i;o++)o%2===0?(r.push(t.getX(o)),r.push(t.getX(o+1)),r.push(t.getX(o+2))):(r.push(t.getX(o+2)),r.push(t.getX(o+1)),r.push(t.getX(o)));r.length/3!==i&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");const s=n.clone();return s.setIndex(r),s.clearGroups(),s}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",e),n}class Tvt extends Sa{constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register(function(t){return new wvt(t)}),this.register(function(t){return new Uvt(t)}),this.register(function(t){return new Fvt(t)}),this.register(function(t){return new Bvt(t)}),this.register(function(t){return new Nvt(t)}),this.register(function(t){return new Mvt(t)}),this.register(function(t){return new Ivt(t)}),this.register(function(t){return new Dvt(t)}),this.register(function(t){return new Avt(t)}),this.register(function(t){return new Lvt(t)}),this.register(function(t){return new Ovt(t)}),this.register(function(t){return new Pvt(t)}),this.register(function(t){return new kvt(t)}),this.register(function(t){return new Cvt(t)}),this.register(function(t){return new Gvt(t)}),this.register(function(t){return new zvt(t)})}load(e,t,i,r){const s=this;let o;if(this.resourcePath!=="")o=this.resourcePath;else if(this.path!==""){const c=sl.extractUrlBase(e);o=sl.resolveURL(c,this.path)}else o=sl.extractUrlBase(e);this.manager.itemStart(e);const a=function(c){r?r(c):console.error(c),s.manager.itemError(e),s.manager.itemEnd(e)},l=new TO(this.manager);l.setPath(this.path),l.setResponseType("arraybuffer"),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(e,function(c){try{s.parse(c,o,function(d){t(d),s.manager.itemEnd(e)},a)}catch(d){a(d)}},i,a)}setDRACOLoader(e){return this.dracoLoader=e,this}setDDSLoader(){throw new Error('THREE.GLTFLoader: "MSFT_texture_dds" no longer supported. Please update to "KHR_texture_basisu".')}setKTX2Loader(e){return this.ktx2Loader=e,this}setMeshoptDecoder(e){return this.meshoptDecoder=e,this}register(e){return this.pluginCallbacks.indexOf(e)===-1&&this.pluginCallbacks.push(e),this}unregister(e){return this.pluginCallbacks.indexOf(e)!==-1&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,i,r){let s;const o={},a={},l=new TextDecoder;if(typeof e=="string")s=JSON.parse(e);else if(e instanceof ArrayBuffer)if(l.decode(new Uint8Array(e,0,4))===RO){try{o[yt.KHR_BINARY_GLTF]=new Hvt(e)}catch(u){r&&r(u);return}s=JSON.parse(o[yt.KHR_BINARY_GLTF].content)}else s=JSON.parse(l.decode(e));else s=e;if(s.asset===void 0||s.asset.version[0]<2){r&&r(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));return}const c=new tTt(s,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});c.fileLoader.setRequestHeader(this.requestHeader);for(let d=0;d<this.pluginCallbacks.length;d++){const u=this.pluginCallbacks[d](c);u.name||console.error("THREE.GLTFLoader: Invalid plugin found: missing name"),a[u.name]=u,o[u.name]=!0}if(s.extensionsUsed)for(let d=0;d<s.extensionsUsed.length;++d){const u=s.extensionsUsed[d],_=s.extensionsRequired||[];switch(u){case yt.KHR_MATERIALS_UNLIT:o[u]=new Rvt;break;case yt.KHR_DRACO_MESH_COMPRESSION:o[u]=new Vvt(s,this.dracoLoader);break;case yt.KHR_TEXTURE_TRANSFORM:o[u]=new qvt;break;case yt.KHR_MESH_QUANTIZATION:o[u]=new Yvt;break;default:_.indexOf(u)>=0&&a[u]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+u+'".')}}c.setExtensions(o),c.setPlugins(a),c.parse(i,r)}parseAsync(e,t){const i=this;return new Promise(function(r,s){i.parse(e,t,r,s)})}}function xvt(){let n={};return{get:function(e){return n[e]},add:function(e,t){n[e]=t},remove:function(e){delete n[e]},removeAll:function(){n={}}}}const yt={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class Cvt{constructor(e){this.parser=e,this.name=yt.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let i=0,r=t.length;i<r;i++){const s=t[i];s.extensions&&s.extensions[this.name]&&s.extensions[this.name].light!==void 0&&e._addNodeRef(this.cache,s.extensions[this.name].light)}}_loadLight(e){const t=this.parser,i="light:"+e;let r=t.cache.get(i);if(r)return r;const s=t.json,l=((s.extensions&&s.extensions[this.name]||{}).lights||[])[e];let c;const d=new at(16777215);l.color!==void 0&&d.setRGB(l.color[0],l.color[1],l.color[2],fn);const u=l.range!==void 0?l.range:0;switch(l.type){case"directional":c=new CO(d),c.target.position.set(0,0,-1),c.add(c.target);break;case"point":c=new dvt(d),c.distance=u;break;case"spot":c=new lvt(d),c.distance=u,l.spot=l.spot||{},l.spot.innerConeAngle=l.spot.innerConeAngle!==void 0?l.spot.innerConeAngle:0,l.spot.outerConeAngle=l.spot.outerConeAngle!==void 0?l.spot.outerConeAngle:Math.PI/4,c.angle=l.spot.outerConeAngle,c.penumbra=1-l.spot.innerConeAngle/l.spot.outerConeAngle,c.target.position.set(0,0,-1),c.add(c.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+l.type)}return c.position.set(0,0,0),c.decay=2,kr(c,l),l.intensity!==void 0&&(c.intensity=l.intensity),c.name=t.createUniqueName(l.name||"light_"+e),r=Promise.resolve(c),t.cache.add(i,r),r}getDependency(e,t){if(e==="light")return this._loadLight(t)}createNodeAttachment(e){const t=this,i=this.parser,s=i.json.nodes[e],a=(s.extensions&&s.extensions[this.name]||{}).light;return a===void 0?null:this._loadLight(a).then(function(l){return i._getNodeRef(t.cache,a,l)})}}class Rvt{constructor(){this.name=yt.KHR_MATERIALS_UNLIT}getMaterialType(){return Br}extendParams(e,t,i){const r=[];e.color=new at(1,1,1),e.opacity=1;const s=t.pbrMetallicRoughness;if(s){if(Array.isArray(s.baseColorFactor)){const o=s.baseColorFactor;e.color.setRGB(o[0],o[1],o[2],fn),e.opacity=o[3]}s.baseColorTexture!==void 0&&r.push(i.assignTexture(e,"map",s.baseColorTexture,Wt))}return Promise.all(r)}}class Avt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=r.extensions[this.name].emissiveStrength;return s!==void 0&&(t.emissiveIntensity=s),Promise.resolve()}}class wvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_CLEARCOAT}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];if(o.clearcoatFactor!==void 0&&(t.clearcoat=o.clearcoatFactor),o.clearcoatTexture!==void 0&&s.push(i.assignTexture(t,"clearcoatMap",o.clearcoatTexture)),o.clearcoatRoughnessFactor!==void 0&&(t.clearcoatRoughness=o.clearcoatRoughnessFactor),o.clearcoatRoughnessTexture!==void 0&&s.push(i.assignTexture(t,"clearcoatRoughnessMap",o.clearcoatRoughnessTexture)),o.clearcoatNormalTexture!==void 0&&(s.push(i.assignTexture(t,"clearcoatNormalMap",o.clearcoatNormalTexture)),o.clearcoatNormalTexture.scale!==void 0)){const a=o.clearcoatNormalTexture.scale;t.clearcoatNormalScale=new vt(a,a)}return Promise.all(s)}}class Ovt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_IRIDESCENCE}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.iridescenceFactor!==void 0&&(t.iridescence=o.iridescenceFactor),o.iridescenceTexture!==void 0&&s.push(i.assignTexture(t,"iridescenceMap",o.iridescenceTexture)),o.iridescenceIor!==void 0&&(t.iridescenceIOR=o.iridescenceIor),t.iridescenceThicknessRange===void 0&&(t.iridescenceThicknessRange=[100,400]),o.iridescenceThicknessMinimum!==void 0&&(t.iridescenceThicknessRange[0]=o.iridescenceThicknessMinimum),o.iridescenceThicknessMaximum!==void 0&&(t.iridescenceThicknessRange[1]=o.iridescenceThicknessMaximum),o.iridescenceThicknessTexture!==void 0&&s.push(i.assignTexture(t,"iridescenceThicknessMap",o.iridescenceThicknessTexture)),Promise.all(s)}}class Nvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_SHEEN}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[];t.sheenColor=new at(0,0,0),t.sheenRoughness=0,t.sheen=1;const o=r.extensions[this.name];if(o.sheenColorFactor!==void 0){const a=o.sheenColorFactor;t.sheenColor.setRGB(a[0],a[1],a[2],fn)}return o.sheenRoughnessFactor!==void 0&&(t.sheenRoughness=o.sheenRoughnessFactor),o.sheenColorTexture!==void 0&&s.push(i.assignTexture(t,"sheenColorMap",o.sheenColorTexture,Wt)),o.sheenRoughnessTexture!==void 0&&s.push(i.assignTexture(t,"sheenRoughnessMap",o.sheenRoughnessTexture)),Promise.all(s)}}class Mvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_TRANSMISSION}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.transmissionFactor!==void 0&&(t.transmission=o.transmissionFactor),o.transmissionTexture!==void 0&&s.push(i.assignTexture(t,"transmissionMap",o.transmissionTexture)),Promise.all(s)}}class Ivt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_VOLUME}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];t.thickness=o.thicknessFactor!==void 0?o.thicknessFactor:0,o.thicknessTexture!==void 0&&s.push(i.assignTexture(t,"thicknessMap",o.thicknessTexture)),t.attenuationDistance=o.attenuationDistance||1/0;const a=o.attenuationColor||[1,1,1];return t.attenuationColor=new at().setRGB(a[0],a[1],a[2],fn),Promise.all(s)}}class Dvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_IOR}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=r.extensions[this.name];return t.ior=s.ior!==void 0?s.ior:1.5,Promise.resolve()}}class Lvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_SPECULAR}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];t.specularIntensity=o.specularFactor!==void 0?o.specularFactor:1,o.specularTexture!==void 0&&s.push(i.assignTexture(t,"specularIntensityMap",o.specularTexture));const a=o.specularColorFactor||[1,1,1];return t.specularColor=new at().setRGB(a[0],a[1],a[2],fn),o.specularColorTexture!==void 0&&s.push(i.assignTexture(t,"specularColorMap",o.specularColorTexture,Wt)),Promise.all(s)}}class kvt{constructor(e){this.parser=e,this.name=yt.EXT_MATERIALS_BUMP}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return t.bumpScale=o.bumpFactor!==void 0?o.bumpFactor:1,o.bumpTexture!==void 0&&s.push(i.assignTexture(t,"bumpMap",o.bumpTexture)),Promise.all(s)}}class Pvt{constructor(e){this.parser=e,this.name=yt.KHR_MATERIALS_ANISOTROPY}getMaterialType(e){const i=this.parser.json.materials[e];return!i.extensions||!i.extensions[this.name]?null:mr}extendMaterialParams(e,t){const i=this.parser,r=i.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const s=[],o=r.extensions[this.name];return o.anisotropyStrength!==void 0&&(t.anisotropy=o.anisotropyStrength),o.anisotropyRotation!==void 0&&(t.anisotropyRotation=o.anisotropyRotation),o.anisotropyTexture!==void 0&&s.push(i.assignTexture(t,"anisotropyMap",o.anisotropyTexture)),Promise.all(s)}}class Uvt{constructor(e){this.parser=e,this.name=yt.KHR_TEXTURE_BASISU}loadTexture(e){const t=this.parser,i=t.json,r=i.textures[e];if(!r.extensions||!r.extensions[this.name])return null;const s=r.extensions[this.name],o=t.options.ktx2Loader;if(!o){if(i.extensionsRequired&&i.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,s.source,o)}}class Fvt{constructor(e){this.parser=e,this.name=yt.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,i=this.parser,r=i.json,s=r.textures[e];if(!s.extensions||!s.extensions[t])return null;const o=s.extensions[t],a=r.images[o.source];let l=i.textureLoader;if(a.uri){const c=i.options.manager.getHandler(a.uri);c!==null&&(l=c)}return this.detectSupport().then(function(c){if(c)return i.loadTextureImage(e,o.source,l);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return i.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Bvt{constructor(e){this.parser=e,this.name=yt.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){const t=this.name,i=this.parser,r=i.json,s=r.textures[e];if(!s.extensions||!s.extensions[t])return null;const o=s.extensions[t],a=r.images[o.source];let l=i.textureLoader;if(a.uri){const c=i.options.manager.getHandler(a.uri);c!==null&&(l=c)}return this.detectSupport().then(function(c){if(c)return i.loadTextureImage(e,o.source,l);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return i.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Gvt{constructor(e){this.name=yt.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,i=t.bufferViews[e];if(i.extensions&&i.extensions[this.name]){const r=i.extensions[this.name],s=this.parser.getDependency("buffer",r.buffer),o=this.parser.options.meshoptDecoder;if(!o||!o.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return s.then(function(a){const l=r.byteOffset||0,c=r.byteLength||0,d=r.count,u=r.byteStride,_=new Uint8Array(a,l,c);return o.decodeGltfBufferAsync?o.decodeGltfBufferAsync(d,u,_,r.mode,r.filter).then(function(f){return f.buffer}):o.ready.then(function(){const f=new ArrayBuffer(d*u);return o.decodeGltfBuffer(new Uint8Array(f),d,u,_,r.mode,r.filter),f})})}else return null}}class zvt{constructor(e){this.name=yt.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,i=t.nodes[e];if(!i.extensions||!i.extensions[this.name]||i.mesh===void 0)return null;const r=t.meshes[i.mesh];for(const c of r.primitives)if(c.mode!==qn.TRIANGLES&&c.mode!==qn.TRIANGLE_STRIP&&c.mode!==qn.TRIANGLE_FAN&&c.mode!==void 0)return null;const o=i.extensions[this.name].attributes,a=[],l={};for(const c in o)a.push(this.parser.getDependency("accessor",o[c]).then(d=>(l[c]=d,l[c])));return a.length<1?null:(a.push(this.parser.createNodeMesh(e)),Promise.all(a).then(c=>{const d=c.pop(),u=d.isGroup?d.children:[d],_=c[0].count,f=[];for(const E of u){const b=new gt,g=new ue,h=new Zr,m=new ue(1,1,1),S=new qyt(E.geometry,E.material,_);for(let v=0;v<_;v++)l.TRANSLATION&&g.fromBufferAttribute(l.TRANSLATION,v),l.ROTATION&&h.fromBufferAttribute(l.ROTATION,v),l.SCALE&&m.fromBufferAttribute(l.SCALE,v),S.setMatrixAt(v,b.compose(g,h,m));for(const v in l)if(v==="_COLOR_0"){const T=l[v];S.instanceColor=new og(T.array,T.itemSize,T.normalized)}else v!=="TRANSLATION"&&v!=="ROTATION"&&v!=="SCALE"&&E.geometry.setAttribute(v,l[v]);Yt.prototype.copy.call(S,E),this.parser.assignFinalMaterial(S),f.push(S)}return d.isGroup?(d.clear(),d.add(...f),d):f[0]}))}}const RO="glTF",Ha=12,cR={JSON:1313821514,BIN:5130562};class Hvt{constructor(e){this.name=yt.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,Ha),i=new TextDecoder;if(this.header={magic:i.decode(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==RO)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const r=this.header.length-Ha,s=new DataView(e,Ha);let o=0;for(;o<r;){const a=s.getUint32(o,!0);o+=4;const l=s.getUint32(o,!0);if(o+=4,l===cR.JSON){const c=new Uint8Array(e,Ha+o,a);this.content=i.decode(c)}else if(l===cR.BIN){const c=Ha+o;this.body=e.slice(c,c+a)}o+=a}if(this.content===null)throw new Error("THREE.GLTFLoader: JSON content not found.")}}class Vvt{constructor(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=yt.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t,this.dracoLoader.preload()}decodePrimitive(e,t){const i=this.json,r=this.dracoLoader,s=e.extensions[this.name].bufferView,o=e.extensions[this.name].attributes,a={},l={},c={};for(const d in o){const u=lg[d]||d.toLowerCase();a[u]=o[d]}for(const d in e.attributes){const u=lg[d]||d.toLowerCase();if(o[d]!==void 0){const _=i.accessors[e.attributes[d]],f=Do[_.componentType];c[u]=f.name,l[u]=_.normalized===!0}}return t.getDependency("bufferView",s).then(function(d){return new Promise(function(u){r.decodeDracoFile(d,function(_){for(const f in _.attributes){const E=_.attributes[f],b=l[f];b!==void 0&&(E.normalized=b)}u(_)},a,c)})})}}class qvt{constructor(){this.name=yt.KHR_TEXTURE_TRANSFORM}extendTexture(e,t){return(t.texCoord===void 0||t.texCoord===e.channel)&&t.offset===void 0&&t.rotation===void 0&&t.scale===void 0||(e=e.clone(),t.texCoord!==void 0&&(e.channel=t.texCoord),t.offset!==void 0&&e.offset.fromArray(t.offset),t.rotation!==void 0&&(e.rotation=t.rotation),t.scale!==void 0&&e.repeat.fromArray(t.scale),e.needsUpdate=!0),e}}class Yvt{constructor(){this.name=yt.KHR_MESH_QUANTIZATION}}class AO extends Ul{constructor(e,t,i,r){super(e,t,i,r)}copySampleValue_(e){const t=this.resultBuffer,i=this.sampleValues,r=this.valueSize,s=e*r*3+r;for(let o=0;o!==r;o++)t[o]=i[s+o];return t}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=a*2,c=a*3,d=r-t,u=(i-t)/d,_=u*u,f=_*u,E=e*c,b=E-c,g=-2*f+3*_,h=f-_,m=1-g,S=h-_+u;for(let v=0;v!==a;v++){const T=o[b+v+a],C=o[b+v+l]*d,N=o[E+v+a],x=o[E+v]*d;s[v]=m*T+S*C+g*N+h*x}return s}}const $vt=new Zr;class Wvt extends AO{interpolate_(e,t,i,r){const s=super.interpolate_(e,t,i,r);return $vt.fromArray(s).normalize().toArray(s),s}}const qn={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123},Do={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},dR={9728:ln,9729:Mn,9984:eg,9985:Hw,9986:Kc,9987:ks},uR={33071:Wn,33648:Sd,10497:Xo},am={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},lg={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},Rr={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},Kvt={CUBICSPLINE:void 0,LINEAR:Jo,STEP:xl},lm={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function jvt(n){return n.DefaultMaterial===void 0&&(n.DefaultMaterial=new KE({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:dr})),n.DefaultMaterial}function us(n,e,t){for(const i in t.extensions)n[i]===void 0&&(e.userData.gltfExtensions=e.userData.gltfExtensions||{},e.userData.gltfExtensions[i]=t.extensions[i])}function kr(n,e){e.extras!==void 0&&(typeof e.extras=="object"?Object.assign(n.userData,e.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+e.extras))}function Qvt(n,e,t){let i=!1,r=!1,s=!1;for(let c=0,d=e.length;c<d;c++){const u=e[c];if(u.POSITION!==void 0&&(i=!0),u.NORMAL!==void 0&&(r=!0),u.COLOR_0!==void 0&&(s=!0),i&&r&&s)break}if(!i&&!r&&!s)return Promise.resolve(n);const o=[],a=[],l=[];for(let c=0,d=e.length;c<d;c++){const u=e[c];if(i){const _=u.POSITION!==void 0?t.getDependency("accessor",u.POSITION):n.attributes.position;o.push(_)}if(r){const _=u.NORMAL!==void 0?t.getDependency("accessor",u.NORMAL):n.attributes.normal;a.push(_)}if(s){const _=u.COLOR_0!==void 0?t.getDependency("accessor",u.COLOR_0):n.attributes.color;l.push(_)}}return Promise.all([Promise.all(o),Promise.all(a),Promise.all(l)]).then(function(c){const d=c[0],u=c[1],_=c[2];return i&&(n.morphAttributes.position=d),r&&(n.morphAttributes.normal=u),s&&(n.morphAttributes.color=_),n.morphTargetsRelative=!0,n})}function Xvt(n,e){if(n.updateMorphTargets(),e.weights!==void 0)for(let t=0,i=e.weights.length;t<i;t++)n.morphTargetInfluences[t]=e.weights[t];if(e.extras&&Array.isArray(e.extras.targetNames)){const t=e.extras.targetNames;if(n.morphTargetInfluences.length===t.length){n.morphTargetDictionary={};for(let i=0,r=t.length;i<r;i++)n.morphTargetDictionary[t[i]]=i}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function Zvt(n){let e;const t=n.extensions&&n.extensions[yt.KHR_DRACO_MESH_COMPRESSION];if(t?e="draco:"+t.bufferView+":"+t.indices+":"+cm(t.attributes):e=n.indices+":"+cm(n.attributes)+":"+n.mode,n.targets!==void 0)for(let i=0,r=n.targets.length;i<r;i++)e+=":"+cm(n.targets[i]);return e}function cm(n){let e="";const t=Object.keys(n).sort();for(let i=0,r=t.length;i<r;i++)e+=t[i]+":"+n[t[i]]+";";return e}function cg(n){switch(n){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}function Jvt(n){return n.search(/\.jpe?g($|\?)/i)>0||n.search(/^data\:image\/jpeg/)===0?"image/jpeg":n.search(/\.webp($|\?)/i)>0||n.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const eTt=new gt;class tTt{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new xvt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let i=!1,r=!1,s=-1;typeof navigator<"u"&&(i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,r=navigator.userAgent.indexOf("Firefox")>-1,s=r?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap>"u"||i||r&&s<98?this.textureLoader=new xO(this.options.manager):this.textureLoader=new pvt(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new TO(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const i=this,r=this.json,s=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(o){return o._markDefs&&o._markDefs()}),Promise.all(this._invokeAll(function(o){return o.beforeRoot&&o.beforeRoot()})).then(function(){return Promise.all([i.getDependencies("scene"),i.getDependencies("animation"),i.getDependencies("camera")])}).then(function(o){const a={scene:o[0][r.scene||0],scenes:o[0],animations:o[1],cameras:o[2],asset:r.asset,parser:i,userData:{}};return us(s,a,r),kr(a,r),Promise.all(i._invokeAll(function(l){return l.afterRoot&&l.afterRoot(a)})).then(function(){e(a)})}).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],i=this.json.meshes||[];for(let r=0,s=t.length;r<s;r++){const o=t[r].joints;for(let a=0,l=o.length;a<l;a++)e[o[a]].isBone=!0}for(let r=0,s=e.length;r<s;r++){const o=e[r];o.mesh!==void 0&&(this._addNodeRef(this.meshCache,o.mesh),o.skin!==void 0&&(i[o.mesh].isSkinnedMesh=!0)),o.camera!==void 0&&this._addNodeRef(this.cameraCache,o.camera)}}_addNodeRef(e,t){t!==void 0&&(e.refs[t]===void 0&&(e.refs[t]=e.uses[t]=0),e.refs[t]++)}_getNodeRef(e,t,i){if(e.refs[t]<=1)return i;const r=i.clone(),s=(o,a)=>{const l=this.associations.get(o);l!=null&&this.associations.set(a,l);for(const[c,d]of o.children.entries())s(d,a.children[c])};return s(i,r),r.name+="_instance_"+e.uses[t]++,r}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let i=0;i<t.length;i++){const r=e(t[i]);if(r)return r}return null}_invokeAll(e){const t=Object.values(this.plugins);t.unshift(this);const i=[];for(let r=0;r<t.length;r++){const s=e(t[r]);s&&i.push(s)}return i}getDependency(e,t){const i=e+":"+t;let r=this.cache.get(i);if(!r){switch(e){case"scene":r=this.loadScene(t);break;case"node":r=this._invokeOne(function(s){return s.loadNode&&s.loadNode(t)});break;case"mesh":r=this._invokeOne(function(s){return s.loadMesh&&s.loadMesh(t)});break;case"accessor":r=this.loadAccessor(t);break;case"bufferView":r=this._invokeOne(function(s){return s.loadBufferView&&s.loadBufferView(t)});break;case"buffer":r=this.loadBuffer(t);break;case"material":r=this._invokeOne(function(s){return s.loadMaterial&&s.loadMaterial(t)});break;case"texture":r=this._invokeOne(function(s){return s.loadTexture&&s.loadTexture(t)});break;case"skin":r=this.loadSkin(t);break;case"animation":r=this._invokeOne(function(s){return s.loadAnimation&&s.loadAnimation(t)});break;case"camera":r=this.loadCamera(t);break;default:if(r=this._invokeOne(function(s){return s!=this&&s.getDependency&&s.getDependency(e,t)}),!r)throw new Error("Unknown type: "+e);break}this.cache.add(i,r)}return r}getDependencies(e){let t=this.cache.get(e);if(!t){const i=this,r=this.json[e+(e==="mesh"?"es":"s")]||[];t=Promise.all(r.map(function(s,o){return i.getDependency(e,o)})),this.cache.add(e,t)}return t}loadBuffer(e){const t=this.json.buffers[e],i=this.fileLoader;if(t.type&&t.type!=="arraybuffer")throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(t.uri===void 0&&e===0)return Promise.resolve(this.extensions[yt.KHR_BINARY_GLTF].body);const r=this.options;return new Promise(function(s,o){i.load(sl.resolveURL(t.uri,r.path),s,void 0,function(){o(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))})})}loadBufferView(e){const t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then(function(i){const r=t.byteLength||0,s=t.byteOffset||0;return i.slice(s,s+r)})}loadAccessor(e){const t=this,i=this.json,r=this.json.accessors[e];if(r.bufferView===void 0&&r.sparse===void 0){const o=am[r.type],a=Do[r.componentType],l=r.normalized===!0,c=new a(r.count*o);return Promise.resolve(new wn(c,o,l))}const s=[];return r.bufferView!==void 0?s.push(this.getDependency("bufferView",r.bufferView)):s.push(null),r.sparse!==void 0&&(s.push(this.getDependency("bufferView",r.sparse.indices.bufferView)),s.push(this.getDependency("bufferView",r.sparse.values.bufferView))),Promise.all(s).then(function(o){const a=o[0],l=am[r.type],c=Do[r.componentType],d=c.BYTES_PER_ELEMENT,u=d*l,_=r.byteOffset||0,f=r.bufferView!==void 0?i.bufferViews[r.bufferView].byteStride:void 0,E=r.normalized===!0;let b,g;if(f&&f!==u){const h=Math.floor(_/f),m="InterleavedBuffer:"+r.bufferView+":"+r.componentType+":"+h+":"+r.count;let S=t.cache.get(m);S||(b=new c(a,h*f,r.count*f/d),S=new Fyt(b,f/d),t.cache.add(m,S)),g=new YE(S,l,_%f/d,E)}else a===null?b=new c(r.count*l):b=new c(a,_,r.count*l),g=new wn(b,l,E);if(r.sparse!==void 0){const h=am.SCALAR,m=Do[r.sparse.indices.componentType],S=r.sparse.indices.byteOffset||0,v=r.sparse.values.byteOffset||0,T=new m(o[1],S,r.sparse.count*h),C=new c(o[2],v,r.sparse.count*l);a!==null&&(g=new wn(g.array.slice(),g.itemSize,g.normalized));for(let N=0,x=T.length;N<x;N++){const y=T[N];if(g.setX(y,C[N*l]),l>=2&&g.setY(y,C[N*l+1]),l>=3&&g.setZ(y,C[N*l+2]),l>=4&&g.setW(y,C[N*l+3]),l>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return g})}loadTexture(e){const t=this.json,i=this.options,s=t.textures[e].source,o=t.images[s];let a=this.textureLoader;if(o.uri){const l=i.manager.getHandler(o.uri);l!==null&&(a=l)}return this.loadTextureImage(e,s,a)}loadTextureImage(e,t,i){const r=this,s=this.json,o=s.textures[e],a=s.images[t],l=(a.uri||a.bufferView)+":"+o.sampler;if(this.textureCache[l])return this.textureCache[l];const c=this.loadImageSource(t,i).then(function(d){d.flipY=!1,d.name=o.name||a.name||"",d.name===""&&typeof a.uri=="string"&&a.uri.startsWith("data:image/")===!1&&(d.name=a.uri);const _=(s.samplers||{})[o.sampler]||{};return d.magFilter=dR[_.magFilter]||Mn,d.minFilter=dR[_.minFilter]||ks,d.wrapS=uR[_.wrapS]||Xo,d.wrapT=uR[_.wrapT]||Xo,r.associations.set(d,{textures:e}),d}).catch(function(){return null});return this.textureCache[l]=c,c}loadImageSource(e,t){const i=this,r=this.json,s=this.options;if(this.sourceCache[e]!==void 0)return this.sourceCache[e].then(u=>u.clone());const o=r.images[e],a=self.URL||self.webkitURL;let l=o.uri||"",c=!1;if(o.bufferView!==void 0)l=i.getDependency("bufferView",o.bufferView).then(function(u){c=!0;const _=new Blob([u],{type:o.mimeType});return l=a.createObjectURL(_),l});else if(o.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const d=Promise.resolve(l).then(function(u){return new Promise(function(_,f){let E=_;t.isImageBitmapLoader===!0&&(E=function(b){const g=new pn(b);g.needsUpdate=!0,_(g)}),t.load(sl.resolveURL(u,s.path),E,void 0,f)})}).then(function(u){return c===!0&&a.revokeObjectURL(l),u.userData.mimeType=o.mimeType||Jvt(o.uri),u}).catch(function(u){throw console.error("THREE.GLTFLoader: Couldn't load texture",l),u});return this.sourceCache[e]=d,d}assignTexture(e,t,i,r){const s=this;return this.getDependency("texture",i.index).then(function(o){if(!o)return null;if(i.texCoord!==void 0&&i.texCoord>0&&(o=o.clone(),o.channel=i.texCoord),s.extensions[yt.KHR_TEXTURE_TRANSFORM]){const a=i.extensions!==void 0?i.extensions[yt.KHR_TEXTURE_TRANSFORM]:void 0;if(a){const l=s.associations.get(o);o=s.extensions[yt.KHR_TEXTURE_TRANSFORM].extendTexture(o,a),s.associations.set(o,l)}}return r!==void 0&&(o.colorSpace=r),e[t]=o,o})}assignFinalMaterial(e){const t=e.geometry;let i=e.material;const r=t.attributes.tangent===void 0,s=t.attributes.color!==void 0,o=t.attributes.normal===void 0;if(e.isPoints){const a="PointsMaterial:"+i.uuid;let l=this.cache.get(a);l||(l=new SO,fi.prototype.copy.call(l,i),l.color.copy(i.color),l.map=i.map,l.sizeAttenuation=!1,this.cache.add(a,l)),i=l}else if(e.isLine){const a="LineBasicMaterial:"+i.uuid;let l=this.cache.get(a);l||(l=new bO,fi.prototype.copy.call(l,i),l.color.copy(i.color),l.map=i.map,this.cache.add(a,l)),i=l}if(r||s||o){let a="ClonedMaterial:"+i.uuid+":";r&&(a+="derivative-tangents:"),s&&(a+="vertex-colors:"),o&&(a+="flat-shading:");let l=this.cache.get(a);l||(l=i.clone(),s&&(l.vertexColors=!0),o&&(l.flatShading=!0),r&&(l.normalScale&&(l.normalScale.y*=-1),l.clearcoatNormalScale&&(l.clearcoatNormalScale.y*=-1)),this.cache.add(a,l),this.associations.set(l,this.associations.get(i))),i=l}e.material=i}getMaterialType(){return KE}loadMaterial(e){const t=this,i=this.json,r=this.extensions,s=i.materials[e];let o;const a={},l=s.extensions||{},c=[];if(l[yt.KHR_MATERIALS_UNLIT]){const u=r[yt.KHR_MATERIALS_UNLIT];o=u.getMaterialType(),c.push(u.extendParams(a,s,t))}else{const u=s.pbrMetallicRoughness||{};if(a.color=new at(1,1,1),a.opacity=1,Array.isArray(u.baseColorFactor)){const _=u.baseColorFactor;a.color.setRGB(_[0],_[1],_[2],fn),a.opacity=_[3]}u.baseColorTexture!==void 0&&c.push(t.assignTexture(a,"map",u.baseColorTexture,Wt)),a.metalness=u.metallicFactor!==void 0?u.metallicFactor:1,a.roughness=u.roughnessFactor!==void 0?u.roughnessFactor:1,u.metallicRoughnessTexture!==void 0&&(c.push(t.assignTexture(a,"metalnessMap",u.metallicRoughnessTexture)),c.push(t.assignTexture(a,"roughnessMap",u.metallicRoughnessTexture))),o=this._invokeOne(function(_){return _.getMaterialType&&_.getMaterialType(e)}),c.push(Promise.all(this._invokeAll(function(_){return _.extendMaterialParams&&_.extendMaterialParams(e,a)})))}s.doubleSided===!0&&(a.side=Ti);const d=s.alphaMode||lm.OPAQUE;if(d===lm.BLEND?(a.transparent=!0,a.depthWrite=!1):(a.transparent=!1,d===lm.MASK&&(a.alphaTest=s.alphaCutoff!==void 0?s.alphaCutoff:.5)),s.normalTexture!==void 0&&o!==Br&&(c.push(t.assignTexture(a,"normalMap",s.normalTexture)),a.normalScale=new vt(1,1),s.normalTexture.scale!==void 0)){const u=s.normalTexture.scale;a.normalScale.set(u,u)}if(s.occlusionTexture!==void 0&&o!==Br&&(c.push(t.assignTexture(a,"aoMap",s.occlusionTexture)),s.occlusionTexture.strength!==void 0&&(a.aoMapIntensity=s.occlusionTexture.strength)),s.emissiveFactor!==void 0&&o!==Br){const u=s.emissiveFactor;a.emissive=new at().setRGB(u[0],u[1],u[2],fn)}return s.emissiveTexture!==void 0&&o!==Br&&c.push(t.assignTexture(a,"emissiveMap",s.emissiveTexture,Wt)),Promise.all(c).then(function(){const u=new o(a);return s.name&&(u.name=s.name),kr(u,s),t.associations.set(u,{materials:e}),s.extensions&&us(r,u,s),u})}createUniqueName(e){const t=It.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,i=this.extensions,r=this.primitiveCache;function s(a){return i[yt.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(a,t).then(function(l){return _R(l,a,t)})}const o=[];for(let a=0,l=e.length;a<l;a++){const c=e[a],d=Zvt(c),u=r[d];if(u)o.push(u.promise);else{let _;c.extensions&&c.extensions[yt.KHR_DRACO_MESH_COMPRESSION]?_=s(c):_=_R(new Fi,c,t),r[d]={primitive:c,promise:_},o.push(_)}}return Promise.all(o)}loadMesh(e){const t=this,i=this.json,r=this.extensions,s=i.meshes[e],o=s.primitives,a=[];for(let l=0,c=o.length;l<c;l++){const d=o[l].material===void 0?jvt(this.cache):this.getDependency("material",o[l].material);a.push(d)}return a.push(t.loadGeometries(o)),Promise.all(a).then(function(l){const c=l.slice(0,l.length-1),d=l[l.length-1],u=[];for(let f=0,E=d.length;f<E;f++){const b=d[f],g=o[f];let h;const m=c[f];if(g.mode===qn.TRIANGLES||g.mode===qn.TRIANGLE_STRIP||g.mode===qn.TRIANGLE_FAN||g.mode===void 0)h=s.isSkinnedMesh===!0?new Gyt(b,m):new An(b,m),h.isSkinnedMesh===!0&&h.normalizeSkinWeights(),g.mode===qn.TRIANGLE_STRIP?h.geometry=lR(h.geometry,Qw):g.mode===qn.TRIANGLE_FAN&&(h.geometry=lR(h.geometry,tg));else if(g.mode===qn.LINES)h=new Yyt(b,m);else if(g.mode===qn.LINE_STRIP)h=new WE(b,m);else if(g.mode===qn.LINE_LOOP)h=new $yt(b,m);else if(g.mode===qn.POINTS)h=new Wyt(b,m);else throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+g.mode);Object.keys(h.geometry.morphAttributes).length>0&&Xvt(h,s),h.name=t.createUniqueName(s.name||"mesh_"+e),kr(h,s),g.extensions&&us(r,h,g),t.assignFinalMaterial(h),u.push(h)}for(let f=0,E=u.length;f<E;f++)t.associations.set(u[f],{meshes:e,primitives:f});if(u.length===1)return s.extensions&&us(r,u[0],s),u[0];const _=new Ts;s.extensions&&us(r,_,s),t.associations.set(_,{meshes:e});for(let f=0,E=u.length;f<E;f++)_.add(u[f]);return _})}loadCamera(e){let t;const i=this.json.cameras[e],r=i[i.type];if(!r){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}return i.type==="perspective"?t=new Cn(Mmt.radToDeg(r.yfov),r.aspectRatio||1,r.znear||1,r.zfar||2e6):i.type==="orthographic"&&(t=new VE(-r.xmag,r.xmag,r.ymag,-r.ymag,r.znear,r.zfar)),i.name&&(t.name=this.createUniqueName(i.name)),kr(t,i),Promise.resolve(t)}loadSkin(e){const t=this.json.skins[e],i=[];for(let r=0,s=t.joints.length;r<s;r++)i.push(this._loadNodeShallow(t.joints[r]));return t.inverseBindMatrices!==void 0?i.push(this.getDependency("accessor",t.inverseBindMatrices)):i.push(null),Promise.all(i).then(function(r){const s=r.pop(),o=r,a=[],l=[];for(let c=0,d=o.length;c<d;c++){const u=o[c];if(u){a.push(u);const _=new gt;s!==null&&_.fromArray(s.array,c*16),l.push(_)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',t.joints[c])}return new $E(a,l)})}loadAnimation(e){const t=this.json,i=this,r=t.animations[e],s=r.name?r.name:"animation_"+e,o=[],a=[],l=[],c=[],d=[];for(let u=0,_=r.channels.length;u<_;u++){const f=r.channels[u],E=r.samplers[f.sampler],b=f.target,g=b.node,h=r.parameters!==void 0?r.parameters[E.input]:E.input,m=r.parameters!==void 0?r.parameters[E.output]:E.output;b.node!==void 0&&(o.push(this.getDependency("node",g)),a.push(this.getDependency("accessor",h)),l.push(this.getDependency("accessor",m)),c.push(E),d.push(b))}return Promise.all([Promise.all(o),Promise.all(a),Promise.all(l),Promise.all(c),Promise.all(d)]).then(function(u){const _=u[0],f=u[1],E=u[2],b=u[3],g=u[4],h=[];for(let m=0,S=_.length;m<S;m++){const v=_[m],T=f[m],C=E[m],N=b[m],x=g[m];if(v===void 0)continue;v.updateMatrix&&v.updateMatrix();const y=i._createAnimationTracks(v,T,C,N,x);if(y)for(let R=0;R<y.length;R++)h.push(y[R])}return new evt(s,void 0,h)})}createNodeMesh(e){const t=this.json,i=this,r=t.nodes[e];return r.mesh===void 0?null:i.getDependency("mesh",r.mesh).then(function(s){const o=i._getNodeRef(i.meshCache,r.mesh,s);return r.weights!==void 0&&o.traverse(function(a){if(a.isMesh)for(let l=0,c=r.weights.length;l<c;l++)a.morphTargetInfluences[l]=r.weights[l]}),o})}loadNode(e){const t=this.json,i=this,r=t.nodes[e],s=i._loadNodeShallow(e),o=[],a=r.children||[];for(let c=0,d=a.length;c<d;c++)o.push(i.getDependency("node",a[c]));const l=r.skin===void 0?Promise.resolve(null):i.getDependency("skin",r.skin);return Promise.all([s,Promise.all(o),l]).then(function(c){const d=c[0],u=c[1],_=c[2];_!==null&&d.traverse(function(f){f.isSkinnedMesh&&f.bind(_,eTt)});for(let f=0,E=u.length;f<E;f++)d.add(u[f]);return d})}_loadNodeShallow(e){const t=this.json,i=this.extensions,r=this;if(this.nodeCache[e]!==void 0)return this.nodeCache[e];const s=t.nodes[e],o=s.name?r.createUniqueName(s.name):"",a=[],l=r._invokeOne(function(c){return c.createNodeMesh&&c.createNodeMesh(e)});return l&&a.push(l),s.camera!==void 0&&a.push(r.getDependency("camera",s.camera).then(function(c){return r._getNodeRef(r.cameraCache,s.camera,c)})),r._invokeAll(function(c){return c.createNodeAttachment&&c.createNodeAttachment(e)}).forEach(function(c){a.push(c)}),this.nodeCache[e]=Promise.all(a).then(function(c){let d;if(s.isBone===!0?d=new EO:c.length>1?d=new Ts:c.length===1?d=c[0]:d=new Yt,d!==c[0])for(let u=0,_=c.length;u<_;u++)d.add(c[u]);if(s.name&&(d.userData.name=s.name,d.name=o),kr(d,s),s.extensions&&us(i,d,s),s.matrix!==void 0){const u=new gt;u.fromArray(s.matrix),d.applyMatrix4(u)}else s.translation!==void 0&&d.position.fromArray(s.translation),s.rotation!==void 0&&d.quaternion.fromArray(s.rotation),s.scale!==void 0&&d.scale.fromArray(s.scale);return r.associations.has(d)||r.associations.set(d,{}),r.associations.get(d).nodes=e,d}),this.nodeCache[e]}loadScene(e){const t=this.extensions,i=this.json.scenes[e],r=this,s=new Ts;i.name&&(s.name=r.createUniqueName(i.name)),kr(s,i),i.extensions&&us(t,s,i);const o=i.nodes||[],a=[];for(let l=0,c=o.length;l<c;l++)a.push(r.getDependency("node",o[l]));return Promise.all(a).then(function(l){for(let d=0,u=l.length;d<u;d++)s.add(l[d]);const c=d=>{const u=new Map;for(const[_,f]of r.associations)(_ instanceof fi||_ instanceof pn)&&u.set(_,f);return d.traverse(_=>{const f=r.associations.get(_);f!=null&&u.set(_,f)}),u};return r.associations=c(s),s})}_createAnimationTracks(e,t,i,r,s){const o=[],a=e.name?e.name:e.uuid,l=[];Rr[s.path]===Rr.weights?e.traverse(function(_){_.morphTargetInfluences&&l.push(_.name?_.name:_.uuid)}):l.push(a);let c;switch(Rr[s.path]){case Rr.weights:c=na;break;case Rr.rotation:c=Fs;break;case Rr.position:case Rr.scale:c=ia;break;default:switch(i.itemSize){case 1:c=na;break;case 2:case 3:default:c=ia;break}break}const d=r.interpolation!==void 0?Kvt[r.interpolation]:Jo,u=this._getArrayFromAccessor(i);for(let _=0,f=l.length;_<f;_++){const E=new c(l[_]+"."+Rr[s.path],t.array,u,d);r.interpolation==="CUBICSPLINE"&&this._createCubicSplineTrackInterpolant(E),o.push(E)}return o}_getArrayFromAccessor(e){let t=e.array;if(e.normalized){const i=cg(t.constructor),r=new Float32Array(t.length);for(let s=0,o=t.length;s<o;s++)r[s]=t[s]*i;t=r}return t}_createCubicSplineTrackInterpolant(e){e.createInterpolant=function(i){const r=this instanceof Fs?Wvt:AO;return new r(this.times,this.values,this.getValueSize()/3,i)},e.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0}}function nTt(n,e,t){const i=e.attributes,r=new hr;if(i.POSITION!==void 0){const a=t.json.accessors[i.POSITION],l=a.min,c=a.max;if(l!==void 0&&c!==void 0){if(r.set(new ue(l[0],l[1],l[2]),new ue(c[0],c[1],c[2])),a.normalized){const d=cg(Do[a.componentType]);r.min.multiplyScalar(d),r.max.multiplyScalar(d)}}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");return}}else return;const s=e.targets;if(s!==void 0){const a=new ue,l=new ue;for(let c=0,d=s.length;c<d;c++){const u=s[c];if(u.POSITION!==void 0){const _=t.json.accessors[u.POSITION],f=_.min,E=_.max;if(f!==void 0&&E!==void 0){if(l.setX(Math.max(Math.abs(f[0]),Math.abs(E[0]))),l.setY(Math.max(Math.abs(f[1]),Math.abs(E[1]))),l.setZ(Math.max(Math.abs(f[2]),Math.abs(E[2]))),_.normalized){const b=cg(Do[_.componentType]);l.multiplyScalar(b)}a.max(l)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}r.expandByVector(a)}n.boundingBox=r;const o=new Ui;r.getCenter(o.center),o.radius=r.min.distanceTo(r.max)/2,n.boundingSphere=o}function _R(n,e,t){const i=e.attributes,r=[];function s(o,a){return t.getDependency("accessor",o).then(function(l){n.setAttribute(a,l)})}for(const o in i){const a=lg[o]||o.toLowerCase();a in n.attributes||r.push(s(i[o],a))}if(e.indices!==void 0&&!n.index){const o=t.getDependency("accessor",e.indices).then(function(a){n.setIndex(a)});r.push(o)}return Nt.workingColorSpace!==fn&&"COLOR_0"in i&&console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${Nt.workingColorSpace}" not supported.`),kr(n,e),nTt(n,e,t),Promise.all(r).then(function(){return e.targets!==void 0?Qvt(n,e.targets,t):n})}const iTt={data(){return{isVideoActive:!1,imageDataUrl:null}},methods:{startVideoStream(){this.isVideoActive=!0,We.emit("start_webcam_video_stream")},stopVideoStream(){this.isVideoActive=!1,this.imageData=null,We.emit("stop_webcam_video_stream")}},mounted(){We.on("image",n=>{this.isVideoActive&&(this.imageDataUrl="data:image/jpeg;base64,"+n)})}},rTt={class:"floating-frame"},sTt=["src"],oTt={class:"controls"};function aTt(n,e,t,i,r,s){return D(),L("div",rTt,[r.isVideoActive?(D(),L("img",{key:0,src:r.imageDataUrl,alt:"Webcam Frame",width:"300",height:"300"},null,8,sTt)):se("",!0),p("div",oTt,[p("button",{onClick:e[0]||(e[0]=(...o)=>s.startVideoStream&&s.startVideoStream(...o))},"Activate Video"),p("button",{onClick:e[1]||(e[1]=(...o)=>s.stopVideoStream&&s.stopVideoStream(...o))},"Deactivate Video")])])}const lTt=Et(iTt,[["render",aTt]]);const cTt={data(){return{activePersonality:null}},props:{personality:{type:Object,default:()=>({})}},components:{FloatingFrame:lTt},computed:{isReady:{get(){return this.$store.state.ready}}},watch:{"$store.state.mountedPersArr":"updatePersonality","$store.state.config.active_personality_id":"updatePersonality"},async mounted(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));console.log("Personality:",this.personality),this.initWebGLScene(),this.updatePersonality()},beforeDestroy(){},methods:{initWebGLScene(){this.scene=new Uyt,this.camera=new Cn(75,window.innerWidth/window.innerHeight,.1,1e3),this.renderer=new gO,this.renderer.setSize(window.innerWidth,window.innerHeight),this.$refs.webglContainer.appendChild(this.renderer.domElement);const n=new $r,e=new iR({color:65280});this.cube=new An(n,e),this.scene.add(this.cube);const t=new _vt(4210752),i=new CO(16777215,.5);i.position.set(0,1,0),this.scene.add(t),this.scene.add(i),this.camera.position.z=5,this.animate()},updatePersonality(){const{mountedPersArr:n,config:e}=this.$store.state;this.activePersonality=n[e.active_personality_id],this.activePersonality.avatar?this.showBoxWithAvatar(this.activePersonality.avatar):this.showDefaultCube(),this.$emit("update:personality",this.activePersonality)},loadScene(n){new Tvt().load(n,t=>{this.scene.remove(this.cube),this.cube=t.scene,this.scene.add(this.cube)})},showBoxWithAvatar(n){this.cube&&this.scene.remove(this.cube);const e=new $r,t=new xO().load(n),i=new Br({map:t});this.cube=new An(e,i),this.scene.add(this.cube)},showDefaultCube(){this.scene.remove(this.cube);const n=new $r,e=new iR({color:65280});this.cube=new An(n,e),this.scene.add(this.cube)},animate(){requestAnimationFrame(this.animate),this.cube&&(this.cube.rotation.x+=.01,this.cube.rotation.y+=.01),this.renderer.render(this.scene,this.camera)}}},dTt={class:"flex-col"},uTt={key:0,class:"text-center"},_Tt={key:1,class:"text-center"},pTt={ref:"webglContainer"};function fTt(n,e,t,i,r,s){const o=ut("FloatingFrame");return D(),L(Xe,null,[p("div",dTt,[r.activePersonality.scene_path?se("",!0):(D(),L("div",uTt," Personality does not have a 3d avatar. ")),!r.activePersonality.avatar||r.activePersonality.avatar===""?(D(),L("div",_Tt," Personality does not have an avatar. ")):se("",!0),De(o)]),p("div",pTt,null,512)],64)}const hTt=Et(cTt,[["render",fTt]]),mTt=rL({history:v2("/"),routes:[{path:"/playground/",name:"playground",component:uKe},{path:"/extensions/",name:"extensions",component:vKe},{path:"/help/",name:"help",component:HKe},{path:"/settings/",name:"settings",component:Vat},{path:"/training/",name:"training",component:dlt},{path:"/quantizing/",name:"quantizing",component:blt},{path:"/",name:"discussions",component:mht},{path:"/",name:"interactive",component:hTt}]});const uu=fI($L);console.log("Loaded main.js");function pR(n){const e={};for(const t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}const gTt=zI({state(){return{ready:!1,loading_infos:"",loading_progress:0,version:"unknown",settingsChanged:!1,isConnected:!1,isModelOk:!1,isGenerating:!1,config:null,mountedPers:null,mountedPersArr:[],mountedExtensions:[],bindingsZoo:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,modelsZoo:[],installedModels:[],currentModel:null,extensionsZoo:[],databases:[]}},mutations:{setIsReady(n,e){n.ready=e},setIsConnected(n,e){n.isConnected=e},setIsModelOk(n,e){n.isModelOk=e},setIsGenerating(n,e){n.isGenerating=e},setConfig(n,e){n.config=e},setPersonalities(n,e){n.personalities=e},setMountedPers(n,e){n.mountedPers=e},setMountedPersArr(n,e){n.mountedPersArr=e},setMountedExtensions(n,e){n.mountedExtensions=e},setbindingsZoo(n,e){n.bindingsZoo=e},setModelsArr(n,e){n.modelsArr=e},setselectedModel(n,e){n.selectedModel=e},setDiskUsage(n,e){n.diskUsage=e},setRamUsage(n,e){n.ramUsage=e},setVramUsage(n,e){n.vramUsage=e},setModelsZoo(n,e){n.modelsZoo=e},setCurrentModel(n,e){n.currentModel=e},setExtensionsZoo(n,e){n.extensionsZoo=e},setDatabases(n,e){n.databases=e}},getters:{getIsConnected(n){return n.isConnected},getIsModelOk(n){return n.isModelOk},getIsGenerating(n){return n.isGenerating},getConfig(n){return n.config},getPersonalities(n){return n.personalities},getMountedPersArr(n){return n.mountedPersArr},getmmountedExtensions(n){return n.mountedExtensions},getMountedPers(n){return n.mountedPers},getbindingsZoo(n){return n.bindingsZoo},getModelsArr(n){return n.modelsArr},getDiskUsage(n){return n.diskUsage},getRamUsage(n){return n.ramUsage},getVramUsage(n){return n.vramUsage},getDatabasesList(n){return n.databases},getModelsZoo(n){return n.modelsZoo},getCurrentModel(n){return n.currentModel},getExtensionsZoo(n){return n.extensionsZoo}},actions:{async getVersion(){try{let n=await Be.get("/get_lollms_webui_version",{});n&&(this.state.version=n.data.version)}catch{console.log("Coudln't get version")}},async refreshConfig({commit:n}){console.log("Fetching configuration");try{const e=await oi("get_config");e.active_personality_id<0&&(e.active_personality_id=0);let t=e.personalities[e.active_personality_id].split("/");e.personality_category=t[0],e.personality_folder=t[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),n("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshDatabase({commit:n}){let e=await oi("list_databases");console.log("databases:",e),n("setDatabases",e)},async refreshPersonalitiesZoo({commit:n}){let e=[];const t=await oi("get_all_personalities"),i=Object.keys(t);console.log("Personalities recovered:"+this.state.config.personalities);for(let r=0;r<i.length;r++){const s=i[r],a=t[s].map(l=>{let c=!1;for(const u of this.state.config.personalities)if(u.includes(s+"/"+l.folder)&&(c=!0,u.includes(":"))){const _=u.split(":");l.language=_[1]}let d={};return d=l,d.category=s,d.full_path=s+"/"+l.folder,d.isMounted=c,d});e.length==0?e=a:e=e.concat(a)}e.sort((r,s)=>r.name.localeCompare(s.name)),n("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:n}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const t=[];for(let i=0;i<this.state.config.personalities.length;i++){const r=this.state.config.personalities[i],s=r.split(":"),o=this.state.personalities.findIndex(a=>a.full_path==r||a.full_path==s[0]);if(o>=0){let a=pR(this.state.personalities[o]);s.length>1&&(a.language=s[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(l=>l.full_path=="generic/lollms")])}else t.push(i),console.log("Couldn't load personality : ",r)}for(let i=t.length-1;i>=0;i--)console.log("Removing personality : ",this.state.config.personalities[t[i]]),this.state.config.personalities.splice(t[i],1),this.state.config.active_personality_id>t[i]&&(this.state.config.active_personality_id-=1);n("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(i=>i.full_path==this.state.config.personalities[this.state.config.active_personality_id]||i.full_path+":"+i.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:n}){let e=await oi("list_bindings");n("setbindingsZoo",e)},async refreshModelsZoo({commit:n}){console.log("Fetching models");const e=await Be.get("/get_available_models");n("setModelsZoo",e.data.filter(t=>t.variants&&t.variants.length>0))},async refreshModelStatus({commit:n}){let e=await oi("get_model_status");n("setIsModelOk",e.status)},async refreshModels({commit:n}){console.log("Fetching models");let e=await oi("list_models");console.log(`Found ${e}`);let t=await oi("get_active_model");console.log("Selected model ",t),t!=null&&n("setselectedModel",t.model),n("setModelsArr",e),console.log("setModelsArr",e),this.state.modelsZoo.map(r=>{r.isInstalled=e.includes(r.name)}),this.state.installedModels=this.state.modelsZoo.filter(r=>r.isInstalled);const i=this.state.modelsZoo.findIndex(r=>r.name==this.state.config.model_name);i!=-1&&n("setCurrentModel",this.state.modelsZoo[i])},async refreshExtensionsZoo({commit:n}){let e=[],t=await oi("list_extensions");const i=Object.keys(t);console.log("Extensions recovered:"+t);for(let r=0;r<i.length;r++){const s=i[r],a=t[s].map(l=>{let c=!1;for(const u of this.state.config.extensions)u.includes(s+"/"+l.folder)&&(c=!0);let d={};return d=l,d.category=s,d.full_path=s+"/"+l.folder,d.isMounted=c,d});e.length==0?e=a:e=e.concat(a)}e.sort((r,s)=>r.name.localeCompare(s.name)),console.log("Done loading extensions"),n("setExtensionsZoo",e)},refreshmountedExtensions({commit:n}){console.log("Mounting extensions");let e=[];const t=[];for(let i=0;i<this.state.config.extensions.length;i++){const r=this.state.config.extensions[i],s=this.state.extensionsZoo.findIndex(o=>o.full_path==r);if(s>=0){let o=pR(this.state.config.extensions[s]);o&&e.push(o)}else t.push(i),console.log("Couldn't load extension : ",r)}for(let i=t.length-1;i>=0;i--)console.log("Removing extensions : ",this.state.config.extensions[t[i]]),this.state.config.extensions.splice(t[i],1);n("setMountedExtensions",e)},async refreshDiskUsage({commit:n}){this.state.diskUsage=await oi("disk_usage")},async refreshRamUsage({commit:n}){this.state.ramUsage=await oi("ram_usage")},async refreshVramUsage({commit:n}){const e=await oi("vram_usage"),t=[];if(e.nb_gpus>0){for(let r=0;r<e.nb_gpus;r++){const s=e[`gpu_${r}_total_vram`],o=e[`gpu_${r}_used_vram`],a=e[`gpu_${r}_model`],l=o/s*100,c=s-o;t.push({total_vram:s,used_vram:o,gpu_index:r,gpu_model:a,percentage:l.toFixed(2),available_space:c})}const i={nb_gpus:e.nb_gpus,gpus:t};console.log("gpu usage: ",i),this.state.vramUsage=i}else{const i={nb_gpus:0,gpus:[]};console.log("gpu usage: ",i),this.state.vramUsage=i}}}});async function oi(n){try{const e=await Be.get("/"+n);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}async function ETt(n){await n.dispatch("refreshDiskUsage"),await n.dispatch("refreshRamUsage"),await n.dispatch("refreshVramUsage")}let fR=!1;uu.mixin({async created(){fR||(fR=!0,console.log("Calling"),this.$store.state.loading_infos="Loading Configuration",this.$store.state.loading_progress=10,await this.$store.dispatch("refreshConfig"),console.log("Config ready"),this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase"),this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion"),this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings"),await ETt(this.$store),this.$store.state.loading_infos="Getting extensions zoo",this.$store.state.loading_progress=50,await this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.loading_infos="Getting mounted extensions",this.$store.state.loading_progress=60,await this.$store.dispatch("refreshmountedExtensions"),this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo"),this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities"),this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo"),this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus"),this.$store.state.ready=!0)},beforeMount(){}});function wO(n,e=""){let t=[];for(const i in n)if(n.hasOwnProperty(i)){const r=e?`${e}/${i}`:i;if(typeof n[i]=="object"){const s=wO(n[i],r);t=t.concat(s)}else t.push(r)}return t}uu.use(mTt);uu.use(gTt);uu.mount("#app");
diff --git a/web/dist/index.html b/web/dist/index.html
index 6970a8a3..865097bc 100644
--- a/web/dist/index.html
+++ b/web/dist/index.html
@@ -6,8 +6,8 @@
     
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>LoLLMS WebUI - Welcome</title>
-    <script type="module" crossorigin src="/assets/index-b2f552bf.js"></script>
-    <link rel="stylesheet" href="/assets/index-4ffd8c20.css">
+    <script type="module" crossorigin src="/assets/index-d408a8bd.js"></script>
+    <link rel="stylesheet" href="/assets/index-98356d8a.css">
   </head>
   <body>
     <div id="app"></div>
diff --git a/web/src/components/CodeBlock.vue b/web/src/components/CodeBlock.vue
index 18b2c831..ea9721d6 100644
--- a/web/src/components/CodeBlock.vue
+++ b/web/src/components/CodeBlock.vue
@@ -100,7 +100,7 @@ export default {
       const codeContent = document.createElement('pre');
       const codeContentCode = document.createElement('code');
       codeContentCode.classList.add('code-content');
-      codeContentCode.innerHTML = hljs.highlight(validLanguage, trimmedCode).value;
+      codeContentCode.innerHTML = hljs.highlight(trimmedCode,  {language: validLanguage, ignoreIllegals: true }).value;
       codeContent.appendChild(codeContentCode);
       codeContainer.appendChild(lineNumbersContainer);
       codeContainer.appendChild(codeContent);
diff --git a/web/src/components/FloatingFrame.vue b/web/src/components/FloatingFrame.vue
new file mode 100644
index 00000000..e3d2c42e
--- /dev/null
+++ b/web/src/components/FloatingFrame.vue
@@ -0,0 +1,63 @@
+<template>
+    <div class="floating-frame">
+      <img v-if="isVideoActive" :src="imageDataUrl" alt="Webcam Frame" width="300" height="300" />
+      <div class="controls">
+        <button @click="startVideoStream">Activate Video</button>
+        <button @click="stopVideoStream">Deactivate Video</button>
+      </div>
+    </div>
+  </template>
+  
+  <script>
+  import socket from '@/services/websocket.js';
+  
+  export default {
+    data() {
+      return {
+        isVideoActive: false,
+        imageDataUrl: null
+      };
+    },
+    methods: {
+      startVideoStream() {
+        this.isVideoActive = true;
+        socket.emit('start_webcam_video_stream');
+      },
+      stopVideoStream() {
+        this.isVideoActive = false;
+        this.imageData = null;
+        socket.emit('stop_webcam_video_stream');
+      }
+    },
+    mounted() {
+      socket.on('image', (imageBase64) => {
+        if (this.isVideoActive) {
+          this.imageDataUrl = 'data:image/jpeg;base64,' + imageBase64;
+        }
+      });
+    }
+  };
+  </script>
+  
+  <style>
+  .floating-frame {
+    margin: 15px;
+    float: left;
+    width: 200px;
+    height: auto;
+    border: 1px solid #000;
+    border-radius: 4px;
+    overflow: hidden;
+    z-index: 5000;
+  }
+  
+  .floating-frame img {
+    width: 100%;
+    height: auto;
+  }
+  
+  .controls {
+    margin-top: 10px;
+  }
+  </style>
+  
\ No newline at end of file
diff --git a/web/src/main.js b/web/src/main.js
index 6143df2f..f7020cfd 100644
--- a/web/src/main.js
+++ b/web/src/main.js
@@ -382,7 +382,7 @@ export const store = createStore({
 
           extensions.sort((a, b) => a.name.localeCompare(b.name))
 
-          commit('setActiveExtensions', this.state.config.extensions);
+          //commit('setActiveExtensions', this.state.config.extensions);
 
           console.log("Done loading extensions")
 
diff --git a/web/src/views/InteractiveView.vue b/web/src/views/InteractiveView.vue
index 50d34fe7..3e50112b 100644
--- a/web/src/views/InteractiveView.vue
+++ b/web/src/views/InteractiveView.vue
@@ -1,24 +1,39 @@
 <template>
-    <div ref="webglContainer">
-      <div v-if="!personality.scene_path && (!personality.avatar || personality.avatar === '')">
+      <div class="flex-col">
+      <div v-if="!activePersonality.scene_path" class="text-center">
         <!-- Display text when there's no scene_path or empty avatar -->
+        Personality does not have a 3d avatar.
+      </div>
+      <div v-if="(!activePersonality.avatar || activePersonality.avatar === '')" class="text-center">
         Personality does not have an avatar.
       </div>
-    </div>
+      <FloatingFrame />
+      </div>
+      <div ref="webglContainer">
+      </div>
   </template>
   
   <script>
   import * as THREE from 'three';
   import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
   import { TextureLoader } from 'three';
+  import FloatingFrame from '@/components/FloatingFrame.vue';
   
   export default {
+    data(){  
+      return {
+          activePersonality: null
+      }
+    },
     props: {
       personality: {
         type: Object,
         default: () => ({}),
       },
     },
+    components: {
+      FloatingFrame
+    },
     computed: {
         isReady:{
             get() {
@@ -34,7 +49,7 @@
         while (this.isReady === false) {
             await new Promise((resolve) => setTimeout(resolve, 100)); // Wait for 100ms
         }
-        console.log("ready")
+        console.log("Personality:", this.personality)
         this.initWebGLScene();
         this.updatePersonality();
     },
@@ -72,17 +87,17 @@
         const { mountedPersArr, config } = this.$store.state;
         
         // Get the active personality based on active_personality_id
-        const activePersonality = mountedPersArr[config.active_personality_id];
+        this.activePersonality = mountedPersArr[config.active_personality_id];
 
         // Check if the active personality has an avatar
-        if (activePersonality.avatar) {
-            this.showBoxWithAvatar(activePersonality.avatar);
+        if (this.activePersonality.avatar) {
+            this.showBoxWithAvatar(this.activePersonality.avatar);
         } else {
             this.showDefaultCube();
         }
 
         // Update the personality property
-        this.$emit('update:personality', activePersonality);
+        this.$emit('update:personality', this.activePersonality);
       },
       loadScene(scenePath) {
         const loader = new GLTFLoader();
@@ -136,7 +151,6 @@
   
   <style>
   #webglContainer {
-    position: absolute;
     top: 0;
     left: 0;
   }
diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo
index da337352..850cd32a 160000
--- a/zoos/personalities_zoo
+++ b/zoos/personalities_zoo
@@ -1 +1 @@
-Subproject commit da337352ac0d4f77ea3057bf1b086a1288b8ae85
+Subproject commit 850cd32ad27fbc64ed2a770cda7cc7a2e0f8f87a